discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Best way to create garden hose thread

MF
mike.fraser.1945+osc@gmail.com
Sun, Oct 13, 2024 12:58 AM

Any pointers appreciated.

Any pointers appreciated.
MM
Michael Marx (spintel)
Sun, Oct 13, 2024 5:12 AM

Have a read of this:

https://www.thingiverse.com/groups/openscad/forums/general/topic:38677

Apparently the is a US standard and an Imperial one.


From: mike.fraser.1945+osc--- via Discuss [mailto:discuss@lists.openscad.org]
Sent: Sun, 13 Oct 2024 11:58
To: discuss@lists.openscad.org
Cc: mike.fraser.1945+osc@gmail.com
Subject: [OpenSCAD] Best way to create garden hose thread

Any pointers appreciated.

Have a read of this: https://www.thingiverse.com/groups/openscad/forums/general/topic:38677 Apparently the is a US standard and an Imperial one. _____ From: mike.fraser.1945+osc--- via Discuss [mailto:discuss@lists.openscad.org] Sent: Sun, 13 Oct 2024 11:58 To: discuss@lists.openscad.org Cc: mike.fraser.1945+osc@gmail.com Subject: [OpenSCAD] Best way to create garden hose thread Any pointers appreciated.
MH
Matthieu Hendriks
Sun, Oct 13, 2024 6:18 AM

Maybe this will help:

https://www.thingiverse.com/thing:350791/files

Groet Matthieu


mike.fraser.1945+osc--- via Discuss schreef op 2024-10-13 02:58:

Any pointers appreciated.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Maybe this will help: https://www.thingiverse.com/thing:350791/files Groet Matthieu ------------------------- mike.fraser.1945+osc--- via Discuss schreef op 2024-10-13 02:58: > Any pointers appreciated. > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
LM
Leonard Martin Struttmann
Sun, Oct 13, 2024 2:45 PM

https://www.printables.com/model/556498-garden-hose-adapter-connector-20mm-hose

This one actually has threaded connectors.

On Sun, Oct 13, 2024 at 1:18 AM Matthieu Hendriks via Discuss <
discuss@lists.openscad.org> wrote:

Maybe this will help:

https://www.thingiverse.com/thing:350791/files

Groet Matthieu


mike.fraser.1945+osc--- via Discuss schreef op 2024-10-13 02:58:

Any pointers appreciated.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

https://www.printables.com/model/556498-garden-hose-adapter-connector-20mm-hose This one actually has threaded connectors. On Sun, Oct 13, 2024 at 1:18 AM Matthieu Hendriks via Discuss < discuss@lists.openscad.org> wrote: > Maybe this will help: > > https://www.thingiverse.com/thing:350791/files > > > > Groet Matthieu > > ------------------------------ > > > mike.fraser.1945+osc--- via Discuss schreef op 2024-10-13 02:58: > > Any pointers appreciated. > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
MM
Michael Marx (spintel)
Mon, Oct 14, 2024 2:28 AM

But no .scad code,`. I'm presuming Mike wanted to use OpenSCAD. (?)


From: Leonard Martin Struttmann via Discuss [mailto:discuss@lists.openscad.org]

This one actually has threaded connectors.

mike.fraser.1945+osc--- via Discuss schreef op 2024-10-13 02:58:

Any pointers appreciated.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

But no .scad code,`. I'm presuming Mike wanted to use OpenSCAD. (?) _____ From: Leonard Martin Struttmann via Discuss [mailto:discuss@lists.openscad.org] This one actually has threaded connectors. mike.fraser.1945+osc--- via Discuss schreef op 2024-10-13 02:58: Any pointers appreciated. _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org
RW
Raymond West
Mon, Oct 14, 2024 9:51 AM

Probably not the best code, but works for me for  'none standard'
threads. Simply draw a thread profile, and rotate it, and step up. For
internal threads, scale in x, y for tolerance, and difference from nut.

//threadrw.scad

p = 5;    //pitch
t = 2.5; // depth of thread
l = 60;  //length of thread
od = 15; //outside diam

/*
module profile(){ //square thread
  square([1,p]);
  square ([t+1,t]);
}
*/

/*
module profile(){ //buttress thread
   polygon (points=[[0,0],[0,p],[1,p],[1,p-1],[t,1],[t,0]]);
}
*/

module profile(){ //triangle thread
  polygon
(points=[[0,0],[0,p],[1,p],[1,p-(p/10)],[t,(p/2)+(p/10)],[t,(p/2)-(p/10)],[1,p/10],[1,0]]);
}

module section(){  // generated
   rotate([90,0,0])
   linear_extrude(od/60)
    {
    square([(od-t)/2,p]);
    translate ([((od-t)/2)-1,0,0])
    profile();
    }
}

module stud(){
num=360*(l/p);
   for (j=[0:1:num])
   {
      translate([0,0,j*p/360])
       rotate([0,0,j])
       section();
   }
}

//profile();

stud();

On 14/10/2024 03:28, Michael Marx (spintel) via Discuss wrote:

But no .scad code,`. I'm presuming Mike wanted to use OpenSCAD. (?)


*From:*Leonard Martin Struttmann via Discuss
[mailto:discuss@lists.openscad.org]

This one actually has threaded connectors.

 mike.fraser.1945+osc--- via Discuss schreef op 2024-10-13 02:58:
 Any pointers appreciated.

 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org
 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org

OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

Probably not the best code, but works for me for  'none standard' threads. Simply draw a thread profile, and rotate it, and step up. For internal threads, scale in x, y for tolerance, and difference from nut. //threadrw.scad p = 5;    //pitch t = 2.5; // depth of thread l = 60;  //length of thread od = 15; //outside diam /* module profile(){ //square thread   square([1,p]);   square ([t+1,t]); } */ /* module profile(){ //buttress thread    polygon (points=[[0,0],[0,p],[1,p],[1,p-1],[t,1],[t,0]]); } */ module profile(){ //triangle thread   polygon (points=[[0,0],[0,p],[1,p],[1,p-(p/10)],[t,(p/2)+(p/10)],[t,(p/2)-(p/10)],[1,p/10],[1,0]]); } module section(){  // generated    rotate([90,0,0])    linear_extrude(od/60)     {     square([(od-t)/2,p]);     translate ([((od-t)/2)-1,0,0])     profile();     } } module stud(){ num=360*(l/p);    for (j=[0:1:num])    {       translate([0,0,j*p/360])        rotate([0,0,j])        section();    } } //profile(); stud(); On 14/10/2024 03:28, Michael Marx (spintel) via Discuss wrote: > > But no .scad code,`. I'm presuming Mike wanted to use OpenSCAD. (?) > > ------------------------------------------------------------------------ > > *From:*Leonard Martin Struttmann via Discuss > [mailto:discuss@lists.openscad.org] > > This one actually has threaded connectors. > > mike.fraser.1945+osc--- via Discuss schreef op 2024-10-13 02:58: > >> Any pointers appreciated. >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org