Skip to content
AlphaToolBox3D is in early alpha: features are incomplete and things can break. Use it at your own risk and keep copies of your files. Report a problem
ToolBox3D

Docs · Python API

tb.ops.create

22 operations. Without targets=, an operation works on the current selection, like its button in the editor.

Arch

tb.ops.create.arch(
    *,
    outer_radius: float = 0.5,
    inner_radius: float = 0.35,
    depth: float = 0.3,
    arch_angle: float = 180.0,
    segments: int = 16,
    include_legs: bool = True,
    leg_height: float = 0.3,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create an arch with rectangular cross-section. Lengths are in 'unit'; the new object is named pArch<n> unless 'name' is given.

  • Operation create.arch
  • In Model
ArgumentTypeDefaultDescription
outer_radiusfloat0.5Radius of the outer boundary. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
inner_radiusfloat0.35Radius of the inner opening. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
depthfloat0.3Front-to-back depth of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
arch_anglefloat180.0Angle swept by the arch, in degrees. 180 makes a semicircle. (degrees; 0…1000000000).
segmentsint16Number of sections along the curved profile. (count; 1…512).
include_legsboolTrueExtend straight supports from the ends of the arch.
leg_heightfloat0.3Length of the arch's straight supports. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Boundary Fill

tb.ops.create.boundary_fill(
    *,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    name: str = ...,
    curves: Sequence[ObjectRef] = ...,
    loops: Any = ...,
    reverse_winding: bool = False,
) -> Result

Fill closed boundaries with one n-gon each: explicit point loops, or the picked closed curves as displayed (each spline one loop, in world space; open splines are refused). The curves are kept.

  • Operation create.boundary_fill
  • In Model
ArgumentTypeDefaultDescription
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Unit the point coordinates are given in. (m / cm / mm / inch / foot).
namestr—Object name (default: the next free <base><n>).
curvesSequence[ObjectRef]—Boundary curve objects (default: the selected curves when no loops are given).
loopsAny—Explicit loops instead of curves: a list of point lists [[x, y, z], …] of at least 3 points.
reverse_windingboolFalseReverse the orientation of the filled faces.

Capsule

tb.ops.create.capsule(
    *,
    radius: float = 0.3,
    length: float = 1.0,
    radial_segments: int = 32,
    cap_segments: int = 8,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a capsule (pill) primitive. Lengths are in 'unit'; the new object is named pCapsule<n> unless 'name' is given.

  • Operation create.capsule
  • In Model
ArgumentTypeDefaultDescription
radiusfloat0.3Distance from the center to the surface in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
lengthfloat1.0End-to-end length of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
radial_segmentsint32Number of segments around the circular cross-section. More segments produce a smoother outline. (count; 1…512).
cap_segmentsint8Number of sections along each rounded capsule end. (count; 1…512).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Cone

tb.ops.create.cone(
    *,
    radius: float = 0.5,
    height: float = 1.0,
    radial_segments: int = 32,
    height_segments: int = 1,
    open_ended: bool = False,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a cone primitive. Lengths are in 'unit'; the new object is named pCone<n> unless 'name' is given.

  • Operation create.cone
  • In Model
ArgumentTypeDefaultDescription
radiusfloat0.5Distance from the center to the surface in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
heightfloat1.0Height of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
radial_segmentsint32Number of segments around the circular cross-section. More segments produce a smoother outline. (count; 1…512).
height_segmentsint1Number of segments along the height. (count; 1…512).
open_endedboolFalseLeave the ends open instead of generating caps.
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Cube

tb.ops.create.cube(
    *,
    width: float = 1.0,
    height: float = 1.0,
    depth: float = 1.0,
    subdivisions_x: int = 1,
    subdivisions_y: int = 1,
    subdivisions_z: int = 1,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a cube primitive. Lengths are in 'unit'; the new object is named pCube<n> unless 'name' is given.

  • Operation create.cube
  • In Model
ArgumentTypeDefaultDescription
widthfloat1.0Overall width of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
heightfloat1.0Height of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
depthfloat1.0Front-to-back depth of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
subdivisions_xint1Number of sections along the X axis. (count; 1…128).
subdivisions_yint1Number of sections along the Y axis. (count; 1…128).
subdivisions_zint1Number of sections along the Z axis. (count; 1…128).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Cylinder

tb.ops.create.cylinder(
    *,
    radius_top: float = 0.5,
    radius_bottom: float = 0.5,
    height: float = 1.0,
    radial_segments: int = 32,
    height_segments: int = 1,
    open_ended: bool = False,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a cylinder primitive. Lengths are in 'unit'; the new object is named pCylinder<n> unless 'name' is given.

  • Operation create.cylinder
  • In Model
ArgumentTypeDefaultDescription
radius_topfloat0.5Radius at the top end. A different bottom radius creates a taper. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
radius_bottomfloat0.5Radius at the bottom end. A different top radius creates a taper. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
heightfloat1.0Height of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
radial_segmentsint32Number of segments around the circular cross-section. More segments produce a smoother outline. (count; 1…512).
height_segmentsint1Number of segments along the height. (count; 1…512).
open_endedboolFalseLeave the ends open instead of generating caps.
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Draw Polygon Profile

tb.ops.create.draw_profile(
    *,
    shape: Literal["circle", "ellipse", "arc", "rectangle", "regularPolygon"] = "circle",
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    frame: Any,
    anchor: Literal["center", "corner"] = "center",
    fill: Literal["none", "ngon", "triangles"] = "ngon",
    radius: float = 1.0,
    radius_x: float = 1.0,
    radius_y: float = 1.0,
    width: float = 1.0,
    height: float = 1.0,
    start_angle: float = 0.0,
    sweep_angle: float = 3.141592653589793,
    arc_closure: Literal["chord", "sector"] = "chord",
    angle: float = 0.0,
    sides: int = 5,
    circle_segments: int = 32,
    width_segments: int = 1,
    height_segments: int = 1,
    cast_tolerance: float,
    name: str = ...,
) -> Result

Create an editable polygon profile on a captured precise frame. Fill and subdivision topology are explicit. Local and world f32 casting must stay within castTolerance; no hidden curve or solid is created.

  • Operation create.draw_profile
  • In Model
ArgumentTypeDefaultDescription
shapeLiteral["circle", "ellipse", "arc", "rectangle", "regularPolygon"]"circle"The outline to draw: circle, ellipse, arc, rectangle or regular polygon. (circle / ellipse / arc / rectangle / regularPolygon).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Unit (m / cm / mm / inch / foot).
frameAnyrequiredCaptured f64 {origin:[3],u:[3],v:[3]}. Origin is in unit; orthogonal directions are dimensionless. There is no origin fallback.
anchorLiteral["center", "corner"]"center"Center uses the shape center (rectangle center); corner uses its frame-axis bounding corner. A finalized rectangle corner frame uses corner. (center / corner).
fillLiteral["none", "ngon", "triangles"]"ngon"Polygon circles/ellipses/polygons remain one n-gon. Rectangle grids stay quads. Triangle Faces explicitly authors triangles; Edges Only produces loose boundaries. (none / ngon / triangles).
radiusfloat1.0Circle/polygon circumradius in unit; positive. (scene units; 0…179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000).
radius_xfloat1.0Ellipse/arc radius along frame u, in unit; positive. (scene units; 0…179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000).
radius_yfloat1.0Ellipse/arc radius along frame v, in unit; positive. (scene units; 0…179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000).
widthfloat1.0Rectangle width along frame u, in unit; positive. (scene units; 0…179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000).
heightfloat1.0Rectangle height along frame v, in unit; positive. (scene units; 0…179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000).
start_anglefloat0.0Where the arc begins, measured from the frame's first axis. (radians).
sweep_anglefloat3.141592653589793Signed nonzero arc sweep, at most a full turn. Edges-only partial arcs stay open. (radians).
arc_closureLiteral["chord", "sector"]"chord"How an arc is closed: a straight chord between its ends, or two radii back to the center like a pie slice. (chord / sector).
anglefloat0.0Regular polygon's first vertex angle; inradius conversion is done explicitly by the drawing controller. (radians).
sidesint5How many sides the regular polygon has; more sides make it rounder. (count; 3…4096).
circle_segmentsint32How many segments approximate a circle, ellipse or arc; more segments make a smoother curve. (count; 3…4096).
width_segmentsint1How many rows of quads divide the rectangle across its width. (count; 1…256).
height_segmentsint1How many rows of quads divide the rectangle across its height. (count; 1…256).
cast_tolerancefloatrequiredExplicit maximum accepted local/world polygon casting error in unit. This is not drawing display chord tolerance, snapping pixels, or a guessed epsilon. (scene units; 0…179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000).
namestr—Name or scene's next free pDrawProfile number.

Hemisphere

tb.ops.create.hemisphere(
    *,
    radius: float = 0.5,
    width_segments: int = 32,
    height_segments: int = 8,
    flat_base: bool = True,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a hemisphere (half sphere) primitive. Lengths are in 'unit'; the new object is named pHemisphere<n> unless 'name' is given.

  • Operation create.hemisphere
  • In Model
ArgumentTypeDefaultDescription
radiusfloat0.5Distance from the center to the surface in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
width_segmentsint32Number of segments around the hemisphere. (count; 1…512).
height_segmentsint8Number of bands from the base to the pole. (count; 1…512).
flat_baseboolTrueClose the hemisphere with a flat base.
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Image to Mesh

tb.ops.create.image_mesh(
    *,
    image: str = ...,
    mode: Literal["auto", "alpha", "luminance", "colors"] = "auto",
    colors: int = 4,
    layers: Any = ...,
    threshold: float = 0.5,
    invert: bool = False,
    smoothing: float = 0.5,
    size: float = 1.0,
    depth: float = 0.1,
    layer_step: float = 0.0,
    bevel: float = 0.0,
    bevel_segments: int = 3,
    bevel_shape: float = 0.5,
    bevel_sides: Literal["both", "front", "back"] = "both",
    keep_background: bool = False,
    despeckle: float = 12.0,
    denoise: int = 1,
    corner_angle: float = 60.0,
    outline: Literal["smooth", "polygon"] = "smooth",
    diagonals: Literal["connect", "separate"] = "connect",
    tolerance: float = 0.75,
    trace_resolution: int = 2048,
    fill: Literal["auto", "triangles", "even", "quads", "ngon"] = "auto",
    fill_density: int = 32,
    orientation: Literal["upright", "flat"] = "upright",
    origin: Literal["center", "ground"] = "center",
    smooth_angle: float = 30.0,
    separate: Literal["single", "layers", "pieces"] = "layers",
    output: Literal["mesh", "curves", "meshAndCurves", "outline"] = "mesh",
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    name: str = ...,
    staged: str = ...,
) -> Result

Trace an image (PNG, JPEG or WebP) into a mesh, editable curves, both together, or a loose-edge outline: logos, signs, pixel art, silhouettes and layered color logos. Lengths are in 'unit'. One undo step.

  • Operation create.image_mesh
  • In Model
ArgumentTypeDefaultDescription
imagestr—The image file: base64 or a data: URL (PNG, JPEG or WebP, at most 50 MB).
modeLiteral["auto", "alpha", "luminance", "colors"]"auto"How the shape is read: Auto uses transparency when the image has any, otherwise dark on light. Transparency keeps opaque pixels; Dark on Light keeps pixels darker than the threshold; Color Layers splits the image into a few flat colors (layered logos), each its own layer with its own material. (auto / alpha / luminance / colors).
colorsint4How many flat color layers the image is split into; pick which become geometry with the swatches. (2…12).
layersAny—Color Layers: the palette layers to build (0 is the largest color), e.g. [0, 2]. Omit to build every layer but a detected background.
thresholdfloat0.5Cut-off between shape and background: the minimum opacity, or the brightness below which pixels count. (0…1).
invertboolFalseSwap shape and background, e.g. to trace light lettering on a dark plate.
smoothingfloat0.5How much pixel steps are smoothed into flowing outlines; 0 keeps exact pixel edges (pixel art). (0…1).
sizefloat1.0Width or height (whichever is larger) of the traced shape. (scene units; 0…100000).
depthfloat0.1Extrusion thickness; 0 makes a flat sheet. (scene units; 0…100000).
layer_stepfloat0.0Color Layers: each further layer is this much thicker, so the layers stack into a relief. (scene units; -100000…100000).
bevelfloat0.0Rounds the outline edges by this width (front and back). (scene units; 0…100000).
bevel_segmentsint3Segments across each bevel. (1…16).
bevel_shapefloat0.5Bevel profile: 0.5 a round quarter circle, lower toward a straight chamfer, higher toward a square edge. (0…1).
bevel_sidesLiteral["both", "front", "back"]"both"Which edges get the bevel: both faces, only the front, or only the back (a sign mounted on a wall). (both / front / back).
keep_backgroundboolFalseColor Layers: also build the color that fills the image border.
despecklefloat12.0Removes specks and pin-holes up to this many pixels in area, so dust and JPEG noise do not become geometry. (0…100000).
denoiseint1Majority-filter passes before tracing. Removes one-pixel fringes while preserving straight edges and corners. (0…4).
corner_anglefloat60.0Turns sharper than this angle remain pinned crisp corners; gentler turns may become smooth curves. (degrees; 10…170).
outlineLiteral["smooth", "polygon"]"smooth"Smooth fits connected cubic Bézier outlines. Straight Segments retains a corner-preserving polygon. (smooth / polygon).
diagonalsLiteral["connect", "separate"]"connect"When pixels touch only at a corner, trace one connected outline or separate outlines. (connect / separate).
tolerancefloat0.75Largest distance, in image pixels, between the traced edge and the outline; lower follows the image more closely with more points. (0.1…10).
trace_resolutionint2048Largest image side, in pixels, used for tracing; bigger images are reduced first. (64…4096).
fillLiteral["auto", "triangles", "even", "quads", "ngon"]"auto"Auto uses a quad grid for compact shapes and even triangles for thin or intricate ones. Clean keeps minimal triangles; Even supplies a hexagonal triangle lattice; Quads supplies a square grid. N-gons keeps the explicit boundary-only option. (auto / triangles / even / quads / ngon).
fill_densityint32Cells across the image shape's longest side, shared by all pieces and color layers. Auto chooses spacing from outline detail. (4…400).
orientationLiteral["upright", "flat"]"upright"Upright faces the front view (a sign); Flat lies on the ground facing up (a floor decal). (upright / flat).
originLiteral["center", "ground"]"center"Center puts the middle of the shape at the origin; On Ground stands it on the ground. (center / ground).
smooth_anglefloat30.0Edges sharper than this angle shade hard. Zero shades flat; 180 shades everything smooth. (degrees; 0…180).
separateLiteral["single", "layers", "pieces"]"layers"Everything as one object (Color Layers: one material slot per color), one object per color layer, or one object per separate piece. (single / layers / pieces).
outputLiteral["mesh", "curves", "meshAndCurves", "outline"]"mesh"The extruded mesh, editable closed curves, both together, or a loose-edge outline mesh. Objects controls their grouping. (mesh / curves / meshAndCurves / outline).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Unit the lengths are given in. (m / cm / mm / inch / foot).
namestr—Object name, at most 64 characters. Leave empty for ImageMesh<n>.
stagedstr—Completed background result; ordinary API calls and saved recipes omit this transient token.

Loft

tb.ops.create.loft(
    *,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    name: str = ...,
    profiles: Any,
    caps: bool = True,
) -> Result

Create a mesh through two or more closed profiles with the same point count, stitched with quad strips; Caps close the first and last profile.

  • Operation create.loft
  • In Model
ArgumentTypeDefaultDescription
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Unit the point coordinates are given in. (m / cm / mm / inch / foot).
namestr—Object name (default: the next free <base><n>).
profilesAnyrequiredProfiles in order: a list of point lists [[x, y, z], …], at least 2 profiles of at least 3 points, all the same count.
capsboolTrueClose the first and last profile with n-gons; the closed result faces outward.

Create Mesh from Data

tb.ops.create.mesh_from_data(
    *,
    positions: Any,
    faces: Any,
    uvs: Any = ...,
    name: str = ...,
) -> Result

Create a mesh object from vertex positions and faces in one undo step (scripts build their arrays first, then call this once). Positions are local scene units, flat [x0, y0, z0, …] or [x, y, z] rows; faces are lists of vertex indices; optional uvs give one [u, v] per face corner in face order.

  • Operation create.mesh_from_data
  • In Model
ArgumentTypeDefaultDescription
positionsAnyrequiredVertex positions.
facesAnyrequiredFaces as lists of vertex indices (3 or more each).
uvsAny—Optional UV map 'UVMap': one [u, v] per face corner.
namestr—Object name (default: Mesh<n>).

Plane

tb.ops.create.plane(
    *,
    width: float = 1.0,
    height: float = 1.0,
    width_segments: int = 1,
    height_segments: int = 1,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a flat plane primitive. Lengths are in 'unit'; the new object is named pPlane<n> unless 'name' is given.

  • Operation create.plane
  • In Model
ArgumentTypeDefaultDescription
widthfloat1.0Overall width of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
heightfloat1.0Length of the plane's second side, in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
width_segmentsint1Number of segments across the width. (count; 1…256).
height_segmentsint1Number of segments along the plane's second side. (count; 1…256).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Pyramid

tb.ops.create.pyramid(
    *,
    base_radius: float = 0.5,
    height: float = 1.0,
    sides: int = 4,
    truncation: float = 0.0,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create an N-sided pyramid primitive. Lengths are in 'unit'; the new object is named pPyramid<n> unless 'name' is given.

  • Operation create.pyramid
  • In Model
ArgumentTypeDefaultDescription
base_radiusfloat0.5Radius from the base center to its outer corners. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
heightfloat1.0Height of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
sidesint4Number of edges around the pyramid base (generator minimum 3). (count; 1…12).
truncationfloat0.0Ratio of top radius to base radius, internally clamped to 0.99. Zero keeps a pointed tip. (factor; 0…1000000000).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Ring

tb.ops.create.ring(
    *,
    outer_radius: float = 0.5,
    inner_radius: float = 0.3,
    height: float = 0.1,
    radial_segments: int = 32,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a flat hollow disc (ring) primitive. Lengths are in 'unit'; the new object is named pRing<n> unless 'name' is given.

  • Operation create.ring
  • In Model
ArgumentTypeDefaultDescription
outer_radiusfloat0.5Radius of the outer boundary. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
inner_radiusfloat0.3Radius of the inner opening. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
heightfloat0.1Height of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
radial_segmentsint32Number of segments around the circular cross-section. More segments produce a smoother outline. (count; 1…512).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Rounded Box

tb.ops.create.rounded_box(
    *,
    width: float = 1.0,
    height: float = 1.0,
    depth: float = 1.0,
    corner_radius: float = 0.1,
    corner_segments: int = 4,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a box with rounded vertical edges. Lengths are in 'unit'; the new object is named pRoundedBox<n> unless 'name' is given.

  • Operation create.rounded_box
  • In Model
ArgumentTypeDefaultDescription
widthfloat1.0Overall width of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
heightfloat1.0Height of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
depthfloat1.0Front-to-back depth of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
corner_radiusfloat0.1Radius used to round the corners. Larger values make broader curves. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
corner_segmentsint4Number of segments used to approximate each rounded corner. (count; 1…64).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Sphere

tb.ops.create.sphere(
    *,
    radius: float = 0.5,
    width_segments: int = 32,
    height_segments: int = 16,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a sphere primitive. Lengths are in 'unit'; the new object is named pSphere<n> unless 'name' is given.

  • Operation create.sphere
  • In Model
ArgumentTypeDefaultDescription
radiusfloat0.5Distance from the center to the surface in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
width_segmentsint32Number of segments around the sphere (generator minimum 3). (count; 1…512).
height_segmentsint16Number of bands from one pole to the other (generator minimum 2). (count; 1…512).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Model Stamp

tb.ops.create.stamp(
    *,
    input: ObjectRef,
    position: Vec3Like,
    normal: Vec3Like,
    roll: float = 0.0,
    pitch: float = 0.0,
    yaw: float = 0.0,
    flip: bool = False,
) -> Result

Stand a copy of an input mesh on a surface point: its +Y along 'normal', its lowest point on 'position', its world scale kept. Roll, pitch and yaw turn the input first; Flip turns it upside down. One undo step.

  • Operation create.stamp
  • In Model
ArgumentTypeDefaultDescription
inputObjectRefrequiredThe mesh object each stamp copies.
positionVec3LikerequiredThe world point (metres) the copy's base rests on. (scene units).
normalVec3LikerequiredThe world surface normal the copy's +Y turns onto.
rollfloat0.0Turn of the input about the stamp's Z axis before it is stood on the surface (the Tool Settings nudge it in 90° steps). (degrees; -360…360).
pitchfloat0.0Turn of the input about the stamp's X axis before it is stood on the surface (the Tool Settings nudge it in 90° steps). (degrees; -360…360).
yawfloat0.0Turn of the input about the stamp's Y axis (the normal) before it is stood on the surface (the Tool Settings nudge it in 90° steps). (degrees; -360…360).
flipboolFalseTurn the input upside down, so its top faces the surface.

Text

tb.ops.create.text(
    *,
    text: str = "Text",
    font_id: str = "inter",
    weight: int = 400,
    italic: bool = False,
    underline: bool = False,
    size: float = 1.0,
    letter_spacing: float = 0.0,
    line_height: float = 1.2,
    align: Literal["left", "center", "right"] = "left",
    mode: Literal["flat", "extruded", "bevelled", "outline"] = "bevelled",
    depth: float = 0.2,
    bevel_thickness: float = 0.02,
    bevel_size: float = 0.02,
    bevel_segments: int = 3,
    cap_fill: Literal["ngon", "quads", "triangles"] = "ngon",
    curve_angle: float = 12.0,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a text primitive - extruded 3D glyphs. Lengths are in 'unit'; the new object is named pText<n> unless 'name' is given.

  • Operation create.text
  • In Model
ArgumentTypeDefaultDescription
textstr"Text"Text to turn into geometry. New lines create separate lines of text.
font_idstr"inter"Font used to outline the letters (stable id from the font library).
weightint400Font weight from 100 (thin) to 900 (black). (count; 100…900).
italicboolFalseSlanted letters: the font's italic style, or a 12° slant when it has none.
underlineboolFalseUnderline each line; the underline joins the letters into one solid.
sizefloat1.0Scale of the letter outlines in the current unit. Given in 'unit' (default metres). (scene units; 0.01…1000000000).
letter_spacingfloat0.0Extra space after every letter, as a fraction of the size. (factor; -0.5…2).
line_heightfloat1.2Spacing multiplier between lines of text. (factor; 0…1000000000).
alignLiteral["left", "center", "right"]"left"Align each line to its left edge, center or right edge. (left / center / right).
modeLiteral["flat", "extruded", "bevelled", "outline"]"bevelled"Flat faces, straight or bevelled mesh extrusion, or editable Bézier outline curves. (flat / extruded / bevelled / outline).
depthfloat0.2Extrusion depth of the text in the current unit. Given in 'unit' (default metres). (scene units; 0…1000000000).
bevel_thicknessfloat0.02Depth of the bevel along the text extrusion. Given in 'unit' (default metres). (scene units; 0…1000000000).
bevel_sizefloat0.02Amount the bevel extends across the letter outline. Given in 'unit' (default metres). (scene units; 0…1000000000).
bevel_segmentsint3Number of segments used around each beveled edge. (count; 1…10).
cap_fillLiteral["ngon", "quads", "triangles"]"ngon"Front and back faces: one n-gon per letter, quads, or triangles. (ngon / quads / triangles).
curve_anglefloat12.0Curve detail: the most a curved outline may turn between two points. Smaller is smoother. (degrees; 1…45).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Torus

tb.ops.create.torus(
    *,
    radius: float = 0.5,
    tube: float = 0.2,
    radial_segments: int = 16,
    tubular_segments: int = 48,
    arc: float = 6.283185307179586,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a donut-shaped torus primitive. Lengths are in 'unit'; the new object is named pTorus<n> unless 'name' is given.

  • Operation create.torus
  • In Model
ArgumentTypeDefaultDescription
radiusfloat0.5Radius from the torus center to the center of its tube. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
tubefloat0.2Radius of the torus tube. It must be smaller than the main radius. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
radial_segmentsint16Number of sides around the tube cross-section. (count; 1…512).
tubular_segmentsint48Number of sections around the main ring. (count; 1…512).
arcfloat6.283185307179586Sweep of the torus ring. The popup shows degrees; the API uses radians. (radians; 0…1000000000).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Tube

tb.ops.create.tube(
    *,
    outer_radius: float = 0.5,
    inner_radius: float = 0.3,
    height: float = 1.0,
    radial_segments: int = 32,
    open_ended: bool = False,
    cap_bottom: bool = False,
    floor_thickness: float = 0.1,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a hollow cylinder (tube) primitive. Lengths are in 'unit'; the new object is named pTube<n> unless 'name' is given.

  • Operation create.tube
  • In Model
ArgumentTypeDefaultDescription
outer_radiusfloat0.5Radius of the outer boundary. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
inner_radiusfloat0.3Radius of the inner opening. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
heightfloat1.0Height of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
radial_segmentsint32Number of segments around the circular cross-section. More segments produce a smoother outline. (count; 1…512).
open_endedboolFalseLeave the ends open instead of generating caps.
cap_bottomboolFalseAdd a solid floor at the bottom to make a cup.
floor_thicknessfloat0.1Thickness of the solid floor beneath the interior. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.

Tube From Polyline

tb.ops.create.tube_from_polyline(
    *,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    name: str = ...,
    points: Any,
    thickness: float,
    segments: int = 8,
    closed: bool = False,
    caps: bool = True,
) -> Result

Create a round tube along a polyline: one ring of points per polyline point, framed with minimum twist (a closed loop spreads its seam rotation evenly) and mitred at corners, stitched with quad strips.

  • Operation create.tube_from_polyline
  • In Model
ArgumentTypeDefaultDescription
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Unit the point coordinates are given in. (m / cm / mm / inch / foot).
namestr—Object name (default: the next free <base><n>).
pointsAnyrequiredPolyline points [[x, y, z], …], at least 2.
thicknessfloatrequiredTube radius (> 0). (scene units; 0…179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000).
segmentsint8Points per ring. (count; 3…256).
closedboolFalseConnect the last ring back to the first.
capsboolTrueClose both ends of an open tube.

Wedge

tb.ops.create.wedge(
    *,
    width: float = 1.0,
    height: float = 1.0,
    depth: float = 1.0,
    unit: Literal["m", "cm", "mm", "inch", "foot"] = "m",
    up_axis: Literal["y", "z"] = "y",
    name: str = ...,
    placement: Literal["origin", "selection", "surface"] = "origin",
    position: Vec3Like = ...,
    normal: Vec3Like = ...,
) -> Result

Create a triangular prism (wedge) primitive. Lengths are in 'unit'; the new object is named pWedge<n> unless 'name' is given.

  • Operation create.wedge
  • In Model
ArgumentTypeDefaultDescription
widthfloat1.0Overall width of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
heightfloat1.0Height of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
depthfloat1.0Front-to-back depth of the shape in the current unit. Given in 'unit' (default metres). (scene units; 0.001…1000000000).
unitLiteral["m", "cm", "mm", "inch", "foot"]"m"Grid unit the length parameters are given in (the working unit in the UI). (m / cm / mm / inch / foot).
up_axisLiteral["y", "z"]"y"The world's up axis the shape is built along at the origin (Settings ▸ Camera & Navigation ▸ Up Axis in the UI): Z builds it standing on Z, as a Z-up world expects. Selection and surface placement follow the surface instead. (y / z).
namestr—Object name (default: the next free <base><n> in the scene).
placementLiteral["origin", "selection", "surface"]"origin"Origin creates the shape at the origin without rotation. Selection places copies on the selected objects or components, aligned to each selected surface. Surface creates it at 'position' with +Y along 'normal' (Model Stamp). (origin / selection / surface).
positionVec3Like—With placement 'surface': the world point (metres) the shape is centered on.
normalVec3Like—With placement 'surface': the world direction the shape's +Y turns onto.