Skip to content

[V3] hunyuan3d: make Voxel and Mesh types strict #9061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v3-definition
Choose a base branch
from

Conversation

bigcat88
Copy link
Contributor

@bigcat88 bigcat88 commented Jul 26, 2025

PR with suggestion to define the VOXEL and MESH types in the V3 schema as typed dictionaries.

Anything typed is easier to check with linters and AI to get more correct context.

These V3 nodes do not work with V1, but since we plan to replace V1 with V3, nothing should break in existing workflows for community.

Tested changes: files produced by V1 and V3 nodes are identical.

If necessary, we can accept both the old VOXEL/MESH, which is defined as a classes, and the new ones which is a typed dicts - so that compatibility would be perfect.

Screenshot from 2025-07-26 11-53-38

@Kosinkadink
Copy link
Collaborator

For the migration process, we should not make any changes to the types being passed around. We'll be able to handle that sort of thing in the near future though, so definitely make a note of the idea.

@Kosinkadink Kosinkadink added the v3 label Jul 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants