1 # Test for issue #22898 and other functionality that can be affected by locale.
2 # Just run multiple conversions of the shape to and from diferent formats and
3 # check that the result is good shape with expected area
5 set anOS $tcl_platform(os)
6 if { ${anOS} == "Linux" } {
16 restore [locate_data_file hammer.brep] hammer
19 checkarea hammer 3.978e8 1e6 0.001
22 save hammer $imagedir/hammer.brep
23 restore $imagedir/hammer.brep brep
26 checkarea brep 3.978e8 1e6 0.001
29 brepiges hammer $imagedir/hammer.igs
30 igesbrep $imagedir/hammer.igs iges *
33 checkarea iges 3.978e8 1e6 0.001
36 stepwrite a hammer $imagedir/hammer.stp
37 stepread $imagedir/hammer.stp step *
40 checkarea step_1 3.978e8 1e6 0.001
43 writestl hammer $imagedir/hammer.stl
44 readstl stl $imagedir/hammer.stl
47 checkarea stl 3.978e8 1e6 0.001
49 # VRML: reading does not work regardless of locale...
50 writevrml hammer $imagedir/hammer.vrml
51 #loadvrml vrml $imagedir/hammer.vrml