Curve Fillet Node #89227

Closed
opened 2021-06-17 05:44:02 +02:00 by Hans Goudey · 9 comments
Member

{F10176623 size=full}
{F10176598 size=full}

This nodes creates a constant radius fillet at each selected point of the curve, meaning that at every selected point, there will be a new circle portion segment or segments (depending on the resolution.

Details

  • A resolution of 1 adds just the two points on each corner, creating a chamfer (hard edge).
  • Higher resolutions add more points on the corners.
  • Both radius and resolution can be driven by attributes.
  • Ideally if the radius is large enough that it it will intersect neighboring points, they could be removed.
    ** Also, ideally two fillet radii would be able to gracefully intersect.

Related Nodes

{F10176640 size=full} Node to calculate the angle at each control point (free or vector control points for bezier splines) and store the result in an attribute, used for procedural control of which points are beveled. A curvature builtin attribute or a node to calculate curvature would also work

Further Questions

  • What should happen for NURB splines?

Implementation
D6386: [WIP] Bevel: Constant Radius Mode is somewhat similar, though this will be much simpler than implementing something like this in the bevel modifier, since this is just 2D and there are no N-way intersections.
As an optimization, the node could modify an existing curve or create a new one based on the size of the selection-- if it's just a few points out of many, it will likely be more efficient to reuse memory.

{[F10176623](https://archive.blender.org/developer/F10176623/image.png) size=full} {[F10176598](https://archive.blender.org/developer/F10176598/image.png) size=full} This nodes creates a constant radius fillet at each selected point of the curve, meaning that at every selected point, there will be a new circle portion segment or segments (depending on the resolution. **Details** * A resolution of 1 adds just the two points on each corner, creating a chamfer (hard edge). * Higher resolutions add more points on the corners. * Both radius and resolution can be driven by attributes. * Ideally if the radius is large enough that it it will intersect neighboring points, they could be removed. ** Also, ideally two fillet radii would be able to gracefully intersect. **Related Nodes** | {[F10176640](https://archive.blender.org/developer/F10176640/image.png) size=full} |Node to calculate the angle at each control point (free or vector control points for bezier splines) and store the result in an attribute, used for procedural control of which points are beveled. *A `curvature` builtin attribute or a node to calculate curvature would also work* | -- | -- | **Further Questions** * What should happen for NURB splines? **Implementation** [D6386: [WIP] Bevel: Constant Radius Mode](https://archive.blender.org/developer/D6386) is somewhat similar, though this will be much simpler than implementing something like this in the bevel modifier, since this is just 2D and there are no N-way intersections. As an optimization, the node could modify an existing curve or create a new one based on the size of the selection-- if it's just a few points out of many, it will likely be more efficient to reuse memory.
Author
Member

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

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

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly

Added subscriber: @GeorgiaPacific

Added subscriber: @GeorgiaPacific

Added subscriber: @GregoryS

Added subscriber: @GregoryS

Added subscriber: @dilithjay

Added subscriber: @dilithjay
Dilith Jayakody was assigned by Hans Goudey 2021-07-16 04:53:44 +02:00
Author
Member

I'm assigning this to Dilith since he is currently working on it as part of his GSoC project.

I'm assigning this to Dilith since he is currently working on it as part of his GSoC project.
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

Added subscriber: @Moult

Added subscriber: @Moult

Is it possible to access this via Python? Say if I wanted to create a constant radius fillet via a script at a particular vertex?

Is it possible to access this via Python? Say if I wanted to create a constant radius fillet via a script at a particular vertex?
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
6 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#89227
No description provided.