MotionView User's Guide

Spline3D Panel - Properties Tab

Spline3D Panel - Properties Tab

Previous topic Next topic Expand/collapse all hidden text  

Spline3D Panel - Properties Tab

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

From the Properties tab on the Spline3D panel, you can define the spline data.

3d_spline_panel_properties_tab_mv

Spline3D panel – Properties tab

Spline3D data can be defined using any of the following methods:

hmtoggle_plus1File

The spline data may be saved in a .csv (Comma Separated Values) format.  The correct format of data in the .csv file is as shown below:

3d_spline_csv_format_example_mv

From the Properties tab, select File from the Type drop-down menu.  Click on the file select folder file_open_icon_new_mv and browse to the .csv file that contains the spline data with the above described format.  In this case, the model will refer to the .csv file.

3d_spline_panel_properties_tab_mv

The data can be viewed in a tabular format by clicking on the View Data button located at top of the panel.  A table appears that displays the x, y, and z data:

3d_spline_table_example_mv

Note - The data is displayed by factoring any Offsets and Scales applied in the Attributes tab (if any are applied).

To view the spline graphically, click on the Show Spline button located at the bottom of the panel.

3d_spline_viewer_dialog_mv

Spline3D viewer dialog

hmtoggle_plus1Values

The spline data can be defined by either manually keying in the values or importing values from a .csv file.  In this case, the values for x, y, and z will be saved inline within the model file.

From the Properties tab, select Value from the Type drop-down menu.

3d_spline_panel_properties_tab_value_type_mv

Spline3D Panel - Properties Tab - Value Type

To insert, delete, or append row data or columns (Y vectors), right-click on the row or column headers respectively.

-Select Insert to add a row or column before the selected row or column.

3d_spline_panel_prop_tab_value_type_insert_mv

OR

-Select Delete to delete the selected row or column.

3d_spline_panel_prop_tab_value_type_delete_mv

OR

-Select Append to add a row or column after the last row/column.

3d_spline_panel_prop_tab_value_type_append_mv

Note - This option will only be made available if the right-click is made on the last row/column.

Alternatively, if the data is available in a .csv file with the above described format, the data can be imported by clicking on the Import button located on the upper right portion of the panel.  The Import Values From File dialog is displayed.

3d_spline_import_values_from_file_dialog_mv

-Click on file select folder file_open_icon_new_mv and browse to the .csv file that is to be imported.
-Click OK.  The data in the .csv file will be imported as values.

Note - If the Type is set as File and a .csv file is referred, toggling to Value will not automatically import the values.

hmtoggle_plus1User Defined

Use this method if the spline has to be read by the solver using a custom user-subroutine.  Note that with the User Defined type, the spline data cannot be viewed or plotted graphically in MotionView.

From the Properties tab, activate the User-defined properties check box to set the spline as user defined.

3d_spline_panel_properties_tab_user_def_option_mv

The User-Defined tab is displayed.

Note - The Attributes tab is hidden, as it is not applicable for this spline type.

hmtoggle_plus1Linear Extrapolation

This option is applicable for all types of spline explained above.

From the Properties tab, activate the Linear extrapolation check box if the spline data has to be linearly extrapolated at each ends of the y-vector during the simulation.

3d_spline_panel_properties_tab_linear_extrapolation_option_mv