title: Pass values from openjscad to javascript
body: <p>is it possible to pass a value from openjscad to javascript?</p>
  
  <p>I would like to show the dimensions of a 3d-object in a div or any other html-element.</p>
  
  <p>Example:
  A cube is created with openjscad with the following parameters:</p>
  
  <pre><code>function main() {
      var cube = CSG.cube({
          center: [0, 0, 0],
          radius: [1, 2, 3]
      });
      return cube;
  }
  </code></pre>
  
  <p>How can I pass the parameters for <code>center</code> and <code>radius</code> to javascript in order to use them in other areas of the website?</p>