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 - luie.fr

#1
Hi,

Thanks for your answer,
I will reply again by email to let you know with wich institution i am.
Best
#2
Hello,

Thank you, this was an easy fix in the managing assemblies of the C#component. I saw that my paths to the 2 .dll files were corrects (when i changed the path to the library) but indeed the KUKAprcGH.gha file was still with you as a user.

But i still have some errors comming out of my C#Script :

 "Error (CS0012): The 'System.Object' type is defined in an assembly that is not referenced. You must add a reference to the 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' assembly (line 61).
Error (CS0012): The type 'System.Collections.Generic.List`1<T0>' is defined in an assembly that is not referenced. You must add a reference to the 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' assembly (line 62).
Error (CS0021): Impossible to apply indexing using [] to an expression of type 'System.Collections.Generic.List`1<KUKAprcCore.PRC_Classes.PRC_ExtAxData>' (line 62)
Warning (CS1701): Assuming the assembly reference 'Grasshopper, Version=1.0.0.20, Culture=neutral, PublicKeyToken=dda4f5ec2cd80803' matches 'Grasshopper, Version=7.36.23346.16351, Culture=neutral, PublicKeyToken=dda4f5ec2cd80803', you may need to provide a runtime strategy
Warning (CS1701): Assuming that the assembly reference 'RhinoCommon, Version=5.1.30000.17, Culture=neutral, PublicKeyToken=552281e97c755530' matches 'RhinoCommon, Version=7.36.23346.16351, Culture=neutral, PublicKeyToken=552281e97c755530', you may need to provide a runtime strategy."

Do i have to add some references in the managing assemblies of the C# script component to solves these errors?

I haven't changed anything yet in the C# script you provided.

Best regards
#3
Thank you again for the dkp orientation, I managed it successfuly !

For the custom table I have more questions. My C#script component present the error : Error (CS0246): The type or namespace name 'KUKAprcGH' cannot be found (is a using directive or assembly reference missing?) (line 13).
What do i have to do to solve this ?
For information, i am using Rhino 7 and I already changed the library at the beginning.

Best
#4
Thank you very much for your answers and exemples files !
I am looking into it and will be getting back to you.

Best regards
#5
Hi everyone,

I'm currently working on a project where I need to synchronize a KUKA robot with a DKP400 turntable in Grasshopper. My goal is for the robotic arm to move with its tool always vertical, following a trajectory based on a reverse L-shaped pipe (and hopefully more complex shapes in the future). Here are the details of the setup and the problem I'm encountering:

Setup:
- The curve is an L shape:
  - Starts from (0,0,0) to (0,0,400).
  - Then from (0,0,400) to (0,400,400).
  - These two lines are joined by a fillet of 50.
- I've divided the L curve every 6 mm and created Pframes.
- Created a pipe and sectioned it with the Pframes.
- Aligned curve seams, opened the curve, and divided the open curves into smaller segments.
- Retrieved the Z value from the Pframes to create new planes.
- Aligned these new planes with the X vector, deconstructed the planes, and created new planes with the origin and Y vector only.
- Performed the linear movements that result in the command for the robotic arm and DKP400.

Goal:
- The robotic arm and turntable should follow a trajectory around the pipe from bottom to top.
- The turntable remains still for the first part.
- At the bend, the turntable rotates 90 degrees around the world Z-axis.
- The turntable tilts following the bend to end up being tilted at 90 degrees around the world Y-axis, allowing the last part to be done vertically.

Problem:
- I can currently achieve this by setting the dynamic value by vector in the external kinematics, rotary axis value, at x=0, y=1, and z=9. These values were found by trial and error (and i am not sure i really understand how it works).
- The issue is that the tool is not always vertical, and I still receive a yellow warning: "The toolpaths contain possible singularities that can lead to excessive axis speed. Proceed with care."

Question:
1. How can I achieve my goal of keeping the tool always vertical throughout the entire trajectory ?while tilting and rotating the table, and eliminate the yellow warning correctly? Please tell me  if you have a better way to do this.

Additional questions :
2. By dividing the curve as I did, I encounter a "pinch" effect at the bend. The distance between two planes is shorter on the internal angle than on the external angle. I would like to correct this and have thought about using the geodetic method with a sphere (useful for non-planar surfaces) to maintain a consistent distance between section points. How can i do this.

3. While I am currently using the DKP400, I will need to replicate this with a custom turntable. In reality, I have a custom turntable with KUKA motors. How should I approach this in Grasshopper?

Additionally, I will replicate this setup with a second curve, which is a reverse L with another 90-degree bend.

Thank you for your help!