[CLOSED] Feature #1957 add a python command to partly recompute the document

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

[CLOSED] Feature #1957 add a python command to partly recompute the document

Post by Kunda1 »

Per issue #1957 by @shoogen
Often python commands recompute the whole document just to get a single shape to be updated. In this case it would suffice to recompute the feature itself and objects it depends on.
Posting to generate conversation about this feature and to create a thread.
Last edited by Kunda1 on Sat Jan 21, 2017 2:36 am, edited 1 time in total.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Feature #1957 add a python command to partly recompute the document

Post by DeepSOIC »

This is now possible, since .recompute Py method was recently added to document objects. The issue can thus be closed, I think.

EDIT: I see Werner already closed it ;)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Feature #1957 add a python command to partly recompute the document

Post by Kunda1 »

added by wmayer in git commit 2a145a12
Nice!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply