3. Commands concerning primitives |
|
Block |
|
This command creates a block (e.g. a cube) |
(x=width y=height z=depth) |
block .1 .2 .1 |
|
Cone |
|
This command creates a cone |
(x=width y=height z=depth) |
cone .1 0.05 5 |
|
Cylinder |
|
This command creates a cone |
cylinder 0.1 0.05 0.025 8 |
In this case : 1m high, 1m diameter at the bottom, 0.5m at the top , and 8-sided. |
|
Sphere |
|
This command creates a sphere |
sphere 0.05 3 |
The first value is the radius of the sphere (of 1m diameter) |
The second value is the density (of the polygons). |
|
Hemisphere |
|
This command creates a hemisphere |
hemisphere 0.05 3 |
The first value is the radius of the sphere (of 1m diameter) |
The second value is the density (of the polygons). |
|
Disc |
|
This command creates a flat disc |
disc 0.1 0.05 8 |
The first value is for the displacement from the ground : 1meter |
The second value is radius -> diameter of 1 meter |
The third value is the number of sides of the disc |