Export simulation

Once you have a simulation/program ready in RoboDK you can easily export it as a shareable RoboDK for Web link, as a 3D HTML or 3D PDF.

You can generate RoboDK for Web public links, 3D HTML and 3D PDF documents following these steps:

1.Right click your program (Main Programin this example)

2.SelectGeneral - Image 27Export Simulation…

3.SelectStart. The program will start, and the simulation will record until the program is completed.

4.Save the file. After the file is saved it will be automatically opened and you can preview the result.

HTML and PDF simulations are saved as one single file. Compressing an HTML file will remarkably reduce its size. PDF simulations must be opened with Acrobat Reader (not a browser).

The following links are examples of exportedRoboDK for Weblinks:

·Example of an exported RoboDK project:https://web.m.sinclairbody.com/lnk/35303930233736

·Open this link//m.sinclairbody.com/example/Assembly-and-Palletizing-with-ABB-and-Fanucand select Toggle 3D view.

·You can select details on any example of the stations library and select Toggle 3D View to preview the project in RoboDK for Web.

The following links are examples of 3D HTML simulations:

·//m.sinclairbody.com/simulations/UR-Paint.html

·//m.sinclairbody.com/simulations/Welding-3-Fanuc-Robots.html

·//m.sinclairbody.com/simulations/Robot-Drawing.html

And the following links are examples of 3D PDF simulations:

·//m.sinclairbody.com/simulations/UR-Paint.pdf

·//m.sinclairbody.com/simulations/Welding-3-Fanuc-Robots.pdf

·//m.sinclairbody.com/simulations/Milling-with-External-Axes.pdf

General - Image 28

Blender

You can export your RoboDK simulation to Blender to create photorealistic images and animations. Blender is a free and open-source 3D animation and rendering software. RoboDK provides the ability to load your simulation in Blender, including colored objects and animation sequences.

The Blender export option will add a Blender export format to the Export Simulation window.

General - Image 29

To import the exported RoboDK simulation to Blender, follow these steps:

1.Open Blender.

2.Use the “General” default template, and delete included objects (the cube).

3.Optionally, open the system consoleWindowToggle System Console

4.Navigate to the scripting view and open the Python file ending with “_bpy.py”,+GeneralScriptingOpen.

5.Run the script withScriptingRun ScriptorAlt+P.

6.Wait for the script to complete (check the System console for activity). Depending on the size of the simulation, this process can take a few minutes.

General - Image 30

You can fine tune the materials, rendering options and more in Blender to get the best results. RoboDK does not provide a specific tutorial for this purpose, but Blender as a strong community with plenty of tutorials.

To output the Blender render, follow these steps:

1.Open theOutput Propertieson the sidebar.

2.Set the resolution and frame rate inFormat.

3.Set the file format forFFmpeginOutput.

4.Set the container toMPEG-4inEncoding.

5.Set the output quality toPerceptually Losslessand the encoding speed toSlowestinVideo.

6.Render your animation withRenderRender AnimationorCTRL+F12.

7.By default, you file will be saved in /tmp/.

General - Image 31