discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: Python Equality

ER
edmund ronald
Sun, Dec 12, 2021 3:07 PM

The user's question seems perfectly reasonable, but not necessarily
of interest to everyone.
I think it would be interesting to have a forum where previous info on
discussions is found, and posts are categorised when a topic is created.
I still don't understand why after years of having a forum, suddenly it is
considered undesirable to have one.

Edmund

On Sun, Dec 12, 2021 at 4:02 PM William F. Adams via Discuss <
discuss@lists.openscad.org> wrote:

---------- Forwarded message ----------
From: "William F. Adams" willadams@aol.com
To: "discuss@lists.openscad.org" discuss@lists.openscad.org
Cc:
Bcc:
Date: Sun, 12 Dec 2021 14:54:37 +0000 (UTC)
Subject: [OpenSCAD] Re: Python Equality
David Schooley dcschooley@gmail.com wrote:

I have a feeling this has come up before…

I’m curious about any thoughts/previous discussions have happened
regarding incorporating Python as an embedded scripting language to
OpenSCAD. Some work has been done with Python and CSG, so this
isn’t entirely impossible, but it could be a lot of work; I get that.

The OpenSCAD language isn’t bad, but it’s no great shakes either.
It’s interesting to see work happening to make structures a reality,
but maybe it would be better to incorporate a language that has real
variables and objects. There was a recent discussion around calculating
parameters on the fly, which is easy with Python but is more difficult or
impossible using the OpenSCAD language.

I’m not at all interested in generating OpenSCAD code from Python
that just adds another layer of “Why doesn’t this work?” I think being
able to write some Python code that generates an object that OpenSCAD
can display and turn into something I can 3D print or cut using a laser

would be amazing.

I believe that what you want is CADquery.

That said, there's a list of various 3D tools for Python at:

https://wiki.shapeoko.com/index.php/Programming#Python

some of which fall into the generate OpenSCAD code camp, and others which
are quite different.

It would be interesting to have a mailing list for discussing general 3D
programming techniques using arbitrary languages --- anyone know of one?

William

---------- Forwarded message ----------
From: "William F. Adams via Discuss" discuss@lists.openscad.org
To: "discuss@lists.openscad.org" discuss@lists.openscad.org
Cc: "William F. Adams" willadams@aol.com
Bcc:
Date: Sun, 12 Dec 2021 14:54:37 +0000 (UTC)
Subject: [OpenSCAD] Re: Python Equality


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

The user's question seems perfectly reasonable, but not necessarily of interest to everyone. I think it would be interesting to have a forum where previous info on discussions is found, and posts are categorised when a topic is created. I still don't understand why after years of having a forum, suddenly it is considered undesirable to have one. Edmund On Sun, Dec 12, 2021 at 4:02 PM William F. Adams via Discuss < discuss@lists.openscad.org> wrote: > > > > ---------- Forwarded message ---------- > From: "William F. Adams" <willadams@aol.com> > To: "discuss@lists.openscad.org" <discuss@lists.openscad.org> > Cc: > Bcc: > Date: Sun, 12 Dec 2021 14:54:37 +0000 (UTC) > Subject: [OpenSCAD] Re: Python Equality > David Schooley <dcschooley@gmail.com> wrote: > > >I have a feeling this has come up before… > > > >I’m curious about any thoughts/previous discussions have happened > >regarding incorporating Python as an embedded scripting language to > >OpenSCAD. Some work has been done with Python and CSG, so this > >isn’t entirely impossible, but it could be a lot of work; I get that. > > > >The OpenSCAD language isn’t bad, but it’s no great shakes either. > >It’s interesting to see work happening to make structures a reality, > >but maybe it would be better to incorporate a language that has real > >variables and objects. There was a recent discussion around calculating > >parameters on the fly, which is easy with Python but is more difficult or > >impossible using the OpenSCAD language. > > > >I’m not at all interested in generating OpenSCAD code from Python > >that just adds another layer of “Why doesn’t this work?” I think being > >able to write some Python code that generates an object that OpenSCAD > >can display and turn into something I can 3D print or cut using a laser > would be amazing. > > > I believe that what you want is CADquery. > > That said, there's a list of various 3D tools for Python at: > > https://wiki.shapeoko.com/index.php/Programming#Python > > some of which fall into the generate OpenSCAD code camp, and others which > are quite different. > > It would be interesting to have a mailing list for discussing general 3D > programming techniques using arbitrary languages --- anyone know of one? > > William > > > > ---------- Forwarded message ---------- > From: "William F. Adams via Discuss" <discuss@lists.openscad.org> > To: "discuss@lists.openscad.org" <discuss@lists.openscad.org> > Cc: "William F. Adams" <willadams@aol.com> > Bcc: > Date: Sun, 12 Dec 2021 14:54:37 +0000 (UTC) > Subject: [OpenSCAD] Re: Python Equality > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
M
MichaelAtOz
Sun, Dec 12, 2021 9:46 PM

The old Forum was integrated with the Mailing-list, it also functioned as a Mailing-list Archive.

Nabble, the provider of the Forum platform dropped support for Mailing-list integration.

They indicated Nabble had no future and was in keep-alive mode.

They had provided poor service in the past, so trying to keep the Forum into the future was not viable.

It is there as an historical Archive, until someone finds a viable replacement.

That is on my list, but it is way, way down the list, and due to personal circumstances my time is limited for a while.

Any replacement, supported by developers, will need to integrate with the Mailing-list.

This was debated to death a while ago, so please everyone, don't go over it again.

MichaelAtOz

OpenSCAD Admin Guy


From: edmund ronald [mailto:edmundronald@gmail.com]
Sent: Mon, 13 Dec 2021 02:07
To: William F. Adams via Discuss
Subject: [OpenSCAD] Re: Python Equality

The user's question seems perfectly reasonable, but not necessarily of interest to everyone.

I think it would be interesting to have a forum where previous info on discussions is found, and posts are categorised when a topic is created.

I still don't understand why after years of having a forum, suddenly it is considered undesirable to have one.

Edmund

On Sun, Dec 12, 2021 at 4:02 PM William F. Adams via Discuss discuss@lists.openscad.org wrote:

---------- Forwarded message ----------
From: "William F. Adams" willadams@aol.com
To: "discuss@lists.openscad.org" discuss@lists.openscad.org
Cc:
Bcc:
Date: Sun, 12 Dec 2021 14:54:37 +0000 (UTC)
Subject: [OpenSCAD] Re: Python Equality

David Schooley dcschooley@gmail.com wrote:

I have a feeling this has come up before…

I’m curious about any thoughts/previous discussions have happened
regarding incorporating Python as an embedded scripting language to
OpenSCAD. Some work has been done with Python and CSG, so this
isn’t entirely impossible, but it could be a lot of work; I get that.

The OpenSCAD language isn’t bad, but it’s no great shakes either.
It’s interesting to see work happening to make structures a reality,
but maybe it would be better to incorporate a language that has real
variables and objects. There was a recent discussion around calculating
parameters on the fly, which is easy with Python but is more difficult or
impossible using the OpenSCAD language.

I’m not at all interested in generating OpenSCAD code from Python
that just adds another layer of “Why doesn’t this work?” I think being
able to write some Python code that generates an object that OpenSCAD
can display and turn into something I can 3D print or cut using a laser would be amazing.

I believe that what you want is CADquery.

That said, there's a list of various 3D tools for Python at:

https://wiki.shapeoko.com/index.php/Programming#Python

some of which fall into the generate OpenSCAD code camp, and others which are quite different.

It would be interesting to have a mailing list for discussing general 3D programming techniques using arbitrary languages --- anyone know of one?

William

---------- Forwarded message ----------
From: "William F. Adams via Discuss" discuss@lists.openscad.org
To: "discuss@lists.openscad.org" discuss@lists.openscad.org
Cc: "William F. Adams" willadams@aol.com
Bcc:
Date: Sun, 12 Dec 2021 14:54:37 +0000 (UTC)
Subject: [OpenSCAD] Re: Python Equality


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

--
This email has been checked for viruses by AVG.
https://www.avg.com

