MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #31638 All Revisions ] Back to Issue ]
Summary 0031638: Draw command chfi2d corrupts face
Revision 2020-06-29 01:02 by ssv
Steps To Reproduce pload ALL
set X 10
set Y 8
set Width [expr $X*0.8]
set Height [expr $Y*0.8]
set r [expr $Width/5.]
vertex v1 0 0 0
vertex v2 [expr $X*2] 0 0
vertex v3 [expr $X*2] [expr $Y*2] 0
vertex v4 0 [expr $Y*2] 0
edge e1 v1 v2
edge e2 v2 v3
edge e3 v3 v4
edge e4 v4 v1
vertex v5 [expr $X-$Width/2] [expr $Y-$Height/2] 0
vertex v6 [expr $X+$Width/2] [expr $Y-$Height/2] 0
vertex v7 [expr $X+$Width/2] [expr $Y+$Height/2] 0
vertex v8 [expr $X-$Width/2] [expr $Y+$Height/2] 0
wire ow e1 e2 e3 e4
edge e5 v5 v6
edge e6 v6 v7
edge e7 v7 v8
edge e8 v8 v5
wire iw e5 e6 e7 e8
donly ow iw
orientation iw R
plane p
mkface f p
emptycopy f f
add ow f
add iw f
checkshape f # OK
explode f e
chfi2d f f f_5 f_8 F $r f_5 f_6 F $r f_6 f_7 F $r f_7 f_8 F $r
checkshape f # NOK
Revision 2020-06-29 01:01 by ssv
Steps To Reproduce pload ALL
set X 10
set Y 8
set Width [expr $X*0.8]
set Height [expr $Y*0.8]
set r [expr $Width/5.]
vertex v1 0 0 0
vertex v2 [expr $X*2] 0 0
vertex v3 [expr $X*2] [expr $Y*2] 0
vertex v4 0 [expr $Y*2] 0
edge e1 v1 v2
edge e2 v2 v3
edge e3 v3 v4
edge e4 v4 v1
vertex v5 [expr $X-$Width/2] [expr $Y-$Height/2] 0
vertex v6 [expr $X+$Width/2] [expr $Y-$Height/2] 0
vertex v7 [expr $X+$Width/2] [expr $Y+$Height/2] 0
vertex v8 [expr $X-$Width/2] [expr $Y+$Height/2] 0
wire ow e1 e2 e3 e4
edge e1 v1 v2
edge e5 v5 v6
edge e6 v6 v7
edge e7 v7 v8
edge e8 v8 v5
wire iw e5 e6 e7 e8
donly ow iw
orientation iw R
plane p
mkface f p
emptycopy f f
add ow f
add iw f
checkshape f # OK
explode f e
chfi2d f f f_5 f_8 F $r f_5 f_6 F $r f_6 f_7 F $r f_7 f_8 F $r
checkshape f # NOK


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker