Animation of cabinet drawer causing reposition issues
-
Hi,
First a little background...I work for a custom cabinet firm and I'm currently in the process of building a library of cabinets. Generally, when I complete a cabinet, I save it as a component.
In this instance, I have created a base cabinet with a working door and a working drawer. I've since saved it as a component, and when I import it into a model, the animated door and drawer work exactly as they should (as far as I can tell). You can download and import my base cabinet component into your model and confirm that the door and drawer function as they should:
However, I can't seem to get the working drawer to function 100% correctly from within the model I used to create this cabinet in the first place. The drawer opens and closes in the proper direction (along the Y-axis), but it appears that the animation function is causing the drawer to position itself along the Y-axis incorrectly. Specifically, when I open the model and I click on the drawer with the "interact w/ dynamic components" pointer, it opens twice as far as it should. Here is a snapshot of the model when I first open it - by default the door and drawer are both in the closed position:
In the snapshot below, you can see that after clicking on the drawer w/ the "interact w/ dynamic components" pointer, it has opened twice as far as it should have:
In the snapshot below, you can see that after clicking on the drawer w/ the "interact w/ dynamic components" pointer again (this time to close the drawer), it only closes half-way (to what I consider the standard "open" position):
If I click on the drawer once more with the "interact w/ dynamic components" pointer, it moves back to the "open too far" position, and any subsequent clicks with the "interact w/ dynamic components" pointer make the drawer toggle between these two positions. in other words, the drawer seems to go from "open" to "open too far" to "open" again, instead of going from "closed" to "open" to "closed" again.
Now I suppose figuring this out isn't absolutely essential since the component I created and saved using this model seems to work fine when I import it into another model. But I would like to understand why the component isn't working 100% correctly from within the model I used to create it, just for my own peace of mind. You'll need the actual model I used to create the component in order to reproduce the issue I'm having:
Smithport_H-Series_B1D_exp_2.skp
Any help would be appreciated.
TIA,
Eric -
Fix it...
-
i actually figured out my syntax error a few weeks ago, but thanks for the response. i also didn't get an email notifying me that you responded to my thread...i was just browsing the forums and noticed that someone had replied. i'll have to figure that one out so that i can get back to people when they post in my threads...
Advertisement