discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

installing and using jupyter notebook for openscad

JD
John David
Fri, Apr 5, 2024 1:43 AM

Thank you.  I had to dig a little to find it.  I am assuming that
https://github.com/sprabhakar2006/openSCAD is the one?  THank you.  I will
have to look into this once I get some time to play.

On Thu, Apr 4, 2024 at 11:31 AM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:

finally a video on how to setup a fresh folder for openscad with python
library
https://youtu.be/AmJ3DGwNshg

On Wed, 3 Apr 2024 at 19:16, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

Please ignore previous link
this link below is a much better way and also much optimised for using
the openscad
https://youtu.be/pJC4pVHenYw

On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I have posted a video for installing and using jupyter notebook for
openscad

https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF


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

Thank you. I had to dig a little to find it. I am assuming that https://github.com/sprabhakar2006/openSCAD is the one? THank you. I will have to look into this once I get some time to play. On Thu, Apr 4, 2024 at 11:31 AM Sanjeev Prabhakar via Discuss < discuss@lists.openscad.org> wrote: > finally a video on how to setup a fresh folder for openscad with python > library > https://youtu.be/AmJ3DGwNshg > > On Wed, 3 Apr 2024 at 19:16, Sanjeev Prabhakar <sprabhakar2006@gmail.com> > wrote: > >> Please ignore previous link >> this link below is a much better way and also much optimised for using >> the openscad >> https://youtu.be/pJC4pVHenYw >> >> On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar <sprabhakar2006@gmail.com> >> wrote: >> >>> >>> I have posted a video for installing and using jupyter notebook for >>> openscad >>> >>> https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF >>> >> _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
SP
Sanjeev Prabhakar
Fri, Apr 5, 2024 3:00 AM

Yes this is the correct github page

On Fri, 5 Apr, 2024, 7:13 am John David, ebo.2112@gmail.com wrote:

Thank you.  I had to dig a little to find it.  I am assuming that
https://github.com/sprabhakar2006/openSCAD is the one?  THank you.  I
will have to look into this once I get some time to play.

On Thu, Apr 4, 2024 at 11:31 AM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:

finally a video on how to setup a fresh folder for openscad with python
library
https://youtu.be/AmJ3DGwNshg

On Wed, 3 Apr 2024 at 19:16, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

Please ignore previous link
this link below is a much better way and also much optimised for using
the openscad
https://youtu.be/pJC4pVHenYw

On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I have posted a video for installing and using jupyter notebook for
openscad

https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF


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

Yes this is the correct github page On Fri, 5 Apr, 2024, 7:13 am John David, <ebo.2112@gmail.com> wrote: > Thank you. I had to dig a little to find it. I am assuming that > https://github.com/sprabhakar2006/openSCAD is the one? THank you. I > will have to look into this once I get some time to play. > > On Thu, Apr 4, 2024 at 11:31 AM Sanjeev Prabhakar via Discuss < > discuss@lists.openscad.org> wrote: > >> finally a video on how to setup a fresh folder for openscad with python >> library >> https://youtu.be/AmJ3DGwNshg >> >> On Wed, 3 Apr 2024 at 19:16, Sanjeev Prabhakar <sprabhakar2006@gmail.com> >> wrote: >> >>> Please ignore previous link >>> this link below is a much better way and also much optimised for using >>> the openscad >>> https://youtu.be/pJC4pVHenYw >>> >>> On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar <sprabhakar2006@gmail.com> >>> wrote: >>> >>>> >>>> I have posted a video for installing and using jupyter notebook for >>>> openscad >>>> >>>> https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF >>>> >>> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >
SP
Sanjeev Prabhakar
Fri, Apr 5, 2024 3:16 AM

I would encourage everyone to use this workflow, not necessarily my python
library as it may be intimidating to many due to not much explanation.

I personally feel creators of BOSL2 can do far more justice to this than me.

