PD Extrude up to multiple faces or shape
This commit is contained in:
committed by
Chris Hennes
parent
526cc024ad
commit
7ffddb6f7d
@@ -4279,7 +4279,7 @@ TopoShape& TopoShape::makeElementPrismUntil(const TopoShape& _base,
|
||||
|
||||
// Check whether the face has limits or not. Unlimited faces have no wire
|
||||
// Note: Datum planes are always unlimited
|
||||
if (checkLimits && uptoface.hasSubShape(TopAbs_WIRE)) {
|
||||
if (checkLimits && _uptoface.shapeType(true) == TopAbs_FACE && uptoface.hasSubShape(TopAbs_WIRE)) {
|
||||
TopoDS_Face face = TopoDS::Face(uptoface.getShape());
|
||||
bool remove_limits = false;
|
||||
// Remove the limits of the upToFace so that the extrusion works even if profile is larger
|
||||
|
||||
Reference in New Issue
Block a user