Currently there are four programs using some sort of snapping I know of, namely:
SR3DBuilder
LDCad
MocBuilder
JBrickBuilder
But they all do boil down to location definitions coupled with some sort of label (grouping) in order to match male/female pairs.
Only exception is my own LDCad, , as that one uses the above method only as a fallback. I mainly try to describe general shapes (pen and holes) snap information wise.
As for implementing the data into a program it's basically about some frustum culling combined with matching rules etc.
If you search through the older posts on this forum you should be able to find some information about SR3DBuilder's format/methods written by its late author Sergio.
The spec for my LDCad's meta's is on my site.
And the author of MocBuilder wrote some documentation on his method also findable in the forum I think.
SR3DBuilder
LDCad
MocBuilder
JBrickBuilder
But they all do boil down to location definitions coupled with some sort of label (grouping) in order to match male/female pairs.
Only exception is my own LDCad, , as that one uses the above method only as a fallback. I mainly try to describe general shapes (pen and holes) snap information wise.
As for implementing the data into a program it's basically about some frustum culling combined with matching rules etc.
If you search through the older posts on this forum you should be able to find some information about SR3DBuilder's format/methods written by its late author Sergio.
The spec for my LDCad's meta's is on my site.
And the author of MocBuilder wrote some documentation on his method also findable in the forum I think.