- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Despite my script having a progress report that should update every second, and output to the TextCommandPallette, the script will run for several seconds before groups of output and the latest Progress are displayed and the Fusion UI (including the cancel button in the Progress Window) is unresponsive until the script completes.
The script creates a sketch and then draws a rectangle and several hundred (maybe upwards of 3000) small line segments and creates a number of "multiline" text objects (which actually only contain 1-2 characters).
The eventual intent of the script is to be a generator for DXF files that can be used to laser cut a variety of rulers in wood or acrylic.
The code frequently checks for the cancel button being clicked, which I thought should return control to the UI briefly to sample the cancel button at least, but it seems like Fusion is basically stuck in a wait() for the Python script to finish (I don't know if that is what is actually happening).
The script is long, but I can post it if people feel it is necessary to identify the problem/solution. I'm hoping someone is already familiar with this behavior and its resolution from the description.
Solved! Go to Solution.