[vtkusers] vtk cutter
Milan Augustin
aaaugustin at gmail.com
Sat Nov 24 16:34:41 EST 2012
Hello,
Please advice when cut 3d model. Does not hollow part of the model. Cut -
Hollow cone - full circle. I need to see the ring, see figure 1 and 2.
part code:
# cut mesh
self.cutEdges = vtk.vtkCutter()
self.cutEdges.SetInput(meshNormals.GetOutput())
self.cutEdges.SetCutFunction(self.plane)
self.cutEdges.GenerateCutScalarsOn()
self.cutEdges.SetValue(0, 0.0)
self.cutStrips = vtk.vtkStripper()
self.cutStrips.SetInput(self.cutEdges.GetOutput())
self.cutStrips.Update()
I attach the whole code
Thank you for any advice.
Augustin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121124/849f2b2a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.jpg
Type: image/jpeg
Size: 2674 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121124/849f2b2a/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.jpg
Type: image/jpeg
Size: 3769 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121124/849f2b2a/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cutter.py
Type: application/octet-stream
Size: 4303 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121124/849f2b2a/attachment.obj>
More information about the vtkusers
mailing list