On Fri, 5 Apr, 2024, 8:30 am Sanjeev Prabhakar, sprabhakar2006@gmail.com
wrote:

Yes this is the correct github page

On Fri, 5 Apr, 2024, 7:13 am John David, ebo.2112@gmail.com wrote:

Thank you.  I had to dig a little to find it.  I am assuming that
https://github.com/sprabhakar2006/openSCAD is the one?  THank you.  I
will have to look into this once I get some time to play.

On Thu, Apr 4, 2024 at 11:31 AM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:

finally a video on how to setup a fresh folder for openscad with python
library
https://youtu.be/AmJ3DGwNshg

On Wed, 3 Apr 2024 at 19:16, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

Please ignore previous link
this link below is a much better way and also much optimised for using
the openscad
https://youtu.be/pJC4pVHenYw

On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I have posted a video for installing and using jupyter notebook for
openscad

https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF


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

I would encourage everyone to use this workflow, not necessarily my python library as it may be intimidating to many due to not much explanation. I personally feel creators of BOSL2 can do far more justice to this than me. On Fri, 5 Apr, 2024, 8:30 am Sanjeev Prabhakar, <sprabhakar2006@gmail.com> wrote: > Yes this is the correct github page > > On Fri, 5 Apr, 2024, 7:13 am John David, <ebo.2112@gmail.com> wrote: > >> Thank you. I had to dig a little to find it. I am assuming that >> https://github.com/sprabhakar2006/openSCAD is the one? THank you. I >> will have to look into this once I get some time to play. >> >> On Thu, Apr 4, 2024 at 11:31 AM Sanjeev Prabhakar via Discuss < >> discuss@lists.openscad.org> wrote: >> >>> finally a video on how to setup a fresh folder for openscad with python >>> library >>> https://youtu.be/AmJ3DGwNshg >>> >>> On Wed, 3 Apr 2024 at 19:16, Sanjeev Prabhakar <sprabhakar2006@gmail.com> >>> wrote: >>> >>>> Please ignore previous link >>>> this link below is a much better way and also much optimised for using >>>> the openscad >>>> https://youtu.be/pJC4pVHenYw >>>> >>>> On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar < >>>> sprabhakar2006@gmail.com> wrote: >>>> >>>>> >>>>> I have posted a video for installing and using jupyter notebook for >>>>> openscad >>>>> >>>>> https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF >>>>> >>>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>> >>
JD
John David
Fri, Apr 5, 2024 6:25 PM

Fair enough.  As a note, over the years I have programmed in over 40
different languages, and python has been my favorite for the last 15 years
or so (followed byANSI C, C++,*sh, and then maybe Fortan - but I have to
think long and hard about that one ).  So, I am good with working with
little to no docs, and I do want to eventually become proficient with BOSL2.

EBo --

On Thu, Apr 4, 2024 at 11:16 PM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I would encourage everyone to use this workflow, not necessarily my python
library as it may be intimidating to many due to not much explanation.

I personally feel creators of BOSL2 can do far more justice to this than
me.

On Fri, 5 Apr, 2024, 8:30 am Sanjeev Prabhakar, sprabhakar2006@gmail.com
wrote:

Yes this is the correct github page

On Fri, 5 Apr, 2024, 7:13 am John David, ebo.2112@gmail.com wrote:

Thank you.  I had to dig a little to find it.  I am assuming that
https://github.com/sprabhakar2006/openSCAD is the one?  THank you.  I
will have to look into this once I get some time to play.

On Thu, Apr 4, 2024 at 11:31 AM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:

finally a video on how to setup a fresh folder for openscad with python
library
https://youtu.be/AmJ3DGwNshg

On Wed, 3 Apr 2024 at 19:16, Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Please ignore previous link
this link below is a much better way and also much optimised for using
the openscad
https://youtu.be/pJC4pVHenYw

On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I have posted a video for installing and using jupyter notebook for
openscad

https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF


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

