followPath

fun followPath(path: Path3d, crossSection: Shape2d): Polyhedron
fun followPath(path: Path3d, profile: Shape2d, autoScale: Boolean, convexity: Int?): Polyhedron


fun followPath(path: Path3d, profile: Shape2d, autoScale: Boolean): Polyhedron

Extrude profile, but instead of it heading straight up the Z axis, it follows the 3D path.

If autoScale == true, then the profile is scaled such that the final shape's cross section remains the same size. When autoScale == false, the profile is not scaled, which means the final shapes width/thickness will vary depending on the angle at each of path's corners.

Note, you can follow a 2D shape using followShape.

The easiest way to create a path is to use Path3dBuilder.