RoboDK Forum
Show preferred tool path shows all tools——革命制度党ntable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: Show preferred tool path shows all tools (/Thread-Show-preferred-tool-path-shows-all-tools)



Show preferred tool path shows all tools-maexbecks-02-18-2023

Hi!
I have a robot project with a tool changer. So there are many different tools attached to the robot. When I now create a curve follow project and press the "Show preferred tool path" button, the visualization shows me the tool path with all attached tools on the robot, although only one is visible and selected in the curve follow project options. This makes the feature useless.
How can I deactivate the preview of non-visible tools?


RE: Show preferred tool path shows all tools-Albert-02-18-2023

If tools are flagged as cutters they won't be displayed with the preview. Cutter tools are automatically flagged as cutters when you import the tools from CAD/CAM plugins. Did you use a CAD/CAM plugin?

Can you share your RoboDK project? We can help you better.


RE: Show preferred tool path shows all tools-maexbecks-02-18-2023

Hi Albert,

I can not attach the real project, but I created a simple project.
I loaded the tools from Fusion 360 with the RoboDK Plugin by clicking on "Load Model" and dropping it afterwards on the robot.
How can I set the cutter flag? I have not found an option by searching the API documentation for "cutter" and looking through the options in Fusion and RoboDK.

Edit: I added a screenshot.

.rdk show_preferred_tool_path_project.rdk(Size: 1.22 MB / Downloads: 65)


RE: Show preferred tool path shows all tools-Albert-02-18-2023

I updated your project with a script that allows you to mark any tool as a cutter. Cutters won't be displayed in the preview.

See script calledSet Tool as Cutterin the RDK project attached.

In short, this script sets the cutter using this command:
Code:
tool.setParam("Cutter", 1)



RE: Show preferred tool path shows all tools-maexbecks-02-18-2023

This worked great! Thank you very much!