Fair enough. As a note, over the years I have programmed in over 40 different languages, and python has been my favorite for the last 15 years or so (followed byANSI C, C++,*sh, and then *maybe* Fortan - but I have to think long and hard about that one ). So, I am good with working with little to no docs, and I do want to eventually become proficient with BOSL2. EBo -- On Thu, Apr 4, 2024 at 11:16 PM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > I would encourage everyone to use this workflow, not necessarily my python > library as it may be intimidating to many due to not much explanation. > > I personally feel creators of BOSL2 can do far more justice to this than > me. > > > > On Fri, 5 Apr, 2024, 8:30 am Sanjeev Prabhakar, <sprabhakar2006@gmail.com> > wrote: > >> Yes this is the correct github page >> >> On Fri, 5 Apr, 2024, 7:13 am John David, <ebo.2112@gmail.com> wrote: >> >>> Thank you. I had to dig a little to find it. I am assuming that >>> https://github.com/sprabhakar2006/openSCAD is the one? THank you. I >>> will have to look into this once I get some time to play. >>> >>> On Thu, Apr 4, 2024 at 11:31 AM Sanjeev Prabhakar via Discuss < >>> discuss@lists.openscad.org> wrote: >>> >>>> finally a video on how to setup a fresh folder for openscad with python >>>> library >>>> https://youtu.be/AmJ3DGwNshg >>>> >>>> On Wed, 3 Apr 2024 at 19:16, Sanjeev Prabhakar < >>>> sprabhakar2006@gmail.com> wrote: >>>> >>>>> Please ignore previous link >>>>> this link below is a much better way and also much optimised for using >>>>> the openscad >>>>> https://youtu.be/pJC4pVHenYw >>>>> >>>>> On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar < >>>>> sprabhakar2006@gmail.com> wrote: >>>>> >>>>>> >>>>>> I have posted a video for installing and using jupyter notebook for >>>>>> openscad >>>>>> >>>>>> https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF >>>>>> >>>>> _______________________________________________ >>>> OpenSCAD mailing list >>>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>>> >>>
LM
Leonard Martin Struttmann
Fri, Apr 5, 2024 6:44 PM

I too feel that Python is my favorite programming language (although I do
have fond memories of Pascal, Forth, and DEC's TPU (Text Processing
Utility) on VAX/VMS).  Thanks, Sanjeev, for posting these.  I'm really
looking forward to having some time to play with Python/OpenSCAD/Jupyter.

John, I am also trying to work more with BOSL2. However, it took me way
over an hour to wrap my head around the first "simple" example of using
rotate_sweep().  There's just so much to work through.

On Fri, Apr 5, 2024 at 1:26 PM John David via Discuss <
discuss@lists.openscad.org> wrote:

Fair enough.  As a note, over the years I have programmed in over 40
different languages, and python has been my favorite for the last 15 years
or so (followed byANSI C, C++,*sh, and then maybe Fortan - but I have to
think long and hard about that one ).  So, I am good with working with
little to no docs, and I do want to eventually become proficient with BOSL2.

EBo --

On Thu, Apr 4, 2024 at 11:16 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I would encourage everyone to use this workflow, not necessarily my
python library as it may be intimidating to many due to not much
explanation.

I personally feel creators of BOSL2 can do far more justice to this than
me.

On Fri, 5 Apr, 2024, 8:30 am Sanjeev Prabhakar, sprabhakar2006@gmail.com
wrote:

Yes this is the correct github page

On Fri, 5 Apr, 2024, 7:13 am John David, ebo.2112@gmail.com wrote:

Thank you.  I had to dig a little to find it.  I am assuming that
https://github.com/sprabhakar2006/openSCAD is the one?  THank you.  I
will have to look into this once I get some time to play.

On Thu, Apr 4, 2024 at 11:31 AM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:

finally a video on how to setup a fresh folder for openscad with
python library
https://youtu.be/AmJ3DGwNshg

On Wed, 3 Apr 2024 at 19:16, Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Please ignore previous link
this link below is a much better way and also much optimised for
using the openscad
https://youtu.be/pJC4pVHenYw

On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I have posted a video for installing and using jupyter notebook for
openscad

https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF


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 too feel that Python is my favorite programming language (although I do have fond memories of Pascal, Forth, and DEC's TPU (Text Processing Utility) on VAX/VMS). Thanks, Sanjeev, for posting these. I'm really looking forward to having some time to play with Python/OpenSCAD/Jupyter. John, I am also trying to work more with BOSL2. However, it took me way over an hour to wrap my head around the first "simple" example of using rotate_sweep(). There's just so much to work through. On Fri, Apr 5, 2024 at 1:26 PM John David via Discuss < discuss@lists.openscad.org> wrote: > Fair enough. As a note, over the years I have programmed in over 40 > different languages, and python has been my favorite for the last 15 years > or so (followed byANSI C, C++,*sh, and then *maybe* Fortan - but I have to > think long and hard about that one ). So, I am good with working with > little to no docs, and I do want to eventually become proficient with BOSL2. > > EBo -- > > On Thu, Apr 4, 2024 at 11:16 PM Sanjeev Prabhakar < > sprabhakar2006@gmail.com> wrote: > >> I would encourage everyone to use this workflow, not necessarily my >> python library as it may be intimidating to many due to not much >> explanation. >> >> I personally feel creators of BOSL2 can do far more justice to this than >> me. >> >> >> >> On Fri, 5 Apr, 2024, 8:30 am Sanjeev Prabhakar, <sprabhakar2006@gmail.com> >> wrote: >> >>> Yes this is the correct github page >>> >>> On Fri, 5 Apr, 2024, 7:13 am John David, <ebo.2112@gmail.com> wrote: >>> >>>> Thank you. I had to dig a little to find it. I am assuming that >>>> https://github.com/sprabhakar2006/openSCAD is the one? THank you. I >>>> will have to look into this once I get some time to play. >>>> >>>> On Thu, Apr 4, 2024 at 11:31 AM Sanjeev Prabhakar via Discuss < >>>> discuss@lists.openscad.org> wrote: >>>> >>>>> finally a video on how to setup a fresh folder for openscad with >>>>> python library >>>>> https://youtu.be/AmJ3DGwNshg >>>>> >>>>> On Wed, 3 Apr 2024 at 19:16, Sanjeev Prabhakar < >>>>> sprabhakar2006@gmail.com> wrote: >>>>> >>>>>> Please ignore previous link >>>>>> this link below is a much better way and also much optimised for >>>>>> using the openscad >>>>>> https://youtu.be/pJC4pVHenYw >>>>>> >>>>>> On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar < >>>>>> sprabhakar2006@gmail.com> wrote: >>>>>> >>>>>>> >>>>>>> I have posted a video for installing and using jupyter notebook for >>>>>>> openscad >>>>>>> >>>>>>> https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF >>>>>>> >>>>>> _______________________________________________ >>>>> 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 >
JD
John David
Fri, Apr 5, 2024 6:55 PM

Leonard, ;-) Yea BOSL2 is a deep well indeed.

On Fri, Apr 5, 2024 at 2:45 PM Leonard Martin Struttmann via Discuss <
discuss@lists.openscad.org> wrote:

I too feel that Python is my favorite programming language (although I do
have fond memories of Pascal, Forth, and DEC's TPU (Text Processing
Utility) on VAX/VMS).  Thanks, Sanjeev, for posting these.  I'm really
looking forward to having some time to play with Python/OpenSCAD/Jupyter.

John, I am also trying to work more with BOSL2. However, it took me way
over an hour to wrap my head around the first "simple" example of using
rotate_sweep().  There's just so much to work through.

On Fri, Apr 5, 2024 at 1:26 PM John David via Discuss <
discuss@lists.openscad.org> wrote:

