To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 4515
4514  |  4516
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:
  Re: 2nd. Idea for a new feature to help rotation of parts in Ldraw Cad software  [DAT]
 
What about passing axis points to larger models? Each submodel needs to be able to say: 0 use the rotational center of the following part: 1 15 0 50 -34 1 0 0 0 0 -1 0 1 0 part.DAT Then inheritance (not really "inheritance", but whatever) would be (...) (24 years ago, 28-Aug-00, to lugnet.cad)

Message is in Reply To:
  2nd. Idea for a new feature to help rotation of parts in Ldraw Cad software
 
I would like to propose a slightly modified meta command set for the rotation points, based on the idea of Marc Klein. He suggested: 0 ROTATION CENTER x y z 0 ROTATION AXIS x1 y1 z1 x2 y2 z2 In MLCad I would like to use: 0 ROTATION CENTER "Name" x y (...) (24 years ago, 25-Aug-00, to lugnet.cad)

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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR