procedural_generate
Generates complex procedural geometry shapes like springs, torus knots, gears, and terrains using BMesh.
Instructions
Generate procedural geometry using BMesh. Creates more complex shapes than basic primitives.
Parameters:
shape: Type of shape to generate: "spring" — coil/spring (params: radius, height, turns, segments, wire_radius) "torus_knot" — mathematical torus knot (params: p, q, radius, tube_radius, segments) "gear" — gear/cog shape (params: teeth, radius, tooth_height, thickness) "pipe" — pipe along curve (params: radius, segments, points:[[x,y,z],...]) "terrain" — procedural terrain (params: size, subdivisions, height, seed) "tree_trunk" — basic tree trunk (params: height, radius, segments, taper) "staircase" — spiral staircase (params: steps, radius, height, width) "gem" — gemstone shape (params: radius, crown_height, pavilion_height, facets)
name: Object name
params: JSON parameters for the shape
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Procedural | |
| shape | Yes | ||
| params | No | {} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |