LDCad shadow (snapping) update


LDCad shadow (snapping) update
#1
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.
Reply
RE: LDCad shadow (snapping) update
#2
(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.
Jaco van der Molen
lpub.binarybricks.nl
Reply
RE: LDCad shadow (snapping) update
#3
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?)

   
Reply
RE: LDCad shadow (snapping) update
#4
(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
Reply
RE: LDCad shadow (snapping) update
#5
(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.
Reply
RE: LDCad shadow (snapping) update
#6
(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]
Reply
RE: LDCad shadow (snapping) update
#7
(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. :-)
Reply
RE: LDCad shadow (snapping) update
#8
(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
Reply
RE: LDCad shadow (snapping) update
#9
(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.
Reply
RE: LDCad shadow (snapping) update
#10
(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.
Reply
RE: LDCad shadow (snapping) update
#11
(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.

25269, Tile 1x1 Corner Round, doesn't have snap data.
Reply
RE: LDCad shadow (snapping) update
#12
(2019-12-10, 22:21)Orion Pobursky Wrote: 25269, Tile 1x1 Corner Round, doesn't have snap data.

Seems I missed that one, I've added

Code:
0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=R 6 4] [pos=0 8 0]

to s\25269s01.dat


edit: Wait this one is from the 1902 library, the above update is for the 1901 stuff only. So more will be missing Smile
Reply
RE: LDCad shadow (snapping) update
#13
(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.

35787, Tile 2 x 2 Triangular, behaves odd when mirroring. Here's a code snippet:
Code:
1 72 -80 -128 -20 -1 0 0 0 1 0 0 0 -1 18671.dat
1 71 -80 -96 0 1 0 0 0 1 0 0 0 1 32803.dat
1 72 -90 -112 40 0 0 -1 0 1 0 1 0 0 2462.dat
1 0 -80 -104 10 1 0 0 0 1 0 0 0 1 15068.dat
1 0 -80 -120 50 1 0 0 0 1 0 0 0 1 35787.dat

When I mirror on X, the 35787 doesn't mirror as I would expect to get this:
Code:
1 72 80 -128 -20 -1 0 0 0 1 0 0 0 -1 18671.dat
1 71 80 -96 0 1 0 0 0 1 0 0 0 1 32803.dat
1 72 90 -112 40 -1 0 0 0 1 0 0 0 -1 2462.dat
1 0 80 -104 10 1 0 0 0 1 0 0 0 1 15068.dat
1 0 80 -120 50 0 0 -1 0 1 0 1 0 0 35787.dat
Reply
RE: LDCad shadow (snapping) update
#14
(2019-12-10, 22:50)Roland Melkert Wrote: edit: Wait this one is from the 1902 library, the above update is for the 1901 stuff only. So more will be missing  Smile

Sorry, I'm not checking the update, just reporting problems when I find them.
Reply
RE: LDCad shadow (snapping) update
#15
(2019-12-10, 23:18)Orion Pobursky Wrote: 35787, Tile 2 x 2 Triangular, behaves odd when mirroring. Here's a code snippet:
...
When I mirror on X, the 35787 doesn't mirror as I would expect to get this:
...

It misses mirroring info, i've added:
Code:
0 !LDCAD MIRROR_INFO [oriCor=0 0 -1 0 1 0 1 0 0] [inheritable=true]
to s\35787s01.dat
Reply
RE: LDCad shadow (snapping) update
#16
(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.

98834, Vehicle Spoiler 2 x 4 with Handle, doesn't have any snap info.
Reply
LDCad shadow (snapping) update 2
#17
I finished defining information for the 1902 library and also processed the reported issues above and trough email.

Thanks to Philo for sending me a whole bunch of predefined files.

Download link is the same.

http://www.melkert.net/action/download/shadow.sf

bugs and or requests are welcome.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 13 Guest(s)