Activity
Mon
Wed
Fri
Sun
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Jan
What is this?
Less
More

Memberships

CG Python Academy (Free)

1.1k members • Free

13 contributions to CG Python Academy (Free)
Struggles in duplicating an object with a Follow Path constraint
In my short film about fungi, I need lots of spores randomly floating around the scene. So I made one original spore with a Follow Path constraint targeting a Bezier curve. This would allow it to be animated using the Offset Factor in the constraint panel. I thought I’d then make copies by writing a script to duplicate the original spore. Not so easy! It took forever to get it right. One each try, the spore copy was displaced somewhere on the screen and not lined up at the start of the curve copy as it should be. This is what I had to do (also documented in the script file): Steps: 1. Select the spore and flight path for duplication 2. Duplicate the spore and flight path objects 3. Disable the Follow Path constraint 4. Centre copied spores at world origin (0, 0, 0) 5. Move the duplicates to a new location 6. Enable the Follow Path constraint on the copied spore I’ve attached the blend file and the python script. The spores are now ready for animation. Next step - maybe I’ll try to animate using a script. I’m using Blender 4.5.
Struggles in duplicating an object with a Follow Path constraint
0 likes • 27d
@Robert McBride Corrected!
Coding geometry
I'm just wondering what advantages there might be in working with object geometry in code rather than manually. In books, I've seen hundreds of lines of code needed to build a model from scratch when it seems it could be done faster the old fashioned way - by hand. So why use code?
0 likes • Dec '25
@Kai Konnarth Ah, interesting! Those all sound like very good reasons. I've been in the situation you cite in reason 2 many times, and building the model in code in the first place seems a much better way out of the hole I've dug. And yes, reason 4 also resonates. Thanks for the tips!
December mini-project - make a fungus
I’m working on a film about microorganisms such as fungi and bacteria. The underground portion of a fungus is composed of hyphae which are single strands of connected cells. A large grouping of hyphae is called a mycelium. The first image is of a mycelial mat that I did in Blender with no coding. But just for the fun of it, I tried to reproduce this entirely in code. Full disclosure – I had some help from VS Code Copilot AI. The Blend file is attached along with a screenshot of the results. Cool things left to do with a script: taper the ends of each hyphal strand and create septae (cross walls) to divide the hyphae into distinct cells. Just run the script to generate the sidebar operator and make some fungus!
December mini-project - make a fungus
1 like • Dec '25
@Robert McBride Hmm, can't explain that. I used 4.5 LTS but have just downloaded it from CG Python and it opened in 4.2.7 LTS. A bit slow, but it worked. Hope you get it going! I've attached the Python file if you don't get anywhere with the blend file.
1 like • Dec '25
@Robert McBride Great! Maybe I'll re-post with more comments to help interpretation. It was a learning experience for me too and I did rely on Copilot and to some extent chatGTP to answer lots of questions and even write a bit of code where I got stuck.
Stuff I've been working on
Hello! Just wanted to show what I've been working on, it's my personal Blender QoL addon that has a ton of different functions (the overall project has 10k+ lines of code :D). I won't be able to show everything as a lot of stuff there is quite niche to what I'm doing for work but something that I feel quite proud of is a custom modal that allows to quickly copy materials/modifiers/etc from one object to another, a custom shader pie menu with useful shader node groups and a object viewport colour randomiser and selector. Huge thanks to this community and Victor for help:) I definitely enjoy working with Blender Python and now I have some other tools I want to develop but outside of Blender but that's a different journey it seems :D
Stuff I've been working on
1 like • Oct '25
@Valentyn Porada Simply amazing. Congratulations. I'm inspired!
Can’t make it this week 🤒
Hey everyone, Just wanted to let you know I’m still recovering and not feeling 100%, so I’ll need to sit out this week’s coffee hangout. Hope you all have a great time and a great week!
1 like • Oct '25
Hope you get well soon!
1-10 of 13
David Ehret
3
21points to level up
@david-ehret-7295
Retired plant scientist, now making video games and animated films with science themes

Active 9h ago
Joined Apr 6, 2025
Vancouver
Powered by