I tried to add two faces to the same mesh containing nothing with
obj.data.from_pydata(, , faces) ,
They were all success when adding the first face, but blender all crashed when adding the second face.
I even tried different ways when adding the two faces, but blender still crashed.
However, It's work when adding the two faces to different meshes.
I have no idea why blender crashes in this situation and how I can fix it.
By the way, the reason why I need to do that is because I want to use
bpy.ops.mesh.intersect(mode='SELECT_UNSELECT', use_separate=True, threshold=1e-06) to cut out the intersection of two faces.
The two faces can be in the same meshes or not, depending on what
Please tell me if you have any good suggestion, and thank you in advance.