Open willywong opened 4 weeks ago
Interestingly enough, the openscad doc indicates offset() should only operate off of 2d shapes: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#offset
However, if I replace the above code from sphere to cylinder(r=40, h=30)
, offset actually work as expected.
the bug was fixed recently. please compile latest pythonscad from source and it will work. yeahh, pythonscad as been working on 3d offset ....
To compile for windows, are the instructions in the README at https://github.com/gsohler/openscad?tab=readme-ov-file#building-for-windows accurate? They look like instructions for vanilla openscad and not pythonscad.
Are there additional dependencies/steps to compile pythonscad from source?
These instructions are quite recent. Only missing information is that that you need to compile in branch "python"
But I am sorry, as I was not aware that you are using PythonSCAD in Windows where compilation takes a lot of time. If you like you dont need to take this step as i am releasing a new version, soon.
On Sun, Oct 27, 2024 at 2:36 AM willywong @.***> wrote:
To compile for windows, are the instructions in the README at https://github.com/gsohler/openscad?tab=readme-ov-file#building-for-windows accurate? They look like instructions for vanilla openscad and not pythonscad.
Are there additional dependencies/steps to compile pythonscad from source?
— Reply to this email directly, view it on GitHub https://github.com/gsohler/openscad/issues/45#issuecomment-2439795996, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCO4MQZWI73QI5SOKFNHXLZ5Q7R3AVCNFSM6AAAAABQUOK7Q2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZG44TKOJZGY . You are receiving this because you commented.Message ID: @.***>
Thanks, that works. I can wait for the new release. Thank you!
new windows version 11-04 is available. can you check if offset works for you there ?
Will try it out this weekend 👍
Hey @gsohler , I tried 11-04 for Windows. It is still crashing.
Describe the bug offset() on a 3d shape can crash.
Oddly enough, I am only able to reproduce this if (1) The 3d shape dimensions are large, and (2) the offset r is small.
To Reproduce
This code crashes it.
Expected behavior Not crash.
Code reproducing the issue See above.
Environment and Version info (please complete the following information):
Library & Graphics card information If applicable, add the content of the Help->Library Info window, or the output of running the
openscad --info
command.