discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Hose Adapter for table saw

KE
Karl Exler
Wed, Aug 16, 2023 7:11 AM

Dear all
I found the enclosed adapter on Thingiverse. Unfortunately nearly all
diameters are not in that size I need it. Did anyone of you created such
an (similar) object in Openscad? Is it possible to get that file?
Or- if not- how would an expert start with that projects?

Until now I only use Openscad functions and some of the BOSL libraries.

Many thanks in advance
Karl

Dear all I found the enclosed adapter on Thingiverse. Unfortunately nearly all diameters are not in that size I need it. Did anyone of you created such an (similar) object in Openscad? Is it possible to get that file? Or- if not- how would an expert start with that projects? Until now I only use Openscad functions and some of the BOSL libraries. Many thanks in advance Karl
SP
Sanjeev Prabhakar
Wed, Aug 16, 2023 8:59 AM

This seems to me as quite a simple case although haven't tried it yet.

As per my understanding it should be easy to do with BOSL library. May be
Adrian can comment.

If you want,  I can make it through my python approach.

It is mainly 2 tubes which needs to be fused together and some easy
filleting.

Threads parts maybe a little tricky, but not too difficult for sure.

On Wed, 16 Aug, 2023, 12:42 pm Karl Exler, karl.exler@meinklang.cc wrote:

Dear all
I found the enclosed adapter on Thingiverse. Unfortunately nearly all
diameters are not in that size I need it. Did anyone of you created such
an (similar) object in Openscad? Is it possible to get that file?
Or- if not- how would an expert start with that projects?

Until now I only use Openscad functions and some of the BOSL libraries.

Many thanks in advance
Karl


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

This seems to me as quite a simple case although haven't tried it yet. As per my understanding it should be easy to do with BOSL library. May be Adrian can comment. If you want, I can make it through my python approach. It is mainly 2 tubes which needs to be fused together and some easy filleting. Threads parts maybe a little tricky, but not too difficult for sure. On Wed, 16 Aug, 2023, 12:42 pm Karl Exler, <karl.exler@meinklang.cc> wrote: > Dear all > I found the enclosed adapter on Thingiverse. Unfortunately nearly all > diameters are not in that size I need it. Did anyone of you created such > an (similar) object in Openscad? Is it possible to get that file? > Or- if not- how would an expert start with that projects? > > Until now I only use Openscad functions and some of the BOSL libraries. > > Many thanks in advance > Karl > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
MH
Matthieu Hendriks
Wed, Aug 16, 2023 9:07 AM

I would split it up at least 4 or 5 cilinders, bottom and top straight,
middle  with different r1 and r2, and two cilnders for the left side.
The top with a tread inside from BOSSL or another treads library.

Should be do-able in openscad without the need for python.


Sanjeev Prabhakar schreef op 2023-08-16 10:59:

This seems to me as quite a simple case although haven't tried it yet.

As per my understanding it should be easy to do with BOSL library. May
be Adrian can comment.

If you want,  I can make it through my python approach.

It is mainly 2 tubes which needs to be fused together and some easy
filleting.

Threads parts maybe a little tricky, but not too difficult for sure.

On Wed, 16 Aug, 2023, 12:42 pm Karl Exler, karl.exler@meinklang.cc
wrote:

Dear all
I found the enclosed adapter on Thingiverse. Unfortunately nearly all
diameters are not in that size I need it. Did anyone of you created
such
an (similar) object in Openscad? Is it possible to get that file?
Or- if not- how would an expert start with that projects?

Until now I only use Openscad functions and some of the BOSL
libraries.

Many thanks in advance
Karl


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

I would split it up at least 4 or 5 cilinders, bottom and top straight, middle with different r1 and r2, and two cilnders for the left side. The top with a tread inside from BOSSL or another treads library. Should be do-able in openscad without the need for python. ------------------------- Sanjeev Prabhakar schreef op 2023-08-16 10:59: > This seems to me as quite a simple case although haven't tried it yet. > > As per my understanding it should be easy to do with BOSL library. May > be Adrian can comment. > > If you want, I can make it through my python approach. > > It is mainly 2 tubes which needs to be fused together and some easy > filleting. > > Threads parts maybe a little tricky, but not too difficult for sure. > > On Wed, 16 Aug, 2023, 12:42 pm Karl Exler, <karl.exler@meinklang.cc> > wrote: > >> Dear all >> I found the enclosed adapter on Thingiverse. Unfortunately nearly all >> diameters are not in that size I need it. Did anyone of you created >> such >> an (similar) object in Openscad? Is it possible to get that file? >> Or- if not- how would an expert start with that projects? >> >> Until now I only use Openscad functions and some of the BOSL >> libraries. >> >> Many thanks in advance >> Karl >> _______________________________________________ >> 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
P
poppele@posteo.de
Wed, Aug 16, 2023 9:57 AM

