0 ROTATION - meanings


0 ROTATION - meanings
#1
I played a little bit with MLCad and found the following. Maybe it is also interesting for some else.

Code:
0 ROTATION CENTER 0 0 0 1 "Custom1"
0 ROTATION CENTER 2 3 4 1 "New Custom"

There can be several lines like above in your file, depending on how many rotation points you have defined.
The first three numbers are the xyz values of the rotation point
The fourth number indicates the "Allow on-screen change"
The string at the end is the name of that rotation point.


Code:
0 ROTATION CONFIG 1 0

There is only one line like the above with the parameter "CONFIG".
The first number indicates the current aktive point from above list of defined rotatin points.
The second number indicates "Show rotation point"
Reply
Re: 0 ROTATION - meanings
#2
There are a few more things to note:

0 ROTATION CENTER x y z allow_change "name"

The quote-marks are mandatory, and names are required to be unique.


0 ROTATION CONFIG id visible

'id' is either the 1-based index into the array of ROTATION CENTER lines, or else one of the following values:
0 : part origin
-1 : part centre
-2 : part rotation point - this is the first ROTATION CENTER, or the part's origin if there are no CENTER lines
-3 : world origin - ie (0, 0, 0)
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)
Forum Jump:


Users browsing this thread: 1 Guest(s)