Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - utsoa

#1
Update > I've eliminated all versions of .NET from my system and now installed only the ".NET Desktop Runtime 8.0.15" from https://dotnet.microsoft.com/en-us/download/dotnet/8.0 to support Rhino3D along with a Registry entry per this page: https://www.rhino3d.com/en/docs/guides/netcore/  Rhino3D is up and running.

I'm using the contents of the KUKAprcGH directory copied from a system that has the KUKAprc plugin working. Now, when running Grasshopper on my system, KUKAprc IS working.

Note: .NET 7.x has vulnerabilities as pinpointed by our Information Security Office and have had to move away from it to .NET 8 which is the reason for the https://www.rhino3d.com/en/docs/guides/netcore/ page being posted. And nothing is installed in the Rhino3D PackageManager.

Proof of concept: I replaced the original three OxyPlot files within the KUKAprcGH directory with the new OxyPlot files sent earlier in this thread, which did throw the User Interface Error again. Swapping the OxyPlot files back to the origin allows the KUKAprc plugin to work.

Ok. This is where I've landed so far. Will keep you posted with any new developments.
#2
Ok. I ran the "SimpleDemo.exe" file and received a .NET v6.0 error. I installed .NET v6 and can see the OxyPlot SimpleDemo window.

Running the GrasshopperDeveloperSettings shows there are no folders in there and COFF disabled.
#3
Update > I went forward with this release https://forum.robotsinarchitecture.org/index.php/topic,1248.0.html (with no KUKA|prc showing up as installed in the PackageManager) and received a new user interface error, different from the first one. I replaced the OxyPlot files with the contents of the "OxyPlotSimpleDemo.zip", and same resulting error.
#4
Hi,
Thanks for the response. I've tried it with KUKAprc installed with the PackageManager only, and also the Component Library only, resulting in the same user interface error.

What I have setup now: 
My "%APPDATA%\Roaming\McNeel\Rhinoceros\packages\8.0" folder is currently empty. Nothing installed in the PackageManager.
My "%APPDATA%\Roaming\Grasshopper\Libraries\KUKAprcGH" folder has the list of component files.
Same user interface error.
#5
Hi,
Update> I've replaced the 3 DLLs with the ones included in your post. KUKAprc is still installed within the PackageManager and the list of files are in the "...\Grasshopper\Libraries\KUKAprcGH" folder. To test, running Grasshopper and inserting the KUKAprc Core module, then choosing the KUKA|prc Settings button shows the User Interface Error. Looking at the list of files on the https://www.nuget.org/packages?q=oxyplot I'm seeing all specify working with .NET5.0 or .NET6.0 or newer. My system is running .NET7 & 8. With Oxyplot's .NET workings, I'm wondering if that is the source of the issue (I may be reaching with that but continuing to troubleshoot). I'm able to run the KUKA|prc plugin on my test system which is running a minimum of software, and has only the .NET7 runtime which is s Rhino3D dependency. Thanks for the continued effort.
#6
Update> I've uninstalled all plugins and Rhino. Cleaned any remnants of Rhino and Grasshopper libraries, then reboot. Reinstalled Rhino and started Grasshopper. All is good. Next copied the "KUKAprcGH" with the list of files into the Grasshopper\Libraries\" folder and started Rhino then Grasshopper. KUKA|prc exists in Grasshopper as expected. When using PRC_SimplePath.3dm" and "PRC_SimplePath.gh" to test, choosing KUKA|prc Settings shows the same User Interface Error. Next I've removed the "KUKAprcGH"folder and installed only the KUKA|prc through the package manager. Restarted. Using PRC_SimplePath.3dm" and "PRC_SimplePath.gh" to test, choosing KUKA|prc Settings shows the same User Interface Error. I haven't found a combination that'll work.

I was able to install the KUKA|prc plugin on a test system which has never seen Rhino/KUKA|prc successfully and the KUKA|prc Settings works.
#7
Confirmed. The list of files below do exist in the "Grasshopper\Libraries\KUKAprcGH" folder. I did fine a few remnant files in the "Grasshopper\Libraries" folder which I have moved out. (KUKAprcCore.dll, OxyPlot.dll
, OxyPlot.Wpf.dll). Unsure of why those ended up there but are now moved. I uninstalled any/all plugins from the package manager in Rhino. Only the KUKA|prc remains and runs in Grasshopper. Using "PRC_SimplePath.3dm" and "PRC_SimplePath.gh" to test. When choosing the "KUKA|prc Settings" shows the same error. Next step for me is to uninstall all KUKA|prc and Rhino related items and start again. I have been able to get this setup running on another few systems, just not my main.

KUKAprcCore.dll
KUKAprcGH.gha
KUKAprcLibrary.dll
KUKAprcLibraryWIN.dll
KUKAprcLicense.json
Newtonsoft.Json.dll
OxyPlot.dll
OxyPlot.Wpf.dll
OxyPlot.Wpf.Shared.dll
System.Drawing.Common.dll
System.ValueTuple.dll
#8
Hi. Thanks for the reply. I've confirmed all components exist in the "C:\Users\%user%\AppData\Roaming\Grasshopper\Libraries\KUKAprcGH" directory. KUKA|prc v1.0.8810.26816 is installed and listed when looking at the PackageManager in Rhino8. So, presumably, all parts and components to run the KUKA|prc plugin are where they need to be. Loading a .3dm file with a .gh script shows the model and script as expected. When choosing the "KUKA|prc Settings" button within Grasshopper, I receive my initial Interface Error. Not sure where to go from here to troubleshoot. Thanks for working through this.
#9
Hi,
Looking at a few directories for the Oxyplot library:
Oxyplot is missing from here:
"C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components"
and
Oxyplot does exist here:
"C:\Users\%user%\AppData\Roaming\Grasshopper\Libraries"

I reinstalled KUKAprc using the "KUKAprcGH_20240325.exe" installer. I'm able to see my KUKA in Rhino, and able to slide the slider in Grasshopper to see the bot move as expected. Selecting the KUKA|prc Settings button in Grasshopper shows the "KUKA|prc User Interface Error" window.

#10
General Discussion / KUKA|prc User Interface Error
March 24, 2025, 07:51:21 PM
Hi. Looking for some guidance with resolving a "KUKA|prc User Interface Error" after installing KUKA prc for Rhino 8.x. I've searched through other topics on the forum and found one similar the .NET but not quite this one. Thanks.