Dynamic Component Appearing "Exploded" When Imported

Hello, I am new to dynamic components and have just made a simple shaker cabinet door that I can scale to any size while maintaining the rail and stile sizes which are user editable options.

The component functions as expected in the original file and when imported, however when imported as a component in a new file it appears “exploded” with objects on two planes.

See attached screen shot(I am a new user and can only add one image sorry.):

What am I doing wrong or missing here?

Original component file: cabinet_door_component.skp (208.5 KB)

Thanks!

I’m not seeing exploded when I insert it into a model but the component’s origin is a long way from the component which makes it difficult to insert. Here it is after inserting and trying to place it at the origin.

There are some issues with some of the parts. The right stile’s X position, for example, should be =CabinetDoor!LenX-2 (the width of the stile.

Thanks DaveR

The Stiles and Rails are dynamic so the -2 would not work.

I think you need to save the component as a component and import it to see the issues, at least that is how I did it. I will try your suggestion of moving it near the origin to see if that is part of the issue.

Do you mean that their width is supposed to also be set-able? If so, they you need to use

From looking at your component, it seems like you are missing some important setting options and somehow you have the position set incorrectly

I did that, too. Same location problem but it wasn’t exploded when inserted.

Do you mean that their width is supposed to also be set-able? If so, they you need to use

Yes, and it is for me:

Originally I was basing the positions and lengths as you suggest of CabinetDoor dimensions but that wasn’t working for some reason. I kept getting things miss aligned by parts of an inch, and objects with dimensions larger than the CabinetDoor dimensions.

From looking at your component, it seems like you are missing some important setting options and somehow you have the position set incorrectly

I wanted to use the overall dimensions of the CabinetDoor as what everything else would be set relative to but for some reasons that was not working. I suppose this is why my origin jump when scaling.

I did that, too. Same location problem but it wasn’t exploded when inserted.

It seems to be working after I moved the origin.

Look at how I set up this door. I fixed the thicknesses of the parts but widths and lengths are adjustable via the Component Options panel. I did a bunch of it long hand so you can see what is really going on but some of the forumlae could be shortened.

DC Shaker Door.skp (68.2 KB)

Thanks for that Dave,

That basically looks like how I originally attempted to built it, however when I made it, it seemed as if the overall Shaker Door container was also being changed by the objects trying to reference it, thus causing all kinds of odd overlaps and gaps.

I will try to replicate your file and see if it works for me. Thanks!