Third-party IDE.


https://forum.reallusion.com/Topic398965.aspx
Print Topic | Close Window

By dogged2003 - 6 Years Ago
How and which IDE can we use for Python in iClone?
How to set up a third-party IDE to see iClone objects?
Can I set up debugging?
Thank.
By wires - 6 Years Ago
Read this post for the answer.
By dogged2003 - 6 Years Ago
I read that RL is not ready.
I'm not in the subject with Python yet.
But there were options, headers of procedures, objects, variables, IDE can be taken from a DLL or other files?
By RobertoColombo - 6 Years Ago
Hi,

Python API, if I well understood the doc after a preliminary reading, is based on pyside2, which wraps Qt libraries and framework.
For the Qt GUI, there is an UI Designer tool on the Qt website.
There is also an IDE on Qt, including an extension for Visual Studio (but only for Express version),
Therefore any development that does not touch a RL native object can probably be done with those tools.
That may sound limiting but it depends on the type of plug-in and how much intelligence/processing is located "outside" of iClone assets.
Instead as soon as the code interacts with RL native objects (which means it is executed within iClone), then we have only an output console.

Regarding the integration with non-python libraries, there is the "shiboken" wrapper library that is used to connect iClone internal objects to the Python engine but probably also to connect non-Python code ro the Pythin engine.

Cheers

  Roberto
By animagic - 6 Years Ago
This came recommended as IDE: https://visualstudio.microsoft.com/vs/features/python/.
By luke (RL) - 6 Years Ago
animagic (12/25/2018)
This came recommended as IDE: https://visualstudio.microsoft.com/vs/features/python/.

thank you animagic, team discuss your request and decide to try it in days, any update will let you know.
By lkelemen - 6 Years Ago
do you know what is the difference between visual studio community edition and visual studio code?
By jlittle - 6 Years Ago
lkelemen (12/27/2018)
do you know what is the difference between visual studio community edition and visual studio code?

What is the difference between VS Code and VS Community?

Visual Studio Code is a streamlined code editor with support for development operations like debugging, task running and version control. It aims to provide just the tools a developer needs for a quick code-build-debug cycle and leaves more complex workflows to fuller featured IDEs.

Basically VS Code is for more hardcore/serious programming.

Check HERE for a comparison chart.

Jeff

By RobertoColombo - 6 Years Ago
I would rather say: Visual Studio Community is FREE, others are not.
I think for most of us here is enough in terms of differences BigGrin
By lkelemen - 6 Years Ago
VSCode is free and open source and runs on linux too.
https://github.com/Microsoft/vscode

it has python extension

https://code.visualstudio.com/docs/languages/python


VS comm ed. is not open source
By Data Juggler - 6 Years Ago
jlittle (12/27/2018)
lkelemen (12/27/2018)
do you know what is the difference between visual studio community edition and visual studio code?

What is the difference between VS Code and VS Community?

Visual Studio Code is a streamlined code editor with support for development operations like debugging, task running and version control. It aims to provide just the tools a developer needs for a quick code-build-debug cycle and leaves more complex workflows to fuller featured IDEs.

Basically VS Code is for more hardcore/serious programming.

Check HERE for a comparison chart.

Jeff



You said it completely backwards. VS Code is for people that want a web based browser environment to run a piece of code, but they don't need a full fledged IDE like Visual Studio installed on their machine.

Your comparison chart that you posted a link to, is for the different version of Visual Studio. I use Visual Studio Community because it is free, and there are not too many features I miss from the Pro and Enterprise versions (CodeLens being the only one).

As for "hardcore programmers", Visual Studio is the most advanced application on planet earth that is not an operating system. Visual Studio can program in virtually any language, and SQL Server is built using Visual Studio shell.

Once I even had a corrupted Word document that wouldn't open with any version of Word from 97 to 2016, yet Visual Studio opened the file, and then shelled out Word 2016 and the file opened. 





By The-any-Key - 6 Years Ago
Instead of downloading GB of data to use the QT Designer. I would suggest this: https://build-system.fman.io/qt-designer-download

To make it work with iClone you just copy one of the sample UI files: https://github.com/reallusion/iClone/blob/master/BatchRenderFolder/BatchRender.ui
Save it as ex test.ui
Open it in QT Designer and edit is the way you want
Use it in your python plugin
By rdman - 5 Years Ago
dogged2003 (12/25/2018)
How and which IDE can we use for Python in iClone?
How to set up a third-party IDE to see iClone objects?
Can I set up debugging?

You can use VisualStudio Code with Python extension, PyCharm or any python dev tool you like as IDE.
In order to debug the code, my suggestion is to use remote debugging, for example, use ptvsd for remote debugging with VisualStudio Code
This is the best reference I found
By dogged2003 - 5 Years Ago
rdman (1/3/2019)
You can use VisualStudio Code with Python extension

will try
By dogged2003 - 5 Years Ago
rdman (1/3/2019)
You can use VisualStudio Code with Python extension

Cool! w00t

By dogged2003 - 5 Years Ago
How I set up environment for the debugger for iClone and Visual Studio Code (The text description is attached to the video on YouTube.):

By RobertoColombo - 5 Years Ago
Great!
Thanks a lot for the video: now I can debug with VS Code Smile

  Roberto