Hi,
I’m trying to use Mesh.CreateFromBrep to mesh an extrusion. The result I’m getting is a flat mesh as shown in the pic below. I’ve tried various meshing parameters but still the same result. Any suggestions?
Thanks,
Sam
Hi,
I’m trying to use Mesh.CreateFromBrep to mesh an extrusion. The result I’m getting is a flat mesh as shown in the pic below. I’ve tried various meshing parameters but still the same result. Any suggestions?
Thanks,
Sam
Hi Sam,
You will need to convert the Extrusion to a Brep and pass that.
use Extrusion.ToBrep() to get the brep.
Also be aware that Mesh.CreateFromBrep() returns an array of meshes.
might it be you are only catching the first one?
does this help?
-Willem
You got it, I was only catching the first one.
Thanks,
Sam