mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0025694: Change STEP exporter to use AP214 IS by default
Test-case for issue #25694
This commit is contained in:
parent
55b05039a4
commit
71595c2970
@ -85,7 +85,7 @@ STEPControl_Controller::STEPControl_Controller ()
|
|||||||
Interface_Static::Init("step","write.step.schema",'&',"eval AP214DIS");
|
Interface_Static::Init("step","write.step.schema",'&',"eval AP214DIS");
|
||||||
Interface_Static::Init("step","write.step.schema",'&',"eval AP203");
|
Interface_Static::Init("step","write.step.schema",'&',"eval AP203");
|
||||||
Interface_Static::Init("step","write.step.schema",'&',"eval AP214IS");
|
Interface_Static::Init("step","write.step.schema",'&',"eval AP214IS");
|
||||||
Interface_Static::SetCVal("write.step.schema","AP214CD");
|
Interface_Static::SetCVal("write.step.schema","AP214IS");
|
||||||
|
|
||||||
// Type of Product Definition for reading
|
// Type of Product Definition for reading
|
||||||
// Note: the numbers should be consistent with function FindShapeReprType()
|
// Note: the numbers should be consistent with function FindShapeReprType()
|
||||||
|
20
tests/bugs/step/bug25694
Normal file
20
tests/bugs/step/bug25694
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
puts "========"
|
||||||
|
puts "OCC25694"
|
||||||
|
puts "========"
|
||||||
|
puts ""
|
||||||
|
###################################################
|
||||||
|
# Change STEP exporter to use AP214 IS by default
|
||||||
|
###################################################
|
||||||
|
|
||||||
|
box b 1 2 3
|
||||||
|
stepwrite a b
|
||||||
|
|
||||||
|
set bug_info [data g]
|
||||||
|
|
||||||
|
set bug_info [string trim [string range $bug_info [string first "FILE_SCHEMA" $bug_info] [expr {[string length $bug_info] - 1}]]]
|
||||||
|
set bug_info [string trim [string range $bug_info 0 [string first ";" $bug_info]]]
|
||||||
|
set bug_info [string trim [string range $bug_info [expr {[string first "'" $bug_info] + 1}] [expr {[string last "'" $bug_info] - 1}]]]
|
||||||
|
|
||||||
|
if {$bug_info != "AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }"} {
|
||||||
|
puts "ERROR: OCC25694 is reproduced."
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user