Skip to content

Add public Rotation runtime type support - #58

Merged
denikryt merged 12 commits into
mainfrom
feature/rotation-runtime-type
Nov 18, 2026
Merged

denikryt merged 12 commits into
mainfrom
feature/rotation-runtime-type

Conversation

@denikryt

@denikryt denikryt commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Implements #56.

Exposes Rotation as a public NodeForge runtime type, enabling typed Rotation values in .nf functions, raw Blender nodes, and Extension API v2.

Key changes:

  • Added Rotation support for function parameters, return types, and raw node() declarations.
  • Implemented Rotation defaults as XYZ Euler-angle triples in radians, with binary32 normalization.
  • Added typed Rotation defaults, static argument handling, and overload resolution in Extension API v2.
  • Enforced strict Rotation/Vector type distinction, with diagnostics for ambiguous static values.
  • Added support for preserving user-edited Rotation socket values during compatible group updates, including small numeric changes.
  • Added unit and Blender integration tests, documentation, and regression coverage.

This establishes the type infrastructure needed for future typed Geometry Nodes wrappers without introducing the wrapper library itself.

Refs #56

@denikryt
denikryt force-pushed the feature/rotation-runtime-type branch 2 times, most recently from da0c0f1 to ac58960 Compare November 17, 2026 23:45
@denikryt
denikryt merged commit 1046a08 into main Nov 18, 2026
6 checks passed
@denikryt
denikryt deleted the feature/rotation-runtime-type branch November 18, 2026 00:04
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