Testing Scripts in Brender Cloud
This guide explains how to safely test Python scripts in Brender Cloud’s CPU-based environment before running production jobs on GPU instances. Test executions are free and designed to catch errors early.
Uploading Scripts
- Navigate to Scripts Dashboard
- Click Upload button (top-right corner)
- In the upload dialog:
- Select your Python script file
- (Optional) Add description for team context
Managing Scripts
After upload, scripts appear in your studio’s script table. All members can:
- View/Edit Code: Click any script row to access detail view
- Modify Directly: Use built-in editor in script detail view
- Delete: Remove scripts no longer needed
Running Tests
- From script detail view (
https://brendercloud.com/scripts/your-script-name/test
), click Test Script - In test configuration:
- Upload
.blend
or.zip
file (max 15MB) - Click Run Test
- Upload
Tests execute immediately but may take 1-5 minutes depending on complexity
Test Environment Specifications
Parameter | Specification |
---|---|
Runtime Limit | 5 minutes maximum |
Hardware | CPU-only environment |
Output Generation | No files saved |
Supported Engines | Cycles (EEVEE not supported) |
Understanding Test Results
After execution, you’ll receive:
- Console output from script execution
- Error stack trace (if any)
- Memory/Runtime metrics
- Virtual file structure printout using
BC_OUTPUT_FOLDER
# Example debug print in test mode
print("Output path structure:", os.listdir(BC_OUTPUT_FOLDER))
⚠️
Test mode disables actual file writes. Use print statements to verify file paths and data flow.
Best Practices
- Small Assets: Use low-poly test models under 15MB
- Quick Checks: Focus on critical functions rather than full renders
- Debug Outputs: Use
print()
statements liberally
Last updated on