std::shared_ptr<GeomAPI_Pnt> aCenter = GeomAlgoAPI_ShapeTools::centreOfMass(theShape);
aResult<<"Center of mass: ";
double aCenterVals[3] = {aCenter->x(), aCenter->y(), aCenter->z()};
- dumpArray(aResult, aCenterVals, 3);
+ dumpArray(aResult, aCenterVals, 3, 5);
aResult<<std::endl;
return aResult.str();
}
model.testResultsVolumes(Part_1, [118190.673218984])
# checking for parametric update
-Parameter_Epaisseur.setValue(33)
+Parameter_Epaisseur.setValue(33.9)
model.do()
-model.testResultsVolumes(Part_1, [117340.407981679])
+model.testResultsVolumes(Part_1, [118105.9369682])
Parameter_Epaisseur.setValue(34)
model.end()