Rhinoceros Export¶
This plugin adds features to simplify the process of getting a scene from Rhinoceros 3D to Ocean
Ocean Export Toolbar¶
The Rhinocean plugin provides a toolbar with 4 functions
The first 3 are ExportPlugin commands and the fourth is specific to the InterfacePlugin.
The Export button allows the user to export the current scene as an .ocxml
file.
Clicking on the button opens up a save dialog that prompts you with the location you want to export your file at, the elements you want to export and in which file, and a schema / version of Ocean you want to export to.
By default, the latest ocean version installed with this plugin is chosen when exporting.
The way elements are exported can be saved into a “export configuration”. There are already multiple default configurations available to choose from :
Default : traditional export, puts geometries and instances in a
*.geom.ocbin
file and the the rest in the*.ocxml
AllXml : everything in a
*.ocxml
/!this can cause very heavy files, slow export and slow loading in OceanAllBin : everything in a binary file (
*.ocbin
)
When changing the configuration on the right part of the dialog, the configuration name automatically swaps to “Custom”. It can then be saved using the “Save current configuration” button and removed using “Remove current configuration”. The configuration is stored with the plugin settings so it will be available the next time you reopen Rhino.
The Quick-Export command can be used to quickly re-export the scene at the same location and configuration as the last export. If no export has been done yet the export dialog shows up.
The copy view button allows the user to export only a Rhinoceros viewport to the clipboard, in ocxml format. After using this button, the data can be pasted on an Instrument node in Ocean.
Ocean Filetype Integration¶
The Ocean XML filetype is added as an available export target. Instead of using the Export Toolbar, it is possible to export the current scene using the File > Save As … menu, as would other exporters do.
Partial exports¶
The plugin also allows to export a selection of scene objects.
In the first screenshot, the user has selected 2 objects in the scene and used the File > Export Selected menu. On the second one the exported scene has been rendered using Ocean, displaying only the objects selected in the Rhinoceros scene.
Object deformation¶
Rhino 6 provides a feature to deform objects in various ways, like displacement, thickening, bevel …
The Rhino exporter is now able to handle these deformations when exporting to Ocean. It exports the deformed geometry so the exported mesh can get large quickly.