Skip to content

Latest commit

 

History

History
50 lines (24 loc) · 748 Bytes

README.md

File metadata and controls

50 lines (24 loc) · 748 Bytes

scaleSTL

Fortran code to scale STL files

Execute:

~$ gfortran scaleStl.f

~$ ./a.out

Scale a STL File (ascii-format):

File (*.stl) : INPUT.stl

Output - File (solid ***) : OUTPUT.stl

Scale-factor (mm->m = 1000) : 1000

DONE .........

Transforms all values from INPUT.stl by a factor of 1000 (x = x/1000) and stores it in OUTPUT.stl.

From mm to m: Scale-factor=1000

scaleSTL_m

Fortran code to scale STL files from mm to m

Execute:

~$ gfortran scaleStl.f

~$ ./a.out FILE.std

Scale a STL File (ascii-format):

File (*.stl) : INPUT.stl

Output - File (solid ***) : MINPUT.stl

Scale-factor (mm->m = 1000) : 1000

DONE .........