taperedCylinder
fun TriangleMeshBuilder.taperedCylinder(sides: Int, segments: Int, startRadius: Double, endRadius: Double, length: Double, flipNormals: Boolean = false, center: Boolean = false)(source)
Generate a tapered cylinder along the z-axis
Parameters
sides
the number of sides of the tapered cylinder
segments
the number of segments along the z-axis
startRadius
the start radius of the tapered cylinder
endRadius
the end radius of the tapered cylinder
length
the length of the tapered cylinder
flipNormals
generates inside-out geometry if true
center
centers the cylinder on the z-plane if true