# Importing data

There are multiple ways to import data into studio:

1. From the command line:
  ShapeWorksStudio [file1] [file2]...

1. File -> Import Shapes
2. Click the plus / Import button in the Table panel
3. Drag and drop supported files over the Studio window

# Landmarks

Studio supports adding, manipulating and moving anatomical landmarks for each input shape. Landmarks should be corresponding between shapes and can be used for alignment/registration as well as initial particle position placement.

Below is a demonstration of the landmarks functionality.

# Using Constraints in Studio

ShapeWorks Studio supports grooming, optimization and analysis of shapes with constraints, i.e. explicit inclusion and exclusion areas of the surfaces. These constraints can be defined in Studio as cutting-plane or free-form constraints. In other words, when you define a constraint, particles will be limited to the allowed area and will not cross into the disallowed region.

## Defining Cutting-Plane Constraints

Follow the steps below to define cutting planes on an existing project:

1. Make sure you are on the Data tab.
2. Click the Constraints drop-down menu.
3. ctrl+click 3 points on a shape surface to define a plane.
4. Slide plane along the normal with shift+click.
5. Right click plane point to flip, delete or copy plane to other shapes.
6. Now the newly defined cutting-plane constraint is active for the desired domain on the desired shape. This will show on the constraints panel. Now particles will not spread to the grayed out area.

## Defining Free-Form Constraints

Follow the steps below to define free-form constraints on an existing project:

1. Make sure you are on the Data tab.
2. Click the Constraints drop-down menu.
3. Click the "Painting Enabled" toggle to checked.
4. Select brush size using slider if different from default.
5. Select whether to paint included or excluded area.
6. Paint on the shape you would like to define the free-form constraint on.
7. Now the newly-defined free form constraint is active for the desired domain on the desired shape. This will show on the constraints panel. Now particles will not spread to the grayed out area.

## Removing a Constraint

To remove a constraint:

1. Make sure you are on the Data tab with the constraints drop-down menu open.
2. The planes and free-form constraints previously defined will be listed. For cutting planes, you can also right click a plane point for the same effect.
3. To delete, select the one to delete and click delete.