(2021-08-01, 19:06)Miguel Reizinho Wrote: Just wondering... I have some custom part files and I have added connectivity and conflict information in Stud.io by using part designer. Is there any way I could import that connectivity of these custom parts but in LDCad?
I'm not familiar with how studio defines that information, but if it's human readable you might be able to at least copy the coordinates of special locations etc.
LDCad uses LDraw meta lines to define the information.
This is usually added trough the shadow library, which contains .dat files that are appended to the official content during loading.
But you can also add the meta lines to the part files directly (If you don't want to put them on the part tracker).
For example:
Code:
0 !LDCAD SNAP_CYL [gender=F] [caps=one] [secs=R 6 20] [pos=0 24 0] [grid=C 10 C 2 20 20]
Is used for the 3006.dat brick, it defines the 2x10 anti-stud grid at the bottom.
The studs at the top don't need information as they already 'inherit' their information from the stud.dat primitive.
More information is on my site:
http://www.melkert.net/LDCad/tech/meta
http://www.melkert.net/LDCad/tech/shadowLib
ps
I forgot to mention you can also edit the snap information inside LDCad itself, by enabling part editing in prefs/editing/part editing
You can then double click a part to edit it and use the special LDCad meta part bin to drag meta's into the part.
It is best to use the source window while doing that, especially if you want to add it to the file itself (by default it will go into the shadow file).