mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
PCurve is extended to surface boundary forcefully. It is made by finding some additional points (if it is possibly). "bopcurves" DRAW-command returns number of found 3D-curves and (as an option) 2D-curve (see help for more detail information). Test cases for issue CR24585
32 lines
580 B
Plaintext
32 lines
580 B
Plaintext
puts "========="
|
|
puts "OCC24585"
|
|
puts "========="
|
|
puts ""
|
|
###########################################################
|
|
# Wrong pcurve of the section curve
|
|
###########################################################
|
|
|
|
restore [locate_data_file bug24585_b1.brep] b1
|
|
restore [locate_data_file bug24585_b2.brep] b2
|
|
|
|
bclearobjects
|
|
bcleartools
|
|
baddobjects b1 b2
|
|
|
|
bfillds
|
|
bbuild result
|
|
|
|
set square 933.33
|
|
|
|
set nb_v_good 10
|
|
set nb_e_good 11
|
|
set nb_w_good 4
|
|
set nb_f_good 3
|
|
set nb_sh_good 0
|
|
set nb_sol_good 0
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 1
|
|
set nb_shape_good 29
|
|
|
|
set 2dviewer 1
|