Automatic component between 2 components

Hello everyone! I work for a small carpentry shop and we are currently looking into whether Sketchup is a possibility for planning our kitchens. I am stuck on one point: Is it possible to automatically create a component that takes into account the parameters of 2 dynamic components? In my case, each kitchen cabinet should represent a dynamic component. Each cabinet is connected to a frame in which grooves are milled for the horizontal frame pieces. In the attached drawing, the vertical frame I mean is marked in red. Is it possible to have this created automatically? Sorry for my bad English. This is a translation by Google
carbinet-question.skp (475.8 KB)

I believe you could do this by making a separate Dynamic Component of the vertical piece. First split the piece into two vertical sections for the left and right sides. You will need a copies function for the number of grooves and the sections between the grooves (lets call them bars) on each side. Create Component Options so you can manually set the position of each groove , the bar can be positioned based on the grooves location. Each groove and bar would need to have position and length governed by IF() formula. This is possible I think but a bit complicated, and unfortunately I don’t have time to work on an example for you right now.

To do this automatically you would need to create a Ruby script or small extension.

Look at and try Profile Builder (just as an idea and for testing)

Sounds like what you’re describing can be done with a dynamic component that is hidden by default and wakes up and makes copies of itself based on conditions.

Example of DCs

Cabinet frame DC.skp (1.2 MB)

OCL will soon have better DC reports, currently only “Name” is a DC attribute that can be shown

1 Like