2

I need to make a paved path. For that I need to offset a bezier curve multiple time and for each curve I want to instance paving stone on it but the shortest curve need to have less paving stone on it and longest curve need to have more paving stone on it.

enter image description here

enter image description here


enter image description here

So I manage to repeat the operation but then I want to get more point on exterior curves

enter image description here

also reuse your setup but only work on one curve


Thank you so much for the help it works exactly like I wanted. I just want the high part to not rotate when I lower the other tangent. And do you know how I could offset the paving stone every 2 so its not perfectly aligned ?

enter image description here

enter image description here

Robin Betts
  • 76,260
  • 8
  • 77
  • 190
croustib4t
  • 23
  • 3

2 Answers2

3

Nearly the same as this question. And still a not perfect answer, but that could do the job (?)...

enter image description here

Get the pavement tile size in its X axis, add a delta because of the rounded part (if not they will overlap).

Resample the curve with this previous size, but equidistant (see below).

Make a curve from the result, subdivide it as the tiles will go on these subdivisions.

Get points from the curve in order to have its tangent.

Instantiate the tiles for each odd index (the subdivisions above) and rotate their X axis along the curve tangent.

"Resample equidistant": uses a dichotomie along the curve factor so that all points are on the curve but equidistant (native resampling does not guaranty this distance). Please see the question mentioned above for more details.

Blender V4.0 (needs repeat zone)

Edit:

I've add a loop around the solution above, so that you can do it with one single curve.

enter image description here

This loop resamples and shift the initial curve along its normal, so that we have the successive curves forming the path width.

lemon
  • 60,295
  • 3
  • 66
  • 136
  • yes that what I wanna do but there you duplicated the curve but I want to do it procedural, I just want one principal curve for the control – croustib4t Dec 02 '23 at 14:52
  • you should describe how the curve guides will be. How to define the path width, for instance. – lemon Dec 02 '23 at 14:54
  • How can I do if I doest want the high part to rotate when I lower the other tangent. And do you know how I could offset the paving stone every 2 so its not perfectly aligned ? – croustib4t Dec 02 '23 at 16:59
  • for a irregular tiling, try this: calculate the tile to curve length ratio, and use it to cap the curve alternatively. For the end part, use a boolean to cut exedent tile parts. – lemon Dec 02 '23 at 17:15
1

Here's a simplified setup to fill a path with bricks, you could improve it in multiple ways, for example by resampling the curves by length (just one node), or deal with possible pinching (much more than one node)...

Markus von Broady
  • 36,563
  • 3
  • 30
  • 99