MantisBT - Open CASCADE
View Issue Details
0028684Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2017-04-25 15:232019-08-12 16:37
nbv 
msv 
normalminor 
newopen 
 
[OCCT] 7.5.0* 
0028684: BRepOffsetAPI_MakeOffset produces wire with another orientation in compare with source wire
Wires from Steps To Reproduce are oriented correctly.

However, some result wires have orientation different from orientation of source wire.

It seems depends on offset value (positive or negative), but why?
******** SCRIPT # 1 (closed wire):

circle cc 0 0 0 100
mkedge ee cc
wire ww ee

mkoffset r1 ww 1 10 i
mkoffset r2 ww 1 -10 i

axo
don ww r1_1 r2_1

vori ww

vori r1_1
# Reversed wire ==> WRONG

vori r2_1
# Not reversed wire ==> OK
------------------------------------------------------------------------

******** SCRIPT # 2 (open wire, tests\bugs\modalg_5\bug25298_02):

restore [locate_data_file bug25225_2869_open.brep] a

openoffset r1 a 1 10 i
openoffset r2 a 1 -10 i

axo
don a r1_1 r2_1

vori a

vori r1_1
# Reversed wire ==> WRONG

vori r2_1
# Not reversed wire ==> OK
No tags attached.
png Closed wire.PNG (19,396) 2017-04-25 15:23
https://tracker.dev.opencascade.org/
png open wire.PNG (15,130) 2017-04-25 15:25
https://tracker.dev.opencascade.org/
Issue History
2017-04-25 15:23nbvNew Issue
2017-04-25 15:23nbvAssigned To => msv
2017-04-25 15:23nbvFile Added: Closed wire.PNG
2017-04-25 15:23nbvFile Added: open wire.PNG
2017-04-25 15:25nbvFile Deleted: open wire.PNG
2017-04-25 15:25nbvFile Added: open wire.PNG
2017-07-24 09:22msvTarget Version7.2.0 => 7.3.0
2017-12-05 17:01msvTarget Version7.3.0 => 7.4.0
2019-08-12 16:37msvTarget Version7.4.0 => 7.5.0*

There are no notes attached to this issue.