Hi,

I have the following situation to accomplish- any help provided is much appreciated.

I have a unique segment (simple vertical plane is enough to understand the object) that i must evenly space along a straight spline.

The segments xSize must be any value between 1.0 and 1.15, and all segments spaced along the spline must always be the same xSize.

All segments must have a separation/padding of .02m

The first and last segments must each be inserted exactly at the endpoints of the path, meaning the first object to the left of the path (looking at a front view) must have its bottom left vertex inserted at the beginnig of the path, and the last object must have its bottom right vertex inserted at the end of the path (I'm attaching a file for further clarification).

I understand I need an expression to evaluate the spline length and divide it by the possible number of objects that can fit into it being larger than 1m and smaller than 1.15, while keeping a separation of 2cm between them. In some cases I understand the spline may NOT be able to fit a certain amount of objects of those min/max sizes while keeping a 2cm separation between them so I am unsure whether this is at all possible with using expressions, as it would be great in this specific case to be able to also use a certain tolerance for distance between objects (min/max padding sort of thing).

Ideally, I would like this to work for an object with several subplines attached...

I have no idea of how to set this up...

Thanx

I have the following situation to accomplish- any help provided is much appreciated.

I have a unique segment (simple vertical plane is enough to understand the object) that i must evenly space along a straight spline.

The segments xSize must be any value between 1.0 and 1.15, and all segments spaced along the spline must always be the same xSize.

All segments must have a separation/padding of .02m

The first and last segments must each be inserted exactly at the endpoints of the path, meaning the first object to the left of the path (looking at a front view) must have its bottom left vertex inserted at the beginnig of the path, and the last object must have its bottom right vertex inserted at the end of the path (I'm attaching a file for further clarification).

I understand I need an expression to evaluate the spline length and divide it by the possible number of objects that can fit into it being larger than 1m and smaller than 1.15, while keeping a separation of 2cm between them. In some cases I understand the spline may NOT be able to fit a certain amount of objects of those min/max sizes while keeping a 2cm separation between them so I am unsure whether this is at all possible with using expressions, as it would be great in this specific case to be able to also use a certain tolerance for distance between objects (min/max padding sort of thing).

Ideally, I would like this to work for an object with several subplines attached...

I have no idea of how to set this up...

Thanx