Salome HOME
Add a new mode for creating a box by a center and dimensions. (TestBox.py) cgt/primitives_1
authorcg246364 <clarisse.genrault@cea.fr>
Fri, 18 Mar 2022 09:22:34 +0000 (10:22 +0100)
committercg246364 <clarisse.genrault@cea.fr>
Fri, 18 Mar 2022 09:22:34 +0000 (10:22 +0100)
commit2e3ce0cb16568b8e3f6e2b5d91782b1207c84067
treee4714d41d5671a5038141e7f6d87719c99f6030b
parent536461be8f9286797d416753e6bf137ea4d97f1c
Add a new mode for creating a box by a center and dimensions. (TestBox.py)
Add a new mode for creating a sphere part. (TestSphere.py)
Add a new "Tube" primitive. (TestTube.py)
76 files changed:
src/GeomAlgoAPI/CMakeLists.txt
src/GeomAlgoAPI/GeomAlgoAPI_Box.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Box.h
src/GeomAlgoAPI/GeomAlgoAPI_Sphere.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Sphere.h
src/GeomAlgoAPI/GeomAlgoAPI_Tube.cpp [new file with mode: 0644]
src/GeomAlgoAPI/GeomAlgoAPI_Tube.h [new file with mode: 0644]
src/PrimitivesAPI/CMakeLists.txt
src/PrimitivesAPI/PrimitivesAPI.i
src/PrimitivesAPI/PrimitivesAPI_Box.cpp
src/PrimitivesAPI/PrimitivesAPI_Box.h
src/PrimitivesAPI/PrimitivesAPI_Sphere.cpp
src/PrimitivesAPI/PrimitivesAPI_Sphere.h
src/PrimitivesAPI/PrimitivesAPI_Torus.h
src/PrimitivesAPI/PrimitivesAPI_Tube.cpp [new file with mode: 0644]
src/PrimitivesAPI/PrimitivesAPI_Tube.h [new file with mode: 0644]
src/PrimitivesAPI/PrimitivesAPI_swig.h
src/PrimitivesPlugin/CMakeLists.txt
src/PrimitivesPlugin/PrimitivesPlugin_Box.cpp
src/PrimitivesPlugin/PrimitivesPlugin_Box.h
src/PrimitivesPlugin/PrimitivesPlugin_Plugin.cpp
src/PrimitivesPlugin/PrimitivesPlugin_Sphere.cpp
src/PrimitivesPlugin/PrimitivesPlugin_Sphere.h
src/PrimitivesPlugin/PrimitivesPlugin_Tube.cpp [new file with mode: 0644]
src/PrimitivesPlugin/PrimitivesPlugin_Tube.h [new file with mode: 0644]
src/PrimitivesPlugin/PrimitivesPlugin_msg_fr.ts
src/PrimitivesPlugin/box_widget.xml
src/PrimitivesPlugin/doc/PrimitivesPlugin.rst
src/PrimitivesPlugin/doc/TUI_boxByPtDims.rst [new file with mode: 0644]
src/PrimitivesPlugin/doc/TUI_coneFeature.rst
src/PrimitivesPlugin/doc/TUI_cylinderFeature.rst
src/PrimitivesPlugin/doc/TUI_cylinderPortion.rst
src/PrimitivesPlugin/doc/TUI_sphereFeature.rst
src/PrimitivesPlugin/doc/TUI_spherePart.rst [new file with mode: 0644]
src/PrimitivesPlugin/doc/TUI_torusFeature.rst
src/PrimitivesPlugin/doc/TUI_tubeFeature.rst [new file with mode: 0644]
src/PrimitivesPlugin/doc/boxFeature.rst
src/PrimitivesPlugin/doc/examples/box3.py [new file with mode: 0644]
src/PrimitivesPlugin/doc/examples/sphere.py [deleted file]
src/PrimitivesPlugin/doc/examples/sphere1.py [new file with mode: 0644]
src/PrimitivesPlugin/doc/examples/sphere2.py [new file with mode: 0644]
src/PrimitivesPlugin/doc/examples/tube.py [new file with mode: 0644]
src/PrimitivesPlugin/doc/images/Box3.png [new file with mode: 0644]
src/PrimitivesPlugin/doc/images/Box_2points.png
src/PrimitivesPlugin/doc/images/Box_dimensions.png
src/PrimitivesPlugin/doc/images/Box_ptAndDims.png [new file with mode: 0644]
src/PrimitivesPlugin/doc/images/Sphere.png [deleted file]
src/PrimitivesPlugin/doc/images/Sphere1.png [new file with mode: 0644]
src/PrimitivesPlugin/doc/images/Sphere2.png [new file with mode: 0644]
src/PrimitivesPlugin/doc/images/Sphere_button.png
src/PrimitivesPlugin/doc/images/Sphere_full.png [new file with mode: 0644]
src/PrimitivesPlugin/doc/images/Sphere_part.png [new file with mode: 0644]
src/PrimitivesPlugin/doc/images/Sphere_res.png [deleted file]
src/PrimitivesPlugin/doc/images/Tube.png [new file with mode: 0644]
src/PrimitivesPlugin/doc/images/Tube_button.png [new file with mode: 0755]
src/PrimitivesPlugin/doc/images/Tube_res.png [new file with mode: 0644]
src/PrimitivesPlugin/doc/images/box.png [deleted file]
src/PrimitivesPlugin/doc/images/box_pt_dxyz_32x32.png [new file with mode: 0644]
src/PrimitivesPlugin/doc/images/sphere_32x32.png [new file with mode: 0644]
src/PrimitivesPlugin/doc/images/sphere_part_32x32.png [new file with mode: 0644]
src/PrimitivesPlugin/doc/sphereFeature.rst
src/PrimitivesPlugin/doc/tubeFeature.rst [new file with mode: 0644]
src/PrimitivesPlugin/icons/box_pt_dxyz_32x32.png [new file with mode: 0644]
src/PrimitivesPlugin/icons/sphere.png
src/PrimitivesPlugin/icons/sphere_32x32.png [new file with mode: 0755]
src/PrimitivesPlugin/icons/sphere_part_32x32.png [new file with mode: 0755]
src/PrimitivesPlugin/icons/tube.png [new file with mode: 0755]
src/PrimitivesPlugin/plugin-Primitives.xml
src/PrimitivesPlugin/sphere_widget.xml
src/PrimitivesPlugin/tube_widget.xml [new file with mode: 0644]
src/PythonAPI/model/primitives/__init__.py
test.API/SHAPER/Primitives/TestAPI_Box.py
test.API/SHAPER/Primitives/TestBox.py
test.API/SHAPER/Primitives/TestSphere.py
test.API/SHAPER/Primitives/TestTube.py [new file with mode: 0644]
test.API/SHAPER/tests.set