RE: Part Connectivity
2021-08-02, 15:57 (This post was last modified: 2021-08-02, 18:08 by Miguel Reizinho.)
2021-08-02, 15:57 (This post was last modified: 2021-08-02, 18:08 by Miguel Reizinho.)
(2021-08-01, 19:41)Roland Melkert Wrote: 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).
Thank you for the help. The connectivity information in stud.io is not a "readable" file. It's not TXT or something that I've been able to open.
I've tried editing the parts and adding the LDCad cylindrical snap info to them and I was able to achieve the desired results. Is there any way to change the centre of rotation or origin of a custom part permanently with part editor?