Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modeling Algorithms - TCollection_IndexedDataMap::FindFromKey error when sweeping circle along BezierCurve [25110] #302

Open
dpasukhi opened this issue Jan 28, 2025 · 0 comments
Labels
0. New The issue was created, but not updated by maintainer. Waiting for updates labels and categories 1. Modeling Boolean operations, offsets, primitives, any conversion, brep builders and etc... 2. Bug Something isn't working 7. FreeCAD The issue related to FreeCAD project

Comments

@dpasukhi
Copy link
Member

Description

TCollection_IndexedDataMap::FindFromKey error when sweeping along BezierCurve

Expected Behavior

No exceptions.

Actual Behavior

in DRAWEXE

Dump of SweepApproximation
Error 3d = 24188.4831432816
30 Segment(s) of degree 11
Sweep : Degenerated case
An exception was caught 0x7f045d441b27 : Standard_OutOfRange: TCollection_IndexedDataMap::FindFromKey
** Exception ** 0x7f045d441b27 : Standard_OutOfRange: TCollection_IndexedDataMap::FindFromKey

in our project

0000005 0x00007f955ec02fd9 in TopTools_IndexedDataMapOfShapeListOfShape::FindFromKey (this=0x7fff41394450, K1=...)
    at occt/inc/TCollection_IndexedDataMap.gxx:354
0000006 0x00007f955f6404c6 in IsSameOriented (aFace=..., aShell=...)
    at occt/src/BRepFill/BRepFill_PipeShell.cxx:198
0000007 0x00007f955f643637 in BRepFill_PipeShell::MakeSolid (this=0x65b3440)
    at occt/src/BRepFill/BRepFill_PipeShell.cxx:840
0000008 0x00007f955d4c98c8 in BRepOffsetAPI_MakePipeShell::MakeSolid (this=
    0x7fff41394720)
    at occt/src/BRepOffsetAPI/BRepOffsetAPI_MakePipeShell.cxx:274

Sample Code or DRAW Tcl Script

test case: bugs modalg_7 bug25110

pload ALL
restore unsweepable1-draw-Sweep-0-spine.brep
renamevar unsweepable1-draw-Sweep-0-spine Sweep-0-spine
mksweep Sweep-0-spine
setsweep -CF
restore unsweepable1-draw-Sweep-0-section-00-Circle.brep
renamevar unsweepable1-draw-Sweep-0-section-00-Circle Sweep-0-section-00-Circle
addsweep Sweep-0-section-00-Circle 
buildsweep Sweep -C -S

Operating System

Linux

Compiler

GCC

Bitness

64-bit

OCCT Version

latest

Additional Files

unsweepable1.zip

@dpasukhi dpasukhi added 0. New The issue was created, but not updated by maintainer. Waiting for updates labels and categories 1. Modeling Boolean operations, offsets, primitives, any conversion, brep builders and etc... 2. Bug Something isn't working 7. FreeCAD The issue related to FreeCAD project labels Jan 28, 2025
@dpasukhi dpasukhi changed the title Modeling Algorithms - TCollection_IndexedDataMap::FindFromKey error when sweeping circle along BezierCurve Modeling Algorithms - TCollection_IndexedDataMap::FindFromKey error when sweeping circle along BezierCurve [25110] Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. New The issue was created, but not updated by maintainer. Waiting for updates labels and categories 1. Modeling Boolean operations, offsets, primitives, any conversion, brep builders and etc... 2. Bug Something isn't working 7. FreeCAD The issue related to FreeCAD project
Projects
Status: Todo
Development

No branches or pull requests

1 participant