Hi community!
I’m currently working on a new widget for mappView, this widget would be able to render a scene with an AcoposTrak and the shuttles.
The goal is to have the less user input to use the widget (almost plug & play), there is currently 2 properties that the user need to use:
- assemblyName (STRING): The name of the assembly to render in the widget (example “gAssembly_1”)
- samplingTime (INT): It’s the samplingTime for getting shuttles informations in ms (default to 100ms)
The widget is using ThreeJs library and have a button to download the scene and be able to load it on the Threejs editor website to explore it or more.
The widget has also a little GUI to handle visibility during runtime of Segments, SegmentGuides, Sectors and ProcessPoints. Shuttle visibility is handle automaticly.
The widget required MappCockpit enabled and MappFile. Also some OpcUa and filedevice config.
At the moment the widget can get Shuttle userData and first 3 REAL must be the color of the shuttle (it’s hardcoded in the widget).
Here is a little roadmap before release it:
- Add a way to map shuttle userData to 3d shuttle properties (I have no idea how to handle it for the moment, if someone got ideas!)
- Add loading informations (What is actually going during loading of the widget)
- Add error handling and logger message on errors
- Check for performances
- Check if possible for caching when content change or something like this to avoid parsing again.
Here a little gif as a teaser 

I hope this will generate some interest!
I’m open to feedback! I didn’t share it at the moment because it’s still as PoC.
Regards,
Florent