1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +03:00

0032964: Modeling Algorithms - 2d Offset sometimes 'split' straight edges

Implemented avoiding force cut of an edge in case of simple edge (that contains just 1 curve).
This commit is contained in:
astromko
2024-05-17 08:58:06 +00:00
committed by jfa
parent 17d27a772d
commit 9c84b526cd
3 changed files with 18 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
puts "============="
puts "0032964: Modeling Algorithms - 2d Offset sometimes 'split' straight edges"
puts "============="
pload MODELING
vertex p1 -90 40 0
vertex p2 40 40 0
vertex p3 40 -90 0
edge e1 p1 p2
edge e2 p2 p3
wire w1 e1 e2
openoffset oo w1 1 40
checknbshapes oo_1 -vertex 3 -edge 2 -wire 1 -shape 6
checkview -display oo_1 -2d -path ${imagedir}/${test_image}.png