0

I've been working with pyvista on Python to filter a scan of my arm, obtaining an obj object in the end. But everytime I try to open the final result on SolidWorks it's only a mesh but though Python it shows up as it was a solid (I even extrude the scan on pyvista).

Here you can see it.

enter image description here

Does anybody know how can I make this mesh a solid so I can print it?

Here is the obj file for download

Edit: Scan without extrusion

Vincent
  • 4,876
  • 3
  • 44
  • 55
Enrique
  • 1
  • 1

1 Answers1

0

You are right, there was a bug in pymadcad for the .OBJ importation. This is fixed in the latest source version and will be available in the next release.

However I think what you are looking for is not extrusion but thickening: This is the result:

thickscan = thicken(
              read('scan.obj'), 
              0.01,               # offset between surfaces
              method='point',     # 'point' if faster and fine for a higly resolved mesh like this, but leave it to default works also
              )

thickened mesh

NB

The extrusion function only works shifting by an offset vector, and not along the mesh normals, which is usually not good for closed shapes like this:

thick = extrusion(vec3(0.01,0,0), read('scan.obj'))

enter image description here

jimy byerley
  • 129
  • 1
  • 6