Skip to content

Releases: pattern-x/gemini-viewer-examples

0.2.62

12 Oct 01:02
44f9797
Compare
Choose a tag to compare
  • Fix an issue that dxf hatch pattern isn't correct when scaled in BimViewer
  • Add Model3d, Model2d classes.
  • Enable user to specify a clip position for AxisPlaneSection
  • Clean up compare code in DxfViewer, use DxfCompareHelper instead
  • Support table entity in dxf

0.2.57

29 Aug 14:28
59860db
Compare
Choose a tag to compare
  • Added ContextMenuPlugin
  • Added BimViewerToolbarPlugin
  • Added DxfViewerToolbarPlugin
  • Enabled to load PDF file

For details, please reference to #112.

0.2.53

04 Aug 09:44
a141d48
Compare
Choose a tag to compare
  • Improved osnap performance
  • Added OverviewMapPlugin
  • Fit toolbar ui for mobile devices
  • Created Model2d and Model3d interfaces for viewer's loadedModels

0.2.52

24 Jul 11:31
33c27b1
Compare
Choose a tag to compare
  • Added userData for merged Mesh objects.
  • Added LayerManagerPlugin
  • Enhanced OSnapHelper

0.2.51

23 Jul 15:07
33c27b1
Compare
Choose a tag to compare
  • 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

0.2.50

23 Jul 15:06
33c27b1
Compare
Choose a tag to compare
  • Added GroundGridPlugin
  • Added GroundGrassPlugin
  • Added ScreenshotPlugin
  • Fixed some bugs.

0.2.49

23 Jul 15:05
33c27b1
Compare
Choose a tag to compare

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.