|
|
Importing a WRL Scene into MemoryX
*.wrl file and click Import X3d/VRML2 Environment.blendtab c to mark faces by selecting the middle points of them (3 selection modes a b c; use last one) (right click to switch out of mode) (maybe set clipping to limit_selection_to_visible) x to delete all vertices g and trying to move the object (you will see it if there is some selection missing, or not all faces and their centers are marked orange) p -> Selection which cuts the marked subset from the initial shape and creates a new ShapeIndexedFaceSet Split MemoryX/data/MemoryX/SceneImportExport-Template.blend as Environment.blend next to the Split directory alt+p or ‘right_click+'run script’) \li selectimportas action \li change theEnvironment name \li clickOK`This will export all objects into separate WRL files and create a matching Environment.simox.xml file which can afterwards be used to import the scene into MemoryX.
Environment.blend file a one or two times until nothing is highlighted in orange anymore) Object Mode alt+p or ‘right_click+'run script’) \li selectexportas action \li check theEnvironment name \li clickOK \li All objects in the scene are exported into theSplit_WRL` subdirectory containing the blender fileUse the SimoxSceneImporter scenario for importing scenes. It contains a correctly parameterized MemoryX setup.
Prior to executing the scenario make sure that no other MemoryX instance is running and that the following parameters are correctly set in config/SimoxSceneImporter.cfg:
The SimoxSceneImporter will import all models from the Split_WRL directory into PriorKnowledge and create a Snapshot containing all of the imported objects.