Modifier curve doesn´t fit my model to the curve

Hi i am creating a kerb along a curve. i have followed the next steps.

First i have used the array modifier with my kerb then i want to fit it to a curve so i use curve modifier but it doesn´t fit the array to the curve.

Here is the file with the kerb and the curve.

Attachments

circuitotordesillas2.blend (2 MB)

  • Change the deformation axis of the curve modifier to Y, since that is the direction of your array.
  • Move the kerb object so that its object origin is at the same place as that of the curve.

Best wishes,
Matthew

I have tried to do that but when apply the curve modifier my kerb doesn´t move along the curve

Attachments

circuitotordesillas2.blend (2 MB)

First get rid of all weird rotation angles so its easier to work with. Also set the curb and curves origin in the same position. You also don’t need the end faces on your curb object, delete them.

Attachments

circuitotordesillas2.blend (1.49 MB)

The kerb object origin is nearer to the curve one than it was, but still far enough away to cause problems. Moreover, you’ve now acquired some weird object level rotation in the kerb.

Despite all that, once the curve modifier is added (and set to Y as I said before), the kerb does lie along the curve when viewed from above, though at a different horizontal level.

Best wishes,
Matthew

I have set the rotation of the kerb to 0 but i still don´t know how to put the origin of the kerb and the curve in the same position.

I am still trying to make it.But the kerb still doesn´t fit to the curve.

This is what i am doing:

0.-Set rotation of the curve and kerb to x=0, y=0, z=0(but now the curve it is not in a side of my road)
1.- Select the curve and, select the first vertex and set the origin to it.
2.-Select the kerb and set its origin to the same origin of the curve.
3.-Apply array modifier to the kerb. Fit type: fit to curve; relative offset y= 1, x=0, z=0
4.-Apply curve modifier to the kerb. Object: curve ; Deformation axis: y

The final result is this. The kerb looks like if it is standed on its side not on it´s bottom

Attachments