Skip to content

Release history

pattern-x edited this page Jul 20, 2023 · 4 revisions

v0.2.51

  • Added progress for BimViewer (Add enableProgressBar: true, in viewer config)
  • Added progress for adding/creating object edges
  • Refined SkyboxPlugin
  • Refined OSnapHelper.handleSnap
  • Fixed some bugs.

PR


v0.2.50

  • Added GroundGridPlugin
  • Added GroundGrassPlugin
  • Added ScreenshotPlugin
  • Fixed some bugs.

v0.2.49

Moved some settings to plugins

  • enableNavCube, use NavCubePlugin instead
  • enableAxisGizmo, use AxisGizmoPlugin instead
  • enableStats (for debug), use StatsPlugin instead
  • enableBottomBar (for debug), use BottomBarPlugin instead

So, we need to remove these from ViewerConfig, and use plugin instead. You'll get a console warning otherwise. Here is an example for how to replace 'enableAxisGizmo': The old way to use enableAxisGizmo (pseuduecode)

const viewer = new BimViewer({ containerId: "myCanvas", enableAxisGizmo: true, }, project.camera);
viewer.loadModel(modelCfg);

Here is an example of how to use the plugin (pseuduecode)

import { AxisGizmoPlugin} from "./demo/libs/gemini-viewer.esm.min.js";
const viewer = new BimViewer({ containerId: "myCanvas",}, project.camera);
new AxisGizmoPlugin(viewer);
viewer.loadModel(modelCfg);

Move some features to plugins

  • GroundShadowPlugin
  • MeasurementPlugin
  • SectionPlugin

Fixed some bugs

  • Fixed an issue that section cannot be used in mobile device.
  • Double click doesn't work well sometimes in BimViewer.

Please take a look at this PR for more details.