-
Notifications
You must be signed in to change notification settings - Fork 8
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
Cast c4d cleanup #73
Draft
dtzxporter
wants to merge
11
commits into
master
Choose a base branch
from
cast-c4d-cleanup
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Cast c4d cleanup #73
Conversation
This file contains 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
Cast Model support for Cinema 4D. Supports: - Meshes - Skeleton - Materials - Vertex colors - Constraints - IK handles Installation: Create a folder with the name "Cast", "io_scene_cast" or any other suitable name and place the files in there. The cast python library (cast.py) should be placed in the resource folder named "res" in the plugins directory. Requirements: Cinema 4D 2024 or newer Currently not supported: - Animations - Instances - Blend shapes
- usage of enums - added comments - usage of bools - parenting bones in an extra loop - minor cleanup Missing: - pole #60 (comment) - usage of c4d.quaternion() #60 (comment) - removing unpack_list steps #60 (comment)
New Feature: - Instance import Improvements: - using c4d.Quaternion() - using PoleVectorBone instead of PoleBone Requirements: - Cinema 4D 2024.5 or newer
…ce/uv/color import. Rebased, implemented multiple color layer import.
The clean up code had following errors: #1 > NameError:name 'CAST_IMPORT_BIND_SKIN' is not defined Solution: `mxutils.ImportSymbols(PLUGIN_RES_DIR)` is required to load the symbols of the res directory. #2 > vnTag.Set(vnData, int(i / 3), TypeError:function takes at most 3 arguments (6 given) Solution: [c4d.NormalTag.Set](https://developers.maxon.net/docs/py/2025_0_0/modules/c4d/C4DAtom/GeListNode/BaseList2D/BaseTag/VariableTag/NormalTag/index.html?highlight=c4d%20normaltag#c4d.NormalTag.Set) has to be a dict
Error fixing
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.
No description provided.