MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #27674 All Revisions ] Back to Issue ]
Summary 0027674: BRepOffsetAPI_ThruSections make invalid shape if sections are connected at ends
Revision 2016-07-13 07:06 by Vico Liang
Description BRepOffsetAPI_ThruSections aLoft(Standard_False, Standard_False, Precision::Confusion());
aLoft.SetParType(Approx_ChordLength);
aLoft.SetContinuity(GeomAbs_C2);
aLoft.SetSmoothing(Standard_True);
aLoft.CheckCompatibility(Standard_True);

// Load the file CircleLineWires.brep to get two wires of aLine and aSemiCircle
aLoft.AddWire(TopoDS::Wire(aLine));
aLoft.AddWire(TopoDS::Wire(aSemiCicle));
aLoft.Build();

BRepCheck_Analyzer aCheck(aLoft.Shape());
if (!aCheck.IsValid())
{
    // Invalid SameParameterFlag
}

Revision 2016-07-13 06:53 by Vico Liang
Description
BRepOffsetAPI_ThruSections aLoft(Standard_False, Standard_False, Precision::Confusion());
aLoft.SetParType(Approx_ChordLength);
aLoft.SetContinuity(GeomAbs_C2);
aLoft.SetSmoothing(Standard_True);
aLoft.CheckCompatibility(Standard_True);

// Load the file CircleLineWires.brep to get two wires of aLine and aSemiCircle
aLoft.AddWire(TopoDS::Wire(aLine));
aLoft.AddWire(TopoDS::Wire(aSemiCicle));
aLoft.Build();

BRepCheck_Analyzer aCheck(aLoft.Shape());
if (!aCheck.IsValid())
{
    // Invalid SameParameterFlag
}



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker