Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Re: LPub Rotation Step angle woes
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Tue, 4 Nov 2008 01:18:38 GMT
|
Viewed:
|
8084 times
|
| |
| |
In lugnet.cad.dev.mac, Jim DeVona wrote:
|
In lugnet.cad.dev.mac, Allen Smith wrote:
|
Im working on rotation steps, and Im not seeing LPub do what I expect it
to do.
I have the following file:
1 2 0 0 0 1 0 0 0 1 0 0 0 1 3865.dat
0 ROTSTEP 0 0 0 ABS
1 4 -150 -24 70 1 0 0 0 1 0 0 0 1 3005.dat
0 ROTSTEP 0 0 0 REL
|
|
That should give me:
- A step with a front view
- A step with the default 3D angle.
But instead I get the following:
0 ROTSTEP 0 0 0 ABS (should be a head-on front view?)
|
|
0 ROTSTEP 0 0 0 REL (should MLCads default 3D angle, z=0 y=45 x=23,
right?)
|
|
Am I completely missing something here? My output is not oriented the same
way the pictures Jim posted in his tutorial were.
I am using LPub 4.0.0.1 with LDView 3.2.
|
|
snip
|
I probably misuse ROTSTEP, too (but I put it to good misuse). I usually put
ROTSTEPs immediately after STEP commands (at the top of the file, for the
first step) and before the parts I intend to rotate. So, my version of the
file might look like this:
0 ROTSTEP 0 0 0 ABS
1 2 0 0 0 1 0 0 0 1 0 0 0 1 3865.dat
0 STEP
0 ROTSTEP 0 0 0 REL
1 4 -150 -24 70 1 0 0 0 1 0 0 0 1 3005.dat
|
|
|
I prefer the description as presented by Allen.
1 2 0 0 0 1 0 0 0 1 0 0 0 1 3865.dat
0 ROTSTEP 0 0 0 ABS
1 4 -150 -24 70 1 0 0 0 1 0 0 0 1 3005.dat
0 ROTSTEP 0 0 0 REL
ROTSTEP is STEP with rotation,and steps are bottom of current step (as well as
top of next step (after the first step)). So, ROTSTEPS rotate the model for the
parts preceding the ROTSTEP.
|
Or, in the case of LPub multi steps, I put the ROTSTEP immediately after the
multi step begin statement (which goes immediately after multi step end,
which goes immediately after the STEP...).
Hopefully someone else can STEP in and clarify. Im afraid I use a lot of
voodoo to insert these commands.
Jim
|
|
|
Message has 1 Reply: | | Re: LPub Rotation Step angle woes
|
| (...) Well, I've definitely been doing it wrong! I guess it's just coincidence that my approach renders OK in LPub. Plus, Bricksmith doesn't treat rotsteps as steps - yet! Jim (16 years ago, 4-Nov-08, to lugnet.cad, FTX)
|
Message is in Reply To:
| | Re: LPub Rotation Step angle woes
|
| (...) Hi, Allen. Here's what I see when I open your example in LPub 4.0.0.1: (2 URLs) I'm not sure why the difference, but I'll list some possible factors. Side effects of other LPub options, e.g. to hide PLI LDView version (I use a "4.0 Pre-Alpha" (...) (16 years ago, 3-Nov-08, to lugnet.cad.dev.mac, FTX)
|
12 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
|
|
|
|