The old Forum was integrated with the Mailing-list, it also functioned as a Mailing-list Archive. Nabble, the provider of the Forum platform dropped support for Mailing-list integration. They indicated Nabble had no future and was in keep-alive mode. They had provided poor service in the past, so trying to keep the Forum into the future was not viable. It is there as an historical Archive, until someone finds a viable replacement. That is on my list, but it is way, way down the list, and due to personal circumstances my time is limited for a while. Any replacement, supported by developers, will need to integrate with the Mailing-list. This was debated to death a while ago, so please everyone, don't go over it again. MichaelAtOz OpenSCAD Admin Guy _____ From: edmund ronald [mailto:edmundronald@gmail.com] Sent: Mon, 13 Dec 2021 02:07 To: William F. Adams via Discuss Subject: [OpenSCAD] Re: Python Equality The user's question seems perfectly reasonable, but not necessarily of interest to everyone. I think it would be interesting to have a forum where previous info on discussions is found, and posts are categorised when a topic is created. I still don't understand why after years of having a forum, suddenly it is considered undesirable to have one. Edmund On Sun, Dec 12, 2021 at 4:02 PM William F. Adams via Discuss <discuss@lists.openscad.org> wrote: ---------- Forwarded message ---------- From: "William F. Adams" <willadams@aol.com> To: "discuss@lists.openscad.org" <discuss@lists.openscad.org> Cc: Bcc: Date: Sun, 12 Dec 2021 14:54:37 +0000 (UTC) Subject: [OpenSCAD] Re: Python Equality David Schooley <dcschooley@gmail.com> wrote: >I have a feeling this has come up before… > >I’m curious about any thoughts/previous discussions have happened >regarding incorporating Python as an embedded scripting language to >OpenSCAD. Some work has been done with Python and CSG, so this >isn’t entirely impossible, but it could be a lot of work; I get that. > >The OpenSCAD language isn’t bad, but it’s no great shakes either. >It’s interesting to see work happening to make structures a reality, >but maybe it would be better to incorporate a language that has real >variables and objects. There was a recent discussion around calculating >parameters on the fly, which is easy with Python but is more difficult or >impossible using the OpenSCAD language. > >I’m not at all interested in generating OpenSCAD code from Python >that just adds another layer of “Why doesn’t this work?” I think being >able to write some Python code that generates an object that OpenSCAD >can display and turn into something I can 3D print or cut using a laser would be amazing. I believe that what you want is CADquery. That said, there's a list of various 3D tools for Python at: https://wiki.shapeoko.com/index.php/Programming#Python some of which fall into the generate OpenSCAD code camp, and others which are quite different. It would be interesting to have a mailing list for discussing general 3D programming techniques using arbitrary languages --- anyone know of one? William ---------- Forwarded message ---------- From: "William F. Adams via Discuss" <discuss@lists.openscad.org> To: "discuss@lists.openscad.org" <discuss@lists.openscad.org> Cc: "William F. Adams" <willadams@aol.com> Bcc: Date: Sun, 12 Dec 2021 14:54:37 +0000 (UTC) Subject: [OpenSCAD] Re: Python Equality _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org -- This email has been checked for viruses by AVG. https://www.avg.com
M
MichaelAtOz
Sun, Dec 12, 2021 9:52 PM

Nabble, the provider of the Forum platform dropped support for Mailing-list integration.

With effectively zero notice BTW, indicative of past performance...


From: MichaelAtOz [mailto:oz.at.michael@gmail.com]
Sent: Mon, 13 Dec 2021 08:46
To: 'OpenSCAD general discussion'
Subject: [OpenSCAD] Re: Python Equality

The old Forum was integrated with the Mailing-list, it also functioned as a Mailing-list Archive.

Nabble, the provider of the Forum platform dropped support for Mailing-list integration.

They indicated Nabble had no future and was in keep-alive mode.

They had provided poor service in the past, so trying to keep the Forum into the future was not viable.

It is there as an historical Archive, until someone finds a viable replacement.

That is on my list, but it is way, way down the list, and due to personal circumstances my time is limited for a while.

Any replacement, supported by developers, will need to integrate with the Mailing-list.

This was debated to death a while ago, so please everyone, don't go over it again.

MichaelAtOz

OpenSCAD Admin Guy


From: edmund ronald [mailto:edmundronald@gmail.com]
Sent: Mon, 13 Dec 2021 02:07
To: William F. Adams via Discuss
Subject: [OpenSCAD] Re: Python Equality

The user's question seems perfectly reasonable, but not necessarily of interest to everyone.

I think it would be interesting to have a forum where previous info on discussions is found, and posts are categorised when a topic is created.

I still don't understand why after years of having a forum, suddenly it is considered undesirable to have one.

Edmund

On Sun, Dec 12, 2021 at 4:02 PM William F. Adams via Discuss discuss@lists.openscad.org wrote:

---------- Forwarded message ----------
From: "William F. Adams" willadams@aol.com
To: "discuss@lists.openscad.org" discuss@lists.openscad.org
Cc:
Bcc:
Date: Sun, 12 Dec 2021 14:54:37 +0000 (UTC)
Subject: [OpenSCAD] Re: Python Equality

David Schooley dcschooley@gmail.com wrote:

I have a feeling this has come up before…

I’m curious about any thoughts/previous discussions have happened
regarding incorporating Python as an embedded scripting language to
OpenSCAD. Some work has been done with Python and CSG, so this
isn’t entirely impossible, but it could be a lot of work; I get that.

The OpenSCAD language isn’t bad, but it’s no great shakes either.
It’s interesting to see work happening to make structures a reality,
but maybe it would be better to incorporate a language that has real
variables and objects. There was a recent discussion around calculating
parameters on the fly, which is easy with Python but is more difficult or
impossible using the OpenSCAD language.

