LDraw.org Discussion Forums
LDCad shadow (snapping) update - 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 shadow (snapping) update (/thread-23773.html)

Pages: 1 2


LDCad shadow (snapping) update - Roland Melkert - 2019-12-01

Hello all,

I've finally finished adding snap/mirror information to the 1901 library.

Still have to process 1902 though  Blush
update: It now includes 1902 and some extra donated/requested parts.

Download:
http://www.melkert.net/action/download/shadow.sf
And replace the one which came with 1.6c (close the program first)
Which is located in the seeds subfolder at the same place as the main executable.

Some QA would be appreciated especially concerning mirroring, as I tend to forget about that.


RE: LDCad shadow (snapping) update - Jaco van der Molen - 2019-12-03

(2019-12-01, 21:24)Roland Melkert Wrote: Hello all,

I've finally finished adding snap/mirror information to the 1901 library.

Still have to process 1902 though  Blush

Download:
http://www.melkert.net/action/download/shadow.sf
And replace the one which came with 1.6c (close the program first)
Which is located in the seeds subfolder at the same place as the main executable.

Some QA would be appreciated especially concerning mirroring, as I tend to forget about that.

Thanks! I will see if I can test some things.


RE: LDCad shadow (snapping) update - N. W. Perry - 2019-12-06

I don't suppose this is related to the update, but I couldn't get anything with a stud to snap to either the open end of 4349.dat or the center hole in the back of 4598.dat. Both those parts do have cylinder snap metas in those locations, but they don't seem to recognize a simple stud-to-antistud connection. (The 4598 has what you've called a "barrel snap"—what's that?)

   


RE: LDCad shadow (snapping) update - Roland Melkert - 2019-12-06

(2019-12-06, 6:55)N. W. Perry Wrote: I don't suppose this is related to the update, but I couldn't get anything with a stud to snap to either the open end of 4349.dat or the center hole in the back of 4598.dat. Both those parts do have cylinder snap metas in those locations, but they don't seem to recognize a simple stud-to-antistud connection. (The 4598 has what you've called a "barrel snap"—what's that?)

The horn info uses 6.5 radius so studs (R=6) won't match. I'm not entirely sure why I gave ithat ratio as I know the reallife use of the part. Probably because the drawn shape doesn't seem to accept a stud (no bevel for it).

I'll improve the info to ignore the shape and accept it anyway.

barrel snap is for the 2x2 barrel / container parts which snap to 2x2 anti studs but don't have actual studs them selves, e.g. 2489


RE: LDCad shadow (snapping) update - Orion Pobursky - 2019-12-06

(2019-12-01, 21:24)Roland Melkert Wrote: Hello all,

I've finally finished adding snap/mirror information to the 1901 library.

Still have to process 1902 though  Blush

Download:
http://www.melkert.net/action/download/shadow.sf
And replace the one which came with 1.6c (close the program first)
Which is located in the seeds subfolder at the same place as the main executable.

Some QA would be appreciated especially concerning mirroring, as I tend to forget about that.

I found this before and forgot about it. The snapping info 95199 (Minifig Gun Pistol Two Barrel) is incomplete. The grip has info but the studs on the muzzle ends and the middle part of the lower barrel does not.


RE: LDCad shadow (snapping) update - Roland Melkert - 2019-12-06

(2019-12-06, 19:35)Orion Pobursky Wrote: I found this before and forgot about it. The snapping info 95199 (Minifig Gun Pistol Two Barrel) is incomplete. The grip has info but the studs on the muzzle ends and the middle part of the lower barrel does not.

Thanks, kinda hate those off grid things. Wish part authors at least made a note above a type 1 line with the same orientation and position Dodgy

Code:
0 !LDCAD SNAP_CYL [gender=M] [caps=B] [secs=R 4 4.5] [slide=true] [pos=0 -21.99 -30.749] [ori=0 0 1 -0.898784 -0.438392 0 0.438392 -0.898784 0] [grid=2 1 11.5 0]
0 !LDCAD SNAP_CYL [gender=M] [caps=two] [secs=R 4 11.5] [slide=true] [pos=0 -12.784143 -11.874356] [ori=0 0 1 0.898784 0.438392 0 -0.438392 0.898784 0]



RE: LDCad shadow (snapping) update - N. W. Perry - 2019-12-06

(2019-12-06, 18:31)Roland Melkert Wrote: The horn info uses 6.5 radius so studs (R=6) won't match. I'm not entirely sure why I gave ithat ratio as I know the reallife use of the part. Probably because the drawn shape doesn't seem to accept a stud (no bevel for it).

I'll improve the info to ignore the shape and accept it anyway.

barrel snap is for the 2x2 barrel / container parts which snap to 2x2 anti studs but don't have actual studs them selves, e.g. 2489

Ah, so if I just change the radius of that segment to 6, it'll work? By the way, here's your explanation of the 6.5 radius (though I'm not sure it explains the choice of that precise number): 0 //6.5 is a placeholder to ensure only long enough things will snap to the internals.

(2019-12-06, 18:31)Roland Melkert Wrote: barrel snap is for the 2x2 barrel / container parts which snap to 2x2 anti studs but don't have actual studs them selves, e.g. 2489

I see; I didn't know that was an available connection! So I would still have to add another meta for the antistud in the center (and another for the two on the bottom of the part, if I needed those)? Or is it intentional not to include these snapping points on the underside of plate parts?

Anyway, these both sounds like things I can fix easily myself. :-)


RE: LDCad shadow (snapping) update - Orion Pobursky - 2019-12-06

(2019-12-06, 19:57)Roland Melkert Wrote: Thanks, kinda hate those off grid things. Wish part authors at least made a note above a type 1 line with the same orientation and position Dodgy

Code:
0 !LDCAD SNAP_CYL [gender=M] [caps=B] [secs=R 4 4.5] [slide=true] [pos=0 -21.99 -30.749] [ori=0 0 1 -0.898784 -0.438392 0 0.438392 -0.898784 0] [grid=2 1 11.5 0]
0 !LDCAD SNAP_CYL [gender=M] [caps=two] [secs=R 4 11.5] [slide=true] [pos=0 -12.784143 -11.874356] [ori=0 0 1 0.898784 0.438392 0 -0.438392 0.898784 0]

Awesome, thanks


RE: LDCad shadow (snapping) update - Roland Melkert - 2019-12-06

(2019-12-06, 20:59)N. W. Perry Wrote: Ah, so if I just change the radius of that segment to 6, it'll work? By the way, here's your explanation of the 6.5 radius (though I'm not sure it explains the choice of that precise number): 0 //6.5 is a placeholder to ensure only long enough things will snap to the internals.

O, I remember it's so e.g an antenna will snap all the way trough from one side but not the other.


RE: LDCad shadow (snapping) update - Orion Pobursky - 2019-12-06

(2019-12-01, 21:24)Roland Melkert Wrote: Hello all,

I've finally finished adding snap/mirror information to the 1901 library.

Still have to process 1902 though  Blush

Download:
http://www.melkert.net/action/download/shadow.sf
And replace the one which came with 1.6c (close the program first)
Which is located in the seeds subfolder at the same place as the main executable.

Some QA would be appreciated especially concerning mirroring, as I tend to forget about that.

The pinholes on 55981 and 55982 have no snap info.