Fair enough.  As a note, over the years I have programmed in over 40
different languages, and python has been my favorite for the last 15 years
or so (followed byANSI C, C++,*sh, and then maybe Fortan - but I have to
think long and hard about that one ).  So, I am good with working with
little to no docs, and I do want to eventually become proficient with BOSL2.

EBo --

On Thu, Apr 4, 2024 at 11:16 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I would encourage everyone to use this workflow, not necessarily my
python library as it may be intimidating to many due to not much
explanation.

I personally feel creators of BOSL2 can do far more justice to this than
me.

On Fri, 5 Apr, 2024, 8:30 am Sanjeev Prabhakar, <
sprabhakar2006@gmail.com> wrote:

Yes this is the correct github page

On Fri, 5 Apr, 2024, 7:13 am John David, ebo.2112@gmail.com wrote:

Thank you.  I had to dig a little to find it.  I am assuming that
https://github.com/sprabhakar2006/openSCAD is the one?  THank you.  I
will have to look into this once I get some time to play.

On Thu, Apr 4, 2024 at 11:31 AM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:

finally a video on how to setup a fresh folder for openscad with
python library
https://youtu.be/AmJ3DGwNshg

On Wed, 3 Apr 2024 at 19:16, Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Please ignore previous link
this link below is a much better way and also much optimised for
using the openscad
https://youtu.be/pJC4pVHenYw

On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I have posted a video for installing and using jupyter notebook for
openscad

https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF


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

