1import{j as e}from"./chunk-JZWAC4HX-D7vggzXL.js";let r={title:"Asset Reference",description:"Exact asset resolver behavior relevant to package users."},c="\n\nAsset Reference [#asset-reference]\n\nThe current resolver accepts local files, `file://` paths, Tektonian asset IDs, and built-in primitive refs.\n\nRemote Tektonian assets are cached under `~/.cache/simulac/asset`. Direct HTTP asset URLs are rejected.\n\nAccepted References [#accepted-references]\n\n* Local path: pass a filesystem path to `Stuff(...)` or `Robot(...)`.\n* `file://` URI: pass a local file URI when you already have one.\n* Tektonian asset ID: pass an ID such as `Robocasa/tray/aigen_objs_tray_4`; the resolver fetches the manifest from the configured `SIMULAC_BASE_URL`.\n* Built-in primitive ref: primitives are generated by the physics adapter and are not downloaded by `resolve_asset(...)`.\n",i={contents:[{heading:"asset-reference",content:"The current resolver accepts local files, `file://` paths, Tektonian asset IDs, and built-in primitive refs."},{heading:"asset-reference",content:"Remote Tektonian assets are cached under `~/.cache/simulac/asset`. Direct HTTP asset URLs are rejected."},{heading:"accepted-references",content:"Local path: pass a filesystem path to `Stuff(...)` or `Robot(...)`."},{heading:"accepted-references",content:"`file://` URI: pass a local file URI when you already have one."},{heading:"accepted-references",content:"Tektonian asset ID: pass an ID such as `Robocasa/tray/aigen_objs_tray_4`; the resolver fetches the manifest from the configured `SIMULAC_BASE_URL`."},{heading:"accepted-references",content:"Built-in primitive ref: primitives are generated by the physics adapter and are not downloaded by `resolve_asset(...)`."}],headings:[{id:"asset-reference",content:"Asset Reference"},{id:"accepted-references",content:"Accepted References"}]},o=[{depth:1,url:"#asset-reference",title:e.jsx(e.Fragment,{children:"Asset Reference"})},{depth:2,url:"#accepted-references",title:e.jsx(e.Fragment,{children:"Accepted References"})}];function n(t){const s={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",ul:"ul",...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(s.h1,{id:"asset-reference",children:"Asset Reference"}),` 2`,e.jsxs(s.p,{children:["The current resolver accepts local files, ",e.jsx(s.code,{children:"file://"})," paths, Tektonian asset IDs, and built-in primitive refs."]}),` 3`,e.jsxs(s.p,{children:["Remote Tektonian assets are cached under ",e.jsx(s.code,{children:"~/.cache/simulac/asset"}),". Direct HTTP asset URLs are rejected."]}),` 4`,e.jsx(s.h2,{id:"accepted-references",children:"Accepted References"}),` 5`,e.jsxs(s.ul,{children:[` 6`,e.jsxs(s.li,{children:["Local path: pass a filesystem path to ",e.jsx(s.code,{children:"Stuff(...)"})," or ",e.jsx(s.code,{children:"Robot(...)"}),"."]}),` 7`,e.jsxs(s.li,{children:[e.jsx(s.code,{children:"file://"})," URI: pass a local file URI when you already have one."]}),` 8`,e.jsxs(s.li,{children:["Tektonian asset ID: pass an ID such as ",e.jsx(s.code,{children:"Robocasa/tray/aigen_objs_tray_4"}),"; the resolver fetches the manifest from the configured ",e.jsx(s.code,{children:"SIMULAC_BASE_URL"}),"."]}),` 9`,e.jsxs(s.li,{children:["Built-in primitive ref: primitives are generated by the physics adapter and are not downloaded by ",e.jsx(s.code,{children:"resolve_asset(...)"}),"."]}),` 10`]})]})}function d(t={}){const{wrapper:s}=t.components||{};return s?e.jsx(s,{...t,children:e.jsx(n,{...t})}):n(t)}
10export{c as _markdown,d as default,r as frontmatter,i as structuredData,o as toc};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.