Have a look at the osVAC-website and the pages on ThingiVerse

Absaugung für DeWALT 7492 & 7485 (STL Download zum selber Drucken) – Homewerken

https://homewerken.de/produkt/absaugung-dewalt-7492-stl-download/

No OpenSCAD-File

osVAC – osSso

https://ossso.de/osvac/

osvac-things - Search - Thingiverse

https://www.thingiverse.com/search?q=osvac&page=1&type=things&sort=relevant

Thingiverse - Digital Designs for Physical Objects

https://www.thingiverse.com/groups/osvac-dust-system

Have a look at the osVAC-website and the pages on ThingiVerse Absaugung für DeWALT 7492 & 7485 (STL Download zum selber Drucken) – Homewerken https://homewerken.de/produkt/absaugung-dewalt-7492-stl-download/ No OpenSCAD-File osVAC – osSso https://ossso.de/osvac/ osvac-things - Search - Thingiverse https://www.thingiverse.com/search?q=osvac&page=1&type=things&sort=relevant Thingiverse - Digital Designs for Physical Objects https://www.thingiverse.com/groups/osvac-dust-system
KE
karl.exler@meinklang.cc
Wed, Aug 16, 2023 10:33 AM

STLs downzuloaden ist ein bisschen wir Onanie....
Ich würde es gerne aus eigener Kraft schaffen ;-)
lG
Karl

Am 16. August 2023 11:57:23 MESZ schrieb poppele@posteo.de:

Have a look at the osVAC-website and the pages on ThingiVerse

Absaugung für DeWALT 7492 & 7485 (STL Download zum selber Drucken) – Homewerken

https://homewerken.de/produkt/absaugung-dewalt-7492-stl-download/

No OpenSCAD-File

osVAC – osSso

https://ossso.de/osvac/

osvac-things - Search - Thingiverse

https://www.thingiverse.com/search?q=osvac&page=1&type=things&sort=relevant

Thingiverse - Digital Designs for Physical Objects

https://www.thingiverse.com/groups/osvac-dust-system

--
Diese Nachricht wurde von unterwegs gesendet...

STLs downzuloaden ist ein bisschen wir Onanie.... Ich würde es gerne aus eigener Kraft schaffen ;-) lG Karl Am 16. August 2023 11:57:23 MESZ schrieb poppele@posteo.de: >Have a look at the osVAC-website and the pages on ThingiVerse > >Absaugung für DeWALT 7492 & 7485 (STL Download zum selber Drucken) – Homewerken > >https://homewerken.de/produkt/absaugung-dewalt-7492-stl-download/ > >No OpenSCAD-File > >osVAC – osSso > >https://ossso.de/osvac/ > >osvac-things - Search - Thingiverse > >https://www.thingiverse.com/search?q=osvac&page=1&type=things&sort=relevant > >Thingiverse - Digital Designs for Physical Objects > >https://www.thingiverse.com/groups/osvac-dust-system -- Diese Nachricht wurde von unterwegs gesendet...
SP
Sanjeev Prabhakar
Wed, Aug 16, 2023 4:22 PM

openscad version
[image: Screenshot 2023-08-16 at 9.44.44 PM.png]

#python code to create this:

from openscad1 import *
sec=circle(25)
path=cr(pts1([[0,0,0],[0,15,1],[-6,50,1],[0,18,0]]),10)
sol=prism(sec,path)
sol1=prism(circle(24),path)
sol0=swp_prism_h(sol,sol1)
sec2=circle(15)
path2=cr_3d([[0,0,15,0],[-60,0,40,20],[0,0,30,0]],10)
sol2=path_extrude_open(sec2,path2)
sol3=path_extrude_open(offset(sec2,-1),path2)
sol02=swp_prism_h(sol2,sol3)
fillet1=ip_fillet(sol,sol2,3,3)

