LDraw.org Discussion Forums
[LDCad] Part Snapping missing/errors - 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] Part Snapping missing/errors (/thread-23807.html)

Pages: 1 2 3 4 5 6 7 8 9


RE: Part Snapping missing/errors - Gerald Lasser - 2020-04-02

(2020-04-02, 10:59)Magnus Forsberg Wrote: ??
Can't find that number.

Typo: 30201


RE: Part Snapping missing/errors - Roland Melkert - 2020-04-02

(2020-04-02, 15:04)Gerald Lasser Wrote: Typo: 30201

These kinds of mistakes happen when I go trough too many parts in one go Smile


RE: Part Snapping missing/errors - N. W. Perry - 2020-04-04

Round tile 2x2 (14769.dat) is missing the connection on the center underside stud.

For that matter, I've noticed that snapping info is not generally included for any of the in-between underside studs/tubes on 2x or larger parts (not to mention the space between studs on the top surface). I'm sure this is intentional and I can fully understand the reason.

But I think it's worth including for the 2x2 round tile, since having that connection is fundamental to the (re-)design of the part.


RE: Part Snapping missing/errors - Roland Melkert - 2020-04-04

(2020-04-04, 17:42)N. W. Perry Wrote: Round tile 2x2 (14769.dat) is missing the connection on the center underside stud.

For that matter, I've noticed that snapping info is not generally included for any of the in-between underside studs/tubes on 2x or larger parts (not to mention the space between studs on the top surface). I'm sure this is intentional and I can fully understand the reason.

But I think it's worth including for the 2x2 round tile, since having that connection is fundamental to the (re-)design of the part.

Yes those are missing on purpose.

The main reason being the LDCad snapping engine only searches for a single connection pair when dragging stuff around. So the middle 6ldu hole would make it snap 'wrong' 95% of the time.

That said, you might be right about this part being used more often in that way.

This is the exact reason I'm considering adding a 'priority' property to the snapping metas in 1.7, which should reduce the false matches considerably.


RE: Part Snapping missing/errors - Roland Melkert - 2020-04-05

I've processed all up to post #34

It will be in the def shadow of 1.6d


RE: Part Snapping missing/errors - N. W. Perry - 2020-04-13

4x4 Dome (86500.dat) has no info. I put anti-studs at all four corners (under the notches), but I'm not sure that's the right approach. You may need more studs inside the rim, or maybe the whole thing has to act as one giant cylinder snap?


RE: Part Snapping missing/errors - Roland Melkert - 2020-04-13

(2020-04-13, 6:32)N. W. Perry Wrote: 4x4 Dome (86500.dat) has no info. I put anti-studs at all four corners (under the notches), but I'm not sure that's the right approach. You may need more studs inside the rim, or maybe the whole thing has to act as one giant cylinder snap?

The corners is probably good enough.

I've also added the ring, so if something happens to use the same radius it will snap to that too.

Code:
0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=R 6 4] [grid=C 2 C 2 60 60]
0 !LDCAD SNAP_CYL [gender=F] [caps=A] [secs=R 38 4] [pos=0 -4 0] [ori=1 0 0 0 -1 0 0 0 -1]
0 !LDCAD SNAP_CYL [gender=M] [caps=one] [secs=R 39.5 4] [pos=0 -4 0] [ori=1 0 0 0 -1 0 0 0 -1]



RE: Part Snapping missing/errors - N. W. Perry - 2020-04-18

Part 30046 (window lattice) snap just needs to be nudged -1 on Y. (The matching window frame 30044 is correct.)


RE: Part Snapping missing/errors - N. W. Perry - 2020-04-29

Part 4740 has overlapping cylinder snaps, one in the part and one in the sub-part. (Neither is quite correct for this part's weird dimensions; the cylinder sections should be [ R 6 5.3  R 4 6.7 ].)


RE: Part Snapping missing/errors - N. W. Perry - 2020-05-02

So I've got a few more in here:

  • Wheel rim 11208 has no snap info.
  • Inverted dome 15395 has no snap info.
  • 95109 could use a cylinder snap on the non-pointy section. However, that may be getting renumbered as a subpart.
  • EDIT: The various 90462 (Egyptian headdress) parts don't have bottom snap info (I guess because it's a tube prim)