RailClone > RailClone Pro (*)

Adaptive mode objects go beyond the spline

(1/1)

**sipos**:

Hello! I have a problem with super basic RC (5.2.8 ) where if I change mode to adaptive some objects sometimes get beyond the spline.

Any idea why?

**Michal Karmazín**:

Hi,

Unfortunately, this is a limitation of the Adaptive mode which expects all the segments to be of the same size in order that they can be scaled to fit the path accurately. Due to the order of operations, it isn't possible to adaptively scale segments of different lengths.

The usual workaround is to prepare the geometry so that they are combined to form segments of the same length on the X-axis. You can see examples of this in this façade post.

I hope that clears it up.

Best regards,

**sipos**:

ah I see. Thanks for the reply!

With your explanation, I figured out I can grab each segment x size, subtract it from the size of the biggest segment, divide it by 2 and add it as left and right padding to other segments. Seems to be working!

Is there a way to automatically detect dimension of the biggest segment?

**Michal Karmazín**:

The Arithmetic Operator offers the Maximum Operation, which should meet your needs. You can export X/Y/Z Size Attributes and connect these as Inputs to the Arithmetic Operator. I hope that helps.

Best regards,

**Dragan**:

Hi, there is a trick to achieve "fit to behavior, " including some nesting.

Check my reply on this topic:

https://forum.itoosoft.com/railclone-pro-(*)/randomize-behaviour/msg38700/#msg38700

Navigation

[0] Message Index

Go to full version