arrowOBJ_Line3Arrow — define to use arrows at one or both ends
of the line
rotationnumber — rotation of line around its axis - this is
only noticable for small numbers of sides (0)
normalsflat | curve — flat normals will make light
shading across a line face constant. curve will gradiate the shading. Use
curve to make a surface look more round with fewer number of sides.
(curve)
3D Line options object that extends OBJ_Generic3All and OBJ_FigurePrimitive
A 3D line is a cylinder with optional arrows on the end. Unlike a 2D line, the arrow profiles can only be simple triangles.
sidesnumber— number of sides (10)p1TypeParsablePoint — ([0, 0, 0])p2TypeParsablePoint — (default:p1 + [1, 0, 0])widthnumber— width of linearrowOBJ_Line3Arrow — define to use arrows at one or both ends of the linerotationnumber— rotation of line around its axis - this is only noticable for small numbers of sides (0)normalsflat|curve—flatnormals will make light shading across a line face constant.curvewill gradiate the shading. Usecurveto make a surface look more round with fewer number of sides. (curve)See
To test examples, append them to the boilerplate
Example
Example
Example
Example