Firstly, I am new to Blender. I am actually working on to create a hemispherical model with cell fractured property.
1. I have done this work manually using cell Fracture add-on and now I want to automate using python.
2. I have written the code till particle implementation on the hemisphere. Now I want to create a cell fracture with those 100 particles.
I have attached the hemisphere picture and the final output needed. I have also attached the code. Please provide me an insight on how to do this using python.
Code till Particles in Hemisphere:
import bpy
# Draw hemisphere of 1 m radius
bpy.ops.mesh.primitive_circle_add(
radius=1,
enter_editmode=True,
align='WORLD',
location=(0, 0, 0),
fill_type='TRIFAN', # NOTHING or NGON
)
bpy.ops.mesh.bisect(
plane_co=(0, 0, 0),
plane_no=(0, -1, 0),
clear_inner=True,
)
# Particles
bpy.ops.object.editmode_toggle()
bpy.ops.object.particle_system_add()
bpy.data.particles["ParticleSettings"].count = 100
bpy.context.object.particle_systems["ParticleSettings"].seed = 1
bpy.data.particles["ParticleSettings"].frame_end = 1
Image: Hemisphere with particle feature
Image: Final output required with cell fracture
Thanks and Regards,
Sunag R A.
`
for the code block (under esc key), your are using'
(beside enter key) $\endgroup$