Skip to content
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

User interface + anatomic type system: Bone properties side-panel #14

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Lathreas
Copy link
Contributor

This is a draft pull request with the beginnings of the anatomic type system in Blender as well as relevant UI. These are developed in tandem due to their high dependency on each other, and to test out the data structure while it's drafted.

AbstractSocket no longer uses layers internally to keep track of the
positions of nodes, but instead just looks at the node positions
themselves. That removes redundancy and becomes clearer, since layers
have no meaning beyond cosmetics before this commit.

This commit also refactors adding inputs or outputs to node trees from
self.InputFloat() to self.inputs.add_float() and the like.
@Lathreas Lathreas added enhancement New feature or request user interface Anything relating to the user interface labels Feb 18, 2023
* Custom Edit Context Views

Adds custom edit context views and closes Freedom-of-Form-Foundation#7

The views added are "Armature Mode", "Skeleton Mode", "Muscle Mode", and "Skin Mode"

Additionally, there's a "Smart Object Mode" which functions as "Bone Edit Context" would but can be run on any object, not just bones.

Smart Object Mode will make visible any selected objects, plus any objects in any geometry nodes present on these selected objects.

* Smart Object Select now relies on geometry_constraints

as explicitly set in the ARF menu rather than trying to intuit them from the geometry nodes.

Also adds asserts for ARF existing, removes any code going over line 80, and adds doc strings to the
top of the file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request user interface Anything relating to the user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants