mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0023832: sprops and triarea commands return incorrect value of a mass for shape of revolution
incorrect way of creation faces in test scripts has been fixed
This commit is contained in:
parent
a31abc03d7
commit
903634d07d
@ -16,13 +16,12 @@ edge e2 v2 v3
|
||||
edge e3 v3 v1
|
||||
wire w1 e1 e2 e3
|
||||
plane pln 0 10 0 1 0 0
|
||||
mkface f1 pln
|
||||
add w1 f1
|
||||
mkface f1 pln w1
|
||||
don f1
|
||||
revol result f1 0 10 0 0 0 1 180
|
||||
checkshape result
|
||||
|
||||
set square 823.385
|
||||
set square 673.385
|
||||
|
||||
set nb_v_good 3
|
||||
set nb_e_good 8
|
||||
|
@ -17,13 +17,12 @@ edge e2 v2 v3
|
||||
edge e3 v3 v1
|
||||
wire w1 e1 e2 e3
|
||||
plane pln 0 5 5 1 0 0
|
||||
mkface f1 pln
|
||||
add w1 f1
|
||||
mkface f1 pln w1
|
||||
don f1
|
||||
revol result f1 0 10 0 0 0 1 180
|
||||
checkshape result
|
||||
|
||||
set square 186.072
|
||||
set square 161.072
|
||||
|
||||
set nb_v_good 3
|
||||
set nb_e_good 8
|
||||
|
Loading…
x
Reference in New Issue
Block a user