LDraw.org Discussion Forums
Ldcad new Shadows objects - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html)
+--- Thread: Ldcad new Shadows objects (/thread-23366.html)



Ldcad new Shadows objects - Victor Di Rienzo - 2019-04-23

[Image: bX63FOW.png]

This objects are:
  • 57046a.dat
  • 57046b.dat
  • 57046c.dat
  • 57046d.dat
  • 57046e.dat
  • 57046f.dat
This is my first time i make one, here are the files to be tested. i dont know if 0 !LDCAD SNAP_INCL [ref=connhole.dat]  is the correct option for this kind of object.

Code:
0 LDCad info for "57046f.dat Technic Panel Flat Sheet 10 x 10 Quarter Ring with  4 Holes"
0 Author: Tatubias
0 !LICENSE Free for non-commercial use.

0 //Conn holes
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 160] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 180] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=160 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=180 0 0] [ori=1 0 0 0 1 0 0 0 1]


Code:
0 LDCad info for "57046d.dat Technic Panel Flat Sheet  8 x  8 Circle with  4 Holes"
0 Author: Tatubias
0 !LICENSE Free for non-commercial use.

0 //Conn holes
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-20 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-40 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-60 0 0] [ori=1 0 0 0 1 0 0 0 1]

Code:
0 LDCad info for "57046e.dat Technic Panel Flat Sheet 10 x 10 Circle with  5 Holes"
0 Author: Tatubias
0 !LICENSE Free for non-commercial use.

0 //Conn holes
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-20 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-40 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-60 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-80 0 0] [ori=1 0 0 0 1 0 0 0 1]

Code:
0 LDCad info for "57046a.dat Technic Panel Flat Sheet  8 x 17 Triangle with 10 Holes"
0 Author: Tatubias
0 !LICENSE Free for non-commercial use.

0 //Conn holes
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-20 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-40 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-60 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 80] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 100] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 120] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=200 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=220 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=240 0 0] [ori=1 0 0 0 1 0 0 0 1]

Code:
0 LDCad info for "57046b.dat Technic Panel Flat Sheet 11 x 23 Triangle with 10 Holes"
0 Author: Tatubias
0 !LICENSE Free for non-commercial use.

0 //Conn holes
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-60 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-80 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-100 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 140] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 160] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 180] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=280 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=300 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=320 0 0] [ori=1 0 0 0 1 0 0 0 1]

Code:
0 LDCad info for "57046c.dat Technic Panel Flat Sheet 15 x 33 Triangle with 10 Holes"
0 Author: Tatubias
0 !LICENSE Free for non-commercial use.

0 //Conn holes
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-100 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-120 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=-140 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 220] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 240] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=0 0 260] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=440 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=460 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_INCL [ref=connhole.dat] [pos=480 0 0] [ori=1 0 0 0 1 0 0 0 1]

if it should be updated let me know so we can have this new snap shadows files.


RE: Ldcad new Shadows objects - Roland Melkert - 2019-04-23

(2019-04-23, 1:08)tatubias Wrote: if it should be updated let me know so we can have this new snap shadows files.

Thanks for trying, but these snapping definitions could be done much easier with normal SNAP_CYL meta's.

e.g 57046d.dat

Code:
0 !LDCAD SNAP_CYL [gender=F] [caps=none] [secs=R 7.5 2] [pos=-60 2 0] [grid=4 1 20 0]

These holes are bigger then a normal pinhole so they won't snap to pins.

But I'm not sure how these parts are usually used in reallife, so you might want to change the above 7.5 into 6 to force them to snap to pins.


RE: Ldcad new Shadows objects - Victor Di Rienzo - 2019-04-24

(2019-04-23, 19:16)Roland Melkert Wrote: Thanks for trying, but these snapping definitions could be done much easier with normal SNAP_CYL meta's.

e.g 57046d.dat

Code:
0 !LDCAD SNAP_CYL [gender=F] [caps=none] [secs=R 7.5 2] [pos=-60 2 0] [grid=4 1 20 0]

These holes are bigger then a normal pinhole so they won't snap to pins.

But I'm not sure how these parts are usually used in reallife, so you might want to change the above 7.5 into 6 to force them to snap to pins.




Thank you very much i make a little modification about your code i left them like this to make easy the snaping while building a model.
Code:
0 !LDCAD SNAP_CYL [gender=F] [caps=none] [secs=R 6 2]  [pos=0 0 0] [ori=1 0 0 0 1 0 0 0 1]



This odd pieces are used in the lego 9686 educational kit. i use them to teach kids about areo dynamics.

btw, every time i use it i learn more things. i love the software


[Image: 0vIpKrQ.png]


[Image: 6JsvaGq.png]



[Image: 55Ogki3.png]


RE: Ldcad new Shadows objects - Victor Di Rienzo - 2019-04-25

yesterday i keep thinking if we can add both snaping option to the same hole. R 6 and R 7.5

something like that. so if you use an axel or connector will snap with R 6 and if there its anything wider use R7 i dont know any pieces that uses R7 ,


Code:
0 !LDCAD SNAP_CYL [gender=F] [caps=none] [secs=R 6 2]  [pos=0 0 0] [ori=1 0 0 0 1 0 0 0 1]
0 !LDCAD SNAP_CYL [gender=F] [caps=none] [secs=R 7.5 2] [pos=0 0 0] [ori=1 0 0 0 1 0 0 0 1]



i left it with R6 in all the models to be easy for me to make snap thoes part to axles and connectors.