mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0026493: BRepProj_Projection failed to project a wire on a shell
Cylindrical projection moved from old boolean operations to the new BOP. Test case for issue CR26493
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include <Bnd_Box.hxx>
|
||||
#include <BRep_Builder.hxx>
|
||||
#include <BRep_Tool.hxx>
|
||||
#include <BRepAlgo_Section.hxx>
|
||||
#include <BRepAlgoAPI_Section.hxx>
|
||||
#include <BRepBndLib.hxx>
|
||||
#include <BRepFill_Generator.hxx>
|
||||
#include <BRepLib_MakeEdge.hxx>
|
||||
@@ -126,8 +126,7 @@ void BRepProj_Projection::BuildSection (const TopoDS_Shape& theShape,
|
||||
Standard_ConstructionError::Raise(__FILE__": target shape has no faces");
|
||||
|
||||
// build section computing pcurves on the shape
|
||||
// BRepAlgoAPI_Section aSectionTool (aShape, theTool, Standard_False);
|
||||
BRepAlgo_Section aSectionTool (aShape, theTool, Standard_False);
|
||||
BRepAlgoAPI_Section aSectionTool (aShape, theTool, Standard_False);
|
||||
aSectionTool.Approximation (Standard_True);
|
||||
aSectionTool.ComputePCurveOn1 (Standard_True);
|
||||
aSectionTool.Build();
|
||||
|
Reference in New Issue
Block a user