Skip to content

Seat Tools Addon

RishiMenon2004 edited this page Mar 21, 2023 · 6 revisions

Blender2MTS - Seat Tools

Installation

NOTE: Please note that this addon will not work on any version below 2.8!

  1. Edit -> Preferences -> Add-ons

  2. On the top of the window, click on "Install..."

  3. Select the "mts_seat_tool.py" file and click install

Using The Addon

Set Up

Add an object, a Mesh or a Empty (recommended)

Making Seats

With the created object selected, go to Properties Panel -> Object Properties -> MTS/IV Seat Properties and enable Is Seat.

Move the object to where you want your seat slot to be placed. And in the same panel, adjust it's various properties

Instrument Properties Panel

Dismount Position is calculated as an offset from the object's origin, unless Use World Space is enabled.

Using Offset Using World Space
Dismount Offset Dismount Position

Seat Array Tool

Operator Location - Seat Array Tool

Numbers Panel (Open with N key) -> MTS/IV Tab -> MTS/IV Seat Tools -> (MTS/IV) Seat Marker Array

Seat Tools Panel

Usage - Seat Array Tool

Seat Array Tool

  1. This creates an array of duplicate seat markers in the Y axis with the specified spacing and count.

  2. The spacing and count can be set in the panel on the bottom left, simply adjust the input fields to suit your needs.

DismountPos Preview

Operator Location - DismountPos Preview

Numbers Panel (Open with N key) -> MTS/IV Tab -> MTS/IV Seat Tools -> (MTS/IV) Seat DismountPos Preview

Seat Tools Panel

Usage - DismountPos Preview

HUDPos Tool

  1. Select the seat marker(s) to want to preview.

  2. Click on (MTS/IV) Seat DismountPos Preview. In the 3D space, this will show you the DismountPos of each of the selected seat markers with a visual marker.

    Note: If you have any object selected that isn't set as isSeat, it will show you an error.

  3. You can move and look around freely in the preview mode.

  4. Use Right click to exit the preview mode.

Exporting JSONs

As seats are part slots there is no surefire way to differentiate seat slots from the other slots. Because of this, there is no option to import seat positions.

There are three locations where the export buttons can be found:

  • File -> Export -> MTS/IV Seat Array (.json)

    File Import/Export

  • Numbers Panel (Open with N key) -> MTS/IV Tab -> MTS/IV Seat Tools -> Export Seat Positions

    Instrument Tools

  • Properties Panel -> Object Properties -> MTS/IV Seat Properties -> Export Seat Positions

    InstrumentProperties

Export

  1. Clicking on the export button will open the file browser. Navigate to the save location and enter the filename.

  2. Click on "Export Seat Positions" or hit enter.