Toponaming/Part: Rework and clean python interface and add tests
This commit is contained in:
@@ -71,7 +71,7 @@ App::DocumentObjectExecReturn *Box::execute()
|
||||
// Build a box using the dimension attributes
|
||||
BRepPrimAPI_MakeBox mkBox(L, W, H);
|
||||
TopoDS_Shape ResultShape = mkBox.Shape();
|
||||
this->Shape.setValue(ResultShape);
|
||||
this->Shape.setValue(ResultShape, false);
|
||||
return Primitive::execute();
|
||||
}
|
||||
catch (Standard_Failure& e) {
|
||||
|
||||
Reference in New Issue
Block a user