add optional targetOrigin to setFrame() api call which is sent in postMessage

This commit is contained in:
Stewart Allen 2022-02-09 00:23:19 -05:00
commit 771ef42838
2 changed files with 5 additions and 4 deletions

View file

@ -147,7 +147,7 @@
<li><label>load(url)</label> - where URL points to an STL</li>
<li><label>clear()</label> - clear workspace</li>
<li><label>parse(data,type)</label> - data is string or binary. type is "stl" or "svg"</li>
<li><label>setFrame(id_obj)</label> - id or object of iframe with Kiri:Moto loaded</li>
<li><label>setFrame(id_obj, target_origin)</label> - id or object of iframe with Kiri:Moto loaded</li>
<li><label>setMode(mode)</label> - FDM, CAM, LASER, SLA</li>
<li><label>setDevice(options)</label> - change default object parameters</li>
<li><label>setProcess(options)</label> - change default process parameters</li>