Pad/Pocket: Allow extrude up to a datum plane

This commit is contained in:
jrheinlaender
2013-05-14 15:44:24 +04:30
committed by Stefan Tröger
parent bf973e06c0
commit de17a3ede4
12 changed files with 161 additions and 153 deletions

View File

@@ -100,3 +100,9 @@ void Datum::onDocumentRestored()
Part::Feature::onDocumentRestored();
}
TopoDS_Shape Datum::getShape() const
{
Part::TopoShape sh = Shape.getShape();
sh.setPlacement(Placement.getValue());
return sh._Shape;
}