* 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>
Part/Toponaming: Move implementions to cpp file
Part/Toponaming: Automated code cleanup
Part/Toponaming: Address boolean blindess with HistoryTraceType
Part/Toponaming: More linter cleanup
Part/Toponaming: Add located and moved methods
Part/Toponaming: Moved and Located
Part/Toponaming: Add missing methods
Part/Toponaming: Add test framework for TopoShapeCache
Part/Toponaming: Add documentation provided by realthunder
Part/Toponaming: Extend tests for TopoShapeCache
Part/Toponaming: Rename getInfo to getAncestry
Part/Toponaming: Fix bug with newer OCCT
Part/Toponaming: Add final tests and tweak naming
Part/Toponaming: Address reviewer comments