bgbsww
d467236564
Guard all uses of basic_random_generator for thread safety
2024-06-10 11:10:57 -05:00
mosfet80
62279d083d
[mod] clean ( #14378 )
...
* [mod] clean
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-10 11:07:14 -05:00
Chris Hennes
e11bafc715
Merge pull request #14337 from wwmayer/refactor_sketch_analysis
...
Sketch: Refactor SketchAnalysis
2024-06-03 10:49:30 -05:00
wmayer
4185605d5e
clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors
2024-05-29 13:37:07 +02:00
wmayer
ddfc21afc1
Sketch: Refactor SketchAnalysis
...
Refactor detectMissingPointOnPointConstraints()
2024-05-28 15:28:53 +02:00
wmayer
7e5b0d570a
Sketch: Refactor SketchAnalysis
...
Refactor detectMissingEqualityConstraints()
2024-05-28 15:10:51 +02:00
wmayer
112c26cf1c
Sketch: Refactor SketchAnalysis
...
Fix linter warnings
2024-05-28 14:43:46 +02:00
wmayer
e0e2e01484
Sketch: Refactor SketchAnalysis
...
Refactor autoconstraint()
2024-05-28 14:28:07 +02:00
wmayer
1c03bc4eaa
Sketch: Refactor SketchAnalysis
...
Refactor makeMissingEquality()
2024-05-28 14:19:58 +02:00
wmayer
d5c92fee98
Sketch: Refactor SketchAnalysis
...
Refactor makeMissingVerticalHorizontal
2024-05-28 14:08:44 +02:00
wmayer
5461d0d27f
Sketch: Refactor SketchAnalysis
...
Refactor makeMissingPointOnPoint
2024-05-28 13:40:38 +02:00
wmayer
bcc1a9ada5
Sketch: Refactor SketchAnalysis
...
Refactor detectMissingPointOnPointConstraints
2024-05-28 13:24:05 +02:00
wmayer
5982ac470e
Sketch: Refactor SketchAnalysis
...
Move helper classes to anonymous namespace
2024-05-28 12:26:23 +02:00
wmayer
e67502025d
Sketch: Add test case for validating constraints
2024-05-27 19:15:18 +02:00
wmayer
e96ac0b1db
Sketch: Add test case for degenerated geometry
2024-05-27 19:15:18 +02:00
PaddleStroke
6bbf61b1f2
Sketcher: Fix copy of geo constrained to axis. Fixes #14233
2024-05-27 11:37:33 -05:00
wmayer
5696ee821c
Sketcher: Fixes #14240
2024-05-27 12:09:35 +02:00
wmayer
27b1caa82b
Sketch: Refactor Sketch::updateGeometry()
2024-05-20 11:38:06 -05:00
bgbsww
ad7ceb8ba6
Toponaming: Fix point crash bug
2024-05-16 09:05:27 -05:00
bgbsww
869cb1f83b
Toponaming: bring in missing code fragments in Sketcher
2024-05-13 15:47:44 -05:00
bgbsww
bad3a83827
Fix #13858
...
Mistaken enabling of known bad code
2024-05-07 10:17:48 -05:00
bgbsww
d7ade12dc3
Ensure we set up a valid sketch even with invalid external references
2024-05-06 17:42:38 +02:00
WandererFan
db22476450
Merge pull request #9750 from hlorus/gsoc2023_measure
...
GSoC 2023: Unified Measurement Facility
2024-04-29 12:41:54 -04:00
hlorus
832a0653fa
[Sketcher] Add handlers for unified measurement facility
2024-04-29 09:27:22 -04:00
wmayer
52935f8249
Sketch: expose several methods to Python
...
* expose detectDegeneratedGeometries to Python
* expose removeDegeneratedGeometries to Python
* expose delConstraintsToExternal to Python
* expose evaluateConstraints to Python
* expose validateConstraints to Python
2024-04-21 10:41:47 +02:00
bgbsww
a88e7baff5
TopoShape/Part: Bug fixes; pass Hasher parms, OCCT 7.8 compatibility, ElementMaps correct item count
2024-04-14 13:56:07 -04:00
bgbsww
c9d8bdf13d
Toponaming/Part: Add deprecation comments, clean up code
2024-04-09 21:17:08 -04:00
wmayer
ba27d6d92d
Part: Add overloaded methods of GeomBSplineCurve::approximate
2024-04-03 18:06:00 +02:00
PaddleStroke
c26f52c4e4
Sketcher: Symmetry fix #13164
2024-04-01 11:20:40 -05:00
PaddleStroke
5668b6952b
Sketcher: Chamfer Fix #13049
2024-04-01 11:04:02 -05:00
sliptonic
75c589d355
Merge pull request #12602 from FlachyJoe/arc-distance
...
Sketcher : ArcLength Constraint
2024-04-01 10:43:35 -05:00
bgbsww
4df1088896
Toponaming/Part: Bug fix for #13169 while we sort this out
2024-03-27 21:33:57 -05:00
bgbsww
55acedb83d
Clean, enable disabled element map code in sketcher, add tests
2024-03-25 21:51:41 -04:00
Zheng, Lei
f19df465ea
Toponaming/Part: Move sketcher override of getElementName over
2024-03-25 21:51:41 -04:00
Florian Foinant-Willig
ab7c1423fb
fix undeclared M_PI
2024-03-25 22:32:20 +01:00
Florian Foinant-Willig
a8254a4e0c
Sketcher : ArcLength Constraint
2024-03-25 22:32:20 +01:00
PaddleStroke
e4213fc10f
Sketcher: Symmetry tool rework.
2024-03-25 17:48:01 +01:00
luzpaz
5839134e95
Fix various typos throughout the codebase ( #13029 )
...
* Fix various typos throughout the codebase
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-18 16:54:30 -05:00
PaddleStroke
b3fe5bba28
Sketcher: Chamfer tool (and fillet refactor)
2024-03-18 13:23:54 -04:00
Ladislav Michl
e4d304f934
Base: Implement TimeElapsed
...
Some instances of TimeInfo serve the sole purpose of measuring time
duration. Using system time is unfortunate as it returns wall clock,
which is not guaranteed to be monotonic. Replace such a usage with
the new TimeElapsed class based on steady clock.
2024-03-05 12:29:24 +01:00
wmayer
8743f5e82a
Sketch: fix compiler warning
...
Fix warning: add explicit braces to avoid dangling else [-Wdangling-else]
2024-03-04 23:15:42 -06:00
Josh Coalson
a8ae56e06a
Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052
2024-03-04 18:22:43 +01:00
Ajinkya Dahale
da7d5391af
[Sketcher] Join curves with C1 continuity
...
If endpoint-to-endpoint tangent constraint exists between the connecting points
of the curves to be joined, also apply C1 continuity (i.e. a knot multiplicity
of degree-1).
2024-02-27 09:57:52 -06:00
Ajinkya Dahale
f8f159c4d3
[Sketcher] Include endpoint-to-endpoint tangency as coincidence
...
Coincidence is implied as part of this particular variety of tangent constraint.
2024-02-27 09:57:52 -06:00
Ajinkya Dahale
d1c9370614
[Sketcher] Use angle-via-two-points in e2e with BSplines
2024-02-27 09:57:52 -06:00
Ajinkya Dahale
5539ef625c
[planegcs] Add ConstraintAngleViaTwoPoints
...
Needed for B-spline to B-spline end to end tangent. The end point of one is for
now not usable in to get normal at the other.
2024-02-27 09:57:52 -06:00
wmayer
53b512da1c
MSVC: fix compiler warnings
2024-02-25 00:12:34 +01:00
wmayer
a2315503fa
Sketcher: expose the LabelDistance and LabelPosition members of Constraint to Python
2024-02-25 00:10:56 +01:00
wmayer
df7e783513
Mod: fix several compiler warnings:
...
* fix -Wsometimes-uninitialized
* fix -Wunused-parameter
* fix -Wunused-variable
* fix -Winconsistent-missing-override
* fix -Wsign-compare
* fix -Wreorder-ctor
* fix -Wtautological-overlap-compare
2024-02-12 11:39:32 -06:00
Ajinkya Dahale
73434e008a
[planegcs] Simplify GCS::BSpline::CalculateNormal()
2024-02-08 23:46:17 +05:30