Snapping pneumatic tubes to new cylinders in LDCad


Snapping pneumatic tubes to new cylinders in LDCad
#1
Hi all,

Its been a while since I posted, but I'm still busy with LDraw!
In a recent model I am building in LDCad I use the new pneumatic cylinder both unofficial parts 19466c01 and 19467c01.
Tubes do not snap to the valves and the piston does not snap to the cylinder.

Is it possible to add this functionality?

Thanks!
Jaco van der Molen
lpub.binarybricks.nl
Reply
RE: Snapping pneumatic tubes to new cylinders in LDCad
#2
(2017-05-08, 8:46)Jaco van der Molen Wrote: Is it possible to add this functionality?

You need to define the snap info ether inside the .dat itself or using a shadow.

For 19466.dat this is for the two tube ends.

Code:
0 !LDCAD SNAP_CYL [gender=M] [caps=one] [secs=R 4 16] [pos=0 -20 -20] [ori=0 0 -1 -1 0 0 0 1 0]
0 !LDCAD SNAP_CYL [gender=M] [caps=one] [secs=R 4 16] [pos=0 -168 -20] [ori=0 0 -1 -1 0 0 0 1 0]

maybe Philo can make subparts, that way you only need to define it once for all parts using pneumatic valve connectors?

and 19467.dat needs
Code:
0 !LDCAD SNAP_INCL [ref=connhole.dat] [ori=0 -1 0 1 0 0 0 0 1]

If you want you can also do the cylinders but I never did those for the other pneumatic parts as they have template/shortcuts.
Reply
RE: Snapping pneumatic tubes to new cylinders in LDCad
#3
Thanks a lot! That works.
If have no idea how to come up with this for the piston though.
Jaco van der Molen
lpub.binarybricks.nl
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 4 Guest(s)