DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0025909

Exception "Standard_NoSuchObject: BRep_Tool:: no parameter on edge" is raised when making offset of the sweep

CommunityOCCT:Modeling Algorithmsassigned5 public notes

Search issues

Description

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.[revision removed]-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.[revision removed]-08, Mode=BRepOffset_Skin, Intersection=0, 
    SelfInter=0, Join=GeomAbs_Arc)
    at occt/src/BRepOffsetAPI/BRepOffsetAPI_MakeThickSolid.cxx:54

Steps to reproduce

pload MODELING
restore Attachment 1 (BREP) Sweep001001
explode Sweep001001 F
offsetparameter 1e-7 p a
offsetload Sweep001001 -1.24 Sweep001001_6 Sweep001001_7
offsetperform Thickness005
donly Thickness005

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 1
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.
02Commenter 2
Dear Author, please turn this issue to "reviewed" state if you are satisfied with the answer.
03Commenter 3
In order to request the healing of the offset algorithm it is needed to update bug description and parameters.
04Author
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.

05Commenter 5
As the initial shape Attachment 1 (BREP) is formally valid (by checkshape) and offset raises exception, it is needed initially to try to analyze the behavior of offset.