Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
Best way to convert a mesh to a solid
john_mcclary
Member, Developers Posts: 3,938 PRO
What are the best/quickest/easiest ways to convert a mesh to a solid.
I know you can't directly convert it in Onshape.
But is there a better way other than tracing the mesh with sketches, then extrude each part?
I wish you could just boolean intersect with a giant cube.
For what I need, I just need a dumb solid, even if it has low quality / low resolution faceted faces.
Is there a free third party converter that can do this?
I tried in Solidworks but it fails because there apparently are too many entities to convert.. So much for top tier CAD
Our customer only has a solidworks assembly of the conveyor we need to interface with (and no part files [yes, we called and asked])
So the only form of the model is the 'last rebuilt parasolid' within the .sldasm
So I opened in eDrawings, then saved as STL, then tried a bunch of ways to get a usable solid into SolidWorks from the STL.
If he was working in Onshape he could just use the mesh as is and be done. (Even though I started the project in Onshape before he took it over, then he started again from scratch in SW because he is too scared to at least... try... Onshape.... but I digress)
But he insists on using Solidworks, and Onshape is the only CAD I have that can actually open it in a "usable" way. Solidworks just gives you a useless solid body with no edges/faces or vertices to build upon or measure.
So I was hoping I could do a quick import into Onshape, then export back to SW in a step, but really don't want to spend a day reverse-modeling the conveyor, when all it is need for is a reference to measure from and show in installation drawings.
Alternatively, is there a way to get the parasolid straight from the .sldasm? Instead of the STL hack I did.
Opening it in Solidworks will just give an empty assembly because all the part references are absent.
P.S. Chrome tends to crash WebGL when I open this tab sometimes. But Firefox seems to open it more stable
https://cad.onshape.com/documents/28050bca2b1ddeb0acbab720/w/72369ffa7faabbf84de28ab1/e/f2a4bbc8e201c03967c4159d
I know you can't directly convert it in Onshape.
But is there a better way other than tracing the mesh with sketches, then extrude each part?
I wish you could just boolean intersect with a giant cube.
For what I need, I just need a dumb solid, even if it has low quality / low resolution faceted faces.
Is there a free third party converter that can do this?
I tried in Solidworks but it fails because there apparently are too many entities to convert.. So much for top tier CAD
Our customer only has a solidworks assembly of the conveyor we need to interface with (and no part files [yes, we called and asked])
So the only form of the model is the 'last rebuilt parasolid' within the .sldasm
So I opened in eDrawings, then saved as STL, then tried a bunch of ways to get a usable solid into SolidWorks from the STL.
If he was working in Onshape he could just use the mesh as is and be done. (Even though I started the project in Onshape before he took it over, then he started again from scratch in SW because he is too scared to at least... try... Onshape.... but I digress)
But he insists on using Solidworks, and Onshape is the only CAD I have that can actually open it in a "usable" way. Solidworks just gives you a useless solid body with no edges/faces or vertices to build upon or measure.
So I was hoping I could do a quick import into Onshape, then export back to SW in a step, but really don't want to spend a day reverse-modeling the conveyor, when all it is need for is a reference to measure from and show in installation drawings.
Alternatively, is there a way to get the parasolid straight from the .sldasm? Instead of the STL hack I did.
Opening it in Solidworks will just give an empty assembly because all the part references are absent.
P.S. Chrome tends to crash WebGL when I open this tab sometimes. But Firefox seems to open it more stable
https://cad.onshape.com/documents/28050bca2b1ddeb0acbab720/w/72369ffa7faabbf84de28ab1/e/f2a4bbc8e201c03967c4159d
0
Best Answers
-
NeilCooke Moderator, Onshape Employees Posts: 5,714@john_mcclary the SLDASM file only contains graphics (no BREP) intended for the eDrawings viewer only. How on earth did they get an assembly with no parts? If you have SW Premium, turn on the ScanTo3D add-in first before importing the mesh - that should create a mesh similar to the one you see in Onshape.Senior Director, Technical Services, EMEAI5
-
john_mcclary Member, Developers Posts: 3,938 PRObilly2 said:I'd spend 10 minutes and ask for / find another file type.
Spaceclaim has a stl convertor tuned sketchup, but you'll waste more time converting than finding a better file. Look for IGES, STEP or Parasolids. Stay away from stl or obj.
so the only way to view the file was with edrawings. So I exported to STL because it was the only format edrawings can export.
I hate meshes, they are not useful in my line of work. Which is why I want to convert it
We called and asked, but that was all he had. (This is what happens when CAD amateurs manage project files)
I don't see an IR for boolean intersect with mesh. Cause basically that's all I'm looking for.
Made one here:
https://forum.onshape.com/discussion/11000/boolean-intersect-with-mesh/p1?new=1
0
Answers
Onshape, Inc.
Yea, I like how we can do that in Onshape, I was hoping for a more one click convert to solids or surfaces. Like it would be nice if boolean would work
I was hoping for something less manual
Spaceclaim has a stl convertor tuned for sketchup, but you'll waste more time converting than finding a better file. Look for IGES, STEP or Parasolids. Stay away from stl or obj.
john I think re-doing was your best option. That's what I would have done.
so the only way to view the file was with edrawings. So I exported to STL because it was the only format edrawings can export.
I hate meshes, they are not useful in my line of work. Which is why I want to convert it
We called and asked, but that was all he had. (This is what happens when CAD amateurs manage project files)
I don't see an IR for boolean intersect with mesh. Cause basically that's all I'm looking for.
Made one here:
https://forum.onshape.com/discussion/11000/boolean-intersect-with-mesh/p1?new=1