I’m not at all interested in generating OpenSCAD code from Python
that just adds another layer of “Why doesn’t this work?” I think being
able to write some Python code that generates an object that OpenSCAD
can display and turn into something I can 3D print or cut using a laser would be amazing.

I believe that what you want is CADquery.

That said, there's a list of various 3D tools for Python at:

https://wiki.shapeoko.com/index.php/Programming#Python

some of which fall into the generate OpenSCAD code camp, and others which are quite different.

It would be interesting to have a mailing list for discussing general 3D programming techniques using arbitrary languages --- anyone know of one?

William

---------- Forwarded message ----------
From: "William F. Adams via Discuss" discuss@lists.openscad.org
To: "discuss@lists.openscad.org" discuss@lists.openscad.org
Cc: "William F. Adams" willadams@aol.com
Bcc:
Date: Sun, 12 Dec 2021 14:54:37 +0000 (UTC)
Subject: [OpenSCAD] Re: Python Equality


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.  http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient www.avg.com

--
This email has been checked for viruses by AVG.
https://www.avg.com

> Nabble, the provider of the Forum platform dropped support for Mailing-list integration. With effectively zero notice BTW, indicative of past performance... _____ From: MichaelAtOz [mailto:oz.at.michael@gmail.com] Sent: Mon, 13 Dec 2021 08:46 To: 'OpenSCAD general discussion' Subject: [OpenSCAD] Re: Python Equality The old Forum was integrated with the Mailing-list, it also functioned as a Mailing-list Archive. Nabble, the provider of the Forum platform dropped support for Mailing-list integration. They indicated Nabble had no future and was in keep-alive mode. They had provided poor service in the past, so trying to keep the Forum into the future was not viable. It is there as an historical Archive, until someone finds a viable replacement. That is on my list, but it is way, way down the list, and due to personal circumstances my time is limited for a while. Any replacement, supported by developers, will need to integrate with the Mailing-list. This was debated to death a while ago, so please everyone, don't go over it again. MichaelAtOz OpenSCAD Admin Guy _____ From: edmund ronald [mailto:edmundronald@gmail.com] Sent: Mon, 13 Dec 2021 02:07 To: William F. Adams via Discuss Subject: [OpenSCAD] Re: Python Equality The user's question seems perfectly reasonable, but not necessarily of interest to everyone. I think it would be interesting to have a forum where previous info on discussions is found, and posts are categorised when a topic is created. I still don't understand why after years of having a forum, suddenly it is considered undesirable to have one. Edmund On Sun, Dec 12, 2021 at 4:02 PM William F. Adams via Discuss <discuss@lists.openscad.org> wrote: ---------- Forwarded message ---------- From: "William F. Adams" <willadams@aol.com> To: "discuss@lists.openscad.org" <discuss@lists.openscad.org> Cc: Bcc: Date: Sun, 12 Dec 2021 14:54:37 +0000 (UTC) Subject: [OpenSCAD] Re: Python Equality David Schooley <dcschooley@gmail.com> wrote: >I have a feeling this has come up before… > >I’m curious about any thoughts/previous discussions have happened >regarding incorporating Python as an embedded scripting language to >OpenSCAD. Some work has been done with Python and CSG, so this >isn’t entirely impossible, but it could be a lot of work; I get that. > >The OpenSCAD language isn’t bad, but it’s no great shakes either. >It’s interesting to see work happening to make structures a reality, >but maybe it would be better to incorporate a language that has real >variables and objects. There was a recent discussion around calculating >parameters on the fly, which is easy with Python but is more difficult or >impossible using the OpenSCAD language. > >I’m not at all interested in generating OpenSCAD code from Python >that just adds another layer of “Why doesn’t this work?” I think being >able to write some Python code that generates an object that OpenSCAD >can display and turn into something I can 3D print or cut using a laser would be amazing. I believe that what you want is CADquery. That said, there's a list of various 3D tools for Python at: https://wiki.shapeoko.com/index.php/Programming#Python some of which fall into the generate OpenSCAD code camp, and others which are quite different. It would be interesting to have a mailing list for discussing general 3D programming techniques using arbitrary languages --- anyone know of one? William ---------- Forwarded message ---------- From: "William F. Adams via Discuss" <discuss@lists.openscad.org> To: "discuss@lists.openscad.org" <discuss@lists.openscad.org> Cc: "William F. Adams" <willadams@aol.com> Bcc: Date: Sun, 12 Dec 2021 14:54:37 +0000 (UTC) Subject: [OpenSCAD] Re: Python Equality _______________________________________________ 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. <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> www.avg.com -- This email has been checked for viruses by AVG. https://www.avg.com