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.
Intersect plane with mesh?

Hi Everyone,
I imported a 3d scan stl file of a power tool battery pack. Is it possible to create some section curves from the mesh by intersecting it with a plane at different heights? I was thinking this would help me model some of the geometry I need for a 3d printing project.
0
Best Answer
-
eric_pesty Member Posts: 2,077 PRO
You can split the mesh along a plane though, this will give you a face you can sketch on and allows you to use the edges (I think…)
2
Answers
it would be cleaner just to make those planes, open the sketches, make a section cut and trace it yourself with lines/arcs. that'll make a lot cleaner geometry.
else try the 'intersect' command in the sketch. (not sure it works with meshes)
It doesn't.
You can split the mesh along a plane though, this will give you a face you can sketch on and allows you to use the edges (I think…)
That does indeed work. good thinking.
Yeah, I was able to split the mesh with a plane and then project the new mesh edges onto a sketch. Kind of a round about process but it does work. It seems weird that one can split a mesh but not intersect a mesh with a plane.
Yes, you can split the Mesh part (whether it is watertight or not) using a Plane. It maybe necessary to Enclose the the split part and plane(s)… Once you have a solid part you can, as @eric_pesty mentions, sketch on it and Use the edges.
Quick example: This mesh has been split into various sections. Note it is useful to have Highlight boundary edges turned ON. Better still, make a custom keyboard shortcut (mine is shift-6) to toggle in on and off :)
Now Enclose using this part and the two planes…
Sketch on that front (now analytical) surface…
… extrude it, whatever.
Or maybe shell the whole part…
Cool
How were you able to do this? I'm trying something similar and while I can get to the point of having the mesh edge after the split, I cannot project it.
I'm not certain, but I don't think there was any sketch projection of the edges. Greg just used the Enclose feature with the mesh and the planes.
Relevant to this conversation though. I've recently been playing with curves and meshes together for workflows like this, and found that Project Curve and Intersection Curve are both coded to prevent selecting meshes, but that the functions inside them can actually handle them! I assume that the Onshape devs will cringe at all of the unconsidered issues this might cause, but I did create a version of each of them here that you can use. I strongly recommend using the "Approximate" functionality to clean them up. Otherwise the curves it makes are still seen as mesh geometry and things like Loft will be mad about it.
@EvanReese That's a pretty amazing find. Seems like something that should be addressed by Onshape. I'm guessing that they are working on it. It sure would help to improve the abilities to do reverse engineering work.
Yeah, I mean sometimes being able to just slap a feature out ignore the consequences is freeing. There's probably a ton of work to do for a "real" solution, but I'm sure it's on their radar. This will certainly be handy in the interim though!
Well then. I suspected there might be capability for doing that Evan. Thank you for for sharing I will be checking that out for sure.
Interestingly, if I sliced the mesh from a slightly different angle by changing the 3-point reference plane, I was able to do projections to the sketch.
And then, without me changing anything in the past, those projections lost their reference. Fortunately by then, they were already made so I just gave them a fixed constraint and didn't look back.
But there's definitely something to this workflow. Just need to figure out why, for the sketch projection, YMMV from minute to minute.