Giter Club home page Giter Club logo

Comments (18)

dholth avatar dholth commented on June 4, 2024 1

Something like this?

for (i=[0:starts])
   rotate([0,0,i*(360/starts)])
        thread(str(designator, "-ext"), turns=turns, higbee_arc=higbee_arc, fn=fn, table=table);

from threadlib.

dholth avatar dholth commented on June 4, 2024

See also http://www.gpi.org/industry-resources/finish-drawings

from threadlib.

dholth avatar dholth commented on June 4, 2024

["PCF-33P-ext", [6.35, 14.74, 29.49, [[0, 0.76], [0, -0.76], [1.195, -0.549], [1.195, 0.07]]]],

use <threadlib/threadlib.scad>

type = "PCF-33P";
turns = .6;
higbee_arc = 45;

union() {
    bolt(type, turns, higbee_arc=higbee_arc);
    // second thread start
    rotate([0,0,180]) { thread("PCF-33P-ext", turns, higbee_arc=higbee_arc);
    }
}

https://www.amazon.com/Motts-Apple-Juice-Pack/dp/B01IRHDZKY

from threadlib.

adrianschlatter avatar adrianschlatter commented on June 4, 2024

Sounds interesting. Thanks for this input. I'd like to add it but I would prefer to do it with some kind of test. Do you by any chance know the spec of the matching (internal) thread? I could then add both and the test would be to check for collisions between the two.

from threadlib.

dholth avatar dholth commented on June 4, 2024

No, as far as I know with bottle finishes the external thread on the bottle finish is standardized, but the caps are completely proprietary.

from threadlib.

adrianschlatter avatar adrianschlatter commented on June 4, 2024

Thanks for responding. This just tested that I properly receive notifications from Github (now ...).

Regarding SP400: That seems to be similar to PCO-1881 that also specifies the neck but not the cap. Maybe we could add a mating thread by hand and check for consistency. Did you produce a part with the code you posted above? Did it work?

from threadlib.

dholth avatar dholth commented on June 4, 2024

Yes I've printed lots of these now. They are working great.

from threadlib.

adrianschlatter avatar adrianschlatter commented on June 4, 2024

Aaah :) There is no better test than that! I'll gladly add it!

from threadlib.

dholth avatar dholth commented on June 4, 2024

Just make sure the cylinder supporting the threads is long enough that the bottle cap seals against the end of the tube, instead of ripping it off the object.

A nice feature of this kind of cap compared to the PCO-1881 apart from the larger size, is that the seal is flat instead of having to seal around a specific thickness of cylinder wall.

from threadlib.

adrianschlatter avatar adrianschlatter commented on June 4, 2024

One more question: I'm currently trying this and also checked the spec. From the spec I interpret that the pitch should be 3.18 mm but your code suggests 6.35 mm. What am I getting wrong?

from threadlib.

adrianschlatter avatar adrianschlatter commented on June 4, 2024

@dholth: Could you check whether PR #27 works for you?

from threadlib.

dholth avatar dholth commented on June 4, 2024

from threadlib.

adrianschlatter avatar adrianschlatter commented on June 4, 2024

Got it. I‘ll have to think about that. I‘m not sure I‘m ready yet to extend threadlib to multiple thread starts.

from threadlib.

adrianschlatter avatar adrianschlatter commented on June 4, 2024

Yes. But what I need to think about is

  • does this belong in threadlib or is the user expected to write that loop? I think it belongs in threadlib.
  • in THREAD_TABLE: Add new column "number of starts"?
  • backwards compatibility: what will happen to those users having created their own private THREAD_TABLEs (without that "number of starts" column)? Will their code break? How many such users are there?
  • What about unit testing?

from threadlib.

dholth avatar dholth commented on June 4, 2024

I applaud your effort to produce high quality threads.

from threadlib.

alainchiasson avatar alainchiasson commented on June 4, 2024

Adding to the SP-400 thread thread. A few things for me have come together and I thought I would share and get feedback. I was looking to 3d print a neck my ketchup and shampoo bottles and stumbled upon the Glass Packaging Institute. First - the SP-400 designation seems to be a neck description: https://www.paramountglobal.com/knowledge/bottle-neck-thread-finish

I also found a few cap diagrams : https://www.thecarycompany.com/media/pdf/specs/68WF34.pdf

A previous project I had ws trying to redo a base for my Bud Light Goal light glasses - which I now know is an m63-410.

I have created 2 profiles - GPI-33 and GPI-63 for quick testing. The GPI-63 does work on my glass, but is a little tight. I will be making a PR for eary feedback. I'm using GPI - but that can also change. I'm not certain about the angles, and judging by the documents I found, there is some looseness - most likely since the threads are cast and not machined, and the standard originates from Glass manufacturing - so the Sharm angles are not there, like they could be in plastic.

I have written the awk tests et al. but would like to generate them rather than do it explicit as I have done now.

from threadlib.

dholth avatar dholth commented on June 4, 2024

Yes, they say the caps are not standardized, only the bottle's neck finish.

from threadlib.

alainchiasson avatar alainchiasson commented on June 4, 2024

I noticed that. I don't think that is "doable" in this lib beyond the thread, to me that's fine - someone else can do a "bottle neck" lib ;-)

from threadlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.