bpy
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
bpy
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->TODO: describe this module.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2Blender-shaped agent modeling for Zero. No UI, no external Blender dependency.
clone(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
add(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
sub(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
mul(a: ?, s: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| s | ? |
dot(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
cross(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
unit(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
vec(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
edge(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
center(vs: ?, f: ?) → void
| arg | type | description |
|---|---|---|
| vs | ? | |
| f | ? |
normal(vs: ?, f: ?) → void
| arg | type | description |
|---|---|---|
| vs | ? | |
| f | ? |
validate(o: ?) → void
| arg | type | description |
|---|---|---|
| o | ? |
triangles(vs: ?, f: ?) → void
Ear clipping preserves concave planar polygons (unlike a fan triangulation).
| arg | type | description |
|---|---|---|
| vs | ? | |
| f | ? |
inside(p: ?, a: ?, b: ?, c: ?) → void
| arg | type | description |
|---|---|---|
| p | ? | |
| a | ? | |
| b | ? | |
| c | ? |
geometry(o: ?, worldSpace: ?, zeroBasis: ?) → void
| arg | type | description |
|---|---|---|
| o | ? | |
| worldSpace | ? | |
| zeroBasis | ? |
fromGeometry(g: ?) → void
| arg | type | description |
|---|---|---|
| g | ? |
subdiv(o: ?, smooth: ?) → void
| arg | type | description |
|---|---|---|
| o | ? | |
| smooth | ? |
new( ) → void
snapshot( ) → void
restore(s: ?) → void
| arg | type | description |
|---|---|---|
| s | ? |
mutate(fn: ?) → void
| arg | type | description |
|---|---|---|
| fn | ? |
active(edit: ?) → void
| arg | type | description |
|---|---|---|
| edit | ? |
selected(o: ?) → void
| arg | type | description |
|---|---|---|
| o | ? |
edges(o: ?) → void
| arg | type | description |
|---|---|---|
| o | ? |
from_pydata(name: ?, vertices: ?, faces: ?) → void
| arg | type | description |
|---|---|---|
| name | ? | |
| vertices | ? | |
| faces | ? |
mode_set(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
set_active(name: ?) → void
| arg | type | description |
|---|---|---|
| name | ? |
primitive_cube_add(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
primitive_plane_add(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
primitive_cylinder_add(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
select_mode(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
select_all(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
select(indices: ?, mode: ?) → void
| arg | type | description |
|---|---|---|
| indices | ? | |
| mode | ? |
select_faces(predicate: ?) → void
| arg | type | description |
|---|---|---|
| predicate | ? |
transform(fn: ?, objectFn: ?) → void
| arg | type | description |
|---|---|---|
| fn | ? | |
| objectFn | ? |
median( ) → void
Blender's default pivot in EDIT mode is the median of the selected vertices.
translate(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
resize(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
rotate(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
extrude_region_move(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
inset(a: ?) → void
Inset. use_individual insets each face; otherwise the selected region's boundary is offset inward (Blender default). depth moves the inner faces.
| arg | type | description |
|---|---|---|
| a | ? |
subdivide(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
ep(x: ?, y: ?, k: ?) → void
| arg | type | description |
|---|---|---|
| x | ? | |
| y | ? | |
| k | ? |
shade_smooth( ) → void
shade_flat( ) → void
duplicate(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
delete( ) → void
modifier_new(name: ?, kind: ?, settings: ?) → void
| arg | type | description |
|---|---|---|
| name | ? | |
| kind | ? | |
| settings | ? |
evaluated(name: ?) → void
| arg | type | description |
|---|---|---|
| name | ? |
modifier_apply(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
transform_apply( ) → void
undo( ) → void
redo( ) → void
inspect(name: ?, evaluated: ?) → void
| arg | type | description |
|---|---|---|
| name | ? | |
| evaluated | ? |
save(path: ?, expectedRevision: ?) → void
| arg | type | description |
|---|---|---|
| path | ? | |
| expectedRevision | ? |
load(path: ?) → void
| arg | type | description |
|---|---|---|
| path | ? |
geometry(name: ?, worldSpace: ?, zeroBasis: ?) → void
| arg | type | description |
|---|---|---|
| name | ? | |
| worldSpace | ? | |
| zeroBasis | ? |
replace_geometry(name: ?, g: ?) → void
| arg | type | description |
|---|---|---|
| name | ? | |
| g | ? |
bake(name: ?, assetName: ?) → void
| arg | type | description |
|---|---|---|
| name | ? | |
| assetName | ? |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.