Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom XYZ snapping range preferences #928

Open
app4soft opened this issue Sep 25, 2024 · 0 comments
Open

Custom XYZ snapping range preferences #928

app4soft opened this issue Sep 25, 2024 · 0 comments

Comments

@app4soft
Copy link

app4soft commented Sep 25, 2024

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:

  • 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:

  • 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

  • Version: Next releases
  • OS: All supported

Reference

Related issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant