figureone
    Preparing search index...

    Interface OBJ_CylinderPoints

    Cylinder options object.

    By default, a cylinder along the x axis will be created.

    • sides number — number of cylinder sides (10)
    • radius number — radius of cylinder (1)
    • normals flat | curveflat normals will make shading (from light source) across a face cone constant. curve will gradiate the shading. Use curve to make a surface look more round with fewer number of sides. (flat)
    • line TypeParsableLine — line that can position and orient the cylinder. First point of line is cylinder base center, and second point is the top center.
    • length number — length of the cylinder if line isn't defined (1)
    • ends boolean | 1 | 2true fills both ends of the cylinder. false does not fill ends. 1 fills only the first end. 2 fills only the the second end. (true)
    • rotation number — rotation of base - this is only noticable for small numbers of sides (0)
    • transform TypeParsableTransform — transform to apply to all points of cube
    • lines boolean — if true then points representing the edes of the faces will be returned. If false, then points representing two triangles per face and an associated normal for each point will be returned.