-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to script generating a helix and shapebinder ... ?? #27
Comments
I got a bit further ... new macro code below. Being new to FreeCAD I realize I'm starting with the assumption that I can script the creation and modification of objects without interacting with the GUI -- I suspect now that is an incorrect assumption. In order to create a
Without doing this the The NOTE: this may be a bug elsewhere. I've also been debugging by comparing the XML Content of objects generated manually to the objects I'm creating with the script. The output to the Python console for a To make the Helix and ShapeBinder I tried to follow the pattern I used making the The updated macro code below instead works by scripting through GUI commands It's almost all working but I'm left with the Task dialog still open.
|
Hmmm ... noticed this error without a line number generated in the Report panel before running
|
fyI version info: FreeCAD: |
Perhaps solved ... Updated to ThreadProfile 1.6.9 and FreeCAD .19.1 As long as I delete the document If I run it without deleting
The code at the beginning is intended to empty out the document I also suspect there might also be a simpler method to switch the Combo View from the Task tab back to the Model tabb at the end.
|
Working on figuring out how to script the thread profile workbench. Thanks for any help or tips.
Here's the current state of my test macro.
file: vtp_test.FCMacro
The text was updated successfully, but these errors were encountered: