r/OpenPythonSCAD • • Oct 06 '24

New Version released

Today I have uploaded Version 2024-10-06 on pythonscad.org homepage

Its in sync with latest development master of openscad.org

and it got these fixes/additions

* Thread problem is fixed, linear_extrude, rotate_extrude and sphere, which can have a callback function work

with any recent python version now

* pyutil.py Containt some utility functions to easily create lofts.

* handles are still maintained when you color() them

* showing handles with O icon does not only show handles, but also their coorindate system

Let me know, when you find more bugs or have feature requests

3 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/ofmetal Oct 09 '24

Yeah, that crash happened to me as well. Also it's behavior differs on different machines. One machine "t" variable is a real number between 0 and 1. Another machine, "t" variable is a pair (frame_number, 0). No idea, how is this possible..

1

u/gadget3D Oct 09 '24

I know the exact location of the crash, but I was not yet able to understand/fix it.

"t" should be a number only, never created a tuple there

https://github.com/gsohler/openscad/blob/python/src/python/pyopenscad.cc#L641-L642

Could it be, that you reassign "t" to something wrong ? If you manage to isolate the issue, i can debug that.

BTW I was able to get libfive size down by 25 Megabytes by disabling debugging symbols