feat(comfy_api): add basic 3D Model file types#12129
Merged
Conversation
0ecdf00 to
a18989b
Compare
7718afd to
c18aed3
Compare
guill
reviewed
Feb 2, 2026
guill
reviewed
Feb 2, 2026
guill
reviewed
Feb 2, 2026
guill
reviewed
Feb 2, 2026
- Rename File3D parameter 'path' to 'source' - Convert File3D.data property to get_data() - Make .glb extension check case-insensitive in nodes_rodin.py - Restrict SaveGLB node to only accept File3DGLB
guill
approved these changes
Feb 3, 2026
luna-niemitalo
pushed a commit
to luna-niemitalo/ComfyUI
that referenced
this pull request
Feb 11, 2026
* feat(comfy_api): add basic 3D Model file types * update Tripo nodes to use File3DGLB * update Rodin3D nodes to use File3DGLB * address PR review feedback: - Rename File3D parameter 'path' to 'source' - Convert File3D.data property to get_data() - Make .glb extension check case-insensitive in nodes_rodin.py - Restrict SaveGLB node to only accept File3DGLB * Fixed a bug in the Meshy Rig and Animation nodes * Fix backward compatability
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This should make possible to properly implement Convert Format nodes (GLB -> FBX, etc.) or pass a 3D model generated by one API service as input to another (e.g., generate with
Meshy-> texture withHunyuan3D Pro)Changes
comfy_api/latest/_util/geometry_types.py): Stores 3D model data in memory as BytesIO with format metadatacomfy_api/latest/_io.py):File3DAny- generic 3D file typeFile3DGLB,File3DGLTF,File3DFBX,File3DOBJ,File3DSTL,File3DUSDZ- format-specific typesdownload_url_to_file_3dhelper: task_id optional; when provided, also writes file to disk for backward compatibilityBackward Compatibility: Existing workflows continue to work - nodes output both the new typed File3D objects and the original string file paths.
Testing
Screenshots
API Node PR Checklist
Scope
Pricing & Billing
If Need pricing update:
QA
Comms