First, I am completely new not only to this forum but online forums in general, so please redirect me if I am posting the wrong thing in the wrong place or somehow otherwise unintentionally wreaking havoc.
I just recently started working on creating my own dynamic components and have been experiencing issues with a design I made for a folding attic access ladder. Here is a picture of the model (the part on the right):
It has three parts: The main backing piece that holds the ladder and folds down from the ceiling, the middle section of ladder, and the bottom bit with the rest of the rungs. I have no problem making it work with two pieces, but when I add the third one, things get strange. My goal is to make the ladder fold down from the ceiling and extend with one click so it looks like the part in the left of the picture above.
So far, I can’t think of any way to make it work without nesting the components inside of each other. When I nest the components, things get strange. For example, I got all of the bits and pieces working with the following (which to my mind should make the whole assembly pivot down 60 degrees, and then each of the two ladder sections rotate 180 degrees so as to extend down):
MAIN LADDER PIECE RotX: =MainRot MainRot: 60 onClick: ANIMATE("MainRot",0,60); ANIMATE("LADDER MIDSECTION!MidRot",0,180) LADDER MIDSECTION RotX: =MidRot MidRot: 180 LADDER BOTTOM RotX: =LADDER MIDSECTION!MidRot
However, when I use this configuration, although it works, the model stretches lengthwise and becomes much thinner when I activate it. When I activate it again, to “close” the attic ladder, it once again works, but becomes dramatically thick, and continues to become thicker each time it is activated thereafter. I don’t understand what I’m doing wrong. Is this something that is even possible with dynamic components? Is there a rule of creating them I should be aware of that I’m accidentally breaking?
Thanks in advance!
P.S. Here is the file if that is helpful: Attic Ladder.skp (287.1 KB)