Rhinoceros Export

This plugin adds features to simplify the process of getting a scene from Rhinoceros 3D to Ocean

Ocean Export Toolbar

../../_images/export-toolbars.png

Rhinocean plugin toolbar

The Rhinocean plugin provides a toolbar with 4 functions

The first 3 are ExportPlugin commands and the fourth is specific to the InterfacePlugin.

../../_images/icon-exp.png

Export button

The Export button allows the user to export the current scene as an .ocxml file.

../../_images/export-dialog.png

Export dialog that pops up when exporting

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 Ocean
  • AllBin : 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.

../../_images/icon-quick-exp.png

Quick export button

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.

../../_images/icon-cam.png

Copy view button

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

../../_images/export-saveas.png

Exporting ocxml files through “save as” in Rhino

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

../../_images/export-selected-saveas.png

Some objects are selected in the Rhino scene before exporting

../../_images/export-selected-result.png

Only exported objects are rendered in Ocean

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

../../_images/displacement.png

A deformed mesh with displacement and edge softening in Rhino

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.