Import/Export splines

Curvy allows to import splines from, and export them to, JSON format. The tool that allows that is available in the toolbar, here.
The JSON wrapper format is defined in the Curvy\ImportExport\Wrappers.cs file. If you need any format that is not supported by Curvy, please let us know and we will try to add it to the package the soonest we can.

Import and export of MetaData is not supported for now

The Import/Export window contains the following:

Configuration

You can choose here in what coordinate space (global or local) the transforms of the imported/exported splines should be interpreted.

Actions

Export selected spline(s)

Exports the selected spline(s) to a JSON file.

Import

Creates new spline(s) in the scene from the content of a JSON file. If you had an object selected when clicking on this button, the spline(s) will be add as a child of that object.

Advanced Actions

This section contains some actions aimed at advanced users. All of them interact with the text are at the bottom of the section. You can also edit the text by hand.

Read selected spline(s)

Fills the text area with the serialized splines that are selected.

Read from file

Fills the text area with the content of a file.

Write new spline(s)

Created new splines from the content of the text area. If you had an object selected when clicking on this button, the spline(s) will be add as a child of that object.

Write to file

Writes the content o the text are in a file.