Skip to content

chi86/scaleSTL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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 .........

About

Fortran code to scale STL files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published