# Taking Measurements + Visualisation

There are two options available for taking measurements and producing a model set, you can go through **Agisoft Metashape** itself or a 3D-CAD software, this guide will cover **Rhinoceros 3D.**

{% hint style="warning" %}
**NOTE:** Ensure that you have measured some element of your subject in real-life to use as a reference.
{% endhint %}

## Agisoft Metashape

{% hint style="warning" %}
**NOTE:** Agisoft Metashape Professional v.1.6.2 was used in this article.
{% endhint %}

### Taking Measurements

#### Creating a Scale Bar

Find in your chunk where you took the measurements in real-life.

Create two markers relating to the start and end of that measurement. Markers can be created by right-clicking on a point in the model.

Select both markers and `[Right-Click > Create Scale Bar]`

![](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2IIWRRnp9H9sK-SJvE%2F-M2IIxO4OfqOTownMQfY%2F1-ScaleBa.png?alt=media\&token=53e8d55f-6527-405e-ada2-52cebf557f6e)

Enter in your measurement as a scale reference. **The unit size is in Meters.**

You should see a indicator of the dimension in the model as a line.

![](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2IIWRRnp9H9sK-SJvE%2F-M2IIzkYPdgsAdT3ASzE%2F2-Measurement.png?alt=media\&token=3a0ab867-af68-456d-8e8e-45c705a3c88b)

#### Setting the Scale Bar

Open up the reference setting menu and click apply, this will apply the scale bar to the rest of the chunk.

![](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2IIWRRnp9H9sK-SJvE%2F-M2IJ1OhHmgnYcAT7auD%2F3-referenceSet.png?alt=media\&token=3ccd1ed0-922c-44d7-a7b8-161df599b251)

#### Using the Ruler

The ruler tool should now be available, insert from point to point to take a measurement.

| Command                | Action                                                                                                       |
| ---------------------- | ------------------------------------------------------------------------------------------------------------ |
| **Right Mouse Button** | Insert a point, the dimension should appear. Inserting more points will count towards the distance measured. |
| **Left Mouse Button**  | Exit this instance of the ruler.                                                                             |

![](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2IIWRRnp9H9sK-SJvE%2F-M2IJ4JZFfj1WgGEg6AK%2F4_ruler.png?alt=media\&token=614237d0-1387-4c35-a040-3dd3905fe6de)

### Producing Perspectives

Perspectives can be captured through the *Model* view.

Firstly, turn off all unnecessary information such as markers and region boxes etc.

Right-Click in the *Model* view and select `[View Capture]`. You'll be able to specify the location and the image resolution.

![](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2IIWRRnp9H9sK-SJvE%2F-M2IJ7f7Jzne4JeoeMXw%2F3-perspectives.png?alt=media\&token=4c7fe068-7cfe-41ae-a956-24508c0592d2)

### Producing Elevations

Elevations are the same as the *Orthomosaic* in Agisoft Metashape

#### Creating an Orthomosaic

Create a series of 'axes' using two markers, one start and one end. These 'axes' should form the plane that you want to take views from. Markers can be created by right-clicking on a point in the model and choosing Create Marker.

`[Workflow > Build Orthomosaic]` will begin the process.

![Creation of points to form axes for views](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2IIWRRnp9H9sK-SJvE%2F-M2IJC0c6INVAzWNwPcf%2F1%20-%20BuildOrtho.png?alt=media\&token=c47c8921-f2d8-48aa-844b-a39ebe03ffd3)

Under projection, set the type to `[Planar]` .\
Set to *Projection Plane* to use `[Markers]` .\
Set the *Horizontal* and *Vertical Axes* to the points you made previously.\
In the example shown below, a front view would use the markers creating axes that forms a plane parallel to that surface.

![Generating a view using the plane of 2 axes.](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2IIWRRnp9H9sK-SJvE%2F-M2IJEwr0262HP54uT5R%2F2%20-%20BuildOrtho2.png?alt=media\&token=d555f893-acbf-4f79-85b8-b3bf4e7da696)

