That’s great! Thank you Ehsan. Any eta on that wip?
Meanwhile, we have managed to get pandas working on windows by arranging the requirements in a specific order and adding a locale.setlocale(locale.LC_ALL, 'en-US.utf8') before them at the very top. We remove the requirements for the actual code to prevent gh from updating them, but the setlocale call is still required to correctly import pandas on windows.
We still get a hashtable error sometimes when calling pandas, but this is random and goes away with a rhino restart.
… this topic is quite long - sorry if i missed something.
I really love powerful code hints / autocomplete / “intellisense”.
(I know not all coders / developers do)
I wish:
(1)
while typing, the suggestion-fly-out should (graphically) differ between properties and functions and maybe enums. not only showing (abc) and the violet wireframe dice.
A simple example is Curve.GetLength() - vs. Polyline.Length it would be great if the editor supports more infos here. (function vs property)
(2)
some short info on constructors, function-parameters and return values would be very helpful. The old phyton editor has this in the output field. (do i miss something ?)
(3)
speed - sometimes code-suggestions are quite slow.
import Rhino.Geometry as rg
rg. ....
sometimes takes quite long, even if it worked fast a few lines before
although I’m too late in this party, I was wondering if there is a help feature in the output window, like the old python editor. this can be a huge deal for noobs like myself who try to learn by trying.
Otherwise, I really like the direction of this new editor.
I absolutely love the script editor in Grasshopper for Rhino8WIP, just saying…
I can translate all my old math and computer textbooks into 3D parametric models in grasshopper with 50 lines of python 3 NUMPY and Rhino Common API all generated in seconds with gpt-4 with minimal debugging. I am posting all my work in live YouTube videos and distributing all the files on my domain.
PM me if you are interested. I can’t wait to push the maths into pandas and more complex python libs this fall.
Machine Learning and Data Visualization can be so intuitive with grasshopper and rhino!
@mwickerson I have been following your YouTube Thanks for the kind words. Next WIP is getting a massive editor update that would make the editor control much snappier and faster ()
That is great news, I waited 25 years for this type of visualization tools for pure math and computers. I feel like things are finally falling into place for my computational mind. I hope to be of some use for others wanting the visualize mathematics in the wonderful 3D world that Rhino can create!
I am honored that you have had a look at what I have been up to this summer.
Here are a few of my recent screen shots of CLEAR, CONCISE, COGENT, INTELLIGIBLE, AND WELL COMMENTED .gh files utilizing the single python 3 script edit node in Rhino8WIP.
This has really cleaned up my act, my video tutorials are getting organized and people are starting to take note of my 5 years of chaotic learning thanks to this new version of Rhino.
Thank you, I hope to add some needed material to computational design with Grasshopper, Python, and Rhino.
You’ve been an immense resource. I’ve always had difficulty grasping math in school due to lack of visual learning examples. I really enjoy you testing things out computationally and visually. Much easier for me to grasp the concepts. Thanks for sharing!
I honestly think I would have stayed in math and computers at Waterloo University in the early 1990’s if I had a personal computer in my dorms. The tech makes it all possible now to visualize everything. My gpt-4 scripts are now writing scripts for me to “toggle” my complex numbers on and off to reach into new dimensions. It is endless and mind-boggling! Best, Michael Wickerson
created from one trig polynomial that it’s first and second derivatives:
PARAMETRIC
f_values = a * np.sin(b * x_values) + c * np.cos(d * x_values) + e * x_values2
df_values = a * b * np.cos(b * x_values) - c * d * np.sin(d * x_values) + 2 * e * x_values
d2f_values = -a * b2 * np.sin(b * x_values) - c * d**2 * np.cos(d * x_values) + 2 * e
In the September 9 update version, after running the code in the template shown below, the program does not respond.
I suspect it has something to do with network connectivity
Interesting. Does this happen every time? Would you be able to install numpy using pip install numpy on the terminal on windows machine? Thanks for helping me figure out where the problem is