Commit Graph

547 Commits

Author SHA1 Message Date
wmayer
799013a9cd tests: add unit tests for VRML file with textures 2024-03-22 09:39:21 +01:00
wmayer
edec3b6280 tests: Test case for issue #13055 2024-03-21 19:34:06 +01:00
bgbsww
c31ebeeee6 Toponaming/Part: cleanup FeatureExtrusion 2024-03-20 20:45:06 -04:00
Chris Hennes
161b0fb6ee Merge pull request #12982 from bgbsww/bgbsww-toponamingFeatureMirroring
Toponaming/Part feature mirroring and offset
2024-03-20 18:16:36 -05:00
bgbsww
46c32a8c1b Add c++ testing framework for PartDesign, ShapeBinder 2024-03-20 14:45:20 -05:00
wmayer
815458435d Tests: add test for attach extension
Create two plane features and map the second on the first plane with map mode 'FlatFace'
2024-03-20 18:04:10 +01:00
bgbsww
7a520a4ea6 Toponaming/Part: Clean and add tests for FeatureMirroring and FeatureOffset 2024-03-19 12:44:38 -04:00
bgbsww
28cb508489 Toposhape/Part: Cleanup FeatureFillet, FeatureChamfer and dependencies 2024-03-19 11:10:18 -04: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
bgbsww
93e823da30 Toposhape/Part: clean and add tests 2024-03-17 10:24:58 -04:00
bgbsww
3bc87a9cf5 Clean and add tests for makeElementSolid 2024-03-17 10:24:58 -04:00
bgbsww
d0562d0c3a Toposhape/Part: Clean GeneralFuse, Fuse, Cut; add tests; tweak other tests 2024-03-17 10:24:58 -04:00
wmayer
042d3a63e7 Mesh: add unit tests for mesh export 2024-03-16 09:39:49 +01:00
bgbsww
9aadc25c18 Toponaming/Part: Review and lint cleanups 2024-03-15 08:41:08 -04:00
bgbsww
2823d22dae Toponaming/Part: clean and test attacher 2024-03-15 08:11:26 -04:00
wmayer
5e3c854e8c Tests: add more unit tests for Points module 2024-03-12 18:02:33 +01:00
Chris Hennes
52fffaf50e Merge pull request #12804 from bgbsww/bgbsww-toponamingPartFeature
Toponaming/Part: methods in part feature and dependencies for correct elementMaps
2024-03-11 13:35:59 -05:00
wmayer
eb32abe7ef Part: fixes #12744: mesh export creates open edges
For the concatenated domains check if points are duplicate and if yes remove them
2024-03-11 12:25:57 -05:00
Chris Hennes
93d58802aa Tests: Migrate Google Test to a submodule
Pin Google Test submodule to v1.14.0
2024-03-11 12:16:09 -05:00
Chris Hennes
f6eead2e3b Merge pull request #12753 from davesrocketshop/20240301_FEM_Models
Material: New data models to support elasticity
2024-03-11 12:11:05 -05:00
wmayer
d3e790cf21 Tests: add test function to write to file stream 2024-03-11 16:05:30 +01:00
wmayer
81177b08e8 Test: change license of test file 2024-03-09 16:18:14 +01:00
wmayer
5af2cc89cc Tests: add tests for ProjectFile 2024-03-08 22:25:59 -06:00
bgbsww
3df25821e5 Toposhape/Part:: Fix, relocate and test element methods in ComplexGeoData and TopoShape 2024-03-07 23:00:48 -05:00
wmayer
2e96599903 Tests: fix compiler warning about unused parameters 2024-03-06 15:22:21 +01:00
Chris Hennes
da36c0c1f3 Merge pull request #12066 from 3x380V/time_cleanup
Base: Use std::chrono for time manipulation
2024-03-05 15:47:33 -06:00
Ladislav Michl
159fe5c21f Base: Use std::chrono for time handling
Replace platform specific implementations with standard C++ std::chrono.
As time_t is now 64-bit on all supported systems, use it to set the clock.
2024-03-05 12:22:40 +01:00
bgbsww
609cd12b4b Merge branch 'main' into bgbsww-toponamingElementCacheExtras 2024-03-04 21:19:42 -05:00
Chris Hennes
b7a4680504 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
834bbff6b0 Toposhape/Part:: fix, relocate and test element methods in ComplexGeoData and TopoShape 2024-03-04 17:16:59 -05:00
bgbsww
d232549286 Toponaming/Part: Correct tests that show platform variations when all elements tested 2024-03-04 16:23:40 -05:00
Chris Hennes
cd0d58cfe9 Merge pull request #12683 from bgbsww/bgbsww-toponamingPropertyTopoShape
Toponaming/Part: property topo shape
2024-03-04 15:05:16 -06:00
bgbsww
7945bf686e Toponaming/Part: Cleanups, problem fixes, and tests 2024-03-04 16:04:01 -05:00
pre-commit-ci[bot]
ce5965982b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-04 18:23:23 +00:00
David Carter
de168aae27 Add property models for FEM 2024-03-04 00:50:32 -05:00
bgbsww
046e43651c Toponaming/Part: Correct elementsMatch to test all entries 2024-03-03 19:49:59 -05:00
CalligaroV
6ef63bb2a2 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
0e7aa5f7bc 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
68fd2934cf Testing for makeElementEvolve 2024-02-29 09:26:22 -06:00
Chris Hennes
a03ad7f49b Merge pull request #12201 from bgbsww/bgbsww-toponamingGetElementName
Toponaming: transfer in getElementName and dependencies
2024-02-28 21:05:54 -06:00
bgbsww
7d0afaec54 Toposhape/Part: cleanup and test getElementName 2024-02-28 17:07:36 -05:00
bgbsww
698f306c18 Toposhape/Part: Clean and test replacEShape and removEShape 2024-02-28 16:53:29 -05:00
Chris Hennes
566e97e11a Merge pull request #12628 from bgbsww/bgbsww-toponamingFeatureCompound
Toponaming/Part feature compound and revolution
2024-02-28 15:30:11 -06:00
bgbsww
e3c4461891 Toposhape/Part: Cleanup and tests for FeatureCompound and FeatureRevolution 2024-02-27 09:58:13 -06:00
bgbsww
16c29ceb27 Toponaming/Part: Add tests and clean makeElementBSplineFace and makeElementFilledFace 2024-02-27 09:57:27 -06:00
Chris Hennes
c356223702 Merge pull request #12572 from bgbsww/bgbsww-toponamingMakeElementRevolve
Toponaming/Part: make element revolve and prism
2024-02-26 15:32:22 -06:00
bgbsww
1fa89ea4c1 Toponaming/Part: Cleaning and tests for makeElementRevolve, makeElementPrism, makeElementPrismUntil 2024-02-23 15:04:28 -05:00
bgbsww
331881ae22 Merge branch 'main' into bgbsww-toponamingMakeElementSliceMirror 2024-02-23 10:37:47 -05:00
bgbsww
85b5cfc62a Merge branch 'main' into bgbsww-toponamingMakeElementSliceMirror 2024-02-23 10:24:44 -05:00
bgbsww
68edc6f123 Merge branch 'main' into bgbsww-toponamingMakeElementSolid 2024-02-22 20:06:51 -05:00