Toponaming/Part: Rework and clean python interface and add tests

This commit is contained in:
bgbsww
2024-03-20 17:06:30 -04:00
parent 644491fcd7
commit 58bfabf925
6 changed files with 433 additions and 175 deletions

View File

@@ -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) {