bgbsww
a4dd600ec6
Toponaming/Part: Fix hashing, hasher mismatches, and adjust test results to match
2024-04-15 23:00:27 -05:00
Chris Hennes
0056038ff4
Toponaming/Base: Add ASCII stream output class ( #13209 )
...
* Toponaming/Base: Add ASCII stream output class
* Remove the ref from std::string
* Update based on review comments
2024-04-15 17:58:11 +02:00
bgbsww
6291078939
Toponaming/Part: Initialize the hasher so that it operates
2024-04-13 22:41:57 -05:00
wmayer
f1c7d388dd
Tests: add Parameter tests
2024-04-12 23:37:56 +02:00
bgbsww
c9d8bdf13d
Toponaming/Part: Add deprecation comments, clean up code
2024-04-09 21:17:08 -04:00
CalligaroV
6779c912bf
App/Toponaming: GeoFeature - fixes #13009 - fixes #13248
...
* Restored previous logic of GeoFeature::getElementName()
* Added precompiler directive to use the old logic if FC_USE_TNP_FIX isn't defined, otherwise use the new logic
* Reworked SketchObjectTest::getElementName() as a consequence of the previous points
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-04-04 22:09:12 -05:00
David Carter
495a96a0f5
Material: Material appearance
...
Uses new material system for appearance
Each feature object now has a property called ShapeMaterial that
describes its physical properties. If it has a shape, it has a
material.
The ShapeColor attribute is replaced by a ShapeAppearance attribute.
This is a material list that describes all appearance properties, not
just diffuse color. As a list in can be used for all elements of a
shape, such as edges and faces.
A new widget is provided to allow the user to select materials in a
consistent fashion. It can also launch the material editor with its
more advanced capabilities.
2024-04-04 07:39:58 -05:00
wmayer
d92267c6a7
Fix several compiler warnings
...
* fix -Winconsistent-missing-override
* fix -Wunused-but-set-variable
* fix -Wunused-parameter
* fix -Wunused-lambda-capture
* fix -Wunused-private-field
* fix -Wpessimizing-move
2024-04-03 10:04:56 +02:00
wmayer
0b08ea3368
C++: replace deprecated vsprintf and sprintf
...
With future C++ compilers the methods vsprintf and sprintf are declared as deprecated due to security issues.
They are replaced with the secure counterpart of the fmt library
Fixes the compiler warnings -Wdeprecated-declarations
2024-04-03 10:04:56 +02:00
David Carter
57c66a96a6
Material: Add thermal reference temperature ( #13026 )
...
* Material: Add thermal reference temperature
Fixes #13019
Adds the property 'Thermal Expansion Reference Temperature' to
the Thermal properties
* Fix delegates
2024-04-01 11:00:45 -05:00
wmayer
67ba197d9c
Test: add unit tests for mesh grid creation
2024-03-30 00:21:58 +01:00
Chris Hennes
ada6c62e14
Merge pull request #12535 from CalligaroV/toponaming-WireJoiner
...
Part/Toponaming: Transfer WireJoiner
2024-03-28 09:17:49 -05:00
bgbsww
9ddc4f1372
Toponaming/Part: Fix elementMatch to use full clause and be deterministic
2024-03-26 23:01:54 -05:00
CalligaroV
3a53e89921
Part/Toponaming: Transfer WireJoiner
...
* Added test for WireJoiner::IsDeleted()
* Fixed a typo in test for WireJoiner::Modified()
* Fixed a typo in test for WireJoiner::Generated()
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-03-26 09:57:47 +01:00
CalligaroV
1984846af4
Part/Toponaming: Transfer WireJoiner
...
* Added test for WireJoiner::Generated()
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-03-26 09:57:47 +01:00
CalligaroV
522b5836f9
Part/Toponaming: Transfer WireJoiner
...
* Added test for WireJoiner::Modified()
* Fixed typo in test for WireJoiner::getResultWires()
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-03-26 09:57:47 +01:00
CalligaroV
ca0f58c389
Part/Toponaming: Transfer WireJoiner
...
* Added test for WireJoiner::Build()
* Fixed typo in test for WireJoiner::getResultWires()
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-03-26 09:57:47 +01:00
CalligaroV
8c757a9fd1
Part/Toponaming: Transfer WireJoiner
...
* Added test for WireJoiner::getResultWires()
* Replaced references in test for WireJoiner::getOpenWires() with more correct references
* Added a comment in WireJoiner::WireJoinerP::getResultWires() to better explain how it works
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-03-26 09:57:47 +01:00
CalligaroV
fa674df945
Part/Toponaming: Transfer WireJoiner
...
* Added test for WireJoiner::getOpenWires()
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-03-26 09:57:47 +01:00
CalligaroV
2b2f69f60f
Part/Toponaming: Transfer WireJoiner
...
* Added test for WireJoiner::setTolerance()
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-03-26 09:57:47 +01:00
CalligaroV
12fee40c6a
Part/Toponaming: Transfer WireJoiner
...
* Added test for WireJoiner::setMergeEdges()
* Changed position of some comments
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-03-26 09:57:47 +01:00
CalligaroV
86ccf2a4ed
Part/Toponaming: Transfer WireJoiner
...
* Added test for WireJoiner::setSplitEdges()
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-03-26 09:57:47 +01:00
CalligaroV
374ed64c1f
Part/Toponaming: Transfer WireJoiner
...
* Added test for WireJoiner::setTightBound()
* Minor modifications and typo
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-03-26 09:57:46 +01:00
CalligaroV
fb0e7dad14
Part/Toponaming: Transfer WireJoiner
...
* Added test for WireJoiner::setOutline()
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-03-26 09:57:46 +01:00
CalligaroV
ca90a5bd9b
Part/Toponaming: Transfer WireJoiner
...
* Created dedicated tests file for WireJoiner
* Added test for WireJoiner::addShape()
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-03-26 09:57:46 +01:00
Chris Hennes
148fd37c5a
Merge pull request #13096 from bgbsww/bgbsww-toponamingComplexGeoData
...
Toponaming/Part Bring in Python layer for ComplexGeoData
2024-03-25 23:20:52 -05:00
bgbsww
df381e0a21
Clean and test ComplexGeoData python interface
2024-03-25 21:52:37 -04:00
bgbsww
55acedb83d
Clean, enable disabled element map code in sketcher, add tests
2024-03-25 21:51:41 -04:00
bgbsww
300bff8b4a
Toponaming/Part: Additional testing for attacher
2024-03-23 10:59:30 +01:00
Chris Hennes
2ebbd83268
Merge pull request #13030 from bgbsww/bgbsww-toponamingFeatureExtrusionTwo
...
Toponaming/Part Move in feature extrusion
2024-03-22 10:40:56 -05:00
wmayer
8c7de5cb6e
Tests: add unit test to check OCCT behaviour
2024-03-22 11:40:58 +01:00
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