sec3=cr(pts1([[0,0],[-2,1,.2],[2,1]]),10)
path3=helix(14,2.5,6,5)
sol4=path_extrude_open(sec3,path3)

sol4=sol2vector([0,0,1,],sol4,[-60,0,70])
with open('/Users/sanjeevprabhakar/iCloud Drive
(Archive)/Documents/Download/openscad/trial.scad','w+') as f:
f.write(f'''
difference(){{
{swp_c(sol0)}
{swp(sol3)}
}}
difference(){{
{swp_c(sol02)}
{swp(sol)}
}}
{swp_c(fillet1)}
intersection(){{
color("blue"){swp(sol4)}
{swp(sol3)}
}}

''')

#for this code to work you would need  file openscad1.py

On Wed, 16 Aug 2023 at 14:29, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

This seems to me as quite a simple case although haven't tried it yet.

As per my understanding it should be easy to do with BOSL library. May be
Adrian can comment.

If you want,  I can make it through my python approach.

It is mainly 2 tubes which needs to be fused together and some easy
filleting.

Threads parts maybe a little tricky, but not too difficult for sure.

On Wed, 16 Aug, 2023, 12:42 pm Karl Exler, karl.exler@meinklang.cc
wrote:

Dear all
I found the enclosed adapter on Thingiverse. Unfortunately nearly all
diameters are not in that size I need it. Did anyone of you created such
an (similar) object in Openscad? Is it possible to get that file?
Or- if not- how would an expert start with that projects?

Until now I only use Openscad functions and some of the BOSL libraries.

Many thanks in advance
Karl


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

openscad version [image: Screenshot 2023-08-16 at 9.44.44 PM.png] #python code to create this: from openscad1 import * sec=circle(25) path=cr(pts1([[0,0,0],[0,15,1],[-6,50,1],[0,18,0]]),10) sol=prism(sec,path) sol1=prism(circle(24),path) sol0=swp_prism_h(sol,sol1) sec2=circle(15) path2=cr_3d([[0,0,15,0],[-60,0,40,20],[0,0,30,0]],10) sol2=path_extrude_open(sec2,path2) sol3=path_extrude_open(offset(sec2,-1),path2) sol02=swp_prism_h(sol2,sol3) fillet1=ip_fillet(sol,sol2,3,3) sec3=cr(pts1([[0,0],[-2,1,.2],[2,1]]),10) path3=helix(14,2.5,6,5) sol4=path_extrude_open(sec3,path3) sol4=sol2vector([0,0,1,],sol4,[-60,0,70]) with open('/Users/sanjeevprabhakar/iCloud Drive (Archive)/Documents/Download/openscad/trial.scad','w+') as f: f.write(f''' difference(){{ {swp_c(sol0)} {swp(sol3)} }} difference(){{ {swp_c(sol02)} {swp(sol)} }} {swp_c(fillet1)} intersection(){{ color("blue"){swp(sol4)} {swp(sol3)} }} ''') #for this code to work you would need file openscad1.py On Wed, 16 Aug 2023 at 14:29, Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > This seems to me as quite a simple case although haven't tried it yet. > > As per my understanding it should be easy to do with BOSL library. May be > Adrian can comment. > > If you want, I can make it through my python approach. > > It is mainly 2 tubes which needs to be fused together and some easy > filleting. > > Threads parts maybe a little tricky, but not too difficult for sure. > > > > > On Wed, 16 Aug, 2023, 12:42 pm Karl Exler, <karl.exler@meinklang.cc> > wrote: > >> Dear all >> I found the enclosed adapter on Thingiverse. Unfortunately nearly all >> diameters are not in that size I need it. Did anyone of you created such >> an (similar) object in Openscad? Is it possible to get that file? >> Or- if not- how would an expert start with that projects? >> >> Until now I only use Openscad functions and some of the BOSL libraries. >> >> Many thanks in advance >> Karl >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >
J
jon
Wed, Aug 16, 2023 4:51 PM

How do the forum members feel about postings like this, which have more
to do with python than with OpenSCAD?  I personally find it to be
unnecessary and distracting, but I will defer to the feelings of the group.

Jon

On 8/16/2023 12:22 PM, Sanjeev Prabhakar wrote:

openscad version
Screenshot 2023-08-16 at 9.44.44 PM.png

#python code to create this:

from openscad1 import *
sec=circle(25)
path=cr(pts1([[0,0,0],[0,15,1],[-6,50,1],[0,18,0]]),10)
sol=prism(sec,path)
sol1=prism(circle(24),path)
sol0=swp_prism_h(sol,sol1)
sec2=circle(15)
path2=cr_3d([[0,0,15,0],[-60,0,40,20],[0,0,30,0]],10)
sol2=path_extrude_open(sec2,path2)
sol3=path_extrude_open(offset(sec2,-1),path2)
sol02=swp_prism_h(sol2,sol3)
fillet1=ip_fillet(sol,sol2,3,3)

sec3=cr(pts1([[0,0],[-2,1,.2],[2,1]]),10)
path3=helix(14,2.5,6,5)
sol4=path_extrude_open(sec3,path3)

sol4=sol2vector([0,0,1,],sol4,[-60,0,70])
with open('/Users/sanjeevprabhakar/iCloud Drive
(Archive)/Documents/Download/openscad/trial.scad','w+') as f:
    f.write(f'''
difference(){{
{swp_c(sol0)}
{swp(sol3)}
}}
difference(){{
{swp_c(sol02)}
{swp(sol)}
}}
{swp_c(fillet1)}
intersection(){{
color("blue"){swp(sol4)}
{swp(sol3)}
}}

''')

#for this code to work you would need  file openscad1.py

On Wed, 16 Aug 2023 at 14:29, Sanjeev Prabhakar
sprabhakar2006@gmail.com wrote:

 This seems to me as quite a simple case although haven't tried it
 yet.

 As per my understanding it should be easy to do with BOSL library.
 May be Adrian can comment.

 If you want,  I can make it through my python approach.

 It is mainly 2 tubes which needs to be fused together and some
 easy filleting.

 Threads parts maybe a little tricky, but not too difficult for sure.




 On Wed, 16 Aug, 2023, 12:42 pm Karl Exler,
 <karl.exler@meinklang.cc> wrote:

     Dear all
     I found the enclosed adapter on Thingiverse. Unfortunately
     nearly all
     diameters are not in that size I need it. Did anyone of you
     created such
     an (similar) object in Openscad? Is it possible to get that file?
     Or- if not- how would an expert start with that projects?

     Until now I only use Openscad functions and some of the BOSL
     libraries.

     Many thanks in advance
     Karl
     _______________________________________________
     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

How do the forum members feel about postings like this, which have more to do with python than with OpenSCAD?  I personally find it to be unnecessary and distracting, but I will defer to the feelings of the group. Jon On 8/16/2023 12:22 PM, Sanjeev Prabhakar wrote: > openscad version > Screenshot 2023-08-16 at 9.44.44 PM.png > > #python code to create this: > > from openscad1 import * > sec=circle(25) > path=cr(pts1([[0,0,0],[0,15,1],[-6,50,1],[0,18,0]]),10) > sol=prism(sec,path) > sol1=prism(circle(24),path) > sol0=swp_prism_h(sol,sol1) > sec2=circle(15) > path2=cr_3d([[0,0,15,0],[-60,0,40,20],[0,0,30,0]],10) > sol2=path_extrude_open(sec2,path2) > sol3=path_extrude_open(offset(sec2,-1),path2) > sol02=swp_prism_h(sol2,sol3) > fillet1=ip_fillet(sol,sol2,3,3) > > sec3=cr(pts1([[0,0],[-2,1,.2],[2,1]]),10) > path3=helix(14,2.5,6,5) > sol4=path_extrude_open(sec3,path3) > > sol4=sol2vector([0,0,1,],sol4,[-60,0,70]) > with open('/Users/sanjeevprabhakar/iCloud Drive > (Archive)/Documents/Download/openscad/trial.scad','w+') as f: >     f.write(f''' > difference(){{ > {swp_c(sol0)} > {swp(sol3)} > }} > difference(){{ > {swp_c(sol02)} > {swp(sol)} > }} > {swp_c(fillet1)} > intersection(){{ > color("blue"){swp(sol4)} > {swp(sol3)} > }} > > ''') > > #for this code to work you would need  file openscad1.py > > On Wed, 16 Aug 2023 at 14:29, Sanjeev Prabhakar > <sprabhakar2006@gmail.com> wrote: > > This seems to me as quite a simple case although haven't tried it > yet. > > As per my understanding it should be easy to do with BOSL library. > May be Adrian can comment. > > If you want,  I can make it through my python approach. > > It is mainly 2 tubes which needs to be fused together and some > easy filleting. > > Threads parts maybe a little tricky, but not too difficult for sure. > > > > > On Wed, 16 Aug, 2023, 12:42 pm Karl Exler, > <karl.exler@meinklang.cc> wrote: > > Dear all > I found the enclosed adapter on Thingiverse. Unfortunately > nearly all > diameters are not in that size I need it. Did anyone of you > created such > an (similar) object in Openscad? Is it possible to get that file? > Or- if not- how would an expert start with that projects? > > Until now I only use Openscad functions and some of the BOSL > libraries. > > Many thanks in advance > Karl > _______________________________________________ > 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
MM
Michael Möller
Wed, Aug 16, 2023 5:44 PM

Well, that question should be debated in its own thread/subj:-line.

I feel we have 3 subject areas:

  1. The "pure" OpenSCAD usage questions: syntax, funktion, getting data
    in&out, versions, bugs ...
  2. The "add ons" - BOSL2 and Sanjeev's python frontend.
  3. Hardware related- ie on how to get a physical implementation of a model.
    The list could be subdivided a bit further.

IMHO the list should restrict itself to 1.  The occasional hardware
question is not a problem, but it gets a bit strained in that many OpenSCAD
questions are answered with "use this instead". Admittedly, pure (and
simple) OpenSCAD can not solve all 3D model desires, but should that be a
problem?

I found it nice to hear about BOSL2, but find longer problems irrelevant.
BOSL2 is bigger than OpenSCAD in the number of features and functions, i.e.
it is like  a new language (perhaps like C++ is "just" an extension of C ?)
Sanjeev's python work is also a new language which only uses OpenSCAD as a
render, as it produces one large polyhedra. Fantastic, but has almost
nothing to do with OpenSCAD.

Msquare

On Wed, 16 Aug 2023 at 18:52, jon jon@jonbondy.com wrote:

How do the forum members feel about postings like this, which have more to
do with python than with OpenSCAD?  I personally find it to be unnecessary
and distracting, but I will defer to the feelings of the group.

Jon

On 8/16/2023 12:22 PM, Sanjeev Prabhakar wrote:

openscad version
[image: Screenshot 2023-08-16 at 9.44.44 PM.png]

#python code to create this:

from openscad1 import *
sec=circle(25)
path=cr(pts1([[0,0,0],[0,15,1],[-6,50,1],[0,18,0]]),10)
sol=prism(sec,path)
sol1=prism(circle(24),path)
sol0=swp_prism_h(sol,sol1)
sec2=circle(15)
path2=cr_3d([[0,0,15,0],[-60,0,40,20],[0,0,30,0]],10)
sol2=path_extrude_open(sec2,path2)
sol3=path_extrude_open(offset(sec2,-1),path2)
sol02=swp_prism_h(sol2,sol3)
fillet1=ip_fillet(sol,sol2,3,3)

sec3=cr(pts1([[0,0],[-2,1,.2],[2,1]]),10)
path3=helix(14,2.5,6,5)
sol4=path_extrude_open(sec3,path3)

sol4=sol2vector([0,0,1,],sol4,[-60,0,70])
with open('/Users/sanjeevprabhakar/iCloud Drive
(Archive)/Documents/Download/openscad/trial.scad','w+') as f:
f.write(f'''
difference(){{
{swp_c(sol0)}
{swp(sol3)}
}}
difference(){{
{swp_c(sol02)}
{swp(sol)}
}}
{swp_c(fillet1)}
intersection(){{
color("blue"){swp(sol4)}
{swp(sol3)}
}}

''')

#for this code to work you would need  file openscad1.py

On Wed, 16 Aug 2023 at 14:29, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

This seems to me as quite a simple case although haven't tried it yet.

As per my understanding it should be easy to do with BOSL library. May be
Adrian can comment.

If you want,  I can make it through my python approach.

It is mainly 2 tubes which needs to be fused together and some easy
filleting.

Threads parts maybe a little tricky, but not too difficult for sure.

On Wed, 16 Aug, 2023, 12:42 pm Karl Exler, karl.exler@meinklang.cc
wrote:

Dear all
I found the enclosed adapter on Thingiverse. Unfortunately nearly all
diameters are not in that size I need it. Did anyone of you created such
an (similar) object in Openscad? Is it possible to get that file?
Or- if not- how would an expert start with that projects?

Until now I only use Openscad functions and some of the BOSL libraries.

Many thanks in advance
Karl


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 to discuss-leave@lists.openscad.org

Well, that question should be debated in its own thread/subj:-line. I feel we have 3 subject areas: 1) The "pure" OpenSCAD usage questions: syntax, funktion, getting data in&out, versions, bugs ... 2) The "add ons" - BOSL2 and Sanjeev's python frontend. 3) Hardware related- ie on how to get a physical implementation of a model. The list could be subdivided a bit further. IMHO the list should restrict itself to 1. The occasional hardware question is not a problem, but it gets a bit strained in that many OpenSCAD questions are answered with "use this instead". Admittedly, pure (and simple) OpenSCAD can not solve all 3D model desires, but should that be a problem? I found it nice to hear about BOSL2, but find longer problems irrelevant. BOSL2 is bigger than OpenSCAD in the number of features and functions, i.e. it is like a new language (perhaps like C++ is "just" an extension of C ?) Sanjeev's python work is also a new language which only uses OpenSCAD as a render, as it produces one large polyhedra. Fantastic, but has almost nothing to do with OpenSCAD. Msquare On Wed, 16 Aug 2023 at 18:52, jon <jon@jonbondy.com> wrote: > How do the forum members feel about postings like this, which have more to > do with python than with OpenSCAD? I personally find it to be unnecessary > and distracting, but I will defer to the feelings of the group. > > Jon > > > On 8/16/2023 12:22 PM, Sanjeev Prabhakar wrote: > > openscad version > [image: Screenshot 2023-08-16 at 9.44.44 PM.png] > > #python code to create this: > > from openscad1 import * > sec=circle(25) > path=cr(pts1([[0,0,0],[0,15,1],[-6,50,1],[0,18,0]]),10) > sol=prism(sec,path) > sol1=prism(circle(24),path) > sol0=swp_prism_h(sol,sol1) > sec2=circle(15) > path2=cr_3d([[0,0,15,0],[-60,0,40,20],[0,0,30,0]],10) > sol2=path_extrude_open(sec2,path2) > sol3=path_extrude_open(offset(sec2,-1),path2) > sol02=swp_prism_h(sol2,sol3) > fillet1=ip_fillet(sol,sol2,3,3) > > sec3=cr(pts1([[0,0],[-2,1,.2],[2,1]]),10) > path3=helix(14,2.5,6,5) > sol4=path_extrude_open(sec3,path3) > > sol4=sol2vector([0,0,1,],sol4,[-60,0,70]) > with open('/Users/sanjeevprabhakar/iCloud Drive > (Archive)/Documents/Download/openscad/trial.scad','w+') as f: > f.write(f''' > difference(){{ > {swp_c(sol0)} > {swp(sol3)} > }} > difference(){{ > {swp_c(sol02)} > {swp(sol)} > }} > {swp_c(fillet1)} > intersection(){{ > color("blue"){swp(sol4)} > {swp(sol3)} > }} > > ''') > > #for this code to work you would need file openscad1.py > > On Wed, 16 Aug 2023 at 14:29, Sanjeev Prabhakar <sprabhakar2006@gmail.com> > wrote: > >> This seems to me as quite a simple case although haven't tried it yet. >> >> As per my understanding it should be easy to do with BOSL library. May be >> Adrian can comment. >> >> If you want, I can make it through my python approach. >> >> It is mainly 2 tubes which needs to be fused together and some easy >> filleting. >> >> Threads parts maybe a little tricky, but not too difficult for sure. >> >> >> >> >> On Wed, 16 Aug, 2023, 12:42 pm Karl Exler, <karl.exler@meinklang.cc> >> wrote: >> >>> Dear all >>> I found the enclosed adapter on Thingiverse. Unfortunately nearly all >>> diameters are not in that size I need it. Did anyone of you created such >>> an (similar) object in Openscad? Is it possible to get that file? >>> Or- if not- how would an expert start with that projects? >>> >>> Until now I only use Openscad functions and some of the BOSL libraries. >>> >>> Many thanks in advance >>> Karl >>> _______________________________________________ >>> 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 to discuss-leave@lists.openscad.org >
J
jon
Wed, Aug 16, 2023 6:46 PM

I agree that this should be separate.  Thanks for pointing this out.

Jon

On 8/16/2023 1:44 PM, Michael Möller wrote:

Well, that question should be debated in its own thread/subj:-line.

I feel we have 3 subject areas:

  1. The "pure" OpenSCAD usage questions: syntax, funktion, getting data
    in&out, versions, bugs ...
  2. The "add ons" - BOSL2 and Sanjeev's python frontend.
  3. Hardware related- ie on how to get a physical implementation of a
    model.
    The list could be subdivided a bit further.

IMHO the list should restrict itself to 1.  The occasional hardware
question is not a problem, but it gets a bit strained in that many
OpenSCAD questions are answered with "use this instead". Admittedly,
pure (and simple) OpenSCAD can not solve all 3D model desires, but
should that be a problem?

I found it nice to hear about BOSL2, but find longer problems
irrelevant. BOSL2 is bigger than OpenSCAD in the number of features
and functions, i.e. it is like  a new language (perhaps like C++ is
"just" an extension of C ?) Sanjeev's python work is also a new
language which only uses OpenSCAD as a render, as it produces one
large polyhedra. Fantastic, but has almost nothing to do with OpenSCAD.

Msquare

On Wed, 16 Aug 2023 at 18:52, jon jon@jonbondy.com wrote:

 How do the forum members feel about postings like this, which have
 more to do with python than with OpenSCAD?  I personally find it
 to be unnecessary and distracting, but I will defer to the
 feelings of the group.

 Jon


 On 8/16/2023 12:22 PM, Sanjeev Prabhakar wrote:
 openscad version
 Screenshot 2023-08-16 at 9.44.44 PM.png

 #python code to create this:

 from openscad1 import *
 sec=circle(25)
 path=cr(pts1([[0,0,0],[0,15,1],[-6,50,1],[0,18,0]]),10)
 sol=prism(sec,path)
 sol1=prism(circle(24),path)
 sol0=swp_prism_h(sol,sol1)
 sec2=circle(15)
 path2=cr_3d([[0,0,15,0],[-60,0,40,20],[0,0,30,0]],10)
 sol2=path_extrude_open(sec2,path2)
 sol3=path_extrude_open(offset(sec2,-1),path2)
 sol02=swp_prism_h(sol2,sol3)
 fillet1=ip_fillet(sol,sol2,3,3)

 sec3=cr(pts1([[0,0],[-2,1,.2],[2,1]]),10)
 path3=helix(14,2.5,6,5)
 sol4=path_extrude_open(sec3,path3)

 sol4=sol2vector([0,0,1,],sol4,[-60,0,70])
 with open('/Users/sanjeevprabhakar/iCloud Drive
 (Archive)/Documents/Download/openscad/trial.scad','w+') as f:
     f.write(f'''
 difference(){{
 {swp_c(sol0)}
 {swp(sol3)}
 }}
 difference(){{
 {swp_c(sol02)}
 {swp(sol)}
 }}
 {swp_c(fillet1)}
 intersection(){{
 color("blue"){swp(sol4)}
 {swp(sol3)}
 }}

 ''')

 #for this code to work you would need  file openscad1.py
I agree that this should be separate.  Thanks for pointing this out. Jon On 8/16/2023 1:44 PM, Michael Möller wrote: > Well, that question should be debated in its own thread/subj:-line. > > I feel we have 3 subject areas: > 1) The "pure" OpenSCAD usage questions: syntax, funktion, getting data > in&out, versions, bugs ... > 2) The "add ons" - BOSL2 and Sanjeev's python frontend. > 3) Hardware related- ie on how to get a physical implementation of a > model. > The list could be subdivided a bit further. > > IMHO the list should restrict itself to 1.  The occasional hardware > question is not a problem, but it gets a bit strained in that many > OpenSCAD questions are answered with "use this instead". Admittedly, > pure (and simple) OpenSCAD can not solve all 3D model desires, but > should that be a problem? > > I found it nice to hear about BOSL2, but find longer problems > irrelevant. BOSL2 is bigger than OpenSCAD in the number of features > and functions, i.e. it is like  a new language (perhaps like C++ is > "just" an extension of C ?) Sanjeev's python work is also a new > language which only uses OpenSCAD as a render, as it produces one > large polyhedra. Fantastic, but has almost nothing to do with OpenSCAD. > > Msquare > > > > > On Wed, 16 Aug 2023 at 18:52, jon <jon@jonbondy.com> wrote: > > How do the forum members feel about postings like this, which have > more to do with python than with OpenSCAD?  I personally find it > to be unnecessary and distracting, but I will defer to the > feelings of the group. > > Jon > > > On 8/16/2023 12:22 PM, Sanjeev Prabhakar wrote: >> openscad version >> Screenshot 2023-08-16 at 9.44.44 PM.png >> >> #python code to create this: >> >> from openscad1 import * >> sec=circle(25) >> path=cr(pts1([[0,0,0],[0,15,1],[-6,50,1],[0,18,0]]),10) >> sol=prism(sec,path) >> sol1=prism(circle(24),path) >> sol0=swp_prism_h(sol,sol1) >> sec2=circle(15) >> path2=cr_3d([[0,0,15,0],[-60,0,40,20],[0,0,30,0]],10) >> sol2=path_extrude_open(sec2,path2) >> sol3=path_extrude_open(offset(sec2,-1),path2) >> sol02=swp_prism_h(sol2,sol3) >> fillet1=ip_fillet(sol,sol2,3,3) >> >> sec3=cr(pts1([[0,0],[-2,1,.2],[2,1]]),10) >> path3=helix(14,2.5,6,5) >> sol4=path_extrude_open(sec3,path3) >> >> sol4=sol2vector([0,0,1,],sol4,[-60,0,70]) >> with open('/Users/sanjeevprabhakar/iCloud Drive >> (Archive)/Documents/Download/openscad/trial.scad','w+') as f: >>     f.write(f''' >> difference(){{ >> {swp_c(sol0)} >> {swp(sol3)} >> }} >> difference(){{ >> {swp_c(sol02)} >> {swp(sol)} >> }} >> {swp_c(fillet1)} >> intersection(){{ >> color("blue"){swp(sol4)} >> {swp(sol3)} >> }} >> >> ''') >> >> #for this code to work you would need  file openscad1.py >> >>
TP
Torsten Paul
Wed, Aug 16, 2023 7:14 PM

