1 puts "TODO OCC24156 MacOS: Error: unsupported locale specification"
3 # Test for issue #22898 and other functionality that can be affected by locale.
4 # Just run multiple conversions of the shape to and from diferent formats and
5 # check that the result is good shape with expected area
7 if { [checkplatform -linux] } {
17 restore [locate_data_file hammer.brep] hammer
20 checkarea hammer 3.978e8 1e6 0.001
23 save hammer $imagedir/hammer.brep
24 restore $imagedir/hammer.brep brep
27 checkarea brep 3.978e8 1e6 0.001
30 brepiges hammer $imagedir/hammer.igs
31 igesbrep $imagedir/hammer.igs iges *
34 checkarea iges 3.978e8 1e6 0.001
37 stepwrite a hammer $imagedir/hammer.stp
38 stepread $imagedir/hammer.stp step *
41 checkarea step_1 3.978e8 1e6 0.001
45 writestl hammer $imagedir/hammer.stl
46 readstl stl $imagedir/hammer.stl -brep
49 checkarea stl 3.978e8 1e6 0.001
51 # VRML: reading does not work regardless of locale...
52 writevrml hammer $imagedir/hammer.vrml
53 #loadvrml vrml $imagedir/hammer.vrml