OnShape - First assembly

Creating your first assembly in OnShape

OnShape - First assembly

Creating your first assembly file in OnShape

Duration :
Difficulty :

Software:

Documentation completed: 100% 100

Goal

The goal of this tutorial is to introduce you to assemblies in OnShape. We will make 2 parts, a servo motor cradle and a servo horn, which we will assemble with a ready-made servo motor model that we will import.

The model comes from the GrabCAD website. It is a community site where engineers share many technical files.

  Warning

Always check that the files you download and use are accurate. Also check the licences attached to these files. Some have restrictive commercial licences.

Creating your project

STEP 1 - New document

Create a new Document in OnShape, then a sketch on the Top plane. Then reproduce the dimensioned sketch opposite.

  • The servo horn:

alt text

  • The bracket:

alt text

Downloading an external model

STEP 1 - Get your model

Follow the download link below and save the model on your computer. This device is a servo motor, an actuator very commonly used in model making and robotics to drive mechanisms. To learn more about how this actuator works, you can watch the following videos (in French):

Download the servo model

STEP 2 - Import the model

Click the + in the list of tabs at the bottom left, then click Import. Select the file you downloaded earlier, then Open.

alt text

In the window that appears, click Combine to a single Part Studio. This imports your .stp file into a CAD Imports folder, then creates a Part Studio for your servo motor.

alt text

  Warning

Importing and creating the files can take some time. Wait until the Part Studio with your imported model has been created before going on

Assembly

STEP 1 - Insert your parts

Click the Assembly tab, or create a new assembly by clicking alt text. In the assembly, click Insert, then select the servo horn and the bracket, and confirm. You should see your parts in the assembly tree on the left as well as in your 3D view.

STEP 2 - Insert the servo motor

For the servo motor, since its Part Studio is made of several imported parts that are not assembled, the method differs slightly. Click Insert, then, before clicking your servo motor, click Insert entire Part Studio rigidly

alt text

You can then insert your servo motor. It will appear as a group that is already assembled.

alt text

STEP 3 - Fix a part

For your assembly to behave properly, we start by fixing one of the elements. Right-click your bracket, then select Fix. That way, the bracket will not move and the assembly will be built relative to this element.

alt text

Keep in mind that if your assembly changes, you may have to unfix this element in future.

STEP 4 - Rough positioning

When you click one of the parts of the model, a white manipulator appears. It lets you move your part in space. Move your parts to put them roughly in position relative to one another. It does not need to be precise.

alt text

STEP 5 - Assembling the servo motor

We will now rigidly assemble the servo motor and the bracket plate. Click Fastened mate, then select the two geometric elements you want to fasten.

alt text

Notice how elements appear when you hover over your part. These are mate connectors, the tools that let you assemble your part. Select a connector on the bracket side, at the centre of one of the holes, then a second connector on your servo motor.

Once done, you can confirm your action.

STEP 6 - Assembling the servo horn

We will do the same with the servo horn, using the Revolute mate tool:

alt text

Tip When your cursor is over a surface, if you hold down the Shift key of your keyboard, OnShape locks the face and you can then select a connector on that surface more easily.

Need help?