mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-05 11:24:17 +03:00
Test case tests/bugs/modalg/dxf906 was renamed to bug889 Adding test cases to tests/bugs/moddata Modified expressions puts [checkshape result]. Added command vzfit in end file in folder bugs. Unlocked command coordload in QABugs_3.cxx Modified test case bugs vis buc60738 Added test cases to modalg and moddata Added test cases to caf and fclasses Added test cases to group heal
31 lines
1.0 KiB
Plaintext
Executable File
31 lines
1.0 KiB
Plaintext
Executable File
|
|
puts "==========="
|
|
puts " BUC60960"
|
|
puts "==========="
|
|
|
|
proc do_offsets {i} {
|
|
global c c1 c2 c3 c4 c5
|
|
|
|
set poles {{0 0 1} {0 1 1} {1 1 1} {1 0 1} {2 0 1} {2 -1 1} {1 -1 1} \
|
|
{1 -2 1} {0 -2 1} {0 -1 1} {-1 -1 1} {-1 0 1}}
|
|
set knots {{0 1} {1 1} {2 1} {3 1} {4 1} {5 1} {6 1} {7 1} {8 1} {9 1} \
|
|
{10 1} {11 1} {12 1}}
|
|
eval 2dpbsplinecurve c 3 [llength $knots] [join $knots] [join $poles]
|
|
|
|
|
|
if [catch {offset c1 c 0.1}] {puts "while creating c1 at step $i"}
|
|
if [catch {offset c2 c 0.2}] {puts "while creating c2 at step $i"}
|
|
if [catch {offset c3 c 0.3}] {puts "while creating c3 at step $i"}
|
|
if [catch {offset c4 c 0.4}] {puts "while creating c4 at step $i"}
|
|
if [catch {offset c5 c 0.5}] {puts "while creating c5 at step $i"}
|
|
if [catch {offset c6 c 0.6}] {puts "while creating c6 at step $i"}
|
|
if [catch {offset c7 c 0.7}] {puts "while creating c7 at step $i"}
|
|
if [catch {offset c8 c 0.8}] {puts "while creating c8 at step $i"}
|
|
}
|
|
|
|
for {set i 0} {$i < 10} {incr i} {
|
|
do_offsets $i
|
|
}
|
|
|
|
|