Command Line Options
Starting SolidMesh
     
    Type in sm at the command line with any of the following options:

    Usage: sm

    1. -h/-help (Display sm usage)
    2. -version (Display sm version information)
    3. -build (Display sm build information)
    4. -case/-c CaseName (Geometry file name)
    5. -gui # (Specify alternate GUI)
    6. -oc FileName.BRep (OpenCASCADE Boundary Representation file name - requires CAPRI license and installation of OpenCASCADE)
    7. -catia FileName.CAT[PART|PRODUCT] (CatiaV5 part or product file name - requires CAPRI and CatiaV5 licenses)
    8. -ugs FileName.prt (UniGraphics part file name - requires CAPRI and UniGraphics licenses)
    9. -proe FileName.[prt|asm] (Pro/Engineer part or assembly file name - requires CAPRI and Pro/Engineering licenses)
    10. -sw FileName.sld[prt|asm] (SolidWorks part or assembly file name - requires CAPRI and SolidWorks licenses)
    11. -capriangle Angle (Maximum angle, in degrees, between triangle neighbors)
    12. -caprimaxlen Length (Fraction of min-max box diagonal of model volume to set the maximum triangle side length)
    13. -caprideviate Deviation (Fraction of min-max box diagonal of model volume to set the Maximum deviation between the parametric center of the triangle and the surface)
    14. -grid GridName (Grid file name)
    15. -extractsurf (Extract and read only the surface grid from the volume grid)
    16. -retainvolids (Retain the volume id flags from the volume grid)
    17. -tags (Specify the boundary conditions via the tags file)
    18. -melem (Maximum number of triangles per surface for surface grid generation, default = 200,000)
    19. -dir/-d DirectoryPath (Directory path)
    20. -mouse/-m <trz> (Mouse-button function assignments)
    21. -3D/-3d (default) (3D grid generation mode)
    22. -2D/-2d (2D grid generation mode)
    23. -glue/-g (default) (Glue geometry on input)
    24. -noglue/-ng (Do not glue geometry on input)
    25. -trim/-t (default) (Trim geometry on input)
    26. -notrim/-nt (Do not trim geometry on input)
    27. -discretegeometry/-dg (Treat triangulation as discrete geometry)
    28. -dgrestart (Restart from a previous topology definition, casename.dgt)
    29. -dgedgeangle (Discrete edge angle threshhold for discrete geometry feature identification)
    30. -nofeatureid (Do NOT use the feature identifcation capability to extract topology boundaries based on geometric features)
    31. -dihedralangle/-da (Dihedral angle threshhold for discrete geometry feature identification)
    32. -openangle/-oa (Open angle threshhold for discrete geometry feature identification)
    33. -stltol Tolerance (Tolerance for processing STL files)
    34. -tolerance/-tol Tolerance (Specify tolerance for input)
    35. -c1 (Use 1st order cubic interpolation when reading XYZ and Plot3D files)
    36. -c2 (Use 2nd order cubic interpolation when reading XYZ and Plot3D files)
    37. -xyzp (Do not interpolate a curve through the points when reading XYZ files)
    38. -savestate/-ss (default) (Load save state on input)
    39. -nosavestate/-nss (Do not load save state on input)
    40. -nopoints/-np (Do not load points)
    41. -nocurves/-nc (Do not load curves)
    42. -nosurfaces/-ns (Do not load surfaces)
    43. -backgroundcolor/-bgc <Red Green Blue> (Sets background color)
    44. -wireframegridcolor/-wfgc <Red Green Blue> (Sets grid color)
    45. -facecolor/-fc< Red Green Blue> (Sets the face color)
    46. -derivededgecolor/-dec< Red Green Blue> (Sets the color of derived edges)
    47. -parametricedgecolor/-pec< Red Green Blue> (Sets the color of parametric curves)
    48. -physicaledgecolor/-phec <Red Green Blue> (Sets the color of physical curves)
    49. -derivedvertexcolor/-dvc <Red Green Blue> (Sets the color of derived vertices)
    50. -physicalvertexcolor/-pvc <Red Green Blue> (Sets the color of physical vertices)
    51. -vectorcolor/-vc <Red Green Blue> (Sets the color of vectors)
    52. -diag (Lists diagnostic information)

    53.  

 

 

 

 

 

 

 
 
 
 
 
 
  • -forcetrim/-ft allows you to force trimming of parametric surfaces.
 
 
 
 
 
 
  • Several command line options are provided solely for the purpose of changing the display color of the various objects in SolidMesh.  The following options change the color of their respective objects by specifying a Red, Green, and Blue value (from 0 to 1) after the option.