Hi Betty,
Please see the attached file for a possible solution. It's much simpler that the window example and uses the following techniques:
- It's often simpler to use multiple generators, and in this case I've used 3. An L1S generator for the frame, an A2S for the horizontal grill segments and another A2S for the vertical grill segments:
- To offset the grill from the frame I've created a new
empty segment and exported the
X and
Y Fixed Size values. These are wired to the
Y Size attribute of the outer frame segment . The empty segment node is wired to the
Left,
Right,
Top and
Bottom inputs of the grill generators to automatically offset them from the sides. Because the size is extracted automatically, you can easily swap in your own geometry and the style will update. The same technique is used to create gaps in the Y Evenly segments to make space for the vertical grill segments.
- Evenly spacing values are wired together to make sure that the generators stay in sync and to make it easy to adjust them from the Modify panel.
- Adjustable Left/Right
padding is added to the gap between the Y Evenly segments so that you can overlap the horizontal and vertical segments to create the correct intersection of the chamfers.
I hope that helps, please let me know if you have any further questions.
Many thanks!
Paul