Leonard, ;-) Yea BOSL2 is a deep well indeed. On Fri, Apr 5, 2024 at 2:45 PM Leonard Martin Struttmann via Discuss < discuss@lists.openscad.org> wrote: > I too feel that Python is my favorite programming language (although I do > have fond memories of Pascal, Forth, and DEC's TPU (Text Processing > Utility) on VAX/VMS). Thanks, Sanjeev, for posting these. I'm really > looking forward to having some time to play with Python/OpenSCAD/Jupyter. > > John, I am also trying to work more with BOSL2. However, it took me way > over an hour to wrap my head around the first "simple" example of using > rotate_sweep(). There's just so much to work through. > > On Fri, Apr 5, 2024 at 1:26 PM John David via Discuss < > discuss@lists.openscad.org> wrote: > >> Fair enough. As a note, over the years I have programmed in over 40 >> different languages, and python has been my favorite for the last 15 years >> or so (followed byANSI C, C++,*sh, and then *maybe* Fortan - but I have to >> think long and hard about that one ). So, I am good with working with >> little to no docs, and I do want to eventually become proficient with BOSL2. >> >> EBo -- >> >> On Thu, Apr 4, 2024 at 11:16 PM Sanjeev Prabhakar < >> sprabhakar2006@gmail.com> wrote: >> >>> I would encourage everyone to use this workflow, not necessarily my >>> python library as it may be intimidating to many due to not much >>> explanation. >>> >>> I personally feel creators of BOSL2 can do far more justice to this than >>> me. >>> >>> >>> >>> On Fri, 5 Apr, 2024, 8:30 am Sanjeev Prabhakar, < >>> sprabhakar2006@gmail.com> wrote: >>> >>>> Yes this is the correct github page >>>> >>>> On Fri, 5 Apr, 2024, 7:13 am John David, <ebo.2112@gmail.com> wrote: >>>> >>>>> Thank you. I had to dig a little to find it. I am assuming that >>>>> https://github.com/sprabhakar2006/openSCAD is the one? THank you. I >>>>> will have to look into this once I get some time to play. >>>>> >>>>> On Thu, Apr 4, 2024 at 11:31 AM Sanjeev Prabhakar via Discuss < >>>>> discuss@lists.openscad.org> wrote: >>>>> >>>>>> finally a video on how to setup a fresh folder for openscad with >>>>>> python library >>>>>> https://youtu.be/AmJ3DGwNshg >>>>>> >>>>>> On Wed, 3 Apr 2024 at 19:16, Sanjeev Prabhakar < >>>>>> sprabhakar2006@gmail.com> wrote: >>>>>> >>>>>>> Please ignore previous link >>>>>>> this link below is a much better way and also much optimised for >>>>>>> using the openscad >>>>>>> https://youtu.be/pJC4pVHenYw >>>>>>> >>>>>>> On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar < >>>>>>> sprabhakar2006@gmail.com> wrote: >>>>>>> >>>>>>>> >>>>>>>> I have posted a video for installing and using jupyter notebook for >>>>>>>> openscad >>>>>>>> >>>>>>>> https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF >>>>>>>> >>>>>>> _______________________________________________ >>>>>> 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 >
RS
Robbie Sandberg
Mon, Sep 9, 2024 3:29 AM

Hi all!
I would like to subtract from a cube the keyhole-shaped outline at the front of a servo. The idea is to fix the servo in place when inserting it.

Is there perhaps a code for this? If not, I would be glad of any pointers on how to do it.

Cheers! Robbie

-----Original Message-----
From: gene heskett via Discuss discuss@lists.openscad.org
Sent: Wednesday, April 3, 2024 6:41 PM
To: Sanjeev Prabhakar sprabhakar2006@gmail.com; OpenSCAD general discussion Mailing-list discuss@lists.openscad.org
Cc: gene heskett gheskett@shentel.net
Subject: [OpenSCAD] Re: installing and using jupyter notebook for openscad

On 4/3/24 11:56, Sanjeev Prabhakar wrote:

Hi Gene
I am not that skillful in making youtube videos

And I am far less than that, Sanjeev. Thank you very for your efforts to show us what can be done by feeding OpenSCAD good data. It did look like something I might be able to learn to use in OpenSCAD eventually if I don't miss roll call, a possibility as my next b-day will be my 90th. As for python, I still don't have a working understanding. Plus I'm fighting with a pricey printer that keeps changing the Z_offsets (w/o changing the displayed value) requiring I go thru the whole calibration sequence at least weekly. I'm also in the middle of rebuilding 2 bigger printers using the new to printers, stepper/servo technology. 2 advantages, layer shifts which are a loss of home for a stepper, are gone forever. 2, motors run much cooler, enough you can see it in the power bill so you don't burn your hands on them. I have a garage full of CNC'd machines I've converted from manual metal carvers using Linuxcnc.

The difference between additive, as in a 3d printer, and subtractive ( to quote one wag I can't name, cutting away anything that does not resemble an elephant comes to mind) is a barrier it takes some finagling to cross.  The OpenSCAD polygon to print a buttress thread, I did convert to gcode to carve that same thread in a 2" diameter hard maple stick. Doing it not on a lathe, but a 4 axis gantry mill. So it can be done.

Thank you very much.

On Wed, 3 Apr, 2024, 9:14 pm gene heskett via Discuss,
<discuss@lists.openscad.org mailto:discuss@lists.openscad.org> wrote:

 On 4/3/24 09:47, Sanjeev Prabhakar via Discuss wrote:

Please ignore previous link
this link below is a much better way and also much optimised for

 using
 <https://youtu.be/pJC4pVHenYw <https://youtu.be/pJC4pVHenYw>>
 Unfortunately no sound and way to fast to follow visually.

On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar

 <sprabhakar2006@gmail.com <mailto:sprabhakar2006@gmail.com>
 <mailto:sprabhakar2006@gmail.com>>> wrote:

     I have posted a video for installing and using jupyter

 notebook for
 <https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF>

     <https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF

 <https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF>>

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

 <mailto:discuss-leave@lists.openscad.org>

 Cheers, Gene Heskett, CET.
 -- 
 "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo. Please use in that order."
 -Ed Howdershelt (Author, 1940)
 If we desire respect for the law, we must first make the law
 respectable.
    - Louis D. Brandeis
 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org
 <mailto:discuss-leave@lists.openscad.org>

Cheers, Gene Heskett, CET.

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.

  • Louis D. Brandeis

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

Hi all! I would like to subtract from a cube the keyhole-shaped outline at the front of a servo. The idea is to fix the servo in place when inserting it. Is there perhaps a code for this? If not, I would be glad of any pointers on how to do it. Cheers! Robbie -----Original Message----- From: gene heskett via Discuss <discuss@lists.openscad.org> Sent: Wednesday, April 3, 2024 6:41 PM To: Sanjeev Prabhakar <sprabhakar2006@gmail.com>; OpenSCAD general discussion Mailing-list <discuss@lists.openscad.org> Cc: gene heskett <gheskett@shentel.net> Subject: [OpenSCAD] Re: installing and using jupyter notebook for openscad On 4/3/24 11:56, Sanjeev Prabhakar wrote: > Hi Gene > I am not that skillful in making youtube videos And I am far less than that, Sanjeev. Thank you very for your efforts to show us what can be done by feeding OpenSCAD good data. It did look like something I might be able to learn to use in OpenSCAD eventually if I don't miss roll call, a possibility as my next b-day will be my 90th. As for python, I still don't have a working understanding. Plus I'm fighting with a pricey printer that keeps changing the Z_offsets (w/o changing the displayed value) requiring I go thru the whole calibration sequence at least weekly. I'm also in the middle of rebuilding 2 bigger printers using the new to printers, stepper/servo technology. 2 advantages, layer shifts which are a loss of home for a stepper, are gone forever. 2, motors run much cooler, enough you can see it in the power bill so you don't burn your hands on them. I have a garage full of CNC'd machines I've converted from manual metal carvers using Linuxcnc. The difference between additive, as in a 3d printer, and subtractive ( to quote one wag I can't name, cutting away anything that does not resemble an elephant comes to mind) is a barrier it takes some finagling to cross. The OpenSCAD polygon to print a buttress thread, I did convert to gcode to carve that same thread in a 2" diameter hard maple stick. Doing it not on a lathe, but a 4 axis gantry mill. So it can be done. Thank you very much. > > On Wed, 3 Apr, 2024, 9:14 pm gene heskett via Discuss, > <discuss@lists.openscad.org <mailto:discuss@lists.openscad.org>> wrote: > > On 4/3/24 09:47, Sanjeev Prabhakar via Discuss wrote: > > Please ignore previous link > > this link below is a much better way and also much optimised for > using > > the openscad > > https://youtu.be/pJC4pVHenYw <https://youtu.be/pJC4pVHenYw> > <https://youtu.be/pJC4pVHenYw <https://youtu.be/pJC4pVHenYw>> > > > Unfortunately no sound and way to fast to follow visually. > > > On Wed, 3 Apr 2024 at 17:29, Sanjeev Prabhakar > <sprabhakar2006@gmail.com <mailto:sprabhakar2006@gmail.com> > > <mailto:sprabhakar2006@gmail.com > <mailto:sprabhakar2006@gmail.com>>> wrote: > > > > > >     I have posted a video for installing and using jupyter > notebook for > >     openscad > > > > https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF > <https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF> > >     <https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF > <https://youtu.be/Y4wp_YBrfAw?si=II_mZrDox7NjD-rF>> > > > > > > _______________________________________________ > > OpenSCAD mailing list > > To unsubscribe send an email to discuss-leave@lists.openscad.org > <mailto:discuss-leave@lists.openscad.org> > > Cheers, Gene Heskett, CET. > -- > "There are four boxes to be used in defense of liberty: >   soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author, 1940) > If we desire respect for the law, we must first make the law > respectable. >   - Louis D. Brandeis > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > <mailto:discuss-leave@lists.openscad.org> > Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org
DP
David Phillip Oster
Mon, Sep 9, 2024 6:07 AM

