Method for applying textures/graphics (color acceptable) to arbitrary part

in RobotStudio
Hello All,
I am creating a simulation involving a potentially infinite number of cut pieces. I have a smart component that uses parametric boxes, and another implementation that uses linear extrusion to create the parts. The issue is they are grey by default. I need to apply a wood texture, and if not that then at least set them to a more appropriate color.
The closest solutions I have come across are both ineffective and messy.
1. use paint applicator, this was tedious to set up and I was not happy with the results.
2. sourcing a highlighter component and applying it to each generated part, there is a bug with the highlighter effect not being drawn, and it needs to be manually toggled off and back on to show the color.
I would like a clean, generic solution that could easily be applied to another use case in the future without needing to bury some nonsense in my sim behind the scenes.
To my knowledge, this functionality is not present in the latest version of RS, but I may very well be wrong.
Thank you!
-Mike
I am creating a simulation involving a potentially infinite number of cut pieces. I have a smart component that uses parametric boxes, and another implementation that uses linear extrusion to create the parts. The issue is they are grey by default. I need to apply a wood texture, and if not that then at least set them to a more appropriate color.
The closest solutions I have come across are both ineffective and messy.
1. use paint applicator, this was tedious to set up and I was not happy with the results.
2. sourcing a highlighter component and applying it to each generated part, there is a bug with the highlighter effect not being drawn, and it needs to be manually toggled off and back on to show the color.
I would like a clean, generic solution that could easily be applied to another use case in the future without needing to bury some nonsense in my sim behind the scenes.
To my knowledge, this functionality is not present in the latest version of RS, but I may very well be wrong.
Thank you!
-Mike
Tagged:
0
Best Answers
-
Do you mean to create boxes with dynamic sizes and textures?0
-
I don't think there is any default smart component for texture change. 'Highlighter' can be used to change the color.
If you're somewhat familiar with C# programming, you could try coding your own smart component with RobotStudio SDK. It provides a more flexible way to edit the parameters of box_1.0
Answers
-
You can use smart component named 'source' and select your textured box model as input. To create a copy of your box, pulse the signal 'execute' of the smart component.0
-
Hello Kenny,
Thank you for your answer, but that will not work. I do not have a modeled box, because the box is not created until time of simulation. I can't create boxes to source, because I have an infinite number of boxes, it is not feasible to manually create, and texture hundreds, if not thousands of models. I create the boxes parametrically; I need to be able to apply a texture to an arbitrary part.
Let me know if that made sense.
-Mike0 -
I am creating dynamic boxes, they have fixed dimensions of height and width, but an arbitrary length. The issue is I cannot apply a texture to a part that is not generated yet, what I need to happen is b asically this:
1. use linear extrusion to create a box with length X
2. Source a copy of this linear extrusion, lets call it box_1 (I will be creating several of these ~40 in the ifnal sim.
3. Apply a color or texture to box_(n) after it is generated in real time.
0 -
I don't think there is any default smart component for texture change. 'Highlighter' can be used to change the color.
If you're somewhat familiar with C# programming, you could try coding your own smart component with RobotStudio SDK. It provides a more flexible way to edit the parameters of box_1.0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 335 IRC5
- 67 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 827 RAPID Programming
- 10 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 106 Collaborative Robots
- 5 Job listings