Releases: pattern-x/gemini-viewer-examples
Releases · pattern-x/gemini-viewer-examples
0.2.62
0.2.57
0.2.53
- Improved osnap performance
- Added OverviewMapPlugin
- Fit toolbar ui for mobile devices
- Created Model2d and Model3d interfaces for viewer's loadedModels
0.2.52
- Added userData for merged Mesh objects.
- Added LayerManagerPlugin
- Enhanced OSnapHelper
0.2.51
0.2.50
- Added GroundGridPlugin
- Added GroundGrassPlugin
- Added ScreenshotPlugin
- Fixed some bugs.
0.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.