Skip to content

Fix the gear train layout and add .blend downloads to the examples - #258

Merged
BradyAJohnston merged 1 commit into
mainfrom
docs-examples-gears-blend
Oct 9, 2026
Merged

BradyAJohnston merged 1 commit into
mainfrom
docs-examples-gears-blend

Conversation

@BradyAJohnston

Copy link
Copy Markdown
Owner
  • Gear train: the 18-tooth gear overlapped the 24-tooth one. They turn the same way, so the train would have locked. The directions now zig-zag, with at least 6 modules of clearance between gears that aren't neighbours.
  • Download .blend: render.py saves each staged scene (node trees, materials, camera, lights) as a compressed .blend next to its image, about 100 KB each. Each example page has a button for it. The explosion is saved at frame 1 so its simulation plays from the start.

The 18-tooth gear overlapped the 24-tooth one. Both turn the same way
(each meshes with the 12-tooth gear between them), so the train would
lock. The directions now zig-zag, leaving at least six modules between
gears that are not neighbours.

render.py also saves each staged scene as a compressed .blend next to
its image (a simulation at frame 1, since a new file has no cache), and
each example page gets a button to download it.
@codspeed

codspeed Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 15 untouched benchmarks


Comparing docs-examples-gears-blend (d3d486a) with main (b829d52)

Open in CodSpeed

@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.27%. Comparing base (b829d52) to head (d3d486a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #258   +/-   ##
=======================================
  Coverage   98.27%   98.27%           
=======================================
  Files         101      101           
  Lines       30611    30611           
=======================================
  Hits        30083    30083           
  Misses        528      528           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@BradyAJohnston
BradyAJohnston merged commit fa4ea21 into main Oct 9, 2026
11 checks passed
@BradyAJohnston
BradyAJohnston deleted the docs-examples-gears-blend branch October 9, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant