MantisBT - Community
View Issue Details
0025909Community[OCCT] OCCT:Modeling Algorithmspublic2015-03-11 02:352015-03-11 16:14
shoogen 
msv 
normalminor 
assignedopen 
LinuxDebian 6.064 bit
[OCCT] 6.9.0 
[OCCT] Unscheduled 
0025909: Exception "Standard_NoSuchObject: BRep_Tool:: no parameter on edge" is raised when making offset of the sweep
It's just a question. I have no idea what this exception is supposed to mean.

#4  0x00007f0104bd9658 in Standard_NoSuchObject::Raise (
    AString=0x7f00f9ddfac8 "BRep_Tool:: no parameter on edge")
    at occt/drv/Standard/Standard_NoSuchObject_0.cxx:10
#5  0x00007f00f9d8dde4 in BRep_Tool::Parameter (V=..., E=...)
    at occt/src/BRep/BRep_Tool.cxx:1296
#6  0x00007f00f8679710 in BRepOffset_Tool::ExtentFace (F=..., ConstShapes=..., 
    ToBuild=..., Side=TopAbs_OUT, TolConf=5.0151591829174496e-07, NF=...)
    at occt/src/BRepOffset/BRepOffset_Tool.cxx:3777
0000007  0x00007f00f8649f60 in BRepOffset_MakeOffset::ToContext (this=
    0x7ffc0ed991e8, MapSF=...)
    at occt/src/BRepOffset/BRepOffset_MakeOffset.cxx:1732
0000008  0x00007f00f86491aa in BRepOffset_MakeOffset::BuildOffsetByArc (this=
    0x7ffc0ed991e8)
    at occt/src/BRepOffset/BRepOffset_MakeOffset.cxx:1568
0000009  0x00007f00f8644664 in BRepOffset_MakeOffset::MakeOffsetShape (this=
    0x7ffc0ed991e8)
    at occt/src/BRepOffset/BRepOffset_MakeOffset.cxx:701
#10 0x00007f00f864489e in BRepOffset_MakeOffset::MakeThickSolid (this=
    0x7ffc0ed991e8)
    at occt/src/BRepOffset/BRepOffset_MakeOffset.cxx:775
0000011 0x00007f00f85fa0ec in BRepOffsetAPI_MakeThickSolid::Build (this=
    0x7ffc0ed991b0)
    at occt/src/BRepOffsetAPI/BRepOffsetAPI_MakeThickSolid.cxx:65
#12 0x00007f00f85fa08d in BRepOffsetAPI_MakeThickSolid::BRepOffsetAPI_MakeThickSolid (this=0x7ffc0ed991b0, 
S=..., ClosingFaces=..., Offset=-1.24, 
    Tol=9.9999999999999995e-08, Mode=BRepOffset_Skin, Intersection=0, 
    SelfInter=0, Join=GeomAbs_Arc)
    at occt/src/BRepOffsetAPI/BRepOffsetAPI_MakeThickSolid.cxx:54
pload MODELING
restore thickness-no_para1-tcl-Sweep001001.brep Sweep001001
explode Sweep001001 F
offsetparameter 1e-7 p a
offsetload Sweep001001 -1.24 Sweep001001_6 Sweep001001_7
offsetperform Thickness005
donly Thickness005
No tags attached.
? thickness-no_para1-tcl-Sweep001001.brep (7,206) 2015-03-11 02:35
https://tracker.dev.opencascade.org/
? thickness-no_para2-Sweep-curve2ds.brep (7,530) 2015-03-11 16:08
https://tracker.dev.opencascade.org/
Issue History
2015-03-11 02:35shoogenNew Issue
2015-03-11 02:35shoogenAssigned To => msv
2015-03-11 02:35shoogenFile Added: thickness-no_para1-tcl-Sweep001001.brep
2015-03-11 14:07msvNote Added: 0038254
2015-03-11 14:07msvAssigned Tomsv => shoogen
2015-03-11 14:07msvStatusnew => feedback
2015-03-11 14:09msvStatusfeedback => resolved
2015-03-11 14:11msvNote Added: 0038255
2015-03-11 14:11shoogenNote Added: 0038256
2015-03-11 14:24shoogenNote Deleted: 0038256
2015-03-11 15:55msvNote Added: 0038268
2015-03-11 16:00msvAssigned Toshoogen => msv
2015-03-11 16:00msvSeverityjust a question => minor
2015-03-11 16:00msvStatusresolved => assigned
2015-03-11 16:00msvProduct Version => 6.9.0
2015-03-11 16:00msvTarget Version => Unscheduled
2015-03-11 16:00msvSummaryWhat does "no parameter on edge" in offsetperform mean ? => Exception "Standard_NoSuchObject: BRep_Tool:: no parameter on edge" is raised when making offset of the sweep
2015-03-11 16:08shoogenFile Added: thickness-no_para2-Sweep-curve2ds.brep
2015-03-11 16:08shoogenNote Added: 0038269
2015-03-11 16:10shoogenNote Edited: 0038269bug_revision_view_page.php?bugnote_id=38269#r9574
2015-03-11 16:14msvNote Added: 0038272

Notes
(0038254)
msv   
2015-03-11 14:07   
The exception "Standard_NoSuchObject: BRep_Tool:: no parameter on edge" is raised from the method BRep_Tool::Parameter when the input vertex does not belong to the input edge.
In this context it can mean that there is an issue in the input data or the algorithm that leads to incorrect call of this method.
(0038255)
msv   
2015-03-11 14:11   
Dear shoogen, please turn this issue to "reviewed" state if you are satisfied with the answer.
(0038268)
msv   
2015-03-11 15:55   
In order to request the healing of the offset algorithm it is needed to update bug description and parameters.
(0038269)
shoogen   
2015-03-11 16:08   
(edited on: 2015-03-11 16:10)
This problem is hard to reproduce. Out of nowhere it suddenly gave the correct the result. The output of the sweep changed somehow. The tesselation and the vprops look the same. But a diff of the breps shows differences.
The most obvious one is that the alternative input shape has "Curve2ds 22" whereas the original has "Curve2ds 0" and Surfaces 7 compared to Surfaces 0
So I'm still not sure if the sweep is to blame or the offset.

(0038272)
msv   
2015-03-11 16:14   
As the initial shape thickness-no_para1-tcl-Sweep001001.brep is formally valid (by checkshape) and offset raises exception, it is needed initially to try to analyze the behavior of offset.