Status of developing / Entwicklungsstatus: final beta
Macro object for calculating the position of any node in 3D after any transformation of the coordinate system. This object can not be placed in a project file. It is for programmers usage only! The problem is known to all ambitioned programmers: Rotation, offset and scaling in 3D is done very easily by the transformation commands like ROTx, ADD or MULx. If you script the 2D appearance with small effort by a PROJECT2 command you are not able to position the exact hotspots at the corners of the 2D boundary of the projected model. This macro can this calculate for you. The principle is easy. You list all done transformations into one multidimensional array and into a second one all the edges, generated after all these transformations and you want to calculate now. Call the macro in the following and it returns the coordinates of all assigned edges related to the objects origin without any transformations needed. You get their real positions in space. This information can not only be used by positioning of hotspots, but also e.g. for calculating the distance of any corner of the model to story elevation or any other basis. The macro can be called out of any script context. 2D-, 3D, parameter script: any is possible.
Last corrections in macro and examples. Manual extended.
Created some more examples. Manual completed. Inserted switch to return 2D (X/Y) coordinates only.
Found the mathematical solution by writing for www.selfgdl.com. First objects including this "technology". Starting to continue TheProfile.GSM.
Dead end after lots of GDL code development.
Finished macro version. Sent to my preferred beta tester.
Bugs: none known.Some minor bugs in manual chapter 6ff.
To do: no more ideas in the moment.