Skip to main content
12 events
when toggle format what by license comment
S Oct 18 at 11:59 history edited Duarte Farrajota Ramos CC BY-SA 4.0
improved readability, deobfuscated variables
S Oct 18 at 11:59 history suggested Unknow0059 CC BY-SA 4.0
improved readability, deobfuscated variables
Oct 18 at 7:27 review Suggested edits
S Oct 18 at 11:59
Jan 29 at 19:52 history edited p2or CC BY-SA 4.0
Blender 3.2+ updates
Jul 12, 2020 at 19:10 vote accept JmathLoy
Jul 12, 2020 at 19:10 comment added JmathLoy Your edit works great, thank you!
Jul 11, 2020 at 13:01 history edited batFINGER CC BY-SA 4.0
added 781 characters in body
Jul 11, 2020 at 10:13 comment added JmathLoy At some point I'll want to do other geometric figures though, and probably I would modify my above class with the appropriate vertices and faces in those cases, so I'm still interested in the answer for my class
Jul 11, 2020 at 10:10 comment added JmathLoy Possibly I've caused the problem myself by defining my own cube class i.imgur.com/WqPl5Qg.png, instead of just using bpy.ops.mesh.primitive_cube_add(size=2, enter_editmode=False, align='WORLD', location=(5.74625, 6.94476, 1.5576))
Jul 11, 2020 at 9:52 comment added JmathLoy After running your script, it moves all the blocks to the same location on screen, instead of doing the same thing as right clicking and changing to origin_geometry
Jul 11, 2020 at 9:51 comment added JmathLoy Hey batFIGNER. Probably it's my own fault in trying to apply your answer, or in poorly explaining what I wanted to do. When I create a bunch of cubes in different locations, and then go and click them, they all have the same location "5.7463,6.9448,1.5576" (despite appearing in different places on the screen). When I right click each of them, and change origin to geometry, they give reasonable coordinates (for example (7.2463,14.445,2.0575)) and are now distant from each other by integer differences like $(m,n,0)\in\Bbb Z^3$ (which is what I want).
Jul 11, 2020 at 5:35 history answered batFINGER CC BY-SA 4.0