Download ODEON Room Acoustics Program
Transcript
;environment - then coordinate values will be the same in the Editor as inside the 3DView in ODEON .....model data....... .....model data....... ### CoordSys statement The CoordSys statement is used if you wish to redefine the orientation or the coordinate system in which the geometry was modelled. The statement is typically used if the geometry was ‘by accident’ modelled in an orientation different from the one assumed by ODEON or if it was imported from a CAD drawing where the orientation may also be different. To obtain the easiest operation inside ODEON the following orientation should be used (using a concert hall as the example): Z X-axis pointing towards the audience Y-axis pointing to the right as seen from the audience Z-axis pointing upwards O X Y The syntax is: CoordSys <X> <Y> <Z> where X, Y, Z indicate which axis should be used as the x, y and z axis inside ODEON. X, Y and Z may also have a sign to indicate that the axis should point in the opposite direction. Example 1, the default orientation (which is assumed by ODEON if the CoordSys statement is not used in the geometry file): CoordSys X Y Z Example 2, changing the direction of the X-axis: CoordSys -X Y Z Example 3, Swapping the X and the Z-axis CoordSys Z Y X Example 4, The CoordSys statement may be used more than once in the same .par file: ### CoordSys -X Y Z ;e.g. if the X axis was inverted in imported model data .....model data....... .....model data....... ;resetting the coordinate system to the default CoordSys X Y Z ; model data appended in the ODEON editor / modelling environment ;it is most practical if using the default Coordinate system when modelling in the ODEON ;environment - then coordinate system will have the same orientation in the ODEON editor as well as in the 3DView inside ODEON. .....model data....... .....model data....... ### User coordinate system The UCS command is mostly there for compatibility with previous versions of ODEON – the coordinate manipulation functions MTranslate, MRotateX, MRotateY, MRotateZ, MScale, MPop and MReset included from version 4.21 allow far more flexibility. For your own sanity it is not adviceable to mix the UCS method with the M-family method. The UCS command must follow the syntax: UCS <TranslateX><TranslateY><TranslateZ><RotateZ> App-30