Particle system baking not working in Python API #68303
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#68303
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Arch Linux
Graphics card: RTX 2080
Blender Version
Broken: (All, latest check: 2.80)
Description
This code runs OK with no errors except that it does nothing. I have followed the similar patter as when baking smoke or fluid.
The cache is empty when I open the file afterwards or try to render. When I set
the cache folder is created but can't be used by the blend file.
Files
Running as:
simpleParticles.blend
bake.py
Added subscriber: @ichlubna
Added subscriber: @dr.sybren
Please follow our submission template and guidelines and make a complete, valid bug report, with required info, precise description of the issue, precise steps to reproduce it, small and simple .blend and/or other files to do so if needed, etc.
A guideline for making a good bug report can be found here: https://wiki.blender.org/wiki/Process/Bug_Reports
Marking as "Incomplete" until the requested information/data is provided.
Sorry, fixed!
Changed status from 'Open' to: 'Archived'
This makes sense, as your script doesn't save the blend file after baking. Adding
bpy.ops.wm.save_mainfile()
at the end of the script solves both on-disk and in-memory baking.Marking as 'Invalid' as this isn't a bug in Blender.
I see, thanks but why doesn't this happen when baking for example smoke in the same way?
EDIT: I guess it's because the rest creates external cache directory.