02.05.2014 Views

Download - Odeon

Download - Odeon

Download - Odeon

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The right side vertical points in Dome are stored in PlistA<br />

The left side vertical points in Dome are stored in PlistB<br />

In the special case where the revolution angle is 180°, all points are stored in PlistA and the<br />

number of vertical subdivisions is stored in ONVert.<br />

The example shown was generated with the following code:<br />

###<br />

const N 16<br />

const R 15<br />

Dome 1 N R 270 This is a dome<br />

###<br />

Hint! The dome can be made elliptical, using the MScale statement.<br />

The Dome2 statement<br />

The Dome2 statement is a Dome shell of the calotte type, where the<br />

vertical revolution angle is not necessary 90°. Rather then<br />

specifying the dome by a revolution angle, it is specified by the<br />

width and height. Dome2 may typically be used for modelling<br />

dome shaped ceilings.<br />

X<br />

Z<br />

O<br />

Y<br />

The syntax for Dome2 is:<br />

Dome2<br />

<br />

A unique number from 1 to 2.147.483647 for identification of the first point and surface in the<br />

Cone. Using the same number, but with negative sign defines the surface and its mirrored<br />

counterpart in the XZ-pane (Y = 0). A Cone will take up several point- and surface numbers,<br />

which must all be unique.<br />

<br />

Specifies the number of surfaces in one horizontal ring of the dome, around 16 to 24 surfaces<br />

per ring is suggested. ODEON will automatically calculate the number of subdivisions in the<br />

vertical level. If the revolution angle is 180° the number is stored in the ONVert variable would<br />

have been 9 in the example above. The ONVert variable may help when connecting a Dome2 to a<br />

Cylinder2 in order to specify the correct number of surfaces in the cylinder.<br />

<br />

Width at the beginning of the dome. The width must always be greater than zero.<br />

<br />

The Height must be different from zero. If the height is less than zero, the orientation of the<br />

dome is inverted. Height must be different from zero and less or equal to ½*Width.<br />

<br />

Revangle must be within the range +/-360° and different from zero. If RevAngle is 180°, a<br />

half-cone is generated, if its 360° a full cone is generated. Positive revolution angles are<br />

defined counter clockwise.<br />

Connection points:<br />

The right side vertical points in Dome2 are stored in PlistA<br />

The left side vertical points in Dome2 are stored in PlistB<br />

In the special case where the revolution angle is 180°, all points are stored in PlistA and the<br />

number of vertical subdivisions is stored in ONVert.<br />

The example shown was generated with the following code:<br />

App-38

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!