planar2d
Planar map partitioning, intersection splitting, face extraction, and region boundaries
| Targets | blender-geometry, blender-gp |
|---|---|
| Version | 0.13.1 (edition 2026) |
| Depends on | math |
| Import | use planar2d or use planar2d (name, …) |
| Source | stdlib/planar2d.bn |
Planar Map, Regions & Boundary Operations#
planar faces#
Extracts closed polygonal faces from planar curve networks by welding endpoints and filling closed loops
geometry graph "planar faces"(
curves: Geometry,
tolerance: Float = 0.001 in 0.0001..0.1
) -> Geometry
| Input | Type | Default | Range |
|---|---|---|---|
curves | Geometry | ||
tolerance | Float | 0.001 | 0.0001..0.1 |
planar split intersections#
Inserts vertices at segment crossings and splits edges within a planar curve network
geometry graph "planar split intersections"(
curves: Geometry,
subdivisions: Int = 4 in 1..32,
tolerance: Float = 0.002 in 0.0001..0.1
) -> Geometry
| Input | Type | Default | Range |
|---|---|---|---|
curves | Geometry | ||
subdivisions | Int | 4 | 1..32 |
tolerance | Float | 0.002 | 0.0001..0.1 |
shape builder pick#
Selects and generates planar face regions containing or nearest to the provided seed points
geometry graph "shape builder pick"(
curves: Geometry,
seed_points: Geometry,
pick_radius: Float = 0.5 in 0.01..10.0
) -> Geometry
| Input | Type | Default | Range |
|---|---|---|---|
curves | Geometry | ||
seed_points | Geometry | ||
pick_radius | Float | 0.5 | 0.01..10.0 |
contour outer boundary#
Extracts the outer boundary envelope from a collection of contiguous 2D shapes
geometry graph "contour outer boundary"(
shapes: Geometry,
tolerance: Float = 0.001 in 0.0001..0.1,
offset: Float = 0.0
) -> Geometry
| Input | Type | Default | Range |
|---|---|---|---|
shapes | Geometry | ||
tolerance | Float | 0.001 | 0.0001..0.1 |
offset | Float | 0.0 |