Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Options

OBJ Import

GWS50GWS50 Member Posts: 386 PRO
Please can you improve the OBJ import function. I have files that open in every other software that I have tried but all I get with Onshape is the document tab and a notification that the file has imported but NO tab (PArt studio) with the actual surfaces in it.

Comments

  • Options
    philip_thomasphilip_thomas Member, Moderator, Onshape Employees, Developers Posts: 1,381
    GWS50 - Onshape will read OBJ and STL files and create a referenceable mesh as long as they are watertight.
    Please note that because of the nature of faceted file formats (such as STL and OBJ), that there are no surfaces and no bodies (these file formats are simply a bucket of triangles).
    Here is a video showing a use case - https://forum.onshape.com/discussion/4707/improvements-to-onshape-september-14th-2016/p1

    I hope this helps.

    Philip Thomas - Onshape
  • Options
    GWS50GWS50 Member Posts: 386 PRO
    Thanks Philip, I think I've got the principle ( I have done a fair amount of work with STLs and OBJs) but what I don't understand is why other programs open the files and yet Onshape wont.
    Why would this be?
  • Options
    philip_thomasphilip_thomas Member, Moderator, Onshape Employees, Developers Posts: 1,381
    GWS50 - Would you please open a support ticket for that OBJ file. We are receiving similar notifications from others and we want to make sure that there isn't a bug we are not aware of. By opening a ticket, your name is added to the list of reporters and you will be notified directly via email when we figure out what the issue is. 
    Thank you - Philip . . . 
    Philip Thomas - Onshape
  • Options
    GWS50GWS50 Member Posts: 386 PRO
    Many thanks Philip...will do
  • Options
    Marc_MillerMarc_Miller Member Posts: 110 ✭✭✭
    @philip_thomas   I don't understand why imported OBJ or STL files are required be watertight.  That feels a bit restrictive to me.  In most cases I would not care if it's watertight or not as I would just be using it for reference to model against or around.  What about 3d scans that are only of the pertinent side/section of something that you need to model up to?  Those are almost never watertight.  Or a model provided by someone that doesn't have great skills in providing you with a watertight model?  I mostly wouldn't care if the OBJ or STL had problems like reversed normals or duplicate faces/edges/verts as long as I could see the mesh in OS as a reference to model against.

    I experimented importing several different OBJ and STL files the other day and had almost no luck at all.  Seems like OS is being overly picky about what it will actually display as a mesh.  I've submitted a ticket about it.


  • Options
    philip_thomasphilip_thomas Member, Moderator, Onshape Employees, Developers Posts: 1,381
    @ye_2 care to weigh in on the requirements that a mesh be watertight? 
    Philip Thomas - Onshape
  • Options
    ye_2ye_2 Onshape Employees Posts: 5
    We don't require watertight models, however, we do a strict validation of meshes before importing. You mentioned scan data. The common problems are self-intersecting and zero-area triangles. We're actively improving on our mesh imports. The data you provide can be helpful for our development. Thank you!
  • Options
    Marc_MillerMarc_Miller Member Posts: 110 ✭✭✭
    Thank you @ye_2 .  I was just surprised that OS wouldn't display models that other programs would display just fine, even if they were bad in some form.  OS might have good reasons for wanting/needing completely valid meshes for operations I'm not aware of, but for just modeling against shouldn't meshes with some errors still be ok to use?


  • Options
    philip_thomasphilip_thomas Member, Moderator, Onshape Employees, Developers Posts: 1,381
    @Marc_Miller - please share a document containing the scanned data with support so that we can look at it.
    Philip Thomas - Onshape
  • Options
    Marc_MillerMarc_Miller Member Posts: 110 ✭✭✭
    Hi @philip_thomas.  I put in a support ticket the other day, Request #44321.
    Also there's a shared document with some random files I'd tried to import in this thread:
    https://forum.onshape.com/discussion/comment/23143
    I don't have any scanned data to share at this time.
  • Options
    philip_thomasphilip_thomas Member, Moderator, Onshape Employees, Developers Posts: 1,381
    Excellent - thank you.
    Philip Thomas - Onshape
Sign In or Register to comment.