Convert STL to MSH

Discussion in 'Modeling' started by davidkh, Oct 21, 2019.

  1. The MSH format used in MuJoCo seems to be not the same MSH format in gmsh tool. Is it correct?
    Then how to convert STL file into MSH file?
    Attached a simple cube.stl as an example.
     

    Attached Files:

    • cube.stl
      File size:
      684 bytes
      Views:
      131
  2. You are right, but I want to create a test with small binary MSH file and would like to make this conversion to keep MSH file small.
    What utilities/tools exist to work with this format? An utility to convert STL to MSH? Is it possible to visualize MSH file without including it in MJCF file?
     
  3. Hi David, were you able to load the msh meshes? I am facing the same issue.