mwganson / DynamicData

FreeCAD workbench for creating and managing custom property container objects.
GNU Lesser General Public License v2.1
41 stars 8 forks source link

Import expressions from sketches constraints #46

Open ggarnier12 opened 3 years ago

ggarnier12 commented 3 years ago

Hi, I am using dd workbench and I love it. For me, parametric model building is key for FreeCAD, and on the use of spreadsheets aliases is frustrating whereas the concept behinf dynamicdata seems much more advanced.

As you clearly state it (both in bold in the readme and in the UI), when we import constrains from a sketch, only the value are imported, not the expression : "Care should be taken if the constraint uses the expression engine because only the value of the expression is used, not the expression itself, which could be a formula or a reference to some other constraint, property, or spreadsheet alias."

I was wondering why. Is is volontary for some reason ? or incomaptible with something else ? Or is it because of particular difficulties to code ? In this case, even if I am not as skilled as you are, I would be ready to help as much as I can.

Thanks for the great job !

mwganson commented 3 years ago

My thinking was it would be too complicated to try to account for all the possibilities. Was simpler to just import by value.