Hi! I'm relatively new to FreeCAD and stumbled upon the original thread
when trying to figure out how to acquire the transformation matrix of the linear transform between the (6D) spaces. However, that was just to properly center imported meshes and SVG files once
to reduce visual annoyance when modelling...
Now in need of functional LCS coincidence (i.e. Attachment), this WB proved simple yet exactly what was needed. Awesome (and impressively quick) work!
However, there's one more feature I'd like: Independent parametrization of App::Link's
(linking the same file/Model). In the properties I find:
Code: Select all
Is this what I'm looking for (if so, how do we use it)? I've parametrized the linked file with Variables, but I don't manage to "override" my "file defaults" (per linked copy) as I had hoped for. I'd like the Model linked to use lengths defined in the assembly document, unique for each App::Link. It would of course not be difficult to just copy the linked document and change them, but I don't sleep well knowing I've introduced such digital redundancy...
I'm impressed by how quickly Python was picked up! Being a serious hobby of mine (and my favourite language), I'm sorry for the unsolicited advice below...
I recommend getting the codebase architecturally sane (i.e. "Pythonic" and thought out) and PEP styled, before it grows to large. If you're new to developing and prone to "just getting it done", be wary of the horrors of an unmaintainable codebase down the line! It might seem ridiculous to fix non-semantic "style issues", but there's good reason for that too: Clean, "de-personalized" coding highly reduces overhead/noise for contributions from experienced Python developers. Just a tip!