Click on the Orthomosaic in the chunk to view it. This is restricted to the *Ortho* window view as if it were a 2D object, this cannot be manipulated in 3D.

![](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2IIWRRnp9H9sK-SJvE%2F-M2IJHMiGWiu3nO9eIBA%2F3%20-%20View%20Ortho.png?alt=media\&token=e61219c0-4f32-4824-a1be-d2565abb29ac)

#### Multiple Orthomosaics

Duplicate an Orthomosaic by right-clicking on it. You can generate a new Orthomosaic over the selected one by going through the same steps.

![](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2IIWRRnp9H9sK-SJvE%2F-M2IJJqd8v-NnMEyEp1e%2F4%20-%20DupOrtho.png?alt=media\&token=8fa864e6-b29b-47ea-892b-7389dea5f642)

#### Exporting Orthomosaics

`[File > Export > Export Orthomosaic]` will allow you to export high-resolution images of the generated Orthomosaics.

You can set the output quality by specifying the *Pixel Size*, or more simply, the *Max. Dimension* setting.

![](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2IIWRRnp9H9sK-SJvE%2F-M2IJNOkdJiNlgjvfRfj%2F1%20-exportEle.png?alt=media\&token=3841a8bb-1dc0-4723-998d-c107e9aa4a24)

![Exported orthomosaic - Elevation Front](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2IIWRRnp9H9sK-SJvE%2F-M2IJQR4iDL-Y4LT1gB3%2FSmall1.png?alt=media\&token=753cd05b-6273-4e78-b654-ad4ccf790f3c)

## Rhinoceros 3D

### Alignment

#### Orientation

Use `[Orient3Pt]` to orient the subject, this will translate and rotate an object from a selected plane to a target plane. It is recommended to use a wall or ground to orient to one of the cardinal planes.&#x20;

#### Rotation

You may want to draw an arbitrary reference surface first to use as the orientation plane. First pick three points on the subject and three corresponding points on the plane to orient to.

`[Rotate]` or using the [Gumball](http://docs.mcneel.com/rhino/5/help/en-us/commands/gumball.htm) can be used to further adjust the alignment.

### Taking Measurements

Measurements can be taken using the `[Distance]` command by picking a first point, and then a second point. The *command line* will return the distance between these two points.

### Producing Views

Use the corresponding viewports and `[ViewCaptureToFile]` to capture high resolution images.

## Model Viewers - Online and Offline

### SketchFab \[Online]

{% hint style="warning" %}
**NOTE:** SketchFab has a 50MB filesize limit for free accounts, Meshes are usually lighter in file size and can be used instead.
{% endhint %}

### P3D \[Online]

P3D is web-browser based 3D model publisher. It is a free alternative to SketchFab with a higher initial upload limit of 200MB.

{% embed url="<https://p3d.in/>" %}

#### Exporting your File

Follow the guide up to the exporting of a mesh, and ensure you enable *Export Texture* so that it can be re-applied in P3D. P3D only accepts Meshes.

{% content-ref url="1.0-from-photos-to-3d-data" %}
[1.0-from-photos-to-3d-data](https://ms-kb.msd.unimelb.edu.au/next-lab/3d-scanning/guides/photogrammetry/technical-guides/1.0-from-photos-to-3d-data)
{% endcontent-ref %}

{% hint style="info" %}
**TIP:** Ensure you enable Export Texture, any file format will do.
{% endhint %}

#### Uploading a File

You will have to create an account, once you have done so, you can upload a 3D model.

#### Setting Textures

Textures and basic materiality can be controlled via the P3D editor. Any texture that comes out with your Mesh though, should be dropped into the Base Color texture, by selecting the `[T]`

![](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2mB7dgZrp5uE0MhHBU%2F-M2mMX2Hganw8M4wq4lz%2F3_p3d.PNG?alt=media\&token=40528501-d120-4db6-9d6b-6f7612e273c5)

#### Save and Share

Save your Changes, head into your gallery and you can share this link with others!

### Agisoft Viewer \[Offline]

Agisoft provides a free viewer that you can use to interact with your models.

#### Downloading the Installer

This can be downloaded through the Agisoft Metashape Installer.

Navigate to the following website link and download the appropriate installer for your system:

{% embed url="<https://www.agisoft.com/downloads/installer/>" %}

#### Installing Agisoft Viewer

Open the installer and only install the Agisoft Viewer component through the custom install.

![](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2mB7dgZrp5uE0MhHBU%2F-M2mEAg7D4XIWjQUwBO8%2F0_Viewer.PNG?alt=media\&token=9f77b687-8573-4f9c-842c-58d971e0b53e)

#### Exporting your File

Follow the guide up to the exporting of a point cloud or mesh.

{% content-ref url="1.0-from-photos-to-3d-data" %}
[1.0-from-photos-to-3d-data](https://ms-kb.msd.unimelb.edu.au/next-lab/3d-scanning/guides/photogrammetry/technical-guides/1.0-from-photos-to-3d-data)
{% endcontent-ref %}

Agisoft Viewer supports a range of datatypes, all of which can be generated by Agisoft Metashape. We recommended the following file types for their simplicity, so export either the mesh or point cloud as the following file type:

| Type            | File Format |
| --------------- | ----------- |
| **Mesh**        | .obj        |
| **Point Cloud** | .oc3        |

#### Opening a File

`[File > Open Dataset]` will allow you to import a file to view.

![](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2mB7dgZrp5uE0MhHBU%2F-M2mFE63Sw-pRxRd9Rlc%2F0_Open.PNG?alt=media\&token=4ccafa9b-7ba0-4a37-951a-219b6c428a4f)

![Point Cloud (.oc3) file viewed in Agisoft Viewer](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2mB7dgZrp5uE0MhHBU%2F-M2mFIE3D7Crff5UdGRM%2F0_ViewerModel.PNG?alt=media\&token=539cb546-223c-4db0-a66c-3a3bc51019d4)

#### Interacting with the Model

View > Panes allows you to toggle on and off various panels in the software.

View also hosts some display options regarding Fill, Wireframe, Points and Lighting, the effect will differ based on if you are viewing a mesh or point cloud file.

| Command                                                                              | Function       |
| ------------------------------------------------------------------------------------ | -------------- |
| <p><strong>Right Mouse Button + Drag</strong></p><p><strong>Scrollwheel</strong></p> | Zoom In or Out |
| **Left Mouse Button + Drag**                                                         | Rotate Model   |
| **Scrollwheel Hold + Drag**                                                          | Pan Model      |

#### Sharing

{% hint style="warning" %}
**NOTE:** If using a .obj format for a mesh that has a texture with it, ensure you also send the texture image file along with any model files.
{% endhint %}

### Microsoft 3D Builder \[Offline]

#### Exporting your File

Follow the guide up to the exporting of a mesh, you can use any common mesh filetype; .obj or .ply.

Microsoft 3D Builder is an already available piece of software on all Windows Machines.

Simply *Right-Click* the exported file and `Open With > 3D Builder`

![](https://1820679795-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXautSvCbUco5Lv7YrH%2F-M2mB7dgZrp5uE0MhHBU%2F-M2mGhP35_ZV_6JpBLiJ%2F1_Microsoft3DViewer.PNG?alt=media\&token=e64d7995-e649-4b4d-bcd0-70b049cef97e)

#### Sharing

{% hint style="warning" %}
**NOTE:** If using a .obj format for a mesh that has a texture with it, ensure you also send the texture image file along with any model files.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ms-kb.msd.unimelb.edu.au/next-lab/3d-scanning/guides/photogrammetry/technical-guides/taking-measurements-+-visualisation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
