Support for builtin curve control point attributes #87430

Closed
opened 2021-04-12 15:45:00 +02:00 by Hans Goudey · 7 comments
Member

The builtin attributes on curve control points are:

  • position
  • radius
  • tilt -- an angle added to the final evaluated normals

Bezier splines have some extra builtin attributes:

  • handle_position_a -- better name?
  • handle_position_b -- better name?
  • The handle types could also be thought of as an attribute, but they are enums, so they won't be part of the attribute system now.

NURBS splines have one extra builtin attribute:

  • weight -- The relative influence of this control point vs. the others

This task is for supporting reading to and writing from these builtin attributes

The builtin attributes on curve control points are: - `position` - `radius` - `tilt` -- an angle added to the final evaluated normals Bezier splines have some extra builtin attributes: - `handle_position_a` -- *better name?* - `handle_position_b` -- *better name?* - The handle types could also be thought of as an attribute, but they are enums, so they won't be part of the attribute system now. NURBS splines have one extra builtin attribute: - `weight` -- The relative influence of this control point vs. the others This task is for supporting reading to and writing from these builtin attributes
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Hans Goudey was assigned by Dalai Felinto 2021-05-10 14:15:56 +02:00
Contributor

Added subscriber: @KenzieMac130

Added subscriber: @KenzieMac130
Contributor

handle_position_a -- better name?
handle_position_b -- better name?

Are these guaranteed to have an order along the spline? If so might "head" and "tail" be more descriptive?

> handle_position_a -- better name? > handle_position_b -- better name? Are these guaranteed to have an order along the spline? If so might "head" and "tail" be more descriptive?

This issue was referenced by 1892b131ed

This issue was referenced by 1892b131edc76abb4439ca6fcc69b95a208ab7d7
Author
Member

Yeah, the order is guaranteed. More recently I was thinking "right" and "left", since I haven't seen "head" and "tail" elsewhere.

The design issue holding me back now is that I'd like to show somehow that only some splines have these attributes in the spreadsheet. We don't have a way to do that currently.

Yeah, the order is guaranteed. More recently I was thinking "right" and "left", since I haven't seen "head" and "tail" elsewhere. The design issue holding me back now is that I'd like to show somehow that only some splines have these attributes in the spreadsheet. We don't have a way to do that currently.

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#87430
No description provided.