Get the extended video here: cg-python.ck.page/4ce30cbed2 Initial Starting Code: gist.github.com/CGArtPython/be9b9fcb6e878a6d073815c1246e9ff0
@DJ_Narcan
16 күн бұрын
Hey I could really use your advice. I am dedicated the learning blender python and using vsc. Ive been using blender for a few years so I'm very familiar with it. I followed your tutorial on installing vsc. Everything went perfectly until the end. Vsc won't open blender because of addons (boxcutter etc.) I know you can't tell what the issue is without seeing the code, but I'm just wondering if there are any common issues or fixes for usung addons with vsc. I have followed the troubleshootting steps from the vsc manual. Any tips or general info?
@krysidian
19 күн бұрын
This is great! I'd love for this to become a series ^^ I also wondered how you can make the solo icon behave like it does in the actual collection view. With the icon changing depending on the state and being without that grey box border.
@CGPython
17 күн бұрын
Great question! I don't know if that is possible through the Python API.
@krysidian
17 күн бұрын
@@CGPython I figured it out looking into some addon code! icon = 'SOLO_ON' if bone_collection.is_solo else 'SOLO_OFF' current_row_nested = current_row.row() current_row_nested.prop(bone_collection, 'is_solo', toggle = True, text= '', icon= icon, emboss= False, invert_checkbox = True) This should switch between icons and also remove the "grey button" look
@@CGPython I suppose the next step is animating :) Can we recreate any blender funcionality with bpy? Lets say particles. Thanks!
@CGPython
21 күн бұрын
You can use bpy to add the Particle System Simulation like this: import bpy obj = bpy.context.active_object # Add a particle system to the object bpy.ops.object.modifier_add(type='PARTICLE_SYSTEM') # Get the particle system particle_system = obj.particle_systems[0] ps_settings = particle_system.settings # Configure the particle system settings ps_settings.count = 1000 ps_settings.frame_start = 1 ps_settings.frame_end = 200 ps_settings.lifetime = 50 ps_settings.emit_from = 'FACE' ps_settings.render_type = 'HALO'
@GlitchCableYt
18 күн бұрын
hey where is the place to copy the start script? Thanks! Glitchcable
@CGPython
17 күн бұрын
here it is gist.github.com/CGArtPython/be9b9fcb6e878a6d073815c1246e9ff0
Пікірлер: 17