There is simple way of subdividing the mailing list, reasonable
mail clients should be able to suppress unwanted threads though.

I'm still trying to figure out if there's anything we could self-
host that could bring back the combined forum/mail usage we had
earlier. Maybe the new fediverse apps (Lemmy/Kbin...) bring some
new options to the table...

Declaring a strict "pure OpenSCAD" policy seems both too limited
and also difficult to enforce anyway.

Declaring BOSL2 or any library off-topic is just wrong in my
personal opinion. It does not get more OpenSCAD related than that.

The python topic is debatable, especially in it's current form,
but considering there's going to be some native Python support
it could become much more integrated / native soon.

In summary, I'm seeing all 3 topics in the on-topic category,
maybe with the hope the hardware topics would not take a too
big percentage.

ciao,
Torsten.

There is simple way of subdividing the mailing list, reasonable mail clients should be able to suppress unwanted threads though. I'm still trying to figure out if there's anything we could self- host that could bring back the combined forum/mail usage we had earlier. Maybe the new fediverse apps (Lemmy/Kbin...) bring some new options to the table... Declaring a strict "pure OpenSCAD" policy seems both too limited and also difficult to enforce anyway. Declaring BOSL2 or any library off-topic is just wrong in my personal opinion. It does not get more OpenSCAD related than that. The python topic is debatable, especially in it's current form, but considering there's going to be some native Python support it could become much more integrated / native soon. In summary, I'm seeing all 3 topics in the on-topic category, maybe with the hope the hardware topics would not take a too big percentage. ciao, Torsten.