|Anonymous | Login||2021-09-18 04:02 MSK|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0032557||Community||[OCCT] OCCT:Modeling Algorithms||public||2021-09-02 18:08||2021-09-02 18:28|
|Platform||Linux||OS||Debian 6.0||OS Version||64 bit|
|Product Version||[OCCT] 7.5.0|
|Target Version||Fixed in Version|
|Summary||0032557: Use of BRepBuilderAPI_NurbsConvert create 2d p-curves with errors|
|Description||With the given STEP file `abc_0_31-mod.step` given in the attached zip file, the code `debug_issue.cpp` (also in the zip file) shows that the conversion to NURBS using `BRepBuilderAPI_NurbsConvert` create an incorrect wire, with 2d p-curve accumulating so much imprecision that the end points of the loop of p-curve in the wire no longer coincide.|
Given the data set, the incriminated wire the one of the third face. I will attach screenshots...
The attached .cpp file loops on the edges of the wire, and displays the maximal distance between two endpoints (of p-curves) that should coincide. That process is run before and after the conversion to NURBS.
|Tags||No tags attached.|
|Test case number|
|Attached Files|| debug_issue.zip (15,645 bytes) 2021-09-02 18:08|
abc_31_third_face.png (43,187 bytes) 2021-09-02 18:08
wire.png (4,643 bytes) 2021-09-02 18:12
wire-nurbs.png (4,573 bytes) 2021-09-02 18:12
wire-nurbs-zoom.png (1,699 bytes) 2021-09-02 18:12
I have upload a general view of the STEP face that has the incorrect wire (after the conversion to NURBS).
I have also uploaded a drawing of the wire, in the 2d parametric space, before and after the conversion to NURBS, as well as a zoom on the problematic zone.
This bug occurs with OCCT version 7.5.0 (as shipped by Linux Fedora 34), and with the master branch of OCCT (commit dated Sun Jun 27 20:13:49 2021 +0300).
The bug was not present in OCCT version 7.4.0. That version 7.4.0 was ship in Linux Fedora 32, and I recompiled it locally to check again, just before the submission of this issue.
|2021-09-02 18:08||lrineau||New Issue|
|2021-09-02 18:08||lrineau||Assigned To||=> msv|
|2021-09-02 18:08||lrineau||File Added: debug_issue.zip|
|2021-09-02 18:08||lrineau||File Added: abc_31_third_face.png|
|2021-09-02 18:12||lrineau||File Added: wire.png|
|2021-09-02 18:12||lrineau||File Added: wire-nurbs.png|
|2021-09-02 18:12||lrineau||File Added: wire-nurbs-zoom.png|
|2021-09-02 18:14||lrineau||Note Added: 0103686|
|2021-09-02 18:18||lrineau||Note Added: 0103688|
|2021-09-02 18:26||kgv||Product Version||7.5.3 => 7.5.0|
|2021-09-02 18:28||kgv||Relationship added||related to 0031242|
|Copyright © 2000 - 2021 MantisBT Team|