FreeCAD/FreeCAD

PartDesign: Hole thread pitch tests

Aberta

#21.195 aberto em 7 de mai. de 2025

 (6 comentários) (0 reação) (1 responsável)C++ (5.550 forks)batch import
Help wantedMod: Part DesignType: Code Quality

Métricas do repositório

Stars
 (30.913 estrelas)
Métricas de merge de PR
 (Mesclagem média 24d 7h) (217 fundiu PRs em 30d)

Description

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

Guia do colaborador