RoboDK Forum
Problem with colors since V5.5.4- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:RoboDK错误(//www.sinclairbody.com/forum/Forum-RoboDK-bugs)
+--- Thread: Problem with colors since V5.5.4 (/Thread-Problem-with-colors-since-V5-5-4)



Problem with colors since V5.5.4-gb2njoa-04-18-2023

Hi,

I have a trouble with the objects color since version 5.5.4 of RDK.
We often export .stp files from Inventor and use it in RDK. When importing, the "order" of the colors is not always good (paint color is inside steel part instead of outside) : (image3.jpg)


To view the colors, we get use to change the transparency of this color from 255 to 250. That way we can see througt this color and still keep the visibility of objects with this color : (image2.jpg)



The problem is that since version 5.5.4 of RDK, it doesn't work anymore. We keep having the wrong color order as in first image. I tried to put transparancy to 0 : it works but some objects desapears.

I noticed that even the colors values are not the same when importing the same .stp object : (image1.jpg)



Is there any fix to make it work as before ?

I added the step file if you want to try.
.stp Chariot robot.stp(Size: 699.62 KB / Downloads: 83)

Thanks in advance,
regards.

Nicolas


RE: Problem with colors since V5.5.4-Albert-04-18-2023

You can split an object into surfaces and remove duplicate surfaces. Then, you can merge these surfaces back into an object.

We can help you better with your 3D model but you forgot to attach the STEP file.


RE: Problem with colors since V5.5.4-gb2njoa-04-18-2023

Thanks Albert, I updated my message to add images and step files.


RE: Problem with colors since V5.5.4-gb2njoa-04-19-2023

I tried to remove duplicates surfaces but there are so many surfaces. Is there an automatic way to do it ?
Or an other solution ?

Thanks


RE: Problem with colors since V5.5.4-gb2njoa-04-21-2023

Hi, for information colors appears when using Snapshot app :

View from RDK 5.6 :



snapsh生成的文件ot app :




RE: Problem with colors since V5.5.4-Alex-04-26-2023

A better way to change this is by changing the order of the geometries.

As you can see, when you split the part the first geometry ( chariot robot - 0 ) has the complete part but no colors.


If you move this geometry to the bottom, the render order will change and the other geometries will be shown on top:
(notice 0 is now the last one)


You can merge the geometries and keep it as an object. (see attached)