DC axis becomes offset when component moved
-
Ht
The attached model is my first real attempt at dynamic component creation. It scales the way I want but when I move it the DC axes changes position and is offset from the model itself (definitely not my intention). This leads to all kinds of unpredictable behavior.I created all of my sub components first and adjusted their axes in order to make all of my attribute definitions easy. I then selected them all and created the top level component. I set the component axis in the component creation dialog as is explained in the tutorials.
Why does the axis become offset when the component is move or copied?
Thanks in advance.
-
I think the key bit you are missing is that the position of sub-components is relative to their parent Origin. So a sub-component with Origin [0, 0, 0] will be located at the Origin of the parent Component.
In practice, this means you should set the X, Y, Z position of the Sill to 0, 0, and 0.
The Left and Right Trim should have an Z equal to the Sill Thickness.
The Top Trim should have a Z height of the Parent, minus its own height, plus the Sill LenZ.
And so on. Anyway, here's how I would do it.
-
Thanks for the help Jim. You are the man.
Advertisement