sceneOps
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
sceneOps
<!-- 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/v2Scene arrangement for the bpy session: empties, duplicates (and linked duplicates), collections, collection instances, instances of other .zblend documents, origin_set, the 3D cursor and snapping. Installed into a session by blenderSession.
install(S: ?, h: ?) → void
| arg | type | description |
|---|---|---|
| S | ? | |
| h | ? |
dirty( ) → void
valid(o: ?) → void
| arg | type | description |
|---|---|---|
| o | ? |
weak( ) → void
numbered(want: ?, exists: ?) → void
Blender's numbered names: "Cube.001" -> the first free "Cube.NNN".
| arg | type | description |
|---|---|---|
| want | ? | |
| exists | ? |
coll(name: ?, items: ?, lookup: ?, setter: ?) → void
| arg | type | description |
|---|---|---|
| name | ? | |
| items | ? | |
| lookup | ? | |
| setter | ? |
members(c: ?) → void
| arg | type | description |
|---|---|---|
| c | ? |
allObjects(c: ?, seen: ?, out: ?) → void
| arg | type | description |
|---|---|---|
| c | ? | |
| seen | ? | |
| out | ? |
contains(parent: ?, child: ?) → void
| arg | type | description |
|---|---|---|
| parent | ? | |
| child | ? |
isRoot(o: ?) → void
Objects created by an add operator are in the scene collection until moved.
| arg | type | description |
|---|---|---|
| o | ? |
usersOf(o: ?) → void
| arg | type | description |
|---|---|---|
| o | ? |
objectsOf(getList: ?, onLink: ?, onUnlink: ?, label: ?) → void
| arg | type | description |
|---|---|---|
| getList | ? | |
| onLink | ? | |
| onUnlink | ? | |
| label | ? |
childrenOf(list: ?, label: ?, owner: ?) → void
| arg | type | description |
|---|---|---|
| list | ? | |
| label | ? | |
| owner | ? |
collProxy(c: ?) → void
| arg | type | description |
|---|---|---|
| c | ? |
getitem(k: ?) → void
| arg | type | description |
|---|---|---|
| k | ? |
setitem(k: ?, v: ?) → void
| arg | type | description |
|---|---|---|
| k | ? | |
| v | ? |
proxyOf(c: ?) → void
| arg | type | description |
|---|---|---|
| c | ? |
newCollection(name: ?) → void
| arg | type | description |
|---|---|---|
| name | ? |
removeCollection(c: ?) → void
| arg | type | description |
|---|---|---|
| c | ? |
refresh( ) → void
Which objects are in the view layer: in the scene collection, or in a visible collection reachable from it. Objects only reachable through a collection instance are built (so instances have meshes to show) but hidden.
walk(c: ?) → void
| arg | type | description |
|---|---|---|
| c | ? |
sceneGet(k: ?) → void
| arg | type | description |
|---|---|---|
| k | ? |
isEmpty(o: ?) → void
| arg | type | description |
|---|---|---|
| o | ? |
objectGet(o: ?, key: ?) → void
| arg | type | description |
|---|---|---|
| o | ? | |
| key | ? |
objectSet(o: ?, key: ?, v: ?) → void
| arg | type | description |
|---|---|---|
| o | ? | |
| key | ? | |
| v | ? |
resolveDoc(name: ?) → void
| arg | type | description |
|---|---|---|
| name | ? |
world(o: ?) → void
| arg | type | description |
|---|---|---|
| o | ? |
setWorld(o: ?, W: ?) → void
| arg | type | description |
|---|---|---|
| o | ? | |
| W | ? |
selectOnly(list: ?, act: ?) → void
| arg | type | description |
|---|---|---|
| list | ? | |
| act | ? |
addTransform(o: ?, kw: ?, allowed: ?) → void
| arg | type | description |
|---|---|---|
| o | ? | |
| kw | ? | |
| allowed | ? |
isObj(t: ?) → void
Duplicates. Object data is copied (meshes, curves, armatures) unless the duplicate is linked; materials and actions stay shared, as in Blender's defaults.
| arg | type | description |
|---|---|---|
| t | ? |
isShared(t: ?) → void
| arg | type | description |
|---|---|---|
| t | ? |
copyValue(v: ?, map: ?, memo: ?) → void
| arg | type | description |
|---|---|---|
| v | ? | |
| map | ? | |
| memo | ? |
meshNames( ) → void
duplicate(linked: ?, offset: ?) → void
| arg | type | description |
|---|---|---|
| linked | ? | |
| offset | ? |
translateOf(kw: ?) → void
| arg | type | description |
|---|---|---|
| kw | ? |
selectedTops( ) → void
median(list: ?) → void
| arg | type | description |
|---|---|---|
| list | ? |
moveTo(o: ?, p: ?) → void
| arg | type | description |
|---|---|---|
| o | ? | |
| p | ? |
modelOf(e: ?) → void
| arg | type | description |
|---|---|---|
| e | ? |
showModel(e: ?, on: ?) → void
| arg | type | description |
|---|---|---|
| e | ? | |
| on | ? |
syncInstances(sessionRoot: ?) → void
| arg | type | description |
|---|---|---|
| sessionRoot | ? |
serialize(doc: ?) → void
| arg | type | description |
|---|---|---|
| doc | ? |
restore(doc: ?) → void
| arg | type | description |
|---|---|---|
| doc | ? |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
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.