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

Issue #381 - Fix the display of units for the constraint offset #483

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hfiguiere
Copy link

@hfiguiere hfiguiere commented Jun 28, 2022

Currently a draft:

  • remove debug print
  • validate it works with metric too
  • investigate using FreeCAD widgets instead instead of QDoubleSpinBox
    - [ ] figure out how to not retrigger the solver at each keystroke (this cause a value update too)

Disclaimer: I'm new to Python and FreeCAD code base.

@hfiguiere
Copy link
Author

I think the item 4 is unrelated. My problem was that setConstraintEditorData() needed fixes that are now in (indirectly)

@hfiguiere
Copy link
Author

Tested with other units.

My patch set the stepValue. One problem is with MKS the steps are 1000 (mm) while the Standard they are in 1 (mm). In "building US" the step is 25.4 (that's one inch in mm). I'm not sure what's the proper solution here.

@hfiguiere hfiguiere marked this pull request as ready for review June 30, 2022 09:25
@hfiguiere
Copy link
Author

I believe this fix the problem in which constraint offset wouldn't work with non-metric units set (ie broken). But the deeper problem lies with the widget that only accept metric (mm).

@luzpaz
Copy link
Contributor

luzpaz commented Sep 20, 2022

@kbwbe ping

2 similar comments
@luzpaz
Copy link
Contributor

luzpaz commented Apr 19, 2023

@kbwbe ping

@luzpaz
Copy link
Contributor

luzpaz commented Nov 12, 2023

@kbwbe ping

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

Successfully merging this pull request may close these issues.

2 participants