Challenge - Import CAD Model With PiXYZ Plugin

Tutorial

·

Beginner

·

+10XP

·

30 mins

·

(16)

Unity Technologies

Challenge - Import CAD Model With PiXYZ Plugin

To do so, you’ll need to:

  1. Create a new Unity project on your desktop.
  2. Import PiXYZ plugin.
  3. Download and import provided CAD model or one of your own.

Languages available:

1. Create a new Unity Project

On your desktop create a new Unity Project so that you can import a CAD model.

Step by Step:

  1. Open Unity Hub on your desktop (review Unity on Desktop if you have not already downloaded Unity).
  2. Click the New button to create a new project.
  3. Give it a name, save location, and choose a version (Unity 2018.3.0f2 is the version used in the Streaming).
  4. Click Create.

2. Import PiXYZ

To import a CAD model in Unity import the PiXYZ Plugin package you downloaded in the Streaming.

Need a Hint?

Use the Import Package button (Assets > Import Package)

Step by Step:

  1. Download the PiXYZ plugin if you haven’t already (see Streaming for details).
  2. Click Asset > Import Package and select the PiXYZ Plugin Package (or drag it directly into the Project Window.
  3. When prompted to in the Import Window, click all, then Import.

Pro Tip: Check PiXYZ Compatibility

After the installation step of the Plugin, you’ll notice that PiXYZ has a new dropdown menu at the toolbar above the Unity Editor. Within that menu, there is a tool called “Check Compatibility.” Use this tool to make sure your version of PiXYZ is compatible with your current version of Unity.

We recommend using Unity version 2017.4 or newer.

We recommend using Unity version 2017.4 or newer.

3. Import a CAD model

Use the PiXYZ drop down to import the CAD model (available from the Tutorial Materials tab above) from your computer into Unity.

Step by Step:

  1. Download the Genesis car model from our folder and unzip the file so we can bring it into Unity with the PiXYZ Plugin.
  2. Use PiXYZ>Import CAD and then select the Genesis CAD model that you’ve downloaded.
  3. When prompted select the Assembly.CATPart (or any other model you have) Then click Import.
  4. For the best results with the PiXYZ plugin use the following settings. Each is visited in a dropdown below.
PiXYZ Plugin import window. Note: You should not have a preset file (above the cursor) in your import window. This was taken from our import settings exercise.

PiXYZ Plugin import window. Note: You should not have a preset file (above the cursor) in your import window. This was taken from our import settings exercise.

Pro Tip: Merge Final Assemblies

You’ll note that Merge Final Assemblies is a final step usually used to reduce the number of times a part appears in a model file.

4. Key Takeaways

You have now successfully imported a CAD model into Unity using the PiXYZ Plugin.

By completing this module, you’re now able bring CAD models into your Unity application, and view them using VR.

  1. Import and setup your Unity environment to include the PiXYZ Plugin.
  2. Prepare and import a CAD model.

Complete this tutorial