Class CM3ItemTorusKnot extends CM3Item
CM3ItemTorusKnot Class
THREE.js documentation: https://threejs.org/docs/#api/en/geometries/TorusKnotBufferGeometry
Settings Group: Dimensions
Setting | Name | Type | Options | Default | Comments |
---|---|---|---|---|---|
radius | radius | CMTYPE_FLOAT | 10 | Radius of the torus, from the center of the torus to the center of the tube. Default is 1. | |
tube | tube | CMTYPE_FLOAT | 2,Range:[0,Infinity] | Radius of the tube. Default is 0.4. | |
tubularSegments | tubularSegments | CMTYPE_INTEGER | 64,Range:[2,Infinity] | Number of segment of each tube in the torus | |
radialSegments | radialSegments | CMTYPE_INTEGER | 8,Range:[2,Infinity] | Number of segements dividing up the torus as it goes around to form a ring | |
p | p | CMTYPE_INTEGER | 2,Range:[1,Infinity] | This value determines, how many times the geometry winds around its axis of rotational symmetry | |
q | q | CMTYPE_INTEGER | 3,Range:[1,Infinity] | This value determines, how many times the geometry winds around a circle in the interior of the torus. |