Unity3D User Interface
I'm working on big CNC machine right now and I want build control system on linuxcnc, but I want special user interface with high interactivity and special features relative to machine behavior. I start reading linuxcnc documentation because of I', noob here. I'm reading documentation about custom UI, and what I undertand at this moment:
Python interface it's new approach for UI command level building, but I have gap in knowledge how to build visual drawing of curves of g-code operations, because I can't find any commands for getting array of points and current interpolation.
I have idea creating UI on Unity3D game engine (C#) and native plugins on C++ (integration point).
Where can I read about this operation planner for UI developers?
Thanks.
Please Log in or Create an account to join the conversation.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Tp_Notes
looks very interesting ...
I will try to build concept design and show screen or videos what I have.
Please Log in or Create an account to join the conversation.
github.com/LinuxCNC/linuxcnc/blob/master...ensions/emcmodule.cc
pyPositionLogger()
reads position/gcode and converts them to openGL drawing commands.
after that code here:
github.com/LinuxCNC/linuxcnc/tree/master/lib/python/rs274
is the library used to display the code.
Gremlin here:
github.com/LinuxCNC/linuxcnc/tree/master...emc/usr_intf/gremlin
is an example of actual display
There is more to it but I'm not sure I am right about what you are asking.
Please Log in or Create an account to join the conversation.
But for Unity3D I should thinking about architecture and I want realize something like REST/SignalR service for messaging between linuxcnc core (C++) and Unity3D (C#). Or maybe I can create something like .dll for linux and compile it in linuxcnc core and use external. Or maybe IronPython and mono paltform ...
Please Log in or Create an account to join the conversation.
Would this UI be purely for your own use? LinuxCNC already has rather too many dependencies, so I suspect there would be resistance to adding C# or Unity3D to the official release.
Please Log in or Create an account to join the conversation.
About Unity3D and C#.
Now I have Idea to build separate 3D application on Unity3D and connect it to linuxcnc core for this case I will create fork on github and experiment with IPC (NML or dBus). My Idea starting 2 applications:
1) Linuxcnc
2) Unity3D GUI
but it's theory, I bought PC yesterday, and created flash stick with Debian "Stretch"
About UI
My idea is creating very interactive shader based 3D UI (maybe with cloud service integration). As you know Unity3D team working on supporting linux, and I check how it works (it is my point of interest) For solve this task I bought middle tier AMD Radeon Video Card
If someone help me understand "best practice" IPC solution around linuxcnc it will be awesome.
Please Log in or Create an account to join the conversation.
Something like DLL..., you are completely new to Linux, aren't you?(...)Or maybe I can create something like .dll for linux and compile it in linuxcnc(...)
LinuxCNC is not one process. It is actually multitude of processes all more or less using some form of IPC. For AXIS-like GUI (the thing which is for majority THE LinuxCNC) you will need to connect to NML. (Of course if you plan to completely rebuild it, then sky is your limit.)(...)Now I have Idea to build separate 3D application on Unity3D and connect it to linuxcnc core for this case I will create fork on github and experiment with IPC (NML or dBus). My Idea starting 2 applications:
1) Linuxcnc
2) Unity3D GUI(...)
Please Log in or Create an account to join the conversation.
1) debian 9 installed
2) ati driver installed (login screen broken )
3) Unity3D installed
4) HelloWorld cylinder with animation created
5) Unity3D project exported as mono application and it's working
6) Start installing linuxcnc and detected that debian 9 is unsupported
7) debian 9 removed by hard drive formatting
8) linuxcnc livecd with debian wheezy downloaded
9) flash stick prepared.
LinuxCNC is not one process. It is actually multitude of processes all more or less using some form of IPC. For AXIS-like GUI (the thing which is for majority THE LinuxCNC) you will need to connect to NML. (Of course if you plan to completely rebuild it, then sky is your limit.)
How many processes "linuxcnc core" contains except GUI?
I did some projects for linux 10 years ago for FreeSWITCH VoIP (C# and C++ plugins), noob but not complete Today I spent a lot of time to issue with unity package, because I can't start it, and after investigations I found magical checkbox "run as software" ... ...Something like DLL..., you are completely new to Linux, aren't you?
next step is installing "right" debian and linuxcnc binary package and check how it works ->
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
- Posts: 1437
- Thank you received: 570
forum.linuxcnc.org/9-installing-linuxcnc...cnc?start=130#159301
It's a pretty complete package running on Mint.
Please Log in or Create an account to join the conversation.