* Renamed enum classes members to lowercaseCapword
* Moved struct ShapeHasher back to TopoShapeMapper.h
* Added test for MapperMaker::generated
* Modifications for clang-tidy warnings
* Formatting
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
* Added test for MapperMaker::generated
* Renamed spit into splitMkr in the test for MapperMaker::modified
* Disabled test for TopoShape::makeElementWires
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
* Added test for Tag Info generated by makeShapeWithElementMap
* Make sure that there's at least one mapped element before checking the element map
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
* Tests for makeShapeWithElementMap
* Added nullShapesThrows tests for the classes derived from <TopoDS_Shape>
* Added test passing as "sources" parameter of the tested method an empty vector of TopoShapes objects
* Added test with unmappable sources
* Added test to find shapes inside other shapes made from the first ones
* Tests for makeShapeWithElementMap with simple shapes
* Added test to find source shapes' sub-shapes name in the elements maps
* Added test to find the "MAK" OpCode in the elements maps names
---------
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
* Tweak resetElementMap tp default to empty defined element map
* [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>
This verifies the existing functionality, but does not alter it. Two tests are disabled because they represent cases that the current code does not handle correctly. They are edge cases that are not expected in real code.
* Initial tests for Chamfer, Fillet, Compound
* Lint cleanup, new tests
* Outline of Extrusion and Revolution
* Use python to define a 2d object to extrude and test
* Refactor; start filling in revolution tests
* Example of parameterized tests in Extrusion, cleanups
* Use gtest framework for parameterised tests
* Rearrange for clarity
* WIP with TEST_P use for posterity
* Switch from parameters to individual tests
* Guess at test failures on other platforms
* Cleanups and Revolution Tests
* Remove temp code
* Switch Revolutions to boundbox test; add Compound subshape count test
* Calculate test volume correctly; lint fixes
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
Continues the work of the material subsystem improvements.
Add support for embedded SVG files. These are not the same
as image files so need to be handled differently.
Add the ability to filter materials in the editor when called from
code. This allows programs to select objects supporting specific
models, complete models, older models, etc.
Updated tests, and refactored code.
New models and materials supporting patterns such as used by the
TechDraw workbench.
fixes#11686 - checks for the presense of a model property before
assinging a value. This can happen when a required model definition is
not available.
---------
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>