Hi all!
I would like to subtract from a cube the keyhole-shaped outline at the
front of a servo. The idea is to fix the servo in place when inserting it.

Is there perhaps a code for this? If not, I would be glad of any pointers
on how to do it.

Have you looked at: https://github.com/platsch/RepRapPNP/blob/master/servo_switch.scad https://github.com/christophevg/3d-servo-model/blob/master/model.scad and https://cm-gitlab.stanford.edu/ambisonics/SpHEAR/-/blob/2e5be9d592fb95acbc07dad460587d640e2106c5/SpHEAR_arm.scad ? On Sun, Sep 8, 2024 at 8:29 PM Robbie Sandberg via Discuss < discuss@lists.openscad.org> wrote: > Hi all! > I would like to subtract from a cube the keyhole-shaped outline at the > front of a servo. The idea is to fix the servo in place when inserting it. > > Is there perhaps a code for this? If not, I would be glad of any pointers > on how to do it. > >
JB
Jordan Brown
Mon, Sep 9, 2024 5:37 PM

On 9/8/2024 8:29 PM, Robbie Sandberg via Discuss wrote:

Hi all!
I would like to subtract from a cube the keyhole-shaped outline at the front of a servo. The idea is to fix the servo in place when inserting it.

Is there perhaps a code for this? If not, I would be glad of any pointers on how to do it.

