LPub & ROTSTEP - skips rotation step


RE: LPub & ROTSTEP - skips rotation step
#4
(2018-03-05, 16:15)tom alphin Wrote: Hello all,
I have what I hope to be a simple question... I'm using LPub to make instructions for a large 10k piece model.  I'm well aware of the ROTSTEP command, which was critical in ensuring the right perspective at all times.

The problem is that I would like to add a completely blank step showing just the rotation action, so the reader can see the new perspective *before* adding the parts for the next step.  I tried the following seemingly obvious schema, but the extra "step" is being discarded. - I can only assume that LPub has logic to ignore "Step" commands where no parts were added.

Code:
0 STEP
0 ROTSTEP 30 -60 0 ABS
0 !LPUB ASSEM MODEL_SCALE LOCAL  0.25000
0 !LPUB INSERT ROTATE_ICON OFFSET 0.5 0.5
0 STEP
0 !LPUB ASSEM MODEL_SCALE LOCAL  0.25000
1 0 -2540 -152 640 0 0 1 0 1 0 -1 0 0 snotpanel12.ldr
1 0 -2540 -152 -400 0 0 1 0 1 0 -1 0 0 snotpanel10.ldr
1 0 -2540 -152 -200 0 0 1 0 1 0 -1 0 0 snotpanel10.ldr
1 0 -2540 -152 0 0 0 1 0 1 0 -1 0 0 snotpanel10.ldr
1 0 -2540 -152 200 0 0 1 0 1 0 -1 0 0 snotpanel10.ldr
1 0 -2540 -152 400 0 0 1 0 1 0 -1 0 0 snotpanel10.ldr
0 STEP

Help appreciated!

Sincerely,
---tom


Hi Tom

Both ways lead to the success.

For Philippe's way you need this code for example:

0 STEP
0 ROTSTEP 0 180 0 REL
0 BUFEXCHG A STORE
0 BUFEXCHG A RETRIEVE
0 STEP

Johann
If nothing goes right, go left.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: LPub & ROTSTEP - skips rotation step - by Johann Eisner - 2018-03-05, 20:02

Forum Jump:


Users browsing this thread: 1 Guest(s)