Subject:
|
Re: 2nd. Idea for a new feature to help rotation of parts in Ldraw Cad software
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Sat, 26 Aug 2000 06:41:17 GMT
|
Viewed:
|
649 times
|
| |
| |
Ok more information:
The modification flag is used to allow the user change the coordinates of
the rotation point or not.
E.G.: Rotation points of parts in the library must not be modified by the
user, while in his own parts a user can do what he/she likes.
THIS FLAG DOES NOT HINDER THE USER TO SELECT ANOTHER ROTATION-POINT.
The rotation config was thought to be moreless for editors itself. For MLCad
is contains the last user settings and for library parts it could contain
the most usual rotation point used, but it's still possible to select
another rotation point.
This is the actual meta-command set so far:
0 ROTATION CENTER x y z <mf> "Name"
0 ROTATION AXIS x1 y1 z1 x2 y2 z2 <mf> "Name"
0 ROTATION CONFIG <arp> <vf>
where
"Name" is used to give this point or axis a name which allows to select it
from a list of points or axis.
<mf> is a modification flag which indicates if the point can be modified
from
an editor or not 0 = do not modify, 1 = modify ok
The ROTATION CONFIG will be used in MLCad to save the current config within
the file the parameters are:
<arp> Actual Rotation Point ... which can be
0 = Parts Origin
-1 = Parts Center
-2 = Parts Active Rotation Point
-3 = World Origin
1 .. n = User defined Rotation Point 4 is the first defined, 5 the second ..
<vf> Visible flag for rotation point, if 1 the point will be display,
otherwice not.
For multiple parts 0 to -2 will default to -3
For -2 (Parts Active Rotation Point) to work the parts beeing rotated must
contain a ROTATION CONFIG directive with <arp> set to 1 or higher, otherwice
MLCad will revert to '0'.
There must not be any ROTATION CENTER or ROTATION AXIS command after the
ROTATION CONFIG!
Michael
|
|
Message has 1 Reply:
Message is in Reply To:
15 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|