Comments (5)
Hi Colin, thanks for the report. This is a bug that I had already fixed internally, but it was not committed to the public repository. I have now done this, please update the BCB and try again.
from bullet-constraints-builder.
Thanks a lot!
from bullet-constraints-builder.
Slightly off-topic, but do you by any chance know how to get the Build FM
operation to work when running Blender in the background? I am running bpy.ops.bcb.export_ascii_fm()
in my custom Python script, but when saving the file, the changes applied to the model through the simulation are not saved. Does it have to do with the animation not being played in background mode?
from bullet-constraints-builder.
NVM, after hours of googling I found a way :)
from bullet-constraints-builder.
Try this:
import bpy
# Get config
bpy.ops.bcb.get_config()
# Build
bpy.ops.bcb.export_ascii_fm()
# Simulate frame by frame through the timeline
scene = bpy.context.scene
for frame in range(scene.frame_start, scene.frame_end +1):
scene.frame_current = frame
bpy.context.screen.scene = scene # Scene update invokes BCB monitor event handler
Indeed, Blender doesn't seem to support animation playback in background mode, but this workaround should do the trick. I also updated the BCB to suppress some irrelevant warnings that only appear in background mode for some reason.
from bullet-constraints-builder.
Related Issues (20)
- Blender 2.8+ port - again. HOT 5
- Issues regarding Standard Multi-Family House tutorial HOT 4
- Building causes spaces in-between objects HOT 2
- Clamped support condition HOT 4
- Export displacement time history HOT 3
- BCB for masonary infills HOT 1
- Blender crashing after using cavitiy detection HOT 3
- The KeyError HOT 12
- addon installation error for blender version 3.4.1 HOT 1
- Blender 2.79+ does not work on my laptop HOT 1
- Problem Using On Laptop HOT 4
- Error HOT 2
- Question about BCB HOT 2
- Problems encountered during use HOT 4
- Doesn't Build HOT 7
- Error Build HOT 1
- Loading a new .ifc model into existing simulation -- intense explosions on earthquake motion HOT 8
- Blender 2.8 update HOT 8
- Building not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bullet-constraints-builder.