Thanks for clarifying. Are you using the Brise from our libraries? If so I'm afraid they are all a fixed size, created using an L1S generator.
You have two options if you want to create a larger version. Either extract and remodel the geometry so that it's 2.4m wide, or create a more complex style that's fully adjustable. The first option is the simplist if you're new to RailClone. To do this:
- Load the library style and open the style editor by clicking
- In the style editor you'll see a number of segments:
Select each of these in turn and click to extract the geometry from the RailClone object back into the scene
- You can now edit this geometry and the changes will be reflected automatically in RailClone. For example we could elongate the brackets and clone additional fins.
- Finally you may need to adjust the Y Offset value mentioned in my previous post to compensate for the larger geometry.
A fully adjustable style takes a little more work and familiarity with RailClone. If you wanted to take a look at how this might be done, I've converted the same style as an example. To start with, instead of enlarging the geometry, break it into smaller pieces like this:
These pieces can then be reconstructed using RailClone using A2S arrays. In the attached example I've used two arrays - one for the fins and one for the brackets. It is often a lot easier to break down a style into multiple arrays rather than try and fit it into just one.
In addition to the standard inputs, this style uses a couple of useful tricks:
- Null or Empty segments This is a segment with padding but no geometry attached, these are useful for creating gaps in the array. In this style they are used in the fins generator to create spaces for the supports to fit into and avoid interpenetrating geometry.
- Multiply by -1 To move the generator to the correct side of the spline I'm multiplying the Y Size value by -1, and wiring the output to the generator's Y Offset
- Using XSplinePosition This is the most complex part of this style. In order to add the pieces at the top and bottom of an X Evenly column it is necessary to detect how close it is the vertical start and end of the array. To do this you can create an Arithmetic node set to Equation and enter an If statement that uses the XSplinePosition variable to test its location. For example:
if(XSplinePosition >0.5, 1, 2) will return 1 if the segment is over half way along the Y Axis, or 2 if it is under half way along the spline axis. You can test for multiple conditions by nesting these statements:
This is the example used in the style, it returns 1 if the segment falls within the first 5% of the length, 3 if it is over 99%, and 2 if it's anywhere between. This is then wired to a selector node so that it can use these values to control the segment to be used. This is a rare case of needing an expression, in most cases you won't need to, and we have plans to solve this particular situation in a much simpler way for a future release.
I hope this helps, I've included both examples in the attached file. Please let me know if you have further questions.