Cam mate for SOLIDWORKS: 6 tips to get started (+ sketch paths)

“Can I just mate this follower along this cam?”

“How does this chain drive move the product carriers?”

I’ll show you how: using a sketch path and a cam mate. Hint:

solidworks cam mate follower

Modeling moving parts is tricky. A cam mate makes it easier.

Solving engineering problems is pretty damn hard.

Because usually, finding out which problem you need to solve is the hardest problem of them all.

So you want your models to move like they would in reality. From the very first mock-up.

Introducing sketch paths in SOLIDWORKS

A sketch path is a combination of sketch elements. So this feature allows you to model real world items like ropes, chains and cams:

solidworks sketch paths model rope

Pretty neat, right? Probably you already remember a project where you really could have used this.

In the image below I have used the tangent relation to bond the two cams together. You could also just have a coincident relation with an end point of a line and move that line along the beaten path.

solidworks sketch paths cam

Creating sketch paths

To create a path, you first need at least two (connected) sketch elements. They can form a closed shape or they can be open ended.

The elements don’t even have to be tangent! You can create any weird shape of connected elements and turn that into a path.

Al you need to do then is select the sketch items, right click and select Sketch Tools > Make Path.

In older versions, the Make Path button was located directly in the right mouse click menu. You can also click Tools > Sketch Tools > Make Path.

As always, you can use the search bar to find the button that is hidden somewhere is the button jungle called the UI. This video by Innova Systems shows the process nicely:

From now on the sketch elements behave like a single unit. That also means you can’t select the individual lines without the next trick…

Select line in path with select other

The Select Other feature is so useful that SOLIDWORKS decided it deserved one of the best spots in the right click shortcut menu. It lets you select something behind or within the object that you are clicking.

In parts and assemblies, this allows you to select faces behind the current face. Just try it and see what happens.

In sketches, it allows you to select items that belong to a path:

solidworks select single line in path

Paths as blocks

You may have noticed that I have added dimensions to my sketch to fully define the sketch, except for the orientation of the path.

When you don’t need the exact dimension or if the dimensions gets it the way when you rotate the cam (they do), you can turn the path into a block.

We don’t even need to make a path actually. Just draw a bunch of sketch items, select Tools > Blocks > Make and select the elements.

The whole thing now behaves like a single object and you don’t need the dimensions. You can fix a point to make a cam rotate. This allowed me to create the same cam with less effort:

solidworks sketch block rotate

  • Be up to 100% faster when making drawings
  • Never use a wrong template again
  • Create a new drawing with one click

Adding a path dimension

To create a virtual piece of rope is one thing, to make sure the length remains constant is another. Once you have grouped a set of sketch items together in a path, you can select the Path Length Dimension from the sketch toolbar.

I keep my toolbar tucked away nicely on the left of my monitor, where it takes up the minimal amount of screen real estate.

solidworks path dimension

When you have created this constant path length, you can finally model ropes and chains nicely. This once really helped us to find out how a complex design was going to move. We also found out most of our design were not going to work…

Path equations

The path dimension behaves like any other dimension. That means you can use them in equations and you can vary its value per configuration. You can even use them in design tables and custom properties if you’d like.

solidworks sketch path equations

Cam mate

Now that we created fancy sketches of cams and decided on a design, it’s time to create some parts and an assembly. Let’s say we have the following cam and follower:

solidworks cam mate

The process of mating these parts couldn’t be simpler, but you just have to know where to look.

Look in the Mates dialog and go to the Mechanical Mates section. The first one is the Cam mate.

Now select a surface that belongs to the cam surface, plus a surface on the follower.

SOLIDWORKS does the rest and makes sure the cam surface is a set of tangent, closed loop surfaces.

Sketch paths don’t need to be tangent, but cam paths need to be tangent.

solidworks cam mate follower

Conclusion

Another blog post, another tool in the belt. Fortunately a real craftsman can never have too many tools, no matter what his wife tells him.

What were you able to model using the sketch paths? We’d love to hear from you, just drop us an email or a message on LinkedIn.

You can also check out our other blog posts, for example this article on Assembly Best Practices or on how to use Envelopes to easily divide and dedicate space within assemblies.

Until next time.

Don't miss the next post. Get a free add-in.

Subscribe to our newsletter and get our TimeSavers add-in for free.