LeoCAD should has an option to customize XYZ snapping range dimensions with a simple comma separated line of text of LDU units in the "Preferences" dialog (expecting the "Custom Snapping Range" text line input field in the "Preferences > View > Base View"), for example:
2.5, 8, 20, 24, 25, 64 (in LDU units; spaces after , symbol should be ignored, and . should be used as decimal separator)
2.5|1 mm, 8|1 Flat/Plate, 20|1 Stud, 24|1 Brick, 25|1 cm, 64|1 inch (in LDU units with custom defined names, separated from unit value with a | symbol; symbols /, ( and ) in custom name should be allowed)
This would allow use custom defined LDraw parts, and parts from other construction sets (like Meccano, STEMFIE, etc.) converted into LDraw format.
Actual behaviour
Actually LeoCAD has a hardcoded XYZ snapping range — this prevents use non-Lego-like construction sets, where snapping parts requires another range of dimensions.
Actual XYZ snapping range looks like:
1/20 Stud
1/4 Stud
1 Flat
1 Stud
2 Studs
3 Studs
4 Studs
8 Studs
I.e. in a proposed markup for custom defined snapping range it would look like:
Expected behaviour
LeoCAD should has an option to customize XYZ snapping range dimensions with a simple comma separated line of text of LDU units in the "Preferences" dialog (expecting the "Custom Snapping Range" text line input field in the "Preferences > View > Base View"), for example:
2.5, 8, 20, 24, 25, 64
(in LDU units; spaces after,
symbol should be ignored, and.
should be used as decimal separator)2.5|1 mm, 8|1 Flat/Plate, 20|1 Stud, 24|1 Brick, 25|1 cm, 64|1 inch
(in LDU units with custom defined names, separated from unit value with a|
symbol; symbols/
,(
and)
in custom name should be allowed)This would allow use custom defined LDraw parts, and parts from other construction sets (like Meccano, STEMFIE, etc.) converted into LDraw format.
Actual behaviour
Actually LeoCAD has a hardcoded XYZ snapping range — this prevents use non-Lego-like construction sets, where snapping parts requires another range of dimensions.
Actual XYZ snapping range looks like:
I.e. in a proposed markup for custom defined snapping range it would look like:
1|1/20 Stud, 5|1/4 Stud, 8|1 Flat, 20|1 Stud, 40|2 Stud, 60|3 Studs, 80|4 Studs, 160|8 Studs
LeoCAD version/OS
Reference
Related issues