Salome HOME
Issue #2631: SIGSEGV when creating a point on the result of a cut edge by edge
[modules/shaper.git] / src / FeaturesPlugin / Test / TestBooleanSmash.py
index 410c09da8731ba2813a88284f83cbeb3fdce1d91..4be9090f0e551b493dc458e67340fb9c5939cab5 100644 (file)
@@ -108,11 +108,9 @@ aSession.finishOperation()
 # Smash prism into the cylinder
 #=========================================================================
 aSession.startOperation()
-aBooleanFt = aPart.addFeature("Boolean")
+aBooleanFt = aPart.addFeature("Smash")
 aBooleanFt.selectionList("main_objects").append(extrudedObjects[0], extrudedObjects[0].shape())
 aBooleanFt.selectionList("tool_objects").append(extrudedObjects[1], extrudedObjects[1].shape())
-kBooleanTypeSmash = 3
-aBooleanFt.integer("bool_type").setValue(kBooleanTypeSmash)
 aBooleanFt.execute()
 aSession.finishOperation()