I am writing an addin to export assemblies in a custom XML-based format, containing the hierarchy of the assembly (subassemblies and parts), and the geometries of the parts as STL files. The XML file contains for each of the assembly's component :
- its transform (rotation , translation, scale)
- its mates
- its material
However when I import this into a JavaFX application, some components seem to be at the wrong place. This can be solved by changing the scale of the misplaced components to -1, knowing that the exported scale is always 1.
Do I miss something ? Is there any other information that I do not take into account ?