Commit Graph

255 Commits

Author SHA1 Message Date
Chris Hennes
71aee9e73e Merge pull request #12726 from bgbsww/bgbsww-toponamingTestHelperfix
Toponaming/Part: Correct elementsMatch to test all entries
2024-03-04 18:32:53 -06:00
bgbsww
b3677cf0b0 Toponaming/Part: Correct tests that show platform variations when all elements tested 2024-03-04 16:23:40 -05:00
Chris Hennes
722ef69ad9 Merge pull request #12683 from bgbsww/bgbsww-toponamingPropertyTopoShape
Toponaming/Part: property topo shape
2024-03-04 15:05:16 -06:00
bgbsww
5892a8339e Toponaming/Part: Cleanups, problem fixes, and tests 2024-03-04 16:04:01 -05:00
bgbsww
6e1c062603 Toponaming/Part: Correct elementsMatch to test all entries 2024-03-03 19:49:59 -05:00
CalligaroV
3db1c9931e Part/Toponaming: Transfer PartFeature Feature::create()
* Added test for Feature::create()

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-03-02 14:07:06 +01:00
Vincenzo Calligaro
494df1d169 Part/Toponaming: Tests for flushElementMap and resetElementMap (#12471)
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * Added test for resetElementMap()
 * Added test for flushElementMap()
 * restored ComplexGeoData::resetElementMap to RT fork
 * modified TopoShape::resetElementMap to match the restored signature of ComplexGeoData::resetElementMap
 * added checks in TopoShape::makeShapeWithElementMap to avoid segfaults
 * added check in TopoShape::setElementComboName to avoid segfaults
 * restored testFindSubShapesForSourceWithTypeAndIndex
 * modified test saveDocFileWithNoElementMap to match the restored signature of ComplexGeoData::resetElementMap
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * Removed comments in ComplexGeoData::resetElementMap()
 * Changed TopoShape::resetElementMap():: from virtual to override
 * Removed comment in TopoShape::resetElementMap()
 * Added comments about differences between main and RT fork
 * Removed comment in test saveDocFileWithNoElementMap
 * Updated expected test result in makeElementCompoundTwoShapesGeneratesMap
 * Updated expected test result in resetElementMapTest
 * Fixed typo in test flushElementMapTest
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * updated expected tests results after previous methods modifications

---------

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-29 13:27:27 -06:00
bgbsww
806be24fca Testing for makeElementEvolve 2024-02-29 09:26:22 -06:00
Chris Hennes
76b7e0eb56 Merge pull request #12201 from bgbsww/bgbsww-toponamingGetElementName
Toponaming: transfer in getElementName and dependencies
2024-02-28 21:05:54 -06:00
bgbsww
db38a7eb7e Toposhape/Part: cleanup and test getElementName 2024-02-28 17:07:36 -05:00
bgbsww
4e1c37cd6e Toposhape/Part: Clean and test replacEShape and removEShape 2024-02-28 16:53:29 -05:00
Chris Hennes
e17f1b5cbe Merge pull request #12628 from bgbsww/bgbsww-toponamingFeatureCompound
Toponaming/Part feature compound and revolution
2024-02-28 15:30:11 -06:00
bgbsww
b121fa524f Toposhape/Part: Cleanup and tests for FeatureCompound and FeatureRevolution 2024-02-27 09:58:13 -06:00
bgbsww
15b0266564 Toponaming/Part: Add tests and clean makeElementBSplineFace and makeElementFilledFace 2024-02-27 09:57:27 -06:00
Chris Hennes
8105a71a4b Merge pull request #12572 from bgbsww/bgbsww-toponamingMakeElementRevolve
Toponaming/Part: make element revolve and prism
2024-02-26 15:32:22 -06:00
bgbsww
2840ed04ab Toponaming/Part: Cleaning and tests for makeElementRevolve, makeElementPrism, makeElementPrismUntil 2024-02-23 15:04:28 -05:00
bgbsww
078bd87acb Merge branch 'main' into bgbsww-toponamingMakeElementSliceMirror 2024-02-23 10:37:47 -05:00
bgbsww
ea43c3a3f2 Merge branch 'main' into bgbsww-toponamingMakeElementSliceMirror 2024-02-23 10:24:44 -05:00
bgbsww
678926cdae Merge branch 'main' into bgbsww-toponamingMakeElementSolid 2024-02-22 20:06:51 -05:00
bgbsww
e7d44e7594 Clean and add tests for makeElementSolid 2024-02-22 19:18:08 -05:00
bgbsww
a3e97b7839 Toponaming/Part: Clean and add tests for elementTransform methods 2024-02-22 17:28:35 -05:00
bgbsww
fe72c59e41 Toposhape/Part: Cleanups and tests for makeElementSlice, makeElementSlices, and makeElementMirror 2024-02-22 17:16:46 -05:00
bgbsww
1470616abe Toposhape/Part: clean, add tests for makeElementFillet and makeElementChamfer 2024-02-22 08:27:40 -05:00
Chris Hennes
6f2a457e0b Merge pull request #12528 from bgbsww/bgbsww-toponamingMoveEqualOperator
Toponaming/Part:  Bring in = operator, resetMap and flushMap overrides, and fix affecte…
2024-02-21 16:08:32 -06:00
bgbsww
91191c7be3 Bring in = operator, resetMap and flushMap overrides, and fix affected tests 2024-02-21 12:13:16 -05:00
bgbsww
5684928b57 Toposhape/Part: Clean GeneralFuse, Fuse, Cut; add tests; tweak other tests 2024-02-21 12:00:51 -05:00
bgbsww
907f59dc40 Toponaming/Part: Clean and add tests for elementTransform methods 2024-02-21 11:56:22 -05:00
Chris Hennes
e6fa334a7b Merge pull request #12517 from bgbsww/bgbsww-toponamingMakeElementGeneralFuse
Toponaming/Part:  make element generalfuse, fuse, cut
2024-02-21 08:25:12 -06:00
Pieter Hijma
402421f6aa [Core] Managing Custom Data Elements: VarSet (#12135)
* [Core] Add a basic VarSet document object

* [Core] Add basic tests for VarSets

* Core: Replace the VarSet icon with an outlined one
2024-02-21 10:38:06 +01:00
wmayer
ce59cc0bdc Tests: add unit tests for all token types defined in ExpressionParser.l 2024-02-21 07:32:14 +01:00
bgbsww
25a78b3062 Toposhape/Part: Clean GeneralFuse, Fuse, Cut; add tests; tweak other tests 2024-02-20 15:10:28 -05:00
Andrei Pozolotin
9e1edf36f0 Resolve #11965 - no proper execute() for cross-property references
Solution B: parsequant() function
2024-02-19 11:12:52 -06:00
bgbsww
b8486c1562 Toponaming/Part: Remove makeElementShape and cleanup opcode code 2024-02-18 21:57:12 -06:00
Chris Hennes
0422f11867 Merge pull request #12484 from bgbsww/bgbsww-toponamingPartFeatures
Toponaming/Part  part features transfer
2024-02-18 21:56:34 -06:00
Vincenzo Calligaro
02d4c5e59a Part/Toponaming: tests for MapperHistory (#12402)
* Part/Toponaming: MapperHistory
 * added test for MapperHistory::modified
 * added test for MapperHistory::generated
 * renamed edges in the test for MapperHistory::modified

---------

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-18 16:42:41 -06:00
bgbsww
43d55a6ed2 Toponaming/Part: Clean and test PartFeatures 2024-02-18 12:57:49 -05:00
bgbsww
35539798b6 Toponaming/Part: Add tests and clean 2024-02-17 21:13:08 -05:00
bgbsww
6bac7fb6c2 Toponaming/Part: Add tests and clean 2024-02-17 19:30:47 -05:00
bgbsww
fc1d0cc71c Toponaming/Part: tests addition and cleaning 2024-02-17 18:07:23 -05:00
bgbsww
0dd2e686ff Toponaming/Part: Cleanup makeElementPipeShell, add tests, and some delinting 2024-02-16 22:16:58 -05:00
bgbsww
634e77498b Toponaming/Part: Clean and add tests 2024-02-16 14:01:12 -05:00
bgbsww
98269a5a21 TopoNaming/Part: cleanups and tests 2024-02-15 19:07:19 -05:00
bgbsww
04491c32ed Toponaming/Part: Clean up linearize, add tests, and some delinting 2024-02-15 16:53:01 -05:00
Chris Hennes
93e94d8868 Merge pull request #12414 from bgbsww/bgbsww-toponamingSearchSubShape
Toponaming/Part: Add  searchSubShape as findSubShapesWithSharedVertex
2024-02-15 12:49:42 -06:00
bgbsww
11075c396f Toponaming/Part: Add tests for searchSubShape 2024-02-15 12:36:23 -05:00
Ajinkya Dahale
17f5d1d44b [planegcs][test] Fix issue in arc-B-spline tangent test
Correct the size of the knot vector used (described here with knots and multiplicities).
2024-02-15 10:58:41 -06:00
Chris Hennes
456a6b25de Merge pull request #12405 from bgbsww/bgbsww-toponamingMakeElementDraft
Toponaming/Part: Transfer in MakeElementDraft
2024-02-14 21:10:56 -06:00
bgbsww
c6ca3e41b6 Toponaming/Part: Cleanup and test makeElementDraft 2024-02-14 12:20:10 -05:00
Chris Hennes
9f1e51966f Merge pull request #12360 from FreeCAD/revert-11937-issue_11825
Revert "Resolve #11825 - no automatic quantity conversion: App::anyToQuantity"
2024-02-13 19:00:32 -06:00
Florian Foinant-Willig
f9cebebd6b PD: handle null pointer in Feature::getBaseShape (#12385) 2024-02-13 17:41:25 -03:00