rebuildGeometryWorker = (self) => {
  const rebuildGeometry = require('./rebuildGeometry')
  self.onmessage = function (event) {
    if (event.data instanceof Object) {
      const { data } = event
      if (data.cmd === 'generate') {
        rebuildGeometry(data, (error, message) => {
          if (message) self.postMessage(message)
          if (error) self.postMessage(error)
        })
      }
    }
  }
}
evaluate script & rebuild solids, in seperate thread/webworker
@param {String} script the script
@param {String} fullurl full url of current script
@param {Object} parameters the parameters to use with the script
@param {Object} callback the callback to call once evaluation is done /failed
@param {Object} options the settings to use when rebuilding the solid