2013-12-11, 20:25
Hello all,
I've been working on part snapping for my LDCad editor. It's progressing nicely but I would love some feedback / opinions from people in order to fine tune things.
The current version works quite nicely with low connection point parts. The problem arises when you use parts with multiple valid snap points (e.g. the holes in 1xn tech beams). Currently it snaps based on z sorting, but there is room for improvement there.
I've uploaded short clip of the feature in action.
The used scene contains most of the parts with full snap information. Snapping is done 100% trough meta information on the existing part files. This is done using a shadow library, which acts like an auto include location. Content of identical named files in the shadow location are added to the official ones from the LDraw lib during loading. Information can also be inherited as a result all minifig torso/leg/hip/hand/arm parts have information by just creating 6 shadow files.
edit: second version, see below post.
Second version demo clip
All suggestions are welcome
I've been working on part snapping for my LDCad editor. It's progressing nicely but I would love some feedback / opinions from people in order to fine tune things.
The current version works quite nicely with low connection point parts. The problem arises when you use parts with multiple valid snap points (e.g. the holes in 1xn tech beams). Currently it snaps based on z sorting, but there is room for improvement there.
I've uploaded short clip of the feature in action.
The used scene contains most of the parts with full snap information. Snapping is done 100% trough meta information on the existing part files. This is done using a shadow library, which acts like an auto include location. Content of identical named files in the shadow location are added to the official ones from the LDraw lib during loading. Information can also be inherited as a result all minifig torso/leg/hip/hand/arm parts have information by just creating 6 shadow files.
edit: second version, see below post.
Second version demo clip
All suggestions are welcome