Generally, you need to model the shape you want removed, and then use
difference() to remove it from the cube (or whatever shape).

You might be able to find a model that somebody else has already done,
but you'd need to supply specific part numbers, et cetera.  Google might
help too.

The result will look something like

// r        Radius of keyhole head
// width    width of keyhole slot
// length   overall length of keyhole
// depth    depth of keyhole
module keyhole(r, width, length, depth) {
    translate([0,r,0]) cylinder(r=r, h=depth);
    translate([-width/2, r, 0])
        cube([width, length - r, depth]);
}

khR = 5;
khWidth = 4;
khLength = 20;
khDepth = 3;
cubeDim = 30;

difference() {
    cube(cubeDim);
    translate([cubeDim/2, (cubeDim - khLength)/2, cubeDim - khDepth])
        keyhole(khR, khWidth, khLength, khDepth+1);
}

The details will all vary based on your needs, of course.  This could be
written simpler, by just using all the numbers directly, but then if you
tweak one of the numbers you'd have to tweak the others to match;
calculating values like this tends to make things automatically adjust.

If you need a keyhole for something like a slide-in screw mount, you'll
need to difference out a wider section at the bottom of the keyhole shape.

On 9/8/2024 8:29 PM, Robbie Sandberg via Discuss wrote: > Hi all! > I would like to subtract from a cube the keyhole-shaped outline at the front of a servo. The idea is to fix the servo in place when inserting it. > > Is there perhaps a code for this? If not, I would be glad of any pointers on how to do it. Generally, you need to model the shape you want removed, and then use difference() to remove it from the cube (or whatever shape). You might be able to find a model that somebody else has already done, but you'd need to supply specific part numbers, et cetera.  Google might help too. The result will look something like // r Radius of keyhole head // width width of keyhole slot // length overall length of keyhole // depth depth of keyhole module keyhole(r, width, length, depth) { translate([0,r,0]) cylinder(r=r, h=depth); translate([-width/2, r, 0]) cube([width, length - r, depth]); } khR = 5; khWidth = 4; khLength = 20; khDepth = 3; cubeDim = 30; difference() { cube(cubeDim); translate([cubeDim/2, (cubeDim - khLength)/2, cubeDim - khDepth]) keyhole(khR, khWidth, khLength, khDepth+1); } The details will all vary based on your needs, of course.  This could be written simpler, by just using all the numbers directly, but then if you tweak one of the numbers you'd have to tweak the others to match; calculating values like this tends to make things automatically adjust. If you need a keyhole for something like a slide-in screw mount, you'll need to difference out a wider section at the bottom of the keyhole shape.