Robots in Architecture Forum

KUKA|prc - parametric robot control for Grasshopper => Support => Topic started by: OXIDO on September 06, 2023, 11:05:35 AM

Title: Adding text programing to the commands?
Post by: OXIDO on September 06, 2023, 11:05:35 AM
Hello, we have been using this script to turn the tool on and off during fabrication.(https://i.postimg.cc/445xM8ys/Screenshot-2023-09-06-105953.png)

But we are unable to do this with a new tool. It needs these text commands to switch on and off.
fiSOLD() = OFF
WAIT SEC 2
iniciSOLD() = ON

(https://i.postimg.cc/fW0Vr7Xb/Screenshot-2023-09-06-105550.png)

I am Unable to add these text commands to the PRC command script. Do you know how we can do this?

Regards,
Ojas Mahajan.
Title: Re: Adding text programing to the commands?
Post by: Johannes @ Robots in Architecture on September 06, 2023, 11:10:40 AM
Hello,

The Custom KRL component allows you to add any commands to the output KRL file. Just note that those commands won't be simulated.

Best,
Johannes
Title: Re: Adding text programing to the commands?
Post by: OXIDO on September 06, 2023, 11:21:15 AM
Found it.

Thanks Johannes