Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

how to embed RoboDK 3D window in PySide2 or tkinter application

#1
Hello,
I've been tasked with creating an application that uses the RoboDK 3D window.  I typically create programs using Python and PySide2 (QT for Python).  A second choice would be using tkinter instead.  YouTube shows an example of using the 3D window inside of another application using C#, but I cannot find any examples using PySide2 and Python.

Could somebody please point me in the right direction to get started?

Thanks for your help,
Henry
#2
You should be able to embed the RoboDK window the same way it is shown in the C# or C++ examples mentioned here:
https://robodk.com/doc/en/RoboDK-API.html#CsAPI

We currently do not have an example to do this using Python. Note this is platform specific.
#3
(04-01-2024, 08:58 PM)Albert Wrote: You should be able to embed the RoboDK window the same way it is shown in the C# or C++ examples mentioned here:
https://robodk.com/doc/en/RoboDK-API.html#CsAPI

We currently do not have an example to do this using Python. Note this is platform specific.

Hello Albert,
Thank you for the quick reply.
Unfortunately, documentation for C programming language isn't going to be very helpful for learning something in Python.  RoboDk seems to be heavily invested in Python and seems to use the Qt framework - so there must be some sort of examples.

Regards,
Henry
#4
You can find Python examples here:
https://github.com/RoboDK/RoboDK-API/tre...n/Examples

And you can find sample add-ins (made with Python) here:
https://github.com/RoboDK/Plug-In-Interf...oader/Apps

If you find an example with one programming language (for example C#) it does not mean you'll find the same example in another programming language (for example Python), and vice versa.
#5
I have an email that says somebody replied to this thread, but I don't see the reply.
The extremely short "summary" indicates that it might have had helpful information.  Did somebody delete this reply?

Quote:lily167 has just replied to a thread which you have subscribed to at RoboDK Forum. This thread is titled how to embed RoboDK 3D window in PySide2 or tkinter application.

Here is an excerpt of the message:
------------------------------------------
This post is replete with insightful information and valuable insights that will appeal to readers f... (visit the thread to read more...)
------------------------------------------


Henry
#6
I removed the reply because it was spam.

You can check my last reply for more information about examples.
  




Users browsing this thread:
1 Guest(s)