This 3D Model Viewer widget is the Cumulocity module federation plugin created using c8ycli. This plugin can be used in Application Builder or Cockpit. The 3D Model Viewer widget help you to view a 3D collada model (*.dae, *.obj, *.gltf) in Cumulocity IoT.
APPLICATION BUILDER | CUMULOCITY | 3D Model VIEWER WIDGET |
---|---|---|
2.x.x | >= 1016.x.x | 1.x.x |
Cumulocity c8ycli >=1016.x.x
- Supports measurements from a single device
- Allows background color customization.
- Allows to configure realtime device measurement for model movements.
- Allows to upload custom collada(.dae, .obj, .gltf) model file.
- This widget support runtime deployment. Download Runtime Binary and install via Administrations --> Ecosystems --> Applications --> Packages.
This guide will teach you how to add widget in your existing or new dashboard.
-
Open you application from App Switcher
-
Add new dashboard or navigate to existing dashboard
-
Click
Add Widget
-
Search for
3D Model Viewer
-
Select
Target Assets or Devices
-
Click
Save
Congratulations! 3D Model Viewer is configured.
- Make sure you have successfully installed or deployed the widget.
- Click on
Add widget
. - Choose
3d model viewer
widget. Title
is the title of widget. Provide a relevant name. You may choose to hide this. Go toAppearance
tab and chooseHidden
underWidget header style
.- Select the
device
. Model file(*.dae, *.obj, *.gltf)
is to upload the model file (*.dae, *.obj, *.gltf) into inventory binary. Please wait for it to finish the upload.Variables
is to declare variables with a constant value or map them to the realtime device measurement series. Choose Target as None and provide the constant value or choose Target as Device and then select a measurment series.Properties
is to define values for the model properties. You can provide a value as an mathematical expression using the variables defined earlier.Background color (in hex)
allows you to set a custom background color using the color picker.Show grid
allows you to show or hide the grid.- Click
Save
to add the widget on the dashboard. - In case you see unexpected results on the widget, refer to browser console to see if there are error logs.
This Widget is provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.
For more information you can Ask a Question in the TECH Community Forums.