AutodeskRoboticsLab / Mimic

An open-source Maya plugin for controlling Industrial Robots. Written in Python 3.
https://www.mimicformaya.com/
172 stars 39 forks source link

Feature Request: Cancel export #15

Closed evanatherton closed 3 years ago

evanatherton commented 4 years ago

Option to cancel analysis of a program.

evanatherton commented 3 years ago

Alright I looked into this again and I remember the problem I was running into. the Maya API gives you a way to allow the user to use the 'esc' to to cancel a progress bar, but for some reason it only works if I add like a 30ms delay in the script so it has time to capture the user input. So it’s a trade-off - we have to artificially slow down the export to enable it. I can potentially add a user option to turn it on or off so if people want the feature, they can use it at the expense of export speed.