LPub3D 1.1.0 - A little enhancement and some corrections


Re: LPub3D 1.1.0 - A little enhancement and some corrections
#8
Another small suggestion to enhance the ROTSTEP.

I am currently using a CALLOUT to display a rotation icon in the LEGO-instruction style.

To do so I have made two LDRAW arrows in a subfile:
Code:
0 FILE roticon.ldr
0 ROTICON
0 Icon to indicate a rotation step!
0 Name: roticon.ldr
0 Author: GL
0 Unofficial Model
0 !LPUB ASSEM MODEL_SCALE LOCAL  0.6000
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0
0 ROTSTEP 0 0 0 ABS
0 BUFEXCHG A STORE
0 MLCAD ARROW 0 -70.792 57.474 0 0.83147 0.55557 0 -0.55557 0.83147 0 0 0 1  10 3 15 40  1 35 2 0  1 1
0 MLCAD SKIP_BEGIN
3 1 -83.264 65.8075 0 -72.7384 52.7611 0 -71.1483 57.7121 0
...
4 1 -25.125 63.1245 0 -23.079 65.8833 0 -25.5734 67.55 0 -27.4441 65.0277 0
0 MLCAD SKIP_END
0 MLCAD ARROW 0 -35.208 88.526 0 -0.83147 -0.55557 0 0.55557 -0.83147 0 0 0 1  10 3 15 40  1 35 2 0  1 1
0 MLCAD SKIP_BEGIN
3 1 -22.7359 80.1924 0 -33.2616 93.2389 0 -34.8517 88.2879 0
...
4 1 -80.875 82.8755 0 -82.921 80.1167 0 -80.4266 78.45 0 -78.5559 80.9723 0
0 MLCAD SKIP_END
0 STEP
0 !LPUB NOSTEP
0 BUFEXCHG A RETRIEVE
0 NOFILE

When I need the CALLOUT I added the following code to the LDRAW file:
Code:
0 !LPUB PART BEGIN IGN
0 !LPUB CALLOUT BEGIN
1 0 80 0 0 1 0 0 0 1 0 0 0 1 roticon.ldr
0 !LPUB CALLOUT PLACEMENT TOP LEFT PLI OUTSIDE
0 !LPUB CALLOUT BORDER LOCAL ROUND #55ffff 0.0196849 40 MARGINS 0.0999974 0.149996
0 !LPUB CALLOUT BACKGROUND LOCAL COLOR "#ffffff"
0 !LPUB CALLOUT END

That's a nice workaround, with the only disadvantage that it clutters up the LDRAW file and it looks terrible in MLCAD as in big instructions you have them very often.
Would be great if something 'invisible' could be devised along with the ROTSTEP. i.e. have a custom ROTICON in the file as a subfile that can be used but is inserted not using a CALLOUT
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: LPub3D 1.1.0 - A little enhancement and some corrections - by Gerald Lasser - 2015-07-20, 14:34

Forum Jump:


Users browsing this thread: 14 Guest(s)