1 puts "TODO ?OCC24156 MacOS: Tcl Exception: File hammer.brep could not be found"
2 puts "TODO OCC24156 MacOS: Error: unsupported locale specification"
3 puts "TODO ?OCC24156 MacOS: TEST INCOMPLETE"
5 # Test for issue #22898 and other functionality that can be affected by locale.
6 # Just run multiple conversions of the shape to and from diferent formats and
7 # check that the result is good shape with expected area
9 set anOS $tcl_platform(os)
10 if { ${anOS} == "Linux" } {
20 restore [locate_data_file hammer.brep] hammer
23 checkarea hammer 3.978e8 1e6 0.001
26 save hammer $imagedir/hammer.brep
27 restore $imagedir/hammer.brep brep
30 checkarea brep 3.978e8 1e6 0.001
33 brepiges hammer $imagedir/hammer.igs
34 igesbrep $imagedir/hammer.igs iges *
37 checkarea iges 3.978e8 1e6 0.001
40 stepwrite a hammer $imagedir/hammer.stp
41 stepread $imagedir/hammer.stp step *
44 checkarea step_1 3.978e8 1e6 0.001
47 writestl hammer $imagedir/hammer.stl
48 readstl stl $imagedir/hammer.stl
51 checkarea stl 3.978e8 1e6 0.001
53 # VRML: reading does not work regardless of locale...
54 writevrml hammer $imagedir/hammer.vrml
55 #loadvrml vrml $imagedir/hammer.vrml