base-node (.bn) v0.13.1

fillet2d

Fillets, chamfers, and bevels for 2D polygonal curves and corners

Targetsblender-geometry, blender-gp
Version0.13.1 (edition 2026)
Depends onmath
Importuse fillet2d or use fillet2d (name, …)
Sourcestdlib/fillet2d.bn

2D Fillets, Chamfers & Bevels#

fillet corner#

Analytically computes circular arc fillet tangent points (p1, p2) and circle center for a 2D corner

geometry graph "fillet corner"(
    p_prev: Vector,
    p: Vector,
    p_next: Vector,
    radius: Float = 0.2 in 0.0..
) -> (p1: Vector, p2: Vector, center: Vector)
InputTypeDefaultRange
p_prevVector
pVector
p_nextVector
radiusFloat0.20.0..
geometry ✓shader ✓compositor ✓

fillet polygon#

Rounds sharp corners of a 2D polygonal curve with constant or attribute-driven fillet radius

geometry graph "fillet polygon"(
    polygon: Geometry,
    radius: Float = 0.2 in 0.0..,
    segments: Int = 4 in 1..64
) -> Geometry
InputTypeDefaultRange
polygonGeometry
radiusFloat0.20.0..
segmentsInt41..64
geometry ✓shader ✗compositor ✗

chamfer polygon#

Cuts sharp corners of a 2D polygon with straight chamfers

geometry graph "chamfer polygon"(polygon: Geometry, distance: Float = 0.1 in 0.0..) -> Geometry
InputTypeDefaultRange
polygonGeometry
distanceFloat0.10.0..
geometry ✓shader ✗compositor ✗

fillet bezier handles#

Smooths sharp kink angles along a 2D curve by introducing parametric rounding arcs

geometry graph "fillet bezier handles"(
    curve: Geometry,
    radius: Float = 0.1 in 0.0..,
    threshold_angle: Float = 0.5 in 0.0..3.14159
) -> Geometry
InputTypeDefaultRange
curveGeometry
radiusFloat0.10.0..
threshold_angleFloat0.50.0..3.14159
geometry ✓shader ✗compositor ✗