Fixing broken fillets

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
buttim
Posts: 5
Joined: Sun Jan 09, 2022 9:18 pm

Re: Fixing broken fillets

Post by buttim »

TheMarkster wrote: Tue Jan 11, 2022 3:58 pm I've been visualizing this as a manual fix. You do something and see the fillet has broken, so you undo the previous action, run the macro to get the good configuration, then redo the previous action and run the macro again to fix it. Undo and Redo have drop down lists.
Never noticed the drop down, LOL! I wonder if it's possible to access the undo list from Python, since I'd prefer to implement a fully automated correction if possible.
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: Fixing broken fillets

Post by TheMarkster »

Code: Select all

App.ActiveDocument.undo()
Post Reply