Hi guys, here is a new 3d and Python problem for creating BMeshes. I clicked a face in 3d viewport, hold the mouse button still pressed, the face I got and saved after a raycast. When I hit a face, the operation starts
Now I move the mouse and want to know, at which side I am leaving the face, to create a new one.
Here my ideas:
- While moving the mouse raycast til I dont hit a face
- Then measure the distance to the edges of the last face that I hit.
I want to create a new face with about the same size as the one that I hit - as a first implementation I could extrude the edge by length of this edge.
Any other or better ideas? Or Python samples for the BMesh operations?
Thx and best regards!