</code></div>
    </div>

    <div class="ref-description section level2">
    <p>Make a snapshot of the current rgl device and save it to file. Options for file formats are png, svg, and stl (for 3d printing).</p>
    </div>

    <div class="section level2">
    <h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">x3p_snapshot</span><span class="op">(</span><span class="va">file</span><sp