Skip to content

Add Blockbench bbmodel to OBJ conversion support#624

Open
valipuha wants to merge 1 commit intop2r3:masterfrom
valipuha:fix/issue-459-bbmodel-obj-support
Open

Add Blockbench bbmodel to OBJ conversion support#624
valipuha wants to merge 1 commit intop2r3:masterfrom
valipuha:fix/issue-459-bbmodel-obj-support

Conversation

@valipuha
Copy link
Copy Markdown

Summary

This change adds initial support for Blockbench .bbmodel files by introducing a focused bbmodel -> obj conversion path.

What changed

  • registered .bbmodel as a supported model input
  • added a dedicated handler that parses Blockbench cube and mesh geometry
  • exported parsed geometry as Wavefront OBJ using Three.js
  • wired the handler into the existing handler registry
  • added regression tests for cube and mesh export cases

Notes

This resolves the current "unsupported .bbmodel input" gap with the smallest safe change in this repo's existing architecture.

The implementation targets geometry export to OBJ, which then allows reuse of existing downstream conversion paths. It does not add native .blend or .mdl export support.

Testing

  • added regression tests for cube-based .bbmodel export
  • added regression tests for mesh-based .bbmodel export

Register bbmodel files as a supported model input

Add a dedicated bbmodel handler that converts Blockbench cube and mesh
geometry into Wavefront OBJ using Three.js scene/export utilities.
This makes bbmodel files discoverable by the format graph and enables
downstream model-compatible conversions through the existing pipeline.

Add regression coverage for cube-based and mesh-based bbmodel exports.
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