FreeCAD/FreeCAD

PartDesign: Hole thread pitch tests

Aperta

#21.195 aperta il 7 mag 2025

 (6 commenti) (0 reazioni) (1 assegnatario)C++ (5550 fork)batch import
Help wantedMod: Part DesignType: Code Quality

Metriche repository

Star
 (30.913 stelle)
Metriche merge PR
 (Merge medio 24g 7h) (217 PR mergiate in 30 g)

Descrizione

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

The PR https://github.com/FreeCAD/FreeCAD/pull/21015 fixes an important issue but could be improved as discussed in the comments.

  • refactor to use std::ranges::min_element
  • prioritize same dimension over pitch
  • unit tests.

This issue is to track the small technical debt added by merging it before that's been fixed.

Full version info

N/A

Subproject(s) affected?

None

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Guida contributor