Dynamic cabinet door

Dynamic cabinet door

Postby JFast » Mon May 26, 2014 4:31 pm

Using SketchUp Pro 2014

I'm attepting to create a cabinet door that SketchUp will let me adjust & scale/stretch to fit on any cabinet without modifying the material thickness & widths of the rails & stiles. I've added the formulas to keep the material dimensions fixed & it seems to be working.

However, my main issue is with positioning. I've modeled a 5-piece flat panel Shaker door (attached image) telling it to be tight together, but the pieces won't seem to follow along. The leftmost vertical member is set to be at 0,0,0 on the XYZ but clearly is way off the mark. As well, the other individual components seem to be off track in relation to the rest of the door members.

It's vital that the final door position is at 0,0,0 in positive space for it to properly work in our production software, Mozaik. Can I get some help on this? Thanks
0

JFast 
 

Re: Dynamic cabinet door

Postby cotty » Mon May 26, 2014 4:54 pm

You can toggle to show the component axes in the preferences, maybe your local origins are not at the desired positions? (It's hard to tell from the image since there are no formulas visible...)
0
User avatar
cotty 
Top SketchUcator
 

Re: Dynamic cabinet door

Postby Jim » Mon May 26, 2014 5:00 pm

In general..

Pick a piece that will be your "anchor." In your case, it will probably be the left stile. Set the X, Y and Z position to 0. Use =0 which is a formula (you command the position to be 0!)

X: =0
Y: =0
Z: =0

Then, position your next piece relative to the anchor. Perhaps the bottom rail. Would be something like:

X: =LeftStyle!X + LeftStyle!LenX
Y: =0
Z: =0

and so on.

Once a piece is positioned, you can use it to anchor other pieces.
0
Hi

Jim 
Global Moderator
 

Re: Dynamic cabinet door

Postby JFast » Tue May 27, 2014 6:51 pm

I realized after a bit of tuning, the horizontal parts that are showing out of whack are copied parts of the vertical pieces, and in this case the XYZ values changed with my rotation of the pieces to become horizontal members. And as such, the parts were showing their own axes position as the entire door entity... had me quite confused.

I did a 'Change Axes' command for each component separately and then when I modified the component attributes 'Position' section they went into their proper place.

Crazy
0

JFast 
 

Re: Dynamic cabinet door

Postby JFast » Tue May 27, 2014 7:29 pm

Thanks Jim for the work-around. I've definitely commanded the pieces to the "0" position using XYZ "=0". I essentially fixed the problem with Cotty's method of re-doing the local origins of the components.

However, not that the pieces are back I wonder if you guys can offer info for scaling. I'd like to door to be able to scale & move pieces to fit a cabinet. Meaning, if I change the width of a cabinet, I want to tell the program to move the left & right stiles, and the scale the rails to fit the new width. Similarly, if I change the height I want SketchUp to move the rails to fit & scale the stiles to their new heights.

Could use some genius on this issue!
0

JFast 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Dynamic Components

Who is online

Users browsing this forum: No registered users and 1 guest

Visit our sponsors: