OSSmooth Parameter File
Parameter statements in the OSSmooth parameter file.
OSSmooth file parameter statements each have following
format:
parameter_name arg1,arg2,...,argn
The parameter_name
and arguments can be separated either by spaces or
commas. The file is not case sensitive.
Comment lines in the OSSmooth parameter file should start with either ‘#’ or ‘$’.
Supported Parameters
- input_file
- Identifies the files to be interpreted by OSSmooth.
- arg1
- The file name (without extension) of the OptiStruct .fem, .sh, and/or .grid files to be interpreted by OSSmooth.
- output_file
- Name of the file to be output by OSSmooth.
- arg1
- Full name of the file output by OSSmooth.
- output_code
- Identifies the type of output.
- arg1
- Output format for iso-surface
- "1" Bulk data trias
- "2" IGES patches
- "3" STL trias [default]
- "4" H3D trias
- arg2
- Output control for tet-meshing of volume enclosed by the iso-surface.
- units
- Defines output units for IGES format. This information gets written to the header of
the IGES file and may be recognized by your CAD system.
- 1 (default)
- inch
- 2
- mm
- 4
- foot
- 10
- cm
- autobead
- Improves the recovered geometry from a topography optimization by applying automatic
geometry creation.
- arg1
- Operation flag [integer]
- "0" autobead off
- "1 (default)" autobead on
- arg2
- Threshold value for creating autobead.
- arg3
- Bead layer [integer]
- "1 (default)" create 1 layer bead
- "2" create 2 layers bead
- isosurface
- Generate threshold surface from a topology optimization by applying automatic
geometry creation.
- arg1
- Operation flag [integer]
- "0" isosurface off
- "1 (default)" isosurface on
- arg2
- Type of surface created [integer]
- "0" isosurface only
- "1" isosurface with Optimization-based smoothing
- "2" Element threshold surface
- "3 (default)" isosurface with Laplacian smoothing
- arg3
- Density threshold for creating isosurface.
- opti_smoothing
- Optimization-based smoothing [Only used if isosurface C2=1].
- arg1
- Unit-less surface distance coefficient
- arg2
- Smooth isosurface boundary flag [integer]
- "0 (default)" boundary not included in smoothing
- "1" boundary included in smoothing
- laplacian_smoothing
- Laplacian smoothing [Only used if isosurface C2=3].
- arg1
- Number of iteration for Laplacian smoothing
- arg2
- Feature angle threshold in degrees
- arg3
- Smooth isosurface boundary flag [integer]
- "0" boundary not included in smoothing
- "1 (default)" boundary included in smoothing
- remesh
- Remesh autobead surface and/or isosurface flag [integer]
- 0 (default)
- remesh off
- 1
- remesh on
- surface_reduction
- Reduces the number of surfaces representing the geometry. Can reduce the number of
surfaces by up to 80 percent.
- arg1
- Surface reduction flag [integer]
- "0 (default)" no surface reduction
- "1" do surface reduction
- arg2
- Feature angle threshold in degrees
- pure_surf_smoothing
- Surface smoothing only.
- arg1
- Pure surface smoothing flag [integer]
- "0 (default)"
- "1" Optimization-based smoothing
- "2" Laplacian smoothing
- arg2
- Number of iteration [Only used if G1=2]
- arg3
- Feature angle threshold in degrees [Only used if G1=2]
- pure_surf_reduction
- Surface reduction only.
- arg1
- Pure surface reduction flag [integer]
- "0 (default)" no surface reduction
- "1" do surface reduction
- arg2
- Feature angle threshold in degrees
OSS Example Input File
- input_file example
- Identifies the root of the input files as example, so OSSmooth will look for the files example.fem, example.grid, and example.sh.
- output_file example.stl
- The resulting output will be example.stl.
- output_code 3
- The output will be in stereolithography format.
- Autobead 1 0.3 1
- Topography results will be interpreted using the autobead feature with a threshold value of 30% creating single depth beads.
- Isosurface 1 3 0.3
- Topology results will be interpreted by creating an iso-density boundary surface with at a density value of 30% and smooth using laplacian smoothing.
- laplacian_smoothing 10 30 1
- The Laplacian smoothing will run for 10 iterations, consider a feature angle of 30-degrees and including the boundary in the smoothing.
- Remesh 1
- The two rows of elements around the recovered geometry will be remeshed in an attempt to smooth the mesh transition.