Cubic elements can be skewed, rotated, translated, replicated,
repeated along straight or curved paths, and are the primary tool
for most projects.
Here are some cubics defined in a text file using Notepad:
start x y z x y z
point minimum values maximum values rotation color
----- -------------- -------------- -------- -----
type 1 window frames
001 0 0 0 .5 44 1.5 180 3
011 0 0 48.5 .5 44 51 180 3
021 0 0 1.5 .5 2 48.5 180 3
031 0 42 1.5 .5 44 48.5 180 3
type 2 window frames
041 0 0 0 .5 40 1.5 180 3
051 0 0 48.5 .5 40 51 180 3
061 0 0 1.5 .5 2 48.5 180 3
071 0 38 1.5 .5 40 48.5 180 3
.
.
etc
You can build a library of objects, then
rotate and translate them for precise placement:
Cubic elements can be repeated along an axis, then rotated
and translated into position:
x y z x y z spacing endcube rotation color
0 0 0 .292 .292 2.67 5.86 28 270 2
Standard points, lines and planes are also useful:
point x y z Connect points:
----- -------------
1 0 63.2 0 LINE GROUP 1:
2 24 63.2 0 8,23 1,12 12,13 2,13
3 24 41.2 0 1,31 8,13 1,2 2,3
4 0 45.2 8 3,18 3,8 5,18 5,6
5 24 0 6 .
6 0 0 6 .
7 0 41.2 6 etc
8 24 41.2 8
9 24 0 8
.
.
etc
Plane data, with light-source shading information:
points
--------------
plane t1 b1 t2 b2 direction color
1 3 8 3 18 270 5
2 18 5 8 9 270 5
3 44 43 2 13 270 5
4 1 2 12 13 180 5
.
.
etc
Curved elements:
points degrees radius offset weight
per ----------- ------- ----------- --------
section start arc X Y X Y Z left inc stretch
20
20 -70 19.2 6 24 30 2.83 0 0 0
20 -70 19.2 6 24 30 4.83 0 0 0
20
20 -70 19.2 6 24 30 4.83 0 0 0
3 -87 10 6.9 24 27.6 4.83 0 0 0
20
3 -87 10 6.9 24 27.6 4.83 0 0 0
3 -87 10 6.9 24 27.6 6.17 0 0 0
.
.
etc
Rotations and translations are easy:
--------------------------------------------
first last z-angle tran-x tran-y tran-z
ZROTATETRANSLATE:
1 358 115 7 13 0
--------------------------------------------
..and you quickly get output:
RogCAD for DOS output, with customizable color palette:
RogCAD for Windows output:
RogCAD for Windows customizable color palette:
|