[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) |
RE: Part Snapping missing/errors - Jaco van der Molen - 2023-03-24 4599a tap does not snap to 4740 dish 2x2 inverted at the top, does work at the bottom? I was trying to achieve the one with the red arrows to create a lamp :-) RE: Part Snapping missing/errors - Roland Melkert - 2023-03-24 (2023-03-24, 6:51)Jaco van der Molen Wrote: 4599a tap does not snap to 4740 dish 2x2 inverted at the top, does work at the bottom? The hole was capped for some reason, fix: Code: 0 LDCad shadow info for "~Dish 2 x 2 Inverted without Convex Surface" RE: Part Snapping missing/errors - Jaco van der Molen - 2023-03-27 44861 is missing info at the bottom like a normal 1x2 plate for 2 studs. Add 0 !LDCAD SNAP_INCL [ref=3023.dat] ? RE: Part Snapping missing/errors - Jaco van der Molen - 2023-04-05 79389 Bracket 1x1-2x1 down is missing info at the bottom of the 1x1 plate part Could be Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=S 6 4] [pos=0 8 0] derived from 36841 Its couterpart bracket 1x1-2x1 up 73825 is missing this connection info too. Could be: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=S 6 4] [pos=0 8 0] derived from 36840 RE: Part Snapping missing/errors - Florent Faramond - 2023-04-18 (2023-03-23, 18:30)Roland Melkert Wrote: Adding it to the new pin primitive should fix it for all in one go. Hello, The same goes for 'confric10' I guess. Do I have to open a GIT issue? RE: Part Snapping missing/errors - Florent Faramond - 2023-04-18 Hello, 87079: Snaps with the stud at the midlle are missing. I added this line in 87079s01.dat: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=R 6 4] [pos=0 8 0] [grid=C 3 C 1 20 20] RE: Part Snapping missing/errors - Florent Faramond - 2023-04-18 44861: Snaps are missing. I added for test this line in 44861.dat, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=S 6 4] [pos=0 8 0] [grid=C 2 1 20 0] RE: Part Snapping missing/errors - Florent Faramond - 2023-04-18 79194: Snaps are missing. I added for test this line in 79194.dat, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=M] [caps=one] [secs=R 4 20] [pos=10 10 0] [ori=0 1 0 -1 0 0 0 0 1] RE: Part Snapping missing/errors - Rene Rechthaler - 2023-04-18 Does any Connectivity for 4mm bars (10LDU diameter) exist? Maybe for the floating boat hulls and the weighed keel tab. RE: Part Snapping missing/errors - Florent Faramond - 2023-04-18 61332: Snaps are missing. I added for test this line in 61332.dat, it seems to work: Code: 0 !LDCAD SNAP_INCL [ref=3673.dat] RE: Part Snapping missing/errors - Florent Faramond - 2023-04-18 78258: Snaps are missing. I added for test this line in 78258.dat, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=M] [caps=none] [secs=R 4 16 R 6 8 R 4 16] [slide=true] [pos=0 20 0] RE: Part Snapping missing/errors - Florent Faramond - 2023-04-19 86876: Snaps are missing. I added for test this line in 86876.dat, it seems to work: Code: 0 !LDCAD SNAP_INCL [ref=s\3004s01.dat] RE: Part Snapping missing/errors - Florent Faramond - 2023-04-19 69729: Snaps are missing. I added for test this line in 69729s01.dat, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=R 6 4] [pos=0 8 0] [grid=C 6 C 2 20 20] RE: Part Snapping missing/errors - Roland Melkert - 2023-04-20 (2023-04-18, 6:03)Florent Faramond Wrote: The same goes for 'confric10' I guess. I'd prefer to use this thread as the main contact point. RE: Part Snapping missing/errors - Roland Melkert - 2023-04-20 (2023-04-18, 16:01)Rene Rechthaler Wrote: Does any Connectivity for 4mm bars (10LDU diameter) exist? Maybe for the floating boat hulls and the weighed keel tab. Any pin using a 10ldu male cylinder meta should snap to it, if its counter part has 10ldu female ones. Not sure how many parts have the appropriate meta information in the current shadow though. RE: Part Snapping missing/errors - Rene Rechthaler - 2023-04-20 (2023-04-20, 18:47)Roland Melkert Wrote: Any pin using a 10ldu male cylinder meta should snap to it, if its counter part has 10ldu female ones. Do partial cylinders also count? My motor has only 2x 1-8cylo in the front... And the boatside pegs are too short, thats why I defined the connectivity (is that ok?) RE: Part Snapping missing/errors - Roland Melkert - 2023-04-20 (2023-04-20, 19:05)Rene Rechthaler Wrote: Do partial cylinders also count? My motor has only 2x 1-8cylo in the front... LDCad uses pattern matching for its snapping like keys and keyholes. So it should snap, or slide depending on meta options. Which part is this? RE: Part Snapping missing/errors - Rene Rechthaler - 2023-04-20 (2023-04-20, 19:10)Roland Melkert Wrote: LDCad uses pattern matching for its snapping like keys and keyholes. t1210 (https://library.ldraw.org/tracker/31095) connects to the floating boat hulls, but except for the weighed keel with peg these are too short to completely fit. And its too rigid to snap, they get slid on. RE: Part Snapping missing/errors - Roland Melkert - 2023-04-20 (2023-04-20, 19:52)Rene Rechthaler Wrote: t1210 (https://library.ldraw.org/tracker/31095) Not sure how this works in real-life, but it might be better/easier to use a generic shape meta instead. For example: PHP Code:
And a "gender=M" counter part on the matching boat parts. RE: Part Snapping missing/errors - Rene Rechthaler - 2023-04-21 (2023-04-20, 20:06)Roland Melkert Wrote: Not sure how this works in real-life, but it might be better/easier to use a generic shape meta instead. ah thanks, the motor connector works like a very long clip on a ship-sided bar, too rigid to clip but possible to slide in from the back. Motor connector starts at 0 -37 0 and ends at 0 -37 60. Do these connectors snap center-center or start-start? RE: Part Snapping missing/errors - Roland Melkert - 2023-04-21 (2023-04-21, 14:05)Rene Rechthaler Wrote: ah thanks, the motor connector works like a very long clip on a ship-sided bar, too rigid to clip but possible to slide in from the back. The generic box example will snap centre to centre forcing a matching orientation. Sounds like this needs a clip meta with forced orientation. This is not an option (yet ) I might add a 'U' variant to the CYL shape kind in 1.7 Beta 1 as it is relatively easy to implement. But for now you can fake it by using squire f/m CYL metas which will allow it to slide, but it would allow this in 4 different orientations (like axles). RE: Part Snapping missing/errors - Rene Rechthaler - 2023-04-22 What is the difference between a pin type and a stud type connection (when viewed in connection specs)? This is more like a completely fixed connection like the rail connectors... RE: Part Snapping missing/errors - Roland Melkert - 2023-04-22 (2023-04-22, 9:30)Rene Rechthaler Wrote: What is the difference between a pin type and a stud type connection (when viewed in connection specs)? The only difference is their pattern (pin has ldu 8, 6, 6.25 and stud is just 6) The reason pins don't snap to, eg, anti-studs is because there is no room for the pin to 'click' (the 6.25 can compress to 6 as indicated by 'L' but must be 6.25 at rest). RE: Part Snapping missing/errors - Florent Faramond - 2023-04-24 42924: Snaps are missing. I added for test this line in 42924.dat, it seems to work: Code: 0 !LDCAD SNAP_INCL [ref=6558.dat] RE: Part Snapping missing/errors - Florent Faramond - 2023-04-25 32064c: Snaps are missing. I added for test this line in 32064c.dat, it seems to work: Code: 0 !LDCAD SNAP_INCL [ref=32064b.dat] RE: Part Snapping missing/errors - Florent Faramond - 2023-04-26 73831: Snaps are missing. I added for test this line in 73831.dat, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=S 6 4] [pos=0 8 10] [grid=C 3 1 20 0] RE: Part Snapping missing/errors - Florent Faramond - 2023-04-26 71752: Snaps are missing. I added for test this line in 71752.dat, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=R 6 10] [pos=0 16 0] [grid=C 2 C 2 20 20] RE: Part Snapping missing/errors - Florent Faramond - 2023-04-29 1126s01: Snaps are missing. I added for test this line in 1126s01.dat, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=S 6 4] [pos=0 8 0] [grid=C 2 1 20 0] RE: Part Snapping missing/errors - Florent Faramond - 2023-04-30 73562: Snaps are missing. I added for test these lines in 73562.dat, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=R 6 4] [pos=0 32 -10] [grid=C 2 C 2 20 20] RE: Part Snapping missing/errors - Roland Melkert - 2023-04-30 I wanted to add support for using the github (green button) 'code' zip as-is, only to discover a minor bug is the only thing preventing it working in the older versions. The bug concerns how LDCad decides if a compressed library is a shadow library. Current versions only test for the .csl extension, if it has something else it will (due to the bug) fallback to using the filename as a folder which will fail. The issue has been fixed in 1.7 Beta 1. But if you want to use the latest shadow as found in github with 1.6 or 1.7 alpha, you must rename LDCadShadowLibrary-main.zip to LDCadShadowLibrary-main.csl. before using it in LDCad. RE: Part Snapping missing/errors - Florent Faramond - 2023-05-01 77765: Snaps are missing. I added for test this line in 77765.dat, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=M] [caps=none] [secs=L_ 6.25 2 R 6 56 R 8 2] [pos=-30 0 0] [ori=0 -1 0 1 0 0 0 0 1] RE: Part Snapping missing/errors - Florent Faramond - 2023-05-01 studa: Snaps are missing. I added for test this line in studa.dat, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=M] [caps=one] [secs=R 6 4] RE: Part Snapping missing/errors - Florent Faramond - 2023-05-01 67811: Snaps are missing. I added for test this line in 67811.dat, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=R 6 4] [pos=0 16 0] [grid=C 2 C 2 20 20] RE: Part Snapping missing/errors - Roland Melkert - 2023-05-01 (2021-12-04, 11:03)Philippe Hurbain Wrote: Not really a shadow problem, but the stud of the telescope (64644) is next to impossible to insert into tube of plate 1x1 round (6141). Most of the time, the telescope jumps to connect its tube to plate stud. Moving the plate instead doesn't help. It works much better with a regular plate 1x1 (3024)! Finally got to the bottom of this issue (message #109) It is caused by how 'best fits' are determined when there are multiple candidates. The current engine can not be (easily) fixed for this as it introduces a chicken and egg problem. So it will have to wait for the 2.0 rewrite (if ever ) Instead I changed the 1x1 plate to prevent the issue entirely. Code: 0 LDCad shadow info for "Plate 1 x 1 Round" RE: Part Snapping missing/errors - Florent Faramond - 2023-05-05 73825: Snaps are missing. I added for test these lines in 73825.dat, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=S 6 4] [pos=0 8 0] RE: Part Snapping missing/errors - Florent Faramond - 2023-05-15 73230: Snaps are missing. I added for test this line, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=S 6 8] [pos=0 24 0] RE: Part Snapping missing/errors - Florent Faramond - 2023-05-15 65578: Snaps are missing. I added for test this line, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=M] [caps=none] [secs=R 4 10] [slide=true] [pos=-10.0104 19.6673 0] [ori=0.707107 -0.707107 0 0.707107 0.707107 0 0 0 1] RE: Part Snapping missing/errors - Florent Faramond - 2023-05-15 78329: Snaps are missing. I added for test this line, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=S 6 4] [pos=0 8 0] [grid=C 5 1 20 0] RE: Part Snapping missing/errors - Florent Faramond - 2023-05-18 73109: Snaps are missing. I added for test these lines, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=S 6 8] [pos=0 24 0] [grid=C 2 1 20 0] RE: Part Snapping missing/errors - Florent Faramond - 2023-05-18 79756: Snaps are missing. I added for test this line, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=S 6 4] [pos=0 0 0] [grid=C 4 1 20 0] RE: Part Snapping missing/errors - Florent Faramond - 2023-06-02 40066: Snaps are missing. I added for test this line, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=S 6 4] [pos=0 168 0] [grid=C 6 1 20 0] RE: Part Snapping missing/errors - Florent Faramond - 2023-06-02 37695: Snaps are missing. I added for test this line, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=M] [caps=none] [secs=R 4 22] [center=true] [slide=true] [pos=0 -11 0] RE: Part Snapping missing/errors - Florent Faramond - 2023-06-06 66857: Snaps are missing. I added for test this line, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=R 6 4] [pos=0 8 0] [grid=C 2 C 4 20 20] RE: Part Snapping missing/errors - Florent Faramond - 2023-06-07 24324: Snaps are missing. I added for test this line, it seems to work: Code: 0 !LDCAD SNAP_CYL [gender=M] [caps=none] [secs=R 4 46] [center=true] [slide=true] [pos=0 0 0] [ori=-1 0 0 0 -1 0 0 0 1] RE: Part Snapping missing/errors - Jaco van der Molen - 2023-06-29 Regarding the new legs I have posted here: https://forums.ldraw.org/thread-27515-post-50842.html#pid50842 RE: Part Snapping missing/errors - Roland Melkert - 2023-06-29 (2023-06-29, 11:46)Jaco van der Molen Wrote: Regarding the new legs I have posted here: Thanks I will update the git repo with the postings in this thread soon. RE: Part Snapping missing/errors - Jaco van der Molen - 2023-06-30 (2023-06-29, 18:20)Roland Melkert Wrote: Thanks I will update the git repo with the postings in this thread soon. RE: Part Snapping missing/errors - Roland Melkert - 2023-07-04 I've processed things posted here up to message #198 You'll find the latest version of the library at https://github.com/RolandMelkert/LDCadShadowLibrary To use it just download the code (green button) and rename it to .csl and point LDCad to it using it's search location dialog. Thanks to all who posted, but please consider using git directly. The upcoming 1.7 Beta 1 version should make that a lot easier (headers wise), so now is the time to get familiar with github RE: Part Snapping missing/errors - Florent Faramond - 2023-07-04 (2023-07-04, 0:19)Roland Melkert Wrote: I've processed things posted here up to message #198 Thanks Roland! RE: Part Snapping missing/errors - Jaco van der Molen - 2023-07-04 (2023-07-04, 0:19)Roland Melkert Wrote: I've processed things posted here up to message #198 That is good news! Thanks. I will certainly be able to contribute to Github. |