PD: fixes #0004567: Pattern from a feature type UpToFace and Offset > copy whole body
This commit is contained in:
@@ -274,8 +274,8 @@ App::DocumentObjectExecReturn *Pad::execute(void)
|
||||
return new App::DocumentObjectExecReturn("Pad: Up to face: Could not extrude the sketch!");
|
||||
prism = PrismMaker.Shape();
|
||||
#else
|
||||
Standard_Integer fuse = fabs(Offset.getValue()) > Precision::Confusion() ? 1 : 2;
|
||||
generatePrism(prism, method, base, sketchshape, supportface, upToFace, dir, fuse, Standard_True);
|
||||
PrismMode mode = PrismMode::None;
|
||||
generatePrism(prism, method, base, sketchshape, supportface, upToFace, dir, mode, Standard_True);
|
||||
#endif
|
||||
base.Nullify();
|
||||
} else {
|
||||
@@ -300,8 +300,8 @@ App::DocumentObjectExecReturn *Pad::execute(void)
|
||||
return new App::DocumentObjectExecReturn("Pad: Up to face: Could not extrude the sketch!");
|
||||
prism = PrismMaker.Shape();
|
||||
#else
|
||||
Standard_Integer fuse = fabs(Offset.getValue()) > Precision::Confusion() ? 1 : 2;
|
||||
generatePrism(prism, method, base, sketchshape, supportface, upToFace, dir, fuse, Standard_True);
|
||||
PrismMode mode = PrismMode::None;
|
||||
generatePrism(prism, method, base, sketchshape, supportface, upToFace, dir, mode, Standard_True);
|
||||
#endif
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user