Timeline for How to create a prism using the API
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 9, 2018 at 8:17 | vote | accept | Mr. Baldan | ||
Jan 8, 2018 at 13:48 | comment | added | sambler | Enable the Extra Objects addon, look through the addons code to see how to create more complex meshes. | |
Jan 8, 2018 at 13:03 | comment | added | batFINGER | @RichSedman if the "fluff" was edited out of this question it would be the title again. | |
Jan 8, 2018 at 11:43 | answer | added | batFINGER | timeline score: 5 | |
Jan 8, 2018 at 11:22 | comment | added | Rich Sedman | This question seems too vague - what specifically are you trying to achieve? Technically, a cube is a prism so running 'bpy.ops.mesh.primitive_cube_add()' would add a square prism to the scene. There are API calls to create a mesh from a set of points in 3D space and this could easily be used in a python function to create a generic prism. Add some detail of what you've achieved so far and a specific problem you're stuck on. See wiki.blender.org/index.php/Dev:Py/Scripts/Cookbook/… for an example of creating a mesh from a set of points. | |
Jan 8, 2018 at 9:54 | history | asked | Mr. Baldan | CC BY-SA 3.0 |