This is an example implementation of a Visionary Render plugin which exports annotation data from a scene and saves it as either HTML or XML, using a simple template engine (https://github.com/FSMaxB/liluat). This plugin also has a copy of bootstrap (https://getbootstrap.com/) in order to style some HTML components.
Images of the viewpoints associated with each annotation are also saved as .png files in a folder next to the saved output files.
The HTML output includes some supplementary files to improve the appearance of the document.
To install the plugin, download this repository and use Settings -> Plugins -> Add Plugin to install it into Visionary Render.
If you are unable to directly import the .zip, you may need to extract the contents to (documents dir)/Visionary Render <version>/plugins and make sure the outer folder is called "example-annotation-plugin".
Once installed, this plugin adds a option to the File menu (File -> Export -> Annotation Exporter)
Select this option and specify an output file name and type.
For an XML file saved to D:\Temp\annotationexport\test1\test1.xml
<annotationsexported="Fri Aug 23 09:49:15 2019">
<annotationname="256-10960-1"author="Jamie Femia">
<viewpointposition="-1.198364, 0.736352, 1.881085" rotation = "334.118332, 330.266850, 0.000000">
<texturefilename="D:\Temp\annotationexport\test1\viewpoint-1.png" />
</viewpoint>
<commentauthor="Jamie Femia">Hello</comment>
<commentauthor="Jamie Femia">Some other comment</comment>
</annotation>
<annotationname="256-10960-1"author="Jamie Femia">
<viewpointposition="1.721224, 0.897960, 1.279293" rotation = "329.521447, 65.301871, 0.000000">
<texturefilename="D:\Temp\annotationexport\test1\viewpoint-2.png" />
</viewpoint>
<commentauthor="Jamie Femia">Another annotation</comment>
</annotation>
</annotations>MIT
