Hi Team!
I tried to implement a gumball in grasshopper as an exercise with relatively successful, it’s not perfect, it has some bugs and strange things in out-of-core issues. The code is available on[ my account of github] (https://github.com/DanielAbalde/GhGumball) and you can donwload the .gha here.
The issue is that I have some questions about the gumball, because I have to implement it for a real project, or perhaps I should make one from scratch. I hope someone can answer my questions.
-
What is the reason for dividing the object in four different classes? GumballAppearanceSettings, GumballDisplayConduit, GumballObject, GumballPickResult. It is preferable to do, for example, implement any of them in custom classes? or what is the reason? They can be used separately? Honestly, it seemed me a real puzzle.
-
It is possible to know the algebra of the rhino transformations? Is there any reference? or is only available via openNURBS code?
-
The current version allows us to move a transformation? I mean, I do for example a rotation at a point in the space, it is possible to remap the transformation to a different point of the space? This I think would be very useful for themes of inverse kinematics, robots and stuff.
-
If I turn off the TranslateXY, YZ, ZX options of GumballAppearanceSettings, do not let me drag gumball from the plane, as expected, but the planes are not hidden. It may be a bug, I had to give size 0 to hide them.
-
It may be my fault, but I have not seen a difference in the 3 states of FreeTranslate, nor have understood its description in the SDK.
-
I have seen strange things using the native gh Gumbal (of point component) with the mine, as if they somehow were mixed. Right now I could not repeat the bug, but the question is, the conduit display makes each source are in different instances? or all the displays are in the same field? Excuse the question, xD, I remake, do you recommend me some reference to understand how the display works? beyond this.
-
The most important question. I have to implement a gumball which has many restrictions, for example, can only rotate on the x-axis in certain grades. I want to see the available angle, ie looks differently at current gumball. The transformations will be individual and in chain. What do you recommend? I design my own gumball inheriting existing classes? or should I do it all from scratch? I have nothing clear how should do. Any expert advice will be very grateful.
Thanks!