![]() |
Scripting with Scheme and Python - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6) +--- Thread: Scripting with Scheme and Python (/showthread.php?tid=3096) |
RE: Scripting with Scheme and Python - ivla - 10-17-2023 Next (but not last) version of script, with profile selection and acceptable thread endings. ![]() Some difficulties (example with profile #6): ![]() If two points in profile have the same vertical coordinate then it "glues" or "doubles" in ending profile. Subsequent "Cleanup" helps, but it's not nice. Thinking... RE: Scripting with Scheme and Python - micheus - 11-09-2023 ivla, thanks for sharing your scripting. I would like to suggest you to store these files somewhere else. The space reserved for users here at the forum is very limited unfortunately. Another advantage I see in use that is that we can just update the original file when we fix/improve something and it will be OK for all the links to it that were already spread on the forum. ![]() RE: Scripting with Scheme and Python - ivla - 11-13-2023 OK. got it. RE: Scripting with Scheme and Python - ivla - 11-29-2023 Next version of script somewhere here. ![]() v0.5 2023-11-29 Opening and closing ends now looks like this: ![]() Also added DIN13 profile (#7) for internal thread, look here for how-to. RE: Scripting with Scheme and Python - edb - 05-13-2024 I should have a new updated build for the scripting plugin soon. RE: Scripting with Scheme and Python - ivla - 11-06-2024 Script for circular sectors generation Initial version. Makes slice of the cylinder: ![]() UPD: This appears as built-in option of the "cylinder" primitive in Wings3D v2.4. RE: Scripting with Scheme and Python - edb - 12-23-2024 Hello, It's been a while since the last build so I should have a new build soon, there's been some changes to the "command" type scripts (as that is still a work in progress). After that I'll be making a pull request to add the scripting plugin to wings. The plugin has also been refactored a little bit so it can be possible to add additional scripting languages without changing anything in the plugin code itself, it would require making a bunch of "init" script code and helper classes for each new scripting language though. I'll be only focusing on the two current scripting languages for now. The plugin preference dialog now uses wings ui dialog instead of wxDialog, many thanks to micheus help to change it over. RE: Scripting with Scheme and Python - edb - 01-08-2025 I almost have a new build, I needed to test the different new features and there's still a few small things to adjust. Parameters will now have dropdown lists, checkboxes and radio buttons, example: Code: params { And for even more flexibility, it will also be possible to create advanced layouts by erlang term directly: Code: params { RE: Scripting with Scheme and Python - edb - 03-07-2025 Hello, I've gotten around to making a more recent build of the scripting plugin: PLUGIN: wpc_scripting_shapes.tar PATCH: patch_scripting.tar Please let me know if anything seems broken. You need to download and install both. The patch contains modified wings_va and wings_dialog, without them the plugin's preference dialog won't work. RE: Scripting with Scheme and Python - ivla - 03-09-2025 Great! Thank you! |