of visualization as a means to convey information in the AEC industry. To complement this discussion, Dave Trautrimas will present some of his work and process, including the critically acclaimed Spyfrost Project.
Please RSVP to spm@halcrowyolles.com if you would like to attend this event.…
Ls which need to be compiled for a specific platform. Currently numpy/scipy for IronPython will only run in 32bit applications on Windows. I contacted the guys at Enthought and they do plan on releasing a 64bit version for Windows, but they want to make sure everything is working on 32bit first. They have some doubts about being able to release a mono version for you Mac guys out there.
2 – Install numpy/scipy for IronPython Follow the instructions on this site http://www.enthought.com/repo/.iron/
3 – Modify settings in RhinoPython Start Rhino 5 – 32bit version and run “EditPythonScript” to bring up the editor. Go to the options dialog by selecting Tools->Options from the menu
Add site-packages and DLLs to the search paths (see image). This helps RhinoPython find the numpy/scipy packages and associated DLLs.
Check the “Frames Enabled” option since numpy/scipy requires this to be turned on.
I decided to make the “Frames Enabled” an optional engine feature since it does have a performance impact on scripts. Numpy/scipy requires this feature to be turned on.
4 – Run a test
# For now, we need to manually load mtrand before using numpy or scipy# I'm still trying to figure out why mtrand is not automatically getting# loaded when numpy/scipy imports it. If I can fix this, we won't need# the following two linesimport clrclr.AddReference("mtrand") import numpyimport rhinoscriptsyntax as rs x_coord = [ 0, 1, 2, 3, 4, 5, 6]y_coord = [0.0,0.1,0.5,2.5,2.5,2.5,4.0]xyz = zip(x_coord,y_coord,[0]*len(x_coord))rs.AddPoints(xyz) degree = 5eq = numpy.polyfit(x_coord, y_coord, degree)fitfunc = numpy.poly1d(eq) fit_points = []for i in range(61): x = i/10.0 y = fitfunc(x) fit_points.append((x, y, 0))rs.AddPolyline(fit_points)
If you get a polyline in rhino fit through a series of points then you are all all set; if not go back to step 1 and repeat.
This looks like a good place to start if you want to learn more about numpy/scipy
http://docs.scipy.org/doc/…
t of developable surfaces. Kangaroo has some recent developments on that front but there have been many discussions and components put out there.
http://www.grasshopper3d.com/group/kangaroo/forum/topics/new-tutori...
…
5 as indexes to list out them:
Or, even simpler, create random values in a shorter domain, and after "split and diverge" values to skip 0.
All values under 0 will remain the same (false = +0) while values above 0 will be "shifted up" by +1(true), reaching your domain length wanted:
…
lue addition
2. the t-domain: a curve or surface point could be described by their parametrical values
so a curve starts at the t-value 0 and ends with 1 if it is reparameterized (otherwise the t-domain is set by their length) for surface which need a second value it is described through their u,v values (x,y,z = u,v,w values of the domain)
3+4.i get the multiplicator which i need to calculate the t values for the new points
5. look @2
6. most of the time it is better to work with the parametrical values of a curve (t-value)
according your ghx it could be set up much easier but i didn't want to change the whole file to screw you completely…