I have seen this : Selecting faces within a given radius
But it's a circle, I'd like to do the same but with a square
So is there a way to select a face from a coordinate point (x,y) and then apply the script to select a square respecting a length?
Basically to something like that:
I thank you in advance for your help, attention and time. I'm a begginner and I was thinking of KDTree but I don't quite understand the documentation... So if someone may help me I'll be grateful.



o = Vector((x, y, 0))however you want. Re object mode, look up bmesh docs, Create empty bmesh,bm = bmesh.new()load the meshbm.from_mesh(me)write result to meshbm.to_mesh(me)Select operations are usually done in edit mode. In object mode possibly better to return a list of faces, or face indices. – batFINGER May 28 '19 at 15:58