Yes but this IS a two step process Mandy Other Python wrappers. My PR let
Python directly Turn into objects
Sayandeep Khan via Discuss discuss@lists.openscad.org schrieb am So., 23.
Juli 2023, 13:04:
---------- Forwarded message ----------
From: Sayandeep Khan seany@eclipso.de
To: discuss@lists.openscad.org
Cc:
Bcc:
Date: Sun, 23 Jul 2023 13:03:50 +0200
Subject: [OpenSCAD] Re: python support for openscad
will Lua also carry the same risks?
on the other hand, there is this : https://github.com/hydroid7/Openscad.jl
so the reverse might. be interesting as well
--- Original message ---
From: Guenther Sohler guenther.sohler@gmail.com
Date: 23.07.2023 12:53
To: OpenSCAD general discussion Mailing-list discuss@lists.openscad.org
Subject: [OpenSCAD] Re: python support for openscad
The actual Python PR has Several Levels of Security gates which need to
BE activated for Python to Work. Finally the User is asked for each New
Python. File whether He Trusts IT. This Trust IS saved in Sha256 and ITS
hard to Hack IT.
Revar Desmera < revarbat@gmail.com > schrieb am So., 23. Juli 2023,
12:14:
That’s actually a pretty bad security risk. Right now you can trust
that an OpenSCAD script you download from the net cannot possibly hack
your system and install malware on your machine. This is not true of
Python. It is doubtful that sites like Thingiverse would support running
configurator scad scripts if you could run Python.
Hacking Python to be a limited subset that is “safe” has proven in the
past to be a dodgy and unreliable thing.
As annoying as the OpenSCAD language’s limitations are, the focus is
better directed to fixing those limitations in a secure manner. There
are some promising improvements in the pipeline. We may even get to use
them before the end of the decade.
-Revar
On Jul 23, 2023, at 2:48 AM, Sanjeev Prabhakar <
sprabhakar2006@gmail.com > wrote:
I would request openscad software creators to add python language
support, if it is not too difficult.
This can simplify a lot of calculations and help many of us.
Although, I have found a workaround which is working quite perfectly
for me, but it would still be better in case it is made part of the
openscad.
Thanks
Sanjeev
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
Your E-Mail. Your Cloud. Your Office. eclipso Mail & Cloud.
https://www.eclipso.de
---------- Forwarded message ----------
From: Sayandeep Khan via Discuss discuss@lists.openscad.org
To: discuss@lists.openscad.org
Cc: Sayandeep Khan seany@eclipso.de
Bcc:
Date: Sun, 23 Jul 2023 13:03:50 +0200
Subject: [OpenSCAD] Re: python support for openscad
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Does anyone know why the creators of OpenSCAD chose a functional
programming paradigm?
On Sun, Jul 23, 2023 at 6:39 AM Guenther Sohler guenther.sohler@gmail.com
wrote:
Yes but this IS a two step process Mandy Other Python wrappers. My PR let
Python directly Turn into objects
Sayandeep Khan via Discuss discuss@lists.openscad.org schrieb am So.,
23. Juli 2023, 13:04:
---------- Forwarded message ----------
From: Sayandeep Khan seany@eclipso.de
To: discuss@lists.openscad.org
Cc:
Bcc:
Date: Sun, 23 Jul 2023 13:03:50 +0200
Subject: [OpenSCAD] Re: python support for openscad
will Lua also carry the same risks?
on the other hand, there is this :
https://github.com/hydroid7/Openscad.jl
so the reverse might. be interesting as well
--- Original message ---
From: Guenther Sohler guenther.sohler@gmail.com
Date: 23.07.2023 12:53
To: OpenSCAD general discussion Mailing-list discuss@lists.openscad.org
Subject: [OpenSCAD] Re: python support for openscad
The actual Python PR has Several Levels of Security gates which need to
BE activated for Python to Work. Finally the User is asked for each New
Python. File whether He Trusts IT. This Trust IS saved in Sha256 and ITS
hard to Hack IT.
Revar Desmera < revarbat@gmail.com > schrieb am So., 23. Juli 2023,
12:14:
That’s actually a pretty bad security risk. Right now you can trust
that an OpenSCAD script you download from the net cannot possibly hack
your system and install malware on your machine. This is not true of
Python. It is doubtful that sites like Thingiverse would support running
configurator scad scripts if you could run Python.
Hacking Python to be a limited subset that is “safe” has proven in the
past to be a dodgy and unreliable thing.
As annoying as the OpenSCAD language’s limitations are, the focus is
better directed to fixing those limitations in a secure manner. There
are some promising improvements in the pipeline. We may even get to use
them before the end of the decade.
-Revar
On Jul 23, 2023, at 2:48 AM, Sanjeev Prabhakar <
sprabhakar2006@gmail.com > wrote:
I would request openscad software creators to add python language
support, if it is not too difficult.
This can simplify a lot of calculations and help many of us.
Although, I have found a workaround which is working quite perfectly
for me, but it would still be better in case it is made part of the
openscad.
Thanks
Sanjeev
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
Your E-Mail. Your Cloud. Your Office. eclipso Mail & Cloud.
https://www.eclipso.de
---------- Forwarded message ----------
From: Sayandeep Khan via Discuss discuss@lists.openscad.org
To: discuss@lists.openscad.org
Cc: Sayandeep Khan seany@eclipso.de
Bcc:
Date: Sun, 23 Jul 2023 13:03:50 +0200
Subject: [OpenSCAD] Re: python support for openscad
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
Because it is just a description of shapes, not a procedure.
On Sun, 23 Jul 2023 at 13:26, Father Horton fatherhorton@gmail.com wrote:
Does anyone know why the creators of OpenSCAD chose a functional
programming paradigm?
On Sun, Jul 23, 2023 at 6:39 AM Guenther Sohler guenther.sohler@gmail.com
wrote:
Yes but this IS a two step process Mandy Other Python wrappers. My PR let
Python directly Turn into objects
Sayandeep Khan via Discuss discuss@lists.openscad.org schrieb am So.,
23. Juli 2023, 13:04:
---------- Forwarded message ----------
From: Sayandeep Khan seany@eclipso.de
To: discuss@lists.openscad.org
Cc:
Bcc:
Date: Sun, 23 Jul 2023 13:03:50 +0200
Subject: [OpenSCAD] Re: python support for openscad
will Lua also carry the same risks?
on the other hand, there is this :
https://github.com/hydroid7/Openscad.jl
so the reverse might. be interesting as well
--- Original message ---
From: Guenther Sohler guenther.sohler@gmail.com
Date: 23.07.2023 12:53
To: OpenSCAD general discussion Mailing-list <discuss@lists.openscad.org
Subject: [OpenSCAD] Re: python support for openscad
The actual Python PR has Several Levels of Security gates which need
to
BE activated for Python to Work. Finally the User is asked for each New
Python. File whether He Trusts IT. This Trust IS saved in Sha256 and
ITS
hard to Hack IT.
Revar Desmera < revarbat@gmail.com > schrieb am So., 23. Juli 2023,
12:14:
That’s actually a pretty bad security risk. Right now you can trust
that an OpenSCAD script you download from the net cannot possibly hack
your system and install malware on your machine. This is not true of
Python. It is doubtful that sites like Thingiverse would support
running
configurator scad scripts if you could run Python.
Hacking Python to be a limited subset that is “safe” has proven in the
past to be a dodgy and unreliable thing.
As annoying as the OpenSCAD language’s limitations are, the focus is
better directed to fixing those limitations in a secure manner. There
are some promising improvements in the pipeline. We may even get to use
them before the end of the decade.
-Revar
On Jul 23, 2023, at 2:48 AM, Sanjeev Prabhakar <
sprabhakar2006@gmail.com > wrote:
I would request openscad software creators to add python language
support, if it is not too difficult.
This can simplify a lot of calculations and help many of us.
Although, I have found a workaround which is working quite perfectly
for me, but it would still be better in case it is made part of the
openscad.
Thanks
Sanjeev
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
Your E-Mail. Your Cloud. Your Office. eclipso Mail & Cloud.
https://www.eclipso.de
---------- Forwarded message ----------
From: Sayandeep Khan via Discuss discuss@lists.openscad.org
To: discuss@lists.openscad.org
Cc: Sayandeep Khan seany@eclipso.de
Bcc:
Date: Sun, 23 Jul 2023 13:03:50 +0200
Subject: [OpenSCAD] Re: python support for openscad
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
The Sole ability to describe shapes in a descriptive Paradigm only results
in deeply hierarchical Scripts whereas in a functional language probably a
for Loop and few statements inside would be sufficient. Btw for loops are
Main Part of OpenSCAD.imho they are best Proof that descriptive only
language only is Not so powerful.
nop head nop.head@gmail.com schrieb am So., 23. Juli 2023, 15:46:
Because it is just a description of shapes, not a procedure.
On Sun, 23 Jul 2023 at 13:26, Father Horton fatherhorton@gmail.com
wrote:
Does anyone know why the creators of OpenSCAD chose a functional
programming paradigm?
On Sun, Jul 23, 2023 at 6:39 AM Guenther Sohler <
guenther.sohler@gmail.com> wrote:
Yes but this IS a two step process Mandy Other Python wrappers. My PR
let Python directly Turn into objects
Sayandeep Khan via Discuss discuss@lists.openscad.org schrieb am So.,
23. Juli 2023, 13:04:
---------- Forwarded message ----------
From: Sayandeep Khan seany@eclipso.de
To: discuss@lists.openscad.org
Cc:
Bcc:
Date: Sun, 23 Jul 2023 13:03:50 +0200
Subject: [OpenSCAD] Re: python support for openscad
will Lua also carry the same risks?
on the other hand, there is this :
https://github.com/hydroid7/Openscad.jl
so the reverse might. be interesting as well
--- Original message ---
From: Guenther Sohler guenther.sohler@gmail.com
Date: 23.07.2023 12:53
To: OpenSCAD general discussion Mailing-list <
discuss@lists.openscad.org>
Subject: [OpenSCAD] Re: python support for openscad
The actual Python PR has Several Levels of Security gates which need
to
BE activated for Python to Work. Finally the User is asked for each
New
Python. File whether He Trusts IT. This Trust IS saved in Sha256 and
ITS
hard to Hack IT.
Revar Desmera < revarbat@gmail.com > schrieb am So., 23. Juli 2023,
12:14:
That’s actually a pretty bad security risk. Right now you can trust
that an OpenSCAD script you download from the net cannot possibly hack
your system and install malware on your machine. This is not true of
Python. It is doubtful that sites like Thingiverse would support
running
configurator scad scripts if you could run Python.
Hacking Python to be a limited subset that is “safe” has proven in the
past to be a dodgy and unreliable thing.
As annoying as the OpenSCAD language’s limitations are, the focus is
better directed to fixing those limitations in a secure manner. There
are some promising improvements in the pipeline. We may even get to
use
them before the end of the decade.
-Revar
On Jul 23, 2023, at 2:48 AM, Sanjeev Prabhakar <
sprabhakar2006@gmail.com > wrote:
I would request openscad software creators to add python language
support, if it is not too difficult.
This can simplify a lot of calculations and help many of us.
Although, I have found a workaround which is working quite perfectly
for me, but it would still be better in case it is made part of the
openscad.
Thanks
Sanjeev
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
Your E-Mail. Your Cloud. Your Office. eclipso Mail & Cloud.
https://www.eclipso.de
---------- Forwarded message ----------
From: Sayandeep Khan via Discuss discuss@lists.openscad.org
To: discuss@lists.openscad.org
Cc: Sayandeep Khan seany@eclipso.de
Bcc:
Date: Sun, 23 Jul 2023 13:03:50 +0200
Subject: [OpenSCAD] Re: python support for openscad
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
There are a lot of options for creating OpenSCAD code using Python, and even a couple of out-and-out replacements --- it's a bad case of:
https://xkcd.com/927/
At one point in time I was trying to keep track of all the programmatic options for CAD and CAM, and the Python/OpenSCAD interface was so voluminous I made a special section for it wher I was just pasting links w/o commentary:
https://old.reddit.com/r/shapeoko/wiki/programming#wiki_python
What would you like to do using what approach that OpenSCAD isn't working for?
I suspect that there's a feature of the language you aren't using which will address it elegantly.
William