RoboDK examples

The following examples show some basic usage of RoboDK. The examples explained in this section are available with the default RoboDK download.

The station files for each of these examples can be accessed through File->Open, then, select the appropriate example in the default library folder.

Pick and place

This example shows a basic pick and place program where four balls are moved from one table to another using a pneumatic suction cup.

The tutorial shows basic interaction with RoboDK's simulator for offline programming.

View pick and place simulation

Pick and place with Python

This example shows an advanced pick and place simulation. Moving the robot and replacing the objects is accomplished through Python.

The RoboDK's Python API allows you to program any robot through Python. Additionally, you can interact with the simulator to create, modify or edit any objects or robots programmatically.

View pick and place simulation

Drawing with a robot

This example shows how to simulate a painting or a drawing application with RoboDK.

The robot is programmed to draw an SVG image. The drawing simulation is achieved using the Python API and a reference object "pixel" that is added to the board as the robot moves.

A 3rd party Python library is used to convert the SVG image to robot coordinates.

View drawing simulation

Drawing a picture with an industrial robot

Robot milling

The robot milling feature allows you to simulate and optimize any robot path for robot milling, robot welding, robot painting or inspection. You can easily generate robot paths along curves and points included in CAD files (STEP and IGES format supported).

With RoboDK you can also convert NC-code machining programs (such as G-code and APT files) to robot programs. RoboDK automatically avoids robot singularities, joint limits and collisions.

View milling simulation

Conveyor belt

Any type of mechanism, such as a conveyor belt, can be simulated using the Python API. This example shows how two Univeral Robots (UR10) work together feeding and taking parts from a conveyor belt.

View conveyor simulation

DXF to robot program

A robot path can be generated from a DXF file. This feature is useful for paths located on a plane, such as cutting in 2D for example. In this video we use a UR10 robot and a DXF file to generate a URscript program.

Robot milling with external axes

External axes can be modelled and synchronized with the robot. This example uses an ABB robot with an ABB turntable to machine a spherical object.

Robot painting

RoboDK can be used to generate paths along surfaces, for example, to generate zig-zag movements for painting applications or inspection. RoboDK automatically avoids robot singularities, joint limits and collisions.

Targets on a surface can also be created in a few steps (menu "Program"->"Teach targets on surface").

Spot welding

Spot welding can be easily accomplished. It is also possible to import points or curves in text format, as well as machining programs (NC-code: G-code, APT, ...). The same utility can be used to automate drilling a set of points.

This video is a spot welding demonstration using a Kuka robot and an HMD Technology weld gun.

3D Printing with a robot

3D Printing with robots can be easily accomplished in a few steps using RoboDK. A 3D object (such as an STL file) can be first sliced into different layer paths, then, the 3D printing robot program can be simulated.

You can generate the appropriate program for your robot once you are satisfied with the result. In this example we use a Nachi robot to 3D print a cubic object.

Camera Inspection

Two Universal Robots and a SICK 2D inspection camera perform a palletizing task. It is very easy to simulate 2D cameras integrated with an automated line using RoboDK.

By selecting the RoboDK menu: "Connect-Simulate 2D camera" you can see a preview of the camera. The camera can be held by a robot or static in the cell.

The camera settings can be adjusted manually or through the RoboDK API using Python scripting. Camera settings such as the focal distance, field of view, working distance or sensor size can be easily adjusted. The workspace of the camera can also be displayed.