I'd like to be able to cut the faces belonging to a mesh, from a specific point, in a specific direction. For example, if I were trying to cut an icosphere from it's center at an angle 30 from the x-axis, like so:
How would I do this? More importantly, how would I create a script to automate this process? It seems that running bpy.ops.mesh.knife_tool() only creates an error that reads
Traceback (most recent call last):
File "<blender_console>", line 1, in <module>
File "C:\Program Files\Blender Foundation\Blender\2.76\scripts\modules\bpy\ops.py", line 189, in __call__
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.mesh.knife_tool.poll() failed, context is incorrect
and I can't seem to find any more information about what I would need to do to use it in a script.
Currently, I only need to make vertical slices, from a specific point to the edge of the mesh.
Thanks for any help.