Log inGet started
Package

quickGeometry.package

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

shape.cylinder

A cylinder along Y, capped, with different radii at its two ends: a cone when one is 0. The fifth argument of CylinderGeometry and the fourth of ConeGeometry is heightSegments, in the place three.js has it; the side is one band.

In a scene: CylinderGeometry(radiusTop, radiusBottom, height, radialSegments, heightSegments, openEnded) and ConeGeometry(radius, height, radialSegments, heightSegments, openEnded).

InputDefaultMeaning
radiusTop1The radius of its top.
radiusBottom1The radius of its bottom.
height1Its length along Y.
radialSegments32How many sides it has round.
openEndedfalseWhether the top and bottom are left open, as a pipe or a liner.

The node answers geometry: a mesh with positions, normals and uvs. Its body is a call into the module in its own folder, so a graph of many parts cooks without a device dispatch per shape.

CylinderGeometry(0.3, 0.5, 1.4, 24):bend(0.5)