William, you are wrong
ITS possibile to call python from within openscad. This works for Modules
and functions
I will try to fix pyopenscad for Windows
Still i am Not at my Dev Environment
William F. Adams via Discuss discuss@lists.openscad.org schrieb am Mi.,
30. Aug. 2023, 20:23:
---------- Forwarded message ----------
From: "William F. Adams" willadams@aol.com
To: OpenSCAD General Discussion discuss@lists.openscad.org
Cc:
Bcc:
Date: Wed, 30 Aug 2023 18:22:28 +0000 (UTC)
Subject: [OpenSCAD] The nature of Python in OpenSCAD and future
plans/features
First, my understanding of the current implementation:
- it requires a separate Python installation of a specific version, which
has a specific file: libpython3.10.dll as well as other similar files
- it operates on either Python or OpenSCAD files
- Python files do not make use of the Customizer
- it is not possible to call Python from w/in an OpenSCAD file
and that understanding makes my questions pretty obvious:
- can the Python aspect be made easier? Bundle a "minimum distribution"
of Python so that it "just works" once it is enabled by the user? Provide a
separate download of a specific Python distribution?
- make it possible for Python files to use the Customizer --- this would
be a big win --- if that's not possible, would it be possible for a Python
file to create a dialog window which would allow changing parameters and
re-running the file (or a portion of it?)
- the ability to have Python code in the OpenSCAD code which is also
called would be huge --- I'd just want the Python code to have access to
the current filename and to be able to pass it variables (and get them back)
William
---------- Forwarded message ----------
From: "William F. Adams via Discuss" discuss@lists.openscad.org
To: OpenSCAD General Discussion discuss@lists.openscad.org
Cc: "William F. Adams" willadams@aol.com
Bcc:
Date: Wed, 30 Aug 2023 18:22:28 +0000 (UTC)
Subject: [OpenSCAD] The nature of Python in OpenSCAD and future
plans/features
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
William, you are wrong
ITS possibile to call python from within openscad. This works for Modules
and functions
I will try to fix pyopenscad for Windows
Still i am Not at my Dev Environment
William F. Adams via Discuss <discuss@lists.openscad.org> schrieb am Mi.,
30. Aug. 2023, 20:23:
>
>
>
> ---------- Forwarded message ----------
> From: "William F. Adams" <willadams@aol.com>
> To: OpenSCAD General Discussion <discuss@lists.openscad.org>
> Cc:
> Bcc:
> Date: Wed, 30 Aug 2023 18:22:28 +0000 (UTC)
> Subject: [OpenSCAD] The nature of Python in OpenSCAD and future
> plans/features
> First, my understanding of the current implementation:
>
> - it requires a separate Python installation of a specific version, which
> has a specific file: libpython3.10.dll as well as other similar files
> - it operates on either Python or OpenSCAD files
> - Python files do not make use of the Customizer
> - it is not possible to call Python from w/in an OpenSCAD file
>
> and that understanding makes my questions pretty obvious:
>
> - can the Python aspect be made easier? Bundle a "minimum distribution"
> of Python so that it "just works" once it is enabled by the user? Provide a
> separate download of a specific Python distribution?
> - make it possible for Python files to use the Customizer --- this would
> be a big win --- if that's not possible, would it be possible for a Python
> file to create a dialog window which would allow changing parameters and
> re-running the file (or a portion of it?)
> - the ability to have Python code in the OpenSCAD code which is also
> called would be huge --- I'd just want the Python code to have access to
> the current filename and to be able to pass it variables (and get them back)
>
> William
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: "William F. Adams via Discuss" <discuss@lists.openscad.org>
> To: OpenSCAD General Discussion <discuss@lists.openscad.org>
> Cc: "William F. Adams" <willadams@aol.com>
> Bcc:
> Date: Wed, 30 Aug 2023 18:22:28 +0000 (UTC)
> Subject: [OpenSCAD] The nature of Python in OpenSCAD and future
> plans/features
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>