Skip to main content
12 events
when toggle format what by license comment
Nov 17, 2020 at 23:10 vote accept TheIrishPizzaGuy
Apr 14, 2020 at 14:34 history edited Gorgious CC BY-SA 4.0
added 2 characters in body
Apr 9, 2020 at 13:45 comment added Gorgious Okay I got it from your answer, it's shorter and less error-prone as you said. In other languages direct attribute access is a bit frowned upon so I guess the setter usage is more encouraged ?
Apr 9, 2020 at 13:45 history edited batFINGER CC BY-SA 4.0
Removed unnec. table lookup. Not indexing verts, edges of faces.
Apr 9, 2020 at 13:42 history edited Gorgious CC BY-SA 4.0
simplified
Apr 9, 2020 at 13:28 comment added batFINGER Not sure re simplest, one that selects boundaries. If the grid was poked for example, still selects boundaries. Would simply use an edit mode bmesh. Wonder about the ob.select_set if it is to become default and setting via v.select = True is going to be phased out. Accidentally reverted to old ways in my answer lol.
Apr 9, 2020 at 13:23 comment added Gorgious @batFINGER I understand, honest mistake due to my inexperience ! Would you be willing to edit the answer to provide a more suitable method since I don't (yet) know the difference between edit mode bmesh and object mode bmesh ? (even if your answer is obviously the simplest one)
Apr 9, 2020 at 13:20 history made wiki Post Made Community Wiki by Gorgious
Apr 9, 2020 at 13:16 comment added batFINGER Would be wary of the method used in copied bmesh script. If there are changes to mesh in edit mode could be trashed, since it is loading the bmesh then toggling out of edit mode, writing to mesh with selection, then toggling into edit mode. Would either use an edit mode bmesh, or load the mesh after toggling into object object. Confirmed..Simple test: Default cube > edit mode > move some verts, > run script > back to default cube.
Apr 9, 2020 at 12:48 vote accept TheIrishPizzaGuy
Apr 9, 2020 at 12:49
Apr 9, 2020 at 12:48 vote accept TheIrishPizzaGuy
Apr 9, 2020 at 12:48
Apr 9, 2020 at 12:42 history answered Gorgious CC BY-SA 4.0