Adjust Quad Strip
tb.ops.retopology.adjust_strip(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
faces: Sequence[int] = ...,
width: float = 1.0,
rotate: float = 0.0,
quads: int = 0,
offset: float = 0.0001,
) -> Result
Scale the width of one selected open quad strip, turn it on the reference about its middle, or rebuild it with a new quad count along the same curve (RetopoFlow strip editing). End rows shared with other faces stay attached.
Quad Draw
tb.ops.retopology.begin(
*,
source: ObjectRef | None = ...,
target: ObjectRef = ...,
) -> Result
Open the Quad Draw workspace over a reference and optional existing edit mesh. Gestures have local undo; Create Mesh publishes one global step and Cancel restores the start.
Cancel Quad Draw
tb.ops.retopology.cancel() -> Result
Discard all workspace gestures and restore the original edit mesh and selection exactly.
Closest Live Surface Points
tb.ops.retopology.closest(
*,
source: ObjectRef = ...,
points: Any,
eye: Vec3Like = ...,
offset: float = 0.0001,
backfaces: bool = False,
) -> Result
Find the nearest source surface point for each world-space query; source geometry stays untouched.
Find a Boundary Edge to Extend
tb.ops.retopology.edge_candidate(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
ray: Any,
backfaces: bool = False,
) -> Result
Nearest boundary edge midpoint to a projected source cursor, without a distance cap; read-only.
Create Quad Draw Mesh
tb.ops.retopology.end() -> Result
Create or update the edit mesh, publishing the whole Quad Draw session as one undo step. An empty session is cancelled.
Find an Edit Mesh Face
tb.ops.retopology.face_at(*, target: ObjectRef = ..., ray: Any) -> Result
The visible Edit Mesh face nearest along a camera ray; read-only.
Preview Boundary Face
tb.ops.retopology.face_candidate(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
ray: Any,
mode: Literal["tri", "quad", "mixed"] = "mixed",
offset: float = 0.0001,
backfaces: bool = False,
) -> Result
Find the nearest valid boundary triangle or quad around a projected cursor. Read-only; Shift-click submits these same stable corners to mesh.draw_face.
Hide Quad Draw Vertices
tb.ops.retopology.hide(
*,
target: ObjectRef = ...,
action: Literal["selected", "unselected", "reveal"] = "selected",
) -> Result
Hide the selected or unselected Edit Mesh vertices, or reveal all. Hidden vertices cannot be picked and brushes skip them.
Quad Draw Knife
tb.ops.retopology.knife(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
points: Any,
eye: Vec3Like,
offset: float = 0.0001,
) -> Result
Cut new edges across Edit Mesh faces along a polyline seen from the camera; the new vertices return to the reference.
Preview a Surface Edge Loop
tb.ops.retopology.loop_candidate(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
edge: int,
position: float = 0.5,
occlusion: bool = True,
projected: bool = True,
eye: Vec3Like = ...,
offset: float = 0.0001,
backfaces: bool = False,
) -> Result
Preview the shared quad-ring cut without changing the target. Scalar sliding only updates the cached ring's new vertices. New loop vertices project to the canonical evaluated surface.
Mark Quad Draw Seams
tb.ops.retopology.mark_seam(
*,
target: ObjectRef = ...,
vertices: Sequence[int] = ...,
clear: bool = False,
) -> Result
Mark or clear UV seams on Edit Mesh edges whose two ends are both chosen vertices.
Mirror Quad Draw Mesh
tb.ops.retopology.mirror(
*,
target: ObjectRef = ...,
axis: Literal["x", "y", "z"] = "x",
side: Literal["positive", "negative"] = "positive",
weld: float = ...,
) -> Result
Rebuild the Edit Mesh as one side of an axis plane plus its mirror. Points within the weld distance of the plane, and far corners of faces crossing it, snap onto the plane so both halves share one center line.
Move Surface Vertices
tb.ops.retopology.move(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
vertices: Sequence[int] = ...,
delta: Vec3Like,
soft_radius: float = 0.0,
soft_falloff: Literal["smooth", "linear", "sharp", "root", "sphere"] = "smooth",
offset: float = 0.0001,
) -> Result
Move Edit Mesh vertices by a world offset and slide them back onto the reference. Soft selection carries nearby unpinned, visible vertices with a falloff; radius 1 reaches half the Edit Mesh's bounding-box diagonal.
Preview Quad Patch
tb.ops.retopology.patch_plan(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
vertex: int = ...,
vertices: Sequence[int] = ...,
rows: int = 0,
offset: float = 0.0001,
) -> Result
The quad grid Patches would fill a closed Edit Mesh hole with, as rows of world points; read-only.
Pin Quad Draw Vertices
tb.ops.retopology.pin(
*,
target: ObjectRef = ...,
vertices: Sequence[int] = ...,
action: Literal["pin", "unpin", "clear"] = "pin",
) -> Result
Pin or unpin Edit Mesh vertices; relax, tweak and smoothing leave pinned vertices in place.
Preview PolyPen Insert
tb.ops.retopology.poly_pen_candidate(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
ray: Any,
mode: Literal["triQuad", "quadOnly", "triOnly", "edgeOnly"] = "triQuad",
vertices: Sequence[int] = ...,
merge_radius: float = 0.0,
insert_radius: float = 0.0,
offset: float = 0.0001,
backfaces: bool = False,
) -> Result
What mesh.poly_pen would do at this ray, with the outline it adds (world points); read-only.
Project to Live Surface
tb.ops.retopology.project(
*,
source: ObjectRef = ...,
rays: Any,
offset: float = 0.0001,
backfaces: bool = False,
snap_radius: float = 0.0,
) -> Result
Project world-space camera rays onto the immutable evaluated source surface.
Relax Surface Vertices
tb.ops.retopology.relax(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
vertices: Sequence[int] = ...,
iterations: int = 2,
strength: float = 0.5,
center: Vec3Like = ...,
radius: float = 0.1,
falloff: Literal["smooth", "linear", "constant"] = "smooth",
boundary: bool = False,
offset: float = 0.0001,
) -> Result
Laplacian relax of Edit Mesh vertices on the reference: each step pulls a vertex toward its neighbours' mean, then re-projects it. Pinned and hidden vertices stay; boundaries stay unless Relax Boundary is on. With a brush center, only vertices inside the radius move, weighted by the falloff.
Reshape Quad Strip
tb.ops.retopology.reshape_strip(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
faces: Sequence[int] = ...,
controls: Any,
offset: float = 0.0001,
) -> Result
Move one selected open quad strip onto a new center curve: each row keeps its width and place along the strip, turns to follow the curve and returns to the reference.
Quad Draw Rip
tb.ops.retopology.rip(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
vertices: Sequence[int] = ...,
to: Vec3Like,
fill: bool = False,
offset: float = 0.0001,
) -> Result
Tear the Edit Mesh along the selected edges (each with a face on both sides) and move the copies on the side facing to out to it on the reference; fill closes the gap with quads (RetopoFlow Rip / Rip Fill). One undo step.
Live Surface
tb.ops.retopology.state() -> Result
The current live surface choice; cleared on project load and Model working-copy replacement.
Quad Strip Curve
tb.ops.retopology.strip_curve(
*,
target: ObjectRef = ...,
faces: Sequence[int] = ...,
) -> Result
The cubic Bézier fitted through the center of one selected open quad strip: four world-space control points (ends first and last); read-only.
Preview Quad Stroke
tb.ops.retopology.stroke_plan(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
points: Any,
vertices: Sequence[int] = ...,
spans: int = 0,
shape: Literal["strip", "cycle", "ring", "equals", "l", "u", "c", "t", "i", "o", "d", "close"] = ...,
match_counts: bool = False,
offset: float = 0.0001,
) -> Result
How a stroke would be laid by Strokes: its shape, the other valid readings, whether Match counts is needed (and why), and the quads as world points; read-only.
Quad Draw Symmetry
tb.ops.retopology.symmetry(*, axes: Any = []) -> Result
Mirror every Quad Draw edit across the Edit Mesh's X, Y and / or Z planes (any combination: X and Z make four quarters). The side you edit is copied to the other side, and points near a plane weld onto it.
Tweak Surface Vertices
tb.ops.retopology.tweak(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
center: Vec3Like,
delta: Vec3Like,
radius: float = 0.05,
strength: float = 0.6,
falloff: Literal["smooth", "linear", "constant"] = "smooth",
pin_boundary: bool = True,
offset: float = 0.0001,
) -> Result
Grab-brush step: vertices inside the radius move by the offset times strength and falloff, then return to the reference. Pinned and hidden vertices stay; Pin Boundary keeps open-boundary vertices.
Find a Surface Vertex Snap Target
tb.ops.retopology.vertex_candidate(
*,
source: ObjectRef = ...,
target: ObjectRef = ...,
point: Vec3Like,
radius: float,
exclude: int = ...,
) -> Result
Nearest target vertex in a strict world-space radius, including adjacent and interior vertices; excludes the stable dragged vertex id.