Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a new mode for creating a box by a center and dimensions. (TestBox.py)
[modules/shaper.git]
/
src
/
PrimitivesAPI
/
PrimitivesAPI.i
diff --git
a/src/PrimitivesAPI/PrimitivesAPI.i
b/src/PrimitivesAPI/PrimitivesAPI.i
index 5fa74c454b6acc7c07266fcf572b1f6d8f07e088..3e6dc352134329fb42d75525b38c9b9246e58c9b 100644
(file)
--- a/
src/PrimitivesAPI/PrimitivesAPI.i
+++ b/
src/PrimitivesAPI/PrimitivesAPI.i
@@
-43,6
+43,7
@@
%shared_ptr(PrimitivesAPI_Cylinder)
%shared_ptr(PrimitivesAPI_Sphere)
%shared_ptr(PrimitivesAPI_Torus)
%shared_ptr(PrimitivesAPI_Cylinder)
%shared_ptr(PrimitivesAPI_Sphere)
%shared_ptr(PrimitivesAPI_Torus)
+%shared_ptr(PrimitivesAPI_Tube)
// all supported interfaces
%include "PrimitivesAPI_Box.h"
// all supported interfaces
%include "PrimitivesAPI_Box.h"
@@
-50,3
+51,4
@@
%include "PrimitivesAPI_Cylinder.h"
%include "PrimitivesAPI_Sphere.h"
%include "PrimitivesAPI_Torus.h"
%include "PrimitivesAPI_Cylinder.h"
%include "PrimitivesAPI_Sphere.h"
%include "PrimitivesAPI_Torus.h"
+%include "PrimitivesAPI_Tube.h"