Pcg Spline Grammar

blueish in Procedural Generators


Bring the power of Unreal Engine's PCG Spline Grammar directly into Blender Geometry Nodes.

This Setup is inspired by Unreal Engine 5 PCG Spline Grammar.


Create procedural roads, fences, facades, railways and modular environments using an intuitive grammar system that automatically fills any spline with modular assets.

This asset allows you to procedurally populate and fill curves using modular assets and grammar-based rules. Define modules with custom lengths, create grammar expressions, and automatically distribute assets along any spline while preserving spacing, alignment, and continuity.

Perfect for generating:

  • Fences and walls
  • Railways and tracks
  • Pipes and cables
  • Architectural facades
  • Modular environments
  • Sci-fi corridors
  • Procedural level layouts

Features

Grammar-Based Spline Generation

Use a simple grammar syntax to control how modules are placed along a curve.

Examples:

A,B,C:Place modules sequentially.

{A,B,C}:Randomly choose one module.

:Fallback placement logic. Firstly try A, then B, lastly try C.

[A,B,C]:Treat multiple modules as a single group.

A*5:Repeat modules multiple times.

Automatic Curve Filling

The system automatically calculates segment lengths and distributes modules so the entire spline is filled without manual adjustment.

Variable Module Length Support

Every module can have its own dimensions and the solver will fit them correctly along the curve.

Fully Procedural

Update the spline and the entire layout rebuilds instantly.

Geometry Nodes Native

No scripts, no add-ons, no dependencies.

Works entirely inside Blender Geometry Nodes.

Artist Friendly

Create complex procedural layouts without coding. Build reusable rule sets and iterate quickly.

Why Use This?

Manually placing modular assets along curves is time consuming and difficult to maintain.

Spline Grammar automates the process while keeping full artistic control, allowing you to generate large-scale environments in seconds.

The workflow is inspired by Unreal Engine 5 PCG Spline Grammar, bringing similar procedural capabilities to Blender.


Discover more products like this

scatter distribute-on-curve curve

$12

Have questions about this product?
Login to message

Details
Published 3 months ago
Blender Version 5.1
Render Engine Used Cycles, Eevee
License Royalty Free