Component axes, glueing and animating
-
In the situation where door/window components are inserted into a wall, the glueing axis of the component is red/green plane parallel to the wall. However, when you wish to animate the window/door the component axes need to be changed to match the global model, ie red/green plane parallel to floor. Is there a smarter way to all this, or am I missing something?
-
I suppose you're talking about Dynamic Components.
I glue all my components and still can animate them onClick very easily.
What you have to do is keep the glued component's hole geometry and create a new component for the part you want to animate, nested inside the glued component.
You just have to think that a component wich is nested will use it's insertion point and axis for position itself but the position will always be relative to it's parent's axis, not to the global axis.
So, basically, what I'm saying is that if your component has funny axis, you can insert new components inside it and they will override the global axis for each of those components.
-
Ah yes. I had noticed that behaviour of nested components, but couldn't understand why when I applied the dynamic component attributes it worked as expected, but not when I unnested it!!
I am writing a ruby script to create a wall opening and add architrave for a door component glued to a wall group. I will now see if I can nest the door component in the opening/architrave group. Actually I will need to make this a component won't I?
Thanks for the heads up on nesting/axes behaviour JQL. -
There's an extra trick with Glued/hole cutting components.
If you insert a hole cutting component into another and if their glueing planes match, then you can cut two holes in a face, just a SINGLE face. You can't cut two faces wether or not they are coplanar.
Advertisement