On Monday, September 2, 2024 at 01:37:08 PM EDT, Sanjeev Prabhakar via Discuss discuss@lists.openscad.org wrote:
I don't see anything rude in my messages.
Your point is ok jm2c to add python in Subject.
The perceived rudeness was one of omission and a failure to consider the overall culture and bandwidth of other folks here.
I really wonder as to why is this such a big issue though.
Some folks are only interested in OpenSCAD as OpenSCAD, and wish to avoid the complications of 3rd party tools or additional programming tools.
Identifying such discussions in the subject line allows folks to either:
- delete and ignore if not interested
- read avidly and focus on such discussions intently if interested
Hopefully we can all be considerate of each other and remember that these messages are being inserted into folk's e-mail inboxes.
William
--
Sphinx of black quartz, judge my vow
https://designinto3d.com/
On Monday, September 2, 2024 at 01:32:32 PM EDT, Leonard Martin Struttmann via Discuss discuss@lists.openscad.org wrote:
I personally like seeing what Sanjeev does with his hybrid process. I, too, have used Python to generate OpenSCAD code
(see the attached tensegrity tower).
Nice!
However, I do admit that his programming is complex and difficult to follow in his videos.
Someday, when I have more time, I'll delve deeper into his techniques and see what I can learn.
It is definitely a good example of OpenSCAD being suited to things amenable to being described mathematically and bounded by one's facility/fluency with mathematics.
On Mon, Sep 2, 2024 at 12:06 PM Sanjeev Prabhakar via Discuss discuss@lists.openscad.org wrote:
Guenther has written a good python-scad software, but somehow it needs further work.
For folks who aren't familiar with this, there is a page on it at:
I've been using it in an OpenSCAD module:
https://github.com/WillAdams/gcodepreview
and am currently reading through John C. Ousterhout's A Philosophy of Software Design and applying those principles which has been interesting and productive (though it has spurred a couple of bug reports, and more importantly, fixes).
OpenSCAD being the focused and limited tool which it is has aided it immensely in being implemented, and also making it approachable and accessible and easing distribution of code (no need to worry about malware) to the benefit of a wide variety of users.
OpenSCAD lacking mutable variables or the ability to write out files has been a marked limitation in the ability of some folks to make use of it some ways (using a 3rd party tool to parse Log files so as to write out a BOM comes to mind).
Perhaps a new path forward will be Python as an optional mode in OpenSCAD where the current status quo is the default, but where folks who wish it may enable the added language and use it either natively, or by calling it from OpenSCAD code.
William
--
Sphinx of black quartz, judge my vow.
https://designinto3d.com/
yes, i have also tested cadquery (actually build123d) and it's very
powerful.
openscad is not better or worse than cadquery, it's just 2 different
programs with different focuses and different strengths .
I like both of them!
Most value of cadquery is in its powerful opc kernel and you just " import
" into your python to make use of it.
Some time back I successfully imported the kernel into pythonscad and it
was working fine in linux.
see here:
[image: image.png]
build123d is just a cadquery derivative, it works like a charm.
why dont use both world in one model ?
On Mon, Sep 2, 2024 at 7:43 PM Kevin Cole via Discuss <
discuss@lists.openscad.org> wrote:
I'm "late to the party" and so maybe everyone here already knows about
cadquery. (I'm just beginning to explore it. So, I don't know how it
compares, but since the thread seems to be about OpenSCAD and Python...)
See:
https://cadquery.readthedocs.io/en/latest/
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Thanks Leonard
I know it's quite complex for anyone to understand.
I have hard time explaining concepts maybe due to my not so great English
skills. Explaining through pictures and videos take a long time.
Never mind
On Mon, 2 Sept, 2024, 11:02 pm Leonard Martin Struttmann via Discuss, <
discuss@lists.openscad.org> wrote:
I personally like seeing what Sanjeev does with his hybrid process. I,
too, have used Python to generate OpenSCAD code (see the attached
tensegrity tower). However, I do admit that his programming is complex and
difficult to follow in his videos. Someday, when I have more time, I'll
delve deeper into his techniques and see what I can learn.
[image: image.png]
On Mon, Sep 2, 2024 at 12:06 PM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:
I am writing mostly python codes which generate polyhedron in openscad.
Apart from that I use difference(), union() , hull(), intersection() from
openscad.
If you don't like the python codes, please ignore my postings as most of
them are python codes.
In case the majority here feel distracted, I may decide not to post any
further.
I am just trying to convince the developers that python can help improve
openscad.
Guenther has written a good python-scad software, but somehow it needs
further work.
On Mon, 2 Sept 2024 at 22:21, Jon Bondy jon@jonbondy.com wrote:
Sanjeev:
It would really help me if you distinguished between OpenSCAD code (real
code, not just coordinates) and python code. That way I will know what I
want to pursue and what I want to ignore.
Thanks.
Jon
On 9/2/2024 12:40 PM, Sanjeev Prabhakar via Discuss wrote:
scad file can be downloaded from here:
https://github.com/sprabhakar2006/openSCAD/blob/main/bottle.scad
but it is all coordinates-coordinates-coordinates
On Mon, 2 Sept 2024 at 21:24, Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:
I have uploaded video on how to model this bottle:
In India we worship cows, so I would prefer Indian vegetarian curries
Thanks
On Mon, 2 Sept 2024 at 14:08, Peter Kriens peter.kriens@aqute.biz
wrote:
Wonderful teaser! But where is the beef?
On 1 Sep 2024, at 07:07, Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:
I have written a few functions which can mold the surfaces in many
complex orientations.
Will make and post a video on the same
an example:
<Screenshot 2024-09-01 at 7.31.34 AM.png>
<Screenshot 2024-09-01 at 7.14.59 AM.png>
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
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
Virus-free.www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
<#m_-1257437896418364110_m_-2845548216925322430_m_4939767433155598387_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
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
Isn't it the case that Sanjeev's approach is to simply use OpenSCAD to do
union or intersection of separate objects where the objects are all
specified in openscad using polyhedron() modules and their coordinates are
computed in Python? Basically Sanjeev is simply building his own geometry
engine in Python to perform the geometrical calculations and hence produce
the polyhedra---basically building a Python library for geometry. As such,
very little actual OpenSCAD is involved and the scad files are just huge
point lists defining the result.
The main limitation here is that if Sanjeev is going to write a library, he
also needs to write documentation. It's never the programmer's favorite
task. Without a reference manual, nobody else can use it.
On Mon, Sep 2, 2024 at 9:55 PM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:
Thanks Leonard
I know it's quite complex for anyone to understand.
I have hard time explaining concepts maybe due to my not so great English
skills. Explaining through pictures and videos take a long time.
Never mind
On Mon, 2 Sept, 2024, 11:02 pm Leonard Martin Struttmann via Discuss, <
discuss@lists.openscad.org> wrote:
I personally like seeing what Sanjeev does with his hybrid process. I,
too, have used Python to generate OpenSCAD code (see the attached
tensegrity tower). However, I do admit that his programming is complex and
difficult to follow in his videos. Someday, when I have more time, I'll
delve deeper into his techniques and see what I can learn.
[image: image.png]
On Mon, Sep 2, 2024 at 12:06 PM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:
I am writing mostly python codes which generate polyhedron in openscad.
Apart from that I use difference(), union() , hull(), intersection()
from openscad.
If you don't like the python codes, please ignore my postings as most of
them are python codes.
In case the majority here feel distracted, I may decide not to post any
further.
I am just trying to convince the developers that python can help improve
openscad.
Guenther has written a good python-scad software, but somehow it needs
further work.
On Mon, 2 Sept 2024 at 22:21, Jon Bondy jon@jonbondy.com wrote:
Sanjeev:
It would really help me if you distinguished between OpenSCAD code
(real code, not just coordinates) and python code. That way I will know
what I want to pursue and what I want to ignore.
Thanks.
Jon
On 9/2/2024 12:40 PM, Sanjeev Prabhakar via Discuss wrote:
scad file can be downloaded from here:
https://github.com/sprabhakar2006/openSCAD/blob/main/bottle.scad
but it is all coordinates-coordinates-coordinates
On Mon, 2 Sept 2024 at 21:24, Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:
I have uploaded video on how to model this bottle:
In India we worship cows, so I would prefer Indian vegetarian curries
Thanks
On Mon, 2 Sept 2024 at 14:08, Peter Kriens peter.kriens@aqute.biz
wrote:
Wonderful teaser! But where is the beef?
On 1 Sep 2024, at 07:07, Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:
I have written a few functions which can mold the surfaces in many
complex orientations.
Will make and post a video on the same
an example:
<Screenshot 2024-09-01 at 7.31.34 AM.png>
<Screenshot 2024-09-01 at 7.14.59 AM.png>
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
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
Virus-free.www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
<#m_1977334013338968089_m_-1257437896418364110_m_-2845548216925322430_m_4939767433155598387_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
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
On Monday, September 2, 2024 at 09:55:05 PM EDT, Sanjeev Prabhakar via Discuss discuss@lists.openscad.org wrote:
I know it's quite complex for anyone to understand. I have hard time explaining concepts maybe
due to my not so great English skills.
Far better than any of languages I've been taught over the years.
Explaining through pictures and videos take a long time.
and it is much appreciated --- I've learned a great deal from your efforts and hope to learn more.
Never mind
Please do mind --- I and many other folks I'm sure are very appreciative of your generosity in sharing your work.
If you want some other venue to share your designs, there is always Reddit:
https://old.reddit.com/r/openscad/
and there's also a subreddit for PythonSCAD:
https://old.reddit.com/r/pythonscad/
(and the newer releases have a mechanism for sharing design files)
William
Thanks William for your appreciation
Regards
On Tue, 3 Sept, 2024, 7:52 am William F. Adams via Discuss, <
discuss@lists.openscad.org> wrote:
On Monday, September 2, 2024 at 09:55:05 PM EDT, Sanjeev Prabhakar via
Discuss discuss@lists.openscad.org wrote:
I know it's quite complex for anyone to understand. I have hard time
explaining concepts maybe
due to my not so great English skills.
Far better than any of languages I've been taught over the years.
Explaining through pictures and videos take a long time.
and it is much appreciated --- I've learned a great deal from your efforts
and hope to learn more.
Never mind
Please do mind --- I and many other folks I'm sure are very appreciative
of your generosity in sharing your work.
If you want some other venue to share your designs, there is always Reddit:
https://old.reddit.com/r/openscad/
and there's also a subreddit for PythonSCAD:
https://old.reddit.com/r/pythonscad/
(and the newer releases have a mechanism for sharing design files)
William
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Hi Adrian,
Whenever I try to write documentation, I find it too hard and very soon
give up.
But I am sure that this approach of defining objects in python works and
can create very complex objects and almost anything.
Someone like you can do far better than me in making this useful for
others.
Regards
On Tue, 3 Sept, 2024, 7:42 am Adrian Mariano via Discuss, <
discuss@lists.openscad.org> wrote:
Isn't it the case that Sanjeev's approach is to simply use OpenSCAD to do
union or intersection of separate objects where the objects are all
specified in openscad using polyhedron() modules and their coordinates are
computed in Python? Basically Sanjeev is simply building his own geometry
engine in Python to perform the geometrical calculations and hence produce
the polyhedra---basically building a Python library for geometry. As such,
very little actual OpenSCAD is involved and the scad files are just huge
point lists defining the result.
The main limitation here is that if Sanjeev is going to write a library,
he also needs to write documentation. It's never the programmer's favorite
task. Without a reference manual, nobody else can use it.
On Mon, Sep 2, 2024 at 9:55 PM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:
Thanks Leonard
I know it's quite complex for anyone to understand.
I have hard time explaining concepts maybe due to my not so great English
skills. Explaining through pictures and videos take a long time.
Never mind
On Mon, 2 Sept, 2024, 11:02 pm Leonard Martin Struttmann via Discuss, <
discuss@lists.openscad.org> wrote:
I personally like seeing what Sanjeev does with his hybrid process. I,
too, have used Python to generate OpenSCAD code (see the attached
tensegrity tower). However, I do admit that his programming is complex and
difficult to follow in his videos. Someday, when I have more time, I'll
delve deeper into his techniques and see what I can learn.
[image: image.png]
On Mon, Sep 2, 2024 at 12:06 PM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:
I am writing mostly python codes which generate polyhedron in openscad.
Apart from that I use difference(), union() , hull(), intersection()
from openscad.
If you don't like the python codes, please ignore my postings as most
of them are python codes.
In case the majority here feel distracted, I may decide not to post any
further.
I am just trying to convince the developers that python can help
improve openscad.
Guenther has written a good python-scad software, but somehow it needs
further work.
On Mon, 2 Sept 2024 at 22:21, Jon Bondy jon@jonbondy.com wrote:
Sanjeev:
It would really help me if you distinguished between OpenSCAD code
(real code, not just coordinates) and python code. That way I will know
what I want to pursue and what I want to ignore.
Thanks.
Jon
On 9/2/2024 12:40 PM, Sanjeev Prabhakar via Discuss wrote:
scad file can be downloaded from here:
https://github.com/sprabhakar2006/openSCAD/blob/main/bottle.scad
but it is all coordinates-coordinates-coordinates
On Mon, 2 Sept 2024 at 21:24, Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:
I have uploaded video on how to model this bottle:
In India we worship cows, so I would prefer Indian vegetarian curries
Thanks
On Mon, 2 Sept 2024 at 14:08, Peter Kriens peter.kriens@aqute.biz
wrote:
Wonderful teaser! But where is the beef?
On 1 Sep 2024, at 07:07, Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:
I have written a few functions which can mold the surfaces in many
complex orientations.
Will make and post a video on the same
an example:
<Screenshot 2024-09-01 at 7.31.34 AM.png>
<Screenshot 2024-09-01 at 7.14.59 AM.png>
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
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
Virus-free.www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
<#m_-4603752785977015479_m_1977334013338968089_m_-1257437896418364110_m_-2845548216925322430_m_4939767433155598387_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
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
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
On 9/2/24 21:55, Sanjeev Prabhakar via Discuss wrote:
Thanks Leonard
I know it's quite complex for anyone to understand.
I have hard time explaining concepts maybe due to my not so great
English skills. Explaining through pictures and videos take a long time.
Never mind
Don't apologize for your English skills Sanjeev, they are better than
mine. But you likely have quite a few more years learning it than I. I
quit school shortly after the first 8 grades, and went to work fixing
the new fangled things called a tv's, in 1948. Eventually switched to
broadcasting, I kept a series of tv stations on the air from '63, to the
middle of 2002 as the CE & often the only tech in the building. I enjoy
someone else thinking outside that famous box they try to put us in. So
please do continue.
OpenSCAD, FWIW, has leaks. What it has taught me about a list of
polygons was leaked over into linuxcnc which I also have used for the
last 25+ years since before I retired. Thank you /all/ for the
inspiration and the ability to be productive as I approach my 90th.
Pretty good for a now old & diabetic Iowa farm kid.
On Mon, 2 Sept, 2024, 11:02 pm Leonard Martin Struttmann via Discuss,
<discuss@lists.openscad.org mailto:discuss@lists.openscad.org> wrote:
I personally like seeing what Sanjeev does with his hybrid process.
I, too, have used Python to generate OpenSCAD code (see the attached
tensegrity tower). However, I do admit that his programming is
complex and difficult to follow in his videos. Someday, when I have
more time, I'll delve deeper into his techniques and see what I can
learn.
image.png
On Mon, Sep 2, 2024 at 12:06 PM Sanjeev Prabhakar via Discuss
<discuss@lists.openscad.org <mailto:discuss@lists.openscad.org>> wrote:
I am writing mostly python codes which generate polyhedron in
openscad.
Apart from that I use difference(), union() , hull(),
intersection() from openscad.
If you don't like the python codes, please ignore my postings as
most of them are python codes.
In case the majority here feel distracted, I may decide not to
post any further.
I am just trying to convince the developers that python can help
improve openscad.
Guenther has written a good python-scad software, but somehow it
needs further work.
On Mon, 2 Sept 2024 at 22:21, Jon Bondy <jon@jonbondy.com
<mailto:jon@jonbondy.com>> wrote:
__
Sanjeev:
It would really help me if you distinguished between
OpenSCAD code (real code, not just coordinates) and python
code. That way I will know what I want to pursue and what I
want to ignore.
Thanks.
Jon
On 9/2/2024 12:40 PM, Sanjeev Prabhakar via Discuss wrote:
scad file can be downloaded from here:
https://github.com/sprabhakar2006/openSCAD/blob/main/bottle.scad <https://github.com/sprabhakar2006/openSCAD/blob/main/bottle.scad>
but it is all coordinates-coordinates-coordinates
On Mon, 2 Sept 2024 at 21:24, Sanjeev Prabhakar
<sprabhakar2006@gmail.com
<mailto:sprabhakar2006@gmail.com>> wrote:
I have uploaded video on how to model this bottle:
https://youtu.be/rBTXmJnmOnM
<https://youtu.be/rBTXmJnmOnM>
In India we worship cows, so I would prefer Indian
vegetarian curries
Thanks
On Mon, 2 Sept 2024 at 14:08, Peter Kriens
<peter.kriens@aqute.biz
<mailto:peter.kriens@aqute.biz>> wrote:
Wonderful teaser! But where is the beef?
On 1 Sep 2024, at 07:07, Sanjeev Prabhakar via
Discuss <discuss@lists.openscad.org
<mailto:discuss@lists.openscad.org>> wrote:
I have written a few functions which can mold
the surfaces in many complex orientations.
Will make and post a video on the same
an example:
<Screenshot 2024-09-01 at 7.31.34 AM.png>
<Screenshot 2024-09-01 at 7.14.59 AM.png>
OpenSCAD mailing list
To unsubscribe send an email to
discuss-leave@lists.openscad.org
<mailto:discuss-leave@lists.openscad.org>
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org>
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free.www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
<#m_-1257437896418364110_m_-2845548216925322430_m_4939767433155598387_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
<mailto:discuss-leave@lists.openscad.org>
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
<mailto:discuss-leave@lists.openscad.org>
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
"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.
As an side -- generally, it isn't useful to check computer-generated
data files into git. It's equivalent to checking assembler or object
files into git. It bloats a repo while serving no purpose since they
don't need version control. Instead, provide a Makefile or script that
generates the output files on demand. Check in only the source code (in
this case the Python) and the script.
On 9/2/24 09:40, Sanjeev Prabhakar via Discuss wrote:
scad file can be downloaded from here:
https://github.com/sprabhakar2006/openSCAD/blob/main/bottle.scad
but it is all coordinates-coordinates-coordinates
On Mon, 2 Sept 2024 at 21:24, Sanjeev Prabhakar
sprabhakar2006@gmail.com wrote:
I have uploaded video on how to model this bottle:
https://youtu.be/rBTXmJnmOnM
In India we worship cows, so I would prefer Indian vegetarian curries
Thanks
On Mon, 2 Sept 2024 at 14:08, Peter Kriens
<peter.kriens@aqute.biz> wrote:
Wonderful teaser! But where is the beef?
On 1 Sep 2024, at 07:07, Sanjeev Prabhakar via Discuss
<discuss@lists.openscad.org> wrote:
I have written a few functions which can mold the surfaces
in many complex orientations.
Will make and post a video on the same
an example:
<Screenshot 2024-09-01 at 7.31.34 AM.png>
<Screenshot 2024-09-01 at 7.14.59 AM.png>
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