Timeline for How to get part of a mesh with Python API, which requires breaking down some faces?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 8, 2019 at 5:43 | vote | accept | olbersia | ||
Feb 7, 2019 at 4:32 | comment | added | batFINGER |
Similarly the local coordinate of global origin plane_co = matrix_world.inverted() * Vector() Please consider accepting and upvoting if answer worked for you.
|
|
Feb 6, 2019 at 21:28 | comment | added | olbersia | Thank you @batFINGER. That was really helpful. The only thing is that when I added your code to mine, the bisection planes were shifted - not going through (0,0,0). I think it has something to do with the local and global coordinates. So, I added : bpy.ops.object.mode_set(mode='OBJECT') bpy.ops.object.transform_apply(location=True, rotation=True, scale=True) before applying bisect_plane, and it worked well. | |
Feb 5, 2019 at 8:15 | history | edited | batFINGER | CC BY-SA 4.0 |
added 894 characters in body
|
Feb 5, 2019 at 5:26 | history | edited | batFINGER | CC BY-SA 4.0 |
added 56 characters in body
|
Feb 5, 2019 at 5:20 | history | answered | batFINGER | CC BY-SA 4.0 |