(2018-03-05, 23:46)Roland Melkert Wrote:(2018-03-05, 20:02)Johann Eisner Wrote: 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
The whole empty steps things comes from LPub ignoring duplicate step metas, because many people "abuse" the meta by having a normal step followed by a rotstep.
I think the main problem here is people don't realize the step meta is an indication of the END of a step not the beginning.
Those double steps, and thus empty steps, are very annoying in editors.
Or am I missing a genuine reason to have double step metas?
You are right Roland
The whole thing works also without the empty steps.
This code for example:
0 Untitled
0 Name: Test.ldr
0 Author: Eisner Johann [technicbasics]
0 Unofficial Model
0 !LPUB MULTI_STEP BEGIN
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0
1 4 0 0 0 0 -1 0 1 0 0 0 0 1 32316.dat
1 1 -20 0 40 -1 0 0 0 -1 0 0 0 1 6558.dat
0 STEP
1 2 -20 0 0 0 -1 0 1 0 0 0 0 1 32316.dat
0 STEP
0 BUFEXCHG A STORE
0 BUFEXCHG A RETRIEVE
0 ROTSTEP 0 180 0 REL
1 4 -40 0 40 0 -1 0 0 0 -1 1 0 0 32316.dat
0 STEP
1 7 -60 -40 40 1 0 0 0 0 -1 0 1 0 87082.dat
1 7 -60 40 40 1 0 0 0 0 -1 0 1 0 87082.dat
0 STEP
0 !LPUB MULTI_STEP END
0
Generate this modell:
If nothing goes right, go left.