Posts: 37
Threads: 11
Joined: Jun 2022
Reputation:
0
Hi,
I am trying to import some 3D object in RoboDK under Linux. No matter what I try, I get "Unknown file format" errors. I have tried obj, blend, dae, and ply files. Other things I have tried.
1) These files all open fine in RoboDK under Windows.
2) These files all open fine using MeshLab under Linux.
3) I tried exporting as "sld" in windows and then importing in Linux. This captured object geometry but the image texture was lost. The texture is important because I am using these objects alongside a simulated camera.
Thanks!
Rick
Posts: 2,123
Threads: 1
Joined: Apr 2018
Reputation:
113
The RoboDK version for Linux does not support as many formats as the RoboDK for Windows version.
One option is to open your files in the RoboDK Windows version, save them as an RDK file and you can then load them on any platform.
You can also use RoboDK for Web to load STEP or IGES files an save them as RDK files.
Posts: 2,123
Threads: 1
Joined: Apr 2018
Reputation:
113
We just updated RoboDK this week to prevent this crash. Make sure to update RoboDK to the latest version and let us know if you still have issues. You may need to load/save the files again using the latest version.
If you have any more issues it would help if you can provide the files that cause problems.
Posts: 37
Threads: 11
Joined: Jun 2022
Reputation:
0
Hi Albert,
I just tried to download robodk 5.5 for linux, but the about section still reports version 5.4.3. Or does the version only matter when I save files?
I can upload files if I continue to have issues.
Thanks!
Rick
Posts: 37
Threads: 11
Joined: Jun 2022
Reputation:
0
09-02-2022, 07:27 PM
(This post was last modified: 09-02-2022, 08:19 PM byrshanor.)
Hi Albert,
Thanks again for the help. I am able to make some more progress, I was able to save the station under windows and open it in Ubuntu.
RoboDK is still crashing on me. Crash seems pretty consistent after being open for a minute or two. I tried to run under GDB, this is the only message I see.
Program terminated with signal SIGKILL, Killed.
The program no longer exists.
Station file attached.
I ended up making my textures a lot smaller and that seems to help everything a lot.
One other bug I am hitting here, I tried to follow the example for duplicating an item using Copy / Paste, but the image texture was not preserved.
object.Copy()
object_copy1 = RDK.Paste()
object_copy1.setName('My Object (copy 1)')
Posts: 2,123
Threads: 1
Joined: Apr 2018
Reputation:
113
Copy-pasting objects with textures is not supported. We'll add support for this in the near future.
As a workaround, you can save your RoboDK station as an RDK file, manually rename it to RDKA and open it again on another project. Every time you add an RDKA file it will load the saved station inside the active station.
If you can provide the RDK file that was causing issues we can better investigate how we can prevent this crash from happening.