Skip to content
Randall Hauch edited this page Aug 10, 2015 · 27 revisions

Designing the mechanical systems for the robot can be done in several Computer-Aided Design (CAD) programs, such as SketchUp, AutoDesk Inventor, PTC, etc. PTC is a very common CAD package used throughout industry, and extensively at the FIRST Tech Challenge (FTC) level. Like with many CAD programs, PTC files can be exported to be used for 3D printing, other CAD programs, machine shop tooling, etc.

Advantages

There are several advantages to using PTC CAD for robot design:

  • A CAD model allows the designers to see clearances & how well parts fit (or don't) before items are purchased or material is cut.
  • The team can get a Bill-of-Materials (BOM) automatically from the program. This makes it easy to place orders and report to the hardware inspectors at competition.
  • Mass properties of the robot can be calculated, things like weight, inertia, etc., before the robot is built. If the robot is heavy for example, the designers will know earlier - allowing them to refine the design (and avoid wasted parts & materials).
  • Multiple developers can collaborate on a single robot, especially when the code is stored on WindChill. This is standard practice for the CAD industry. Anyone can see who changed what parts, see the entire history of all part updates, and keep library parts in a central location.

Tools

  • PTC Creo - Creo Parametric is the program necessary to create 3D CAD files while Creo Direct is the 2D version. We will primarily use Creo Parametric for its 3D modeling and visualization capabilities.
  • PTC Simulate - PTC Creo Simulate provides structural and thermal simulation capabilities. This app gives users early insight into how their design will perform and can reduce the time and cost associated with physical prototyping. We will use it to look for high load/stress forces, robot appendage travels during motion, etc.
  • PTC MathCAD - Mathcad is a visual "notebook" for solving, analyzing, and sharing engineering calculations.
  • PTC WindChill - Windchill helps teams manage their products through all phases of its lifecycle. It will be the central repository for all of our CAD information - allowing multiple users to share, view, and edit CAD files with or without having the CAD tools installed.

Educational licenses for ALL these products are available to FIRST teams.

Install the tools

There are several things that must be done one time before you can start CAD'ing on your own Windows computer. You will likely need to install all of these. NOTE: If you are using Mac OS or Linux, you'll have to run this in a Windows emulator as these are Windows only tools right now.

  1. Install PTC Creo - Start by going to http://www.ptc.com/communities/academic-program/products/free-software. Select the right option (mentors should use "I am a K-12 Educator"), then register or sign in and you should get an email from PTC with the location of the installation files. Follow those instructions to download PTC Creo v3.0 and create an install DVD (you can also borrow one of the team DVD's).
  2. Install WindChill - There is no installation for WindChill as it is just a browser & Creo plug-in. You will first need access to our team project, so you will need to contact a team mentor for an invitation. Once you get that, you "Join" the project (you will have to create a PTC.com account if you haven't already).
  3. Install MathCAD - MathCAD is part of the Creo 3.0 installation image, so you can install it at the same time as Creo by checking the box during the installation process.

Set up Creo

If you have not already, first follow the instructions in the "Configure for Schools" pdf to have Creo default to the right units and drawing types:

The next steps depend on whether you are using the team workspace in WindChill, your local hard drive, or both.

Creo/Windchill Integration To connect Creo to WindChill, see the WindChill Setup below.

Local Creo File Storage First, determine where you are going to keep your library parts and designs. Library parts are usually stored separately from the designs since they are common, stock parts you buy directly from vendors like McMaster Carr or AndyMark. A design is where you assemble custom parts and library parts into a "assembly" that represents some or all parts of a product (e.g., a robot).

Let's say you store your CAD work in a directory called "C:\CAD". You would probably keep library files in something like "C:\CAD\Library" and C:\CAD\201x_Robot" for the robot files. Creo must know about EVERY folder that has parts or designs in it so it can find them. It does not automatically include subfolders.

Create a text file with a basic text editor (like Notepad) and add a line for each folder you have CAD files in (and want Creo to find). Save the file in your CAD or Library directory as "search.pro". For our example, there would be at least three lines in the file:

C:\CAD
C:\CAD\Library
C:\CAD\2015_Robot

Launch Creo, but don't load any files yet. Instead select File->Options->Configuration Editor. Press the Add button and type "search_path_file" in the Option Name box. Select Browse and navigate to the search.pro file you created. Select OK to close the browse window, then OK again to close the Add dialog. When you hit OK in the Configuration Editor, it'll ask if you want to save the current configuration. Say yes. You can store it in your main CAD folder or project file. Later we may have to tweak this, but this works for now.

Creo Training

PTC has very good self-paced training materials located online at: http://www.ptc.com/communities/academic-program/k12/tech-support/training

There are two links we've used: How to Model Almost Anything (HTMAA), and the Primer. We recommend starting out with Exercise 1 of HTMAA to learn the basics, then jump around in the Exercises to cover material you want to learn. Exercise 6 is a very good one as it shows how to build a working FTC drive train -- a very useful technique for FRC too! The Primer teaches you how to build and assemble some custom parts, which is great for 3D printing and making parts that we machine, not buy. HTMAA really covers using existing parts to make things, which is more applicable to FRC and FTC once you get the KOP.

Set up WindChill

WindChill makes it possible for every developer on the project to have a complete copy of the CAD files and part libraries (including their revision history). WindChill makes it easy for these developers to share their changes and to merge all those changes into the shared Libary repository on WindChill.

There are then two ways to access WindChill: For Creo users, WindChill is integrated right in to Creo Parametric. Start Creo Parametric and:

  • select File -> Manage Session -> Server Management
  • select Server -> Register New Server in the dialog box that appears
  • Type "Team Project" for Name (no quotes)
  • Type "https://academic.ptc.com/Windchill" for the Location (no quotes)
  • Hit the "Check..." button.
  • If all is good, you'll be asked for your PTC.com login. Do that & hit ok.
  • Wait for "Team Project" to appear in the Server List.
  • Click on it and you'll see a list of workspaces show below (most folks will just have one).
  • Right-click on the one you want and select "Activate & Set Primary".
  • This will make the workspace active and show it in your Creo folders list. You're set!

For non-Creo users (or quick browsing of parts), simply type https://academic.ptc.com/Windchill in your web browswer. You will be asked for your password and then will see the team workspace.

Develop the CAD projects

Once all of this setup work has been done, it should not have to be done again. That means that from now on, you can edit and design the team's CAD files on your computer.

At any given time, you should only be working on a single project. All the CAD projects are independent of each other, and represent different designs. Current projects are often prototypes, and we'll probably create a single project for each specific robot that Team 4931 builds. That project can evolve as the robot evolves. We can even take completed, working designs and turn them into "libraries" for use on later robots!

Troubleshooting

Browser Error when trying to connect to Windchill. This seems to be caused when you have a PTC.com account, but you have not "Joined" the team's Windchill project. If you cannot find the Windchill invite email we sent to you a while back, send us a note so we can re-invite you. This should fix the connection problem.

Ribbon looks funny, doesn't zoom to a surface when extruding, or can't set material properties This seems to happen when you have not run the "Configure for Schools" script. Not only does that set the measurement units, but it appears to also set the menus and several default options to make the program easier to use.