RailClone > RailClone Pro (*)

Create a drop kerb - different principle

(1/1)

RealViz:
Hi, I want to create a drop kerb but in a different way than in your tutorial (https://www.itoosoft.com/tutorials/tutorial_drop_kerb). The idea is that I have a closed curve, which I define an Array 2S tiling with "Extended X/Y Size to Area".
The MatID at the curve defines the curb reduction (not a problem), but how to make sure that the first element of the pavement is different if it lies at a specific MatID of the closed curve?
I tried to create two Array 2S with a condition on the MatID, but unfortunately that doesn't work for this case :-( Respectively, the whole curve with the given MatID must be enclosed and not just a part of it. The classical condition behaves the same way.
More in the picture.

RealViz:
Unfortunately it doesn't work that way :-(

Paul Roberts:
Hi,

I'm afraid that clipping splines don't support using materials IDs in that way. Your best bet is probably going to be to use separate X and Y Splines which will allows you to use IDs.

I'm also attaching a bit of a hacky version that uses markers. The key is to ignore the markers actual position on the spline as shown in the viewport and just see the percentage value as applying only to the X Axis of the array.



All the best,
Paul

RealViz:
Thanks!
Anyway, it's not quite 100%. It doesn't work for oblique/curved splines. Also, if the area is large, slanted tiles appear randomly in the area.
I finally found a better solution in the form of your SplineOffset plugin and a little trick. Anyway, it's also not 100%, because the tiles are not always completely aligned, but I might fix that too.
Attached...

Paul Roberts:
Good idea to use Spline Offset, I can see now what you're going for. That'll be a much better solution. Nice one!

Paul

Navigation

[0] Message Index

Go to full version