+ get first solid in result
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5073 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
@@ -162,7 +162,7 @@ App::DocumentObjectExecReturn *Pad::execute(void)
|
||||
return new App::DocumentObjectExecReturn("Support is not a solid");
|
||||
}
|
||||
else {
|
||||
TopoDS_Shape result = TopoDS::Solid(PrismMaker.Shape());
|
||||
TopoDS_Shape result = this->getSolid(PrismMaker.Shape());
|
||||
// set the additive shape property for later usage in e.g. pattern
|
||||
this->AddShape.setValue(result);
|
||||
this->Shape.setValue(result);
|
||||
|
||||
Reference in New Issue
Block a user