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.
Basic pick and place simulation.
This example shows how to use Python to program a robot for pick and place.
Draw an SVG image with your robot. Include 3rd party libraries to your project.
Use your robot like a CNC. Easily import NC-code (G-code or APT) and generate robot programs.
Simulate a conveyor belt or any other mechanisms using the Python API.
Convert DXF sketch file to robot programs.
Synchronize a robot with external axes for milling.
Easily create paths for robot painting or inspection
Spot welding and drilling can be easily accomplished with RoboDK
3D printing with an industrial robot in a few steps.
Simulate 2D cameras integrated with an automated line using RoboDK.
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.
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.
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.
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.
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.
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 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 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.
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.