Align Objects
tb.ops.object.align(
*,
nodes: Sequence[ObjectRef] = ...,
active: ObjectRef = ...,
axis: Literal["x", "y", "z", "all"] = "x",
side: Literal["min", "center", "max"] = "center",
relative_to: Literal["active", "selection", "origin"] = "active",
use_pivot: bool = False,
targets: Targets = None,
) -> Result
Line objects up on an axis: their low sides, centers, high sides or pivots meet the active object, the bounds of all the objects or the world origin.
Align Axes to Model
tb.ops.object.align_axes_to_model(
*,
nodes: Sequence[ObjectRef] = ...,
targets: Targets = None,
) -> Result
Turn each mesh object's local axes onto the model's own principal directions and turn its points the opposite way, so nothing moves on screen; local-axis tools (symmetry, mirror) then line up with a part modelled or imported rotated.
Clear Live Surface
tb.ops.object.clear_live() -> Result
Stop using a mesh as the live drawing surface.
Combine Meshes
tb.ops.object.combine(
*,
nodes: Sequence[ObjectRef] = ...,
active: ObjectRef = ...,
targets: Targets = None,
) -> Result
Join the selected mesh objects into the active one: their points are moved into its space so nothing moves on screen, materials, weight maps, blendshape targets and attributes are merged, and the other objects are removed (their children move to the combined object).
Copy
tb.ops.object.copy(
*,
nodes: Sequence[ObjectRef] = ...,
targets: Targets = None,
) -> Result
Copy the selected objects with everything below them to the clipboard. The scene is unchanged; Paste adds independent copies in the Model editor, also after the originals were deleted.
Cut
tb.ops.object.cut(
*,
nodes: Sequence[ObjectRef] = ...,
targets: Targets = None,
) -> Result
Copy the selected objects to the clipboard and delete them, in one undo step.
Distribute Objects
tb.ops.object.distribute(
*,
nodes: Sequence[ObjectRef] = ...,
axis: Literal["x", "y", "z"] = "x",
mode: Literal["even", "gap"] = "even",
gap: float = 0.0,
order: Literal["position", "pick"] = "position",
use_pivot: bool = False,
targets: Targets = None,
) -> Result
Spread objects along an axis: Even keeps the first and last object and makes the gaps equal; Gap places each object a fixed distance after the previous one.
Duplicate Along Curve
tb.ops.object.duplicate_along_curve(
*,
curve: ObjectRef = ...,
nodes: Sequence[ObjectRef] = ...,
count: int = 8,
align: bool = True,
twist_start: float = 0.0,
twist_end: float = 0.0,
noise: float = 0.0,
targets: Targets = None,
) -> Result
Distribute independent copies of objects evenly along a path curve, each turned so its +Z follows the curve (Align), with an optional twist from start to end and a position noise. The originals stay; the copies become the selection.
Freeze Transforms
tb.ops.object.freeze_transform(
*,
nodes: Sequence[ObjectRef] = ...,
translate: bool = True,
rotate: bool = True,
scale: bool = True,
targets: Targets = None,
) -> Result
Bake the chosen transform channels into each mesh's points and reset those channels (translate 0, rotate 0, scale 1). Normals, blendshape targets and winding follow; children keep their world placement; a skinned mesh keeps its bound pose.
Instance
tb.ops.object.instance(
*,
nodes: Sequence[ObjectRef] = ...,
targets: Targets = None,
) -> Result
Create a placement beside each selected mesh or curve object that shares its data: editing one edits all. The instances become the selection.
Make Live
tb.ops.object.make_live(*, source: ObjectRef = ..., targets: Targets = None) -> Result
Use this mesh as the reference surface for polygon drawing; its geometry stays untouched.
Make Single User
tb.ops.object.make_single_user(
*,
nodes: Sequence[ObjectRef] = ...,
targets: Targets = None,
) -> Result
Give each selected object its own copy of the mesh or curve data it shares with other objects, so editing it no longer edits the others. When every user of the data is selected, the last one keeps the original.
Paste
tb.ops.object.paste() -> Result
Paste the copied objects as independent copies: under their original parent while it exists (keeping their local placement), else at the scene root keeping their copied world placement. The copies become the selection.
Pattern Duplicate
tb.ops.object.pattern_duplicate(
*,
nodes: Sequence[ObjectRef] = ...,
pattern: Literal["linear", "grid", "radial"] = "linear",
fit: Literal["count", "length", "curve"] = "count",
fit_curve: ObjectRef = ...,
count: int = 2,
fit_length: float = 1.0,
use_relative_offset: bool = True,
relative_offset: Vec3Like = [1.0, 0.0, 0.0],
use_constant_offset: bool = False,
constant_offset: Vec3Like = [0.0, 0.0, 0.0],
offset_object: ObjectRef = ...,
start_cap: ObjectRef = ...,
end_cap: ObjectRef = ...,
grid_counts: Vec3Like = [2.0, 2.0, 1.0],
grid_spacing: Vec3Like = [1.0, 1.0, 1.0],
grid_gap: Vec3Like = [0.0, 0.0, 0.0],
radial_axis: Literal["x", "y", "z"] = "y",
radial_angle: float = 360.0,
radial_radius: float = 1.0,
targets: Targets = None,
) -> Result
Repeat objects as separate copies in a linear, grid or radial pattern. Copies are independent objects placed exactly where the single-mesh Pattern modifier would put them. Linear also takes an Offset Object, Fit Curve and start / end caps.
Reset Transforms
tb.ops.object.reset_transform(
*,
nodes: Sequence[ObjectRef] = ...,
targets: Targets = None,
) -> Result
Set translation 0, rotation 0 and scale 1 on each object; the points are kept.
Set Origin
tb.ops.object.set_origin(
*,
nodes: Sequence[ObjectRef] = ...,
type: Literal["origin_to_geometry", "origin_to_point", "origin_to_selection", "geometry_to_origin"] = "origin_to_geometry",
center: Literal["bounds", "median"] = "bounds",
location: Vec3Like = [0.0, 0.0, 0.0],
targets: Targets = None,
) -> Result
Move each object's origin, which is its pivot, without moving anything on screen: to the center of its geometry, to a world point or to the center of the selected components; or move the geometry so its center sits on the origin. Data shared by several objects moves once and every object using it stays in place; children keep their placement and channels.
Snap Objects
tb.ops.object.snap(
*,
nodes: Sequence[ObjectRef] = ...,
active: ObjectRef = ...,
to: Literal["grid", "active", "origin"] = "grid",
grid_step: float = 1.0,
targets: Targets = None,
) -> Result
Move each object's pivot to the nearest grid point, onto the active object, or to the world origin.