Search
  • Sign In

Grasshopper

algorithmic modeling for Rhino

  • Home
    • Members
    • Listings
    • Ideas
  • View
    • All Images
    • Albums
    • Videos
    • Architecture Projects
    • Installations
    • Add-ons
  • Download
    • Rhino 7 w/Grasshopper
    • Add-ons
  • Forums/Support
    • Current Discussions
    • Legacy Forum
  • Learn
    • Getting Started
    • Online Reference
    • API documentation
    • Video Tutorials
    • Common Questions
    • Scripting and Coding
    • Books and Articles
  • Attend
  • My Page

Search Results - 📍能量/trx闪兑📍自动trx兑换机器人👉【TG:@trxHomeBot】,metamask收币.x

Comment on: Topic 'GH Matrix to Numpy Matrices and backwards, how can I convert them?'
nthought.com/repo/.iron/ 1.) IronPython Download and install IronPython 2.7, this will require .NET v4.0. 2.) Modify PATH Add the install location on the path, this is usually: C:\Program File\IronPython 2.7 But on 64-bit Windows systems it is: C:\Program File (x86)\IronPython 2.7 As a check, open a Windows command prompt and go to a directory (which is not the above) and type: > ipy -V PythonContext 2.7.0.40 on .NET 4.0.30319.225 3.) ironpkg Bootstrap ironpkg, which is a package install manager for binary (egg based) Python packages. Download ironpkg-1.0.0.py and type: > ipy ironpkg-1.0.0.py --install Now the ironpkg command should be available: > ironpkg -h (some useful help text is displayed here) 4.) scipy Installing scipy is now easy: > ironpkg scipy numpy-2.0.0-1.egg http://www.grasshopper3d.com/forum/topics/scipy-and-numpy The issue is that ironpkg cannot access the eggs because this also requires authentication. The reason you were able to install ironpkg (you'll see an egg file was created) is due to that fact that the egg data was in the install file ironpkg-1.0.0.py (see b64eggdata in the file). 1. The installation eggs are located here: https://store.enthought.com/repo/.iron/eggs/  2. Download the eggs and change to your local directory where you download them 3. Run this script in the same directory:          https://gist.github.com/blondegeek/2dbc22360422d0c4b637    as:          ipy IronPython_numpy_scipy.py --install 4. Test with:          ipy -X:Frames -c "import scipy" …
Added by Apfelbaum at 10:00am on March 4, 2017
Topic: Galapagos - Multi fitness
th Galapagos and that I'm already accustomed with mass addition of the fitness. But this can't solve my current problem. I'll tried to explain the best I can. Goal : I have a tower façade to cover with modules. Each floor is divide with a radiant structural grid. Let say for the exemple that each floor is divide in 9 parts. I want to put modules on each parts in order to cover the whole length. The thing is that each floor is different (so finding the solution for one floor is not usefull). So we decide to use three kinds of module : Module A is 793mm long. Module B is 893mm long Special module as a size between 0.714 and 0.872. Each part of the façade must be completed with 0 to 10 Module A, 0 to 10 Module B and 2 Special Modules. Special module size can change for each part. Solution for one part I've realized a Galapagos solution which change these tree parameters (number of Module A, number of Module B and size of Special module) in order to minimize the difference between the total length of the modules and the length of the façade's part. This is working very well. Solution in Grasshopper : Before runing Galapagos : After runing Galapagos : The problem I've now to generalize the idea for the total number of parts. In my exemple now, I'll show 9 parts but the real number is several hundreds. I changed the Number Sliders in Gene Pools. As for instance, the first Gene Pool contains 9 integers for the 9 numbers of Module A (one number for each part). I used Mass Addition for the fitness. And then you can guess the problem : basicaly, the solution is working. But it's very slow. I need so many time fort 9 parts that I can't imagine the time for the whole tower. Why this ? Simply because Galapagos doesn't understand that the number of Modules A for the Part X has no influence on the Part Y. So it tries, for each part, to change every paramater (3x9 in my exemple) unless to change only the three paramaters wich affect each part. Thus, with a large number (600-700) of parts, it's impossible to reach the beginning of a solution. Is there someone here to help me ? Please ? :) Thanks in anticipate, Marc Architect and structural engineer http://parametriclab.eklablog.com/…
Added by Marc at 8:52am on May 11, 2015
Topic: Providing memeber cross section in karamba and comparison of modelled results with actual strucutre.
ss section 40mm x 40mm. Can someone please check if the section provided is correct or not? 2. I have designed the gridshell (bending active) with welded members (discontinuous), but in actual condition the members would be continuous and connected by a scissor type joint which would perform as hinge joint during assembly and as fixed joint after the structure is erected. Can someone check if this analysis in karamba with welded members can be considered as an approximation of actual structure? Thank you…
Added by Anand Shah to Karamba3D at 10:01am on January 15, 2018
Topic: Thicken a network of lines with specified half section
mainly quads and sometimes triangles if some lines are not connected. As half sections are quite whatever you want it could be possible to make watertigh model with some smooth exterior and with interiors fins in order to have a better rigidity and a low weight. The script provided contains many examples of use.  As inputs  Necessary * Points (P) * Connection between points (LP) * Point to points connection (PP) * and a minimum one width (WidtsAtPoint), or a width (radius) for each point.  Optional * NormalsAtPoint, you could provide one normal per point in order to orient sections * Number of sections is the number of sections used to generate the mesh (minimum 2) * Striction a numeric value between -3. and 3 used to modify striction of nodes * The sections definitions is given through to same size list of double    * Lateral coordinates : first and last lateral coodinate must be 0.0 for watertight mesh   * Height coordinates Output : * Many meshes which could be joined P/LP/PP comes from topology of network, you could use SandBoxTopology plugin or mine component …
Added by Laurent DELRIEU at 6:32am on May 7, 2016
Blog Post: Start point and curve





Added by zlyx at 4:22am on July 20, 2010
Topic: Proposal for future GH updates
.! Feel free to ignore them, or to remove this thread. They are just a couple of thoughts: 1st idea: It would be great to right click on a slider and reset it to a "original" value (maybe just a click on a little icon next to the name, so it is even faster).This can be handy when using Galapagos, as all the sliders gets changed...and the fastest way I found so far to reset them is to close and open the GH file.But I bet as Galapagos is so new... well... maybe this is something you already thought about! 2nd idea: Having parametric sliders (with inputs).Imagine you want a slider to vary from x to y... now you have to type in the values. It would be good to set set x and y with inputs. This is actually very useful using Galapagos, but quite useless in all the other cases... Probably than the best way to do this is to add a feature in Galapagos to use domains as inputs... but I read somewhere that you are working on this already! 3rd idea: Change the value (or range) of multiple sliders.Imagine you want all the sliders you have to be =2... and imagine to have 20 sliders... if you select them and right click on one, it will only change that one. (not the selection). Would be good to edit a selection. (or maybe there is a way and I don't know it?) ---- Well, don't know if that will help somehow, but they are just thoughts! ;) Thanks if you will consider them!!! Compliments again for the incredible hard work on GH! Cheers,Fil…
Added by Filippo Ferraris at 7:27am on November 6, 2010
Topic: Newb Question
rm. Im guessing this is not what is referred to as a "plug in".   I can access and retrieve an existing Rhino application object, or create a new one, from my form. However, when I try to interact with Rhino in any any way through using my own functions defined in a class library (.dll), and using fucntions stored in the RMA library, I keep hitting a brick wall. I just cant get it to work.   As a test, see code below, I have a console application that is calling a Class1 object (referenced as an extenal dll) that  simply assigns a value to the x property of this object. Im usng the On3Dpoint object.   This simple instruciton causes an error message that is being duplicated in my more complicated project. I belive the Rhino_DOTNET.dll is up to date. Im targeting the .NET 2.0 frame work. Using Rhino 4, SR8. Note this is a very basic test just to see if it is the reference/compiler/other settings that are causing the probelm. Im not interacting directly with Rhino, just testing to see if I can call functions from the referenced RMA libraries etc. It appears I cant :(   This is the class1 code:   Public Class Class1 Sub test() Dim oPt As New RMA.OpenNURBS.On3dPoint oPt.x = 10 Dim btest As Boolean = False End Sub End Class   This is the console code   Module Module1 Sub Main() Dim oClass As New Class1 oClass.test() Dim bTest As Boolean = False End Sub End Module       The error message I get is   Could not load file or assembly 'Rhino_DotNet, Version=4.0.61206.14, Culture=neutral, PublicKeyToken=552281e97c755530' or one of its dependencies. An attempt was made to load a program with an incorrect format.     HELP!!!      …
Added by Steve Lewis at 12:11am on April 11, 2010
Topic: Karamba Modal Analysis
ponse Factor (dynamic serviceability criteria) for structures such as office floors which are often governed by dynamic considerations and sensitivity to accelerations.  This response factor calculation node is then used in an optimisation loop (Hoopsnake) along with a Eurocode section sizing node to determine required sections from a standard database for a given geometry, support, and loading condition.  We have done some work with the new version of Karamba and have a few questions regarding the eigenvectors and the normalisation thereof.      You have mentioned that the eigenvectors in Karamba are scaled to unity with respect to the mass matrix.  In other words the eigenvectors form a mass orthonormal set, i.e. for mode r, the modal mass = [eigenvectorr]T . [mass matrix] . [eigenvectorr] = 1. As you also mentioned, this implies that the length of each mode’s eigenvector = 1/Sqrt(m*) where m*  is the modal mass in that mode.  We have taken your modal analysis example and re-analysed it in Autodesk Robot to compare results.  I have used a consistent mass matrix to calculate the results (I assume Karamba has used a lumped mass matrix for computational efficiency?).  The results (frequencies, mass-normalised eigenvectors, modal masses, and mass participation factors) of this analysis are shown below: mX,mY,mZ are the modal masses of the current mode calculated assuming unity-normalised eigenvectors (if they were calculated with mass-normalised eigenvectors, all of the modal masses would of necessity be 1). miX,miY,miZ are the nodal modal masses (∑miX=mX) Cur.mas.Ux gives the mass participation (%) of the current mode. Modal mass and participation coefficients are calculated in Robot as described in this link.  Dynamic analysis methods used by Robot are presented here – I used the subspace iteration method for the results above (but all methods give almost identical results as long as enough modes are calculated).     The above analysis shows a modal mass mY=40.5 kg (½ of the total mass) for the first mode.  This result satisfies the basic theory: for mode n of a uniform simply-supported beam of span L and mass/unit length m, the (unity-normalised) mode shape is given by ɸ = sin (nπx/L), and the modal mass M* = m*Integral(Sin2(nπx/L),dx,[0,L]) = 0.5*m*L.  In discrete form this is M* = ∑Mi*ɸi.         I attach a slight modification to your modal analysis example where I have attempted to back-calculate the modal mass from the length of the eigenvectors output for each mode.  This seems to return low modal masses less than 1 – I was expecting them to be one (as the Karamba eigenvectors I am back-calculating from are mass-normalised).  Would you be able to shed some light on this? I also attempted to calculate the eigenvectors and modal masses in Karamba for the same 10m long beam, but with a 1000kg point mass at the centre of the beam, so I could compare the simpler three modes of that nodal mass with Robot.  However I could not set the density of the beam to zero hence could not get pure modal results for the point mass.  Should this be possible?         We also had a couple of requests (some already mentioned by email): Is it possible to expose the eigenvectors as actual vectors at a requested number of divisions along each bar, similar to the section forces? Is it possible to allow us to specify to Karamba which directions the mass is activated in?  For example, for a floor structure you are often only concerned with the modes activating mass in a vertical direction, as one is aware that a composite topping will restrain the beams laterally and torsionally.  This would not need to take the form of an additional node, but simply X-Y-Z radio boxes similar to the supports component.  This could either be an implementation of a solution to the reduced dynamics problem in the selected direction, or simply cull out all modes which had mass participating in directions not selected (using for example the participation factors described below).  The first option would be more technically accurate, as most structural systems are coupled. I understand modal masses can be scaled arbitrarily and do not necessarily have any direct relationship to the real structure mass (they can be scaled).  However one particular scaling of them is useful, often known as the ‘effective modal mass’.  This is the set of modal masses which add up to the total mass and are directly related to the Modal Participation Factors (see e.g. Clough & Penzien pg. 308 or the link below).  Can these factors for each mode be calculated as well in Karamba?  This is useful for determining how ‘important’ each mode is and how they contribute to the dynamic response of the structure. This link describes well the calculation of effective modal masses and the modal participation factor.   Thanks again for Karamba - it is an extremely useful tool! Kind regards, Luke…
Added by Lucas Epp to Karamba3D at 5:07pm on January 21, 2012
Topic: voronoi_drilling
me logic produced by running the 2-d voronoi component. From a given set of polylines we can extract the centers and this can drive both the voronoi component as well as provide the XYZ drill points for the cnc. The definition has a variety of different options. You need Lunchbox, Weaverbird, and Starling. I can't tell you how amazing these 3 tools are from a design perspective. They are extremely powerful so if you don't have these you must install them asap. You can get the tools at http://www.food4rhino.com/ This definition works by first choosing a grid type, next you choose voronoi type, and subdivision type. From the voronoi type list you can choose basic (just grid), truncation (uses truncation calculated via the image sampler), truncation dual (uses the dual of the truncated image based grid), and subdivision (takes the basic grid type and uses different subdivision shcemes). Each of these provide different patterns of polylines from which we can extract our drilling points. I am rather proud of this definition since the overall idea is one which is so simple it's easy to overlook - the idea that drilling with a ball end mill makes voronoi plots. Now when you combine that with all of these amazing tools it can go off right quick. The nice thing is the paatern you see on screen is the pattern that gets made by drilling wysiwyg cnc patterns. VORONIO_DRILLing.gh Here are some on screen patterns in process in the following order truncation, basic, subdivision: here is a video moving over a machined example:  …
Added by machinehistories at 5:07pm on May 8, 2013
Topic: Python in Grasshopper: Mapping Buildings onto grasshopper built topography #urgent
o my python component returning null despite running fine in the standalone python editor (i.e.: not through grasshopper).The original python script is as follows: import randomimport rhinoscriptsyntax as rsrs.EnableRedraw(False) def placeBuildings(curve, distance): pts=rs.DivideCurveLength(curve,5) counter=0 for myPoint in pts: counter=counter+1 #get the parmeter f current positision param=rs.CurveClosestPoint(curve,myPoint) #get teh tangent of this parameter tangent=rs.CurveTangent(curve,param) #calculate the angle of the tangent angle=rs.Angle((0,0,0),tangent) randomNumber=random.uniform(1,5) heightOfBuilding=random.uniform(4,40) rect=rs.AddRectangle(rs.WorldXYPlane(),randomNumber,2) rs.MoveObject(rect,(0,randomNumber,0)) hull=rs.ExtrudeCurveStraight(rect,(0,0,0),(0,0,heightOfBuilding)) rs.RotateObject(hull,(0,0,0),angle[0]) rs.MoveObject(hull,myPoint) #if counter%4: #rs.AddCircle(myPoint,3) #selection of curve#curveParameter=rs.GetCurveObject("sel curve")#curve=curveParameter[0] curves=rs.GetCurveObject("select streets",4)distance=rs.GetInteger("distance?",4)for curve in curves: placeBuildings(curve,distance) rs.ReverseCurve(curve) placeBuildings(curve,distance) When placed in grasshopper it is the following: import randomimport rhinoscriptsyntax as rs #randomNumber=random.uniform(1,5)#rs.AddCircle((0,randomNumber,0), 2) def placeBuildings(curve, distance): pts=rs.DivideCurveLength(curve, 5) counter=0 for myPoint in pts: counter=counter+1 #get the parmeter f current positision param=rs.CurveClosestPoint(curve,myPoint) #get teh tangent of this parameter tangent=rs.CurveTangent(curve,param) #calculate the angle of the tangent angle=rs.Angle((0,0,0),tangent) randomNumber=random.uniform(1,5) heightOfBuilding=random.uniform(4,40) rect=rs.AddRectangle(rs.WorldXYPlane(),randomNumber,2) rs.MoveObject(rect,(0,randomNumber,0)) hull=rs.ExtrudeCurveStraight(rect,(0,0,0),(0,0,heightOfBuilding)) rs.RotateObject(hull,(0,0,0),angle[0]) rs.MoveObject(hull,myPoint) #selection of curve#curveParameter=rs.GetCurveObject("sel curve")#curve=curveParameter[0] curves=xdistance=y for curve in curves: placeBuildings(curve,distance) rs.ReverseCurve(curve) placeBuildings(curve,distance) I am unsure why there is no error being returned yet I cannot achieve any result other than null. Maybe someone could look at the script and tell me what is going wrong? I'm hoping to solve this before next Thursday so I might be asking for too much. Much Appreciated.-A…
Added by Adem O'Byrne at 11:45am on October 9, 2014
  • 1
  • ...
  • 738
  • 739
  • 740
  • 741
  • 742
  • 743
  • 744
  • 745
  • 746
  • 747

About

Scott Davidson created this Ning Network.

Welcome to
Grasshopper

Sign In

Translate

Search

Photos

  • Kirigami Kangaroo

    Kirigami Kangaroo

    by Parametric House 0 Comments 0 Likes

  • Kangaroo Pavilion

    Kangaroo Pavilion

    by Parametric House 0 Comments 0 Likes

  • Attractor Bricks

    Attractor Bricks

    by Parametric House 0 Comments 0 Likes

  • Tensile Structure

    Tensile Structure

    by Parametric House 0 Comments 0 Likes

  • Circle-Pack facade

    Circle-Pack facade

    by Parametric House 0 Comments 0 Likes

  • Add Photos
  • View All
  • Facebook

Videos

  • Kirigami Kangaroo

    Kirigami Kangaroo

    Added by Parametric House 0 Comments 0 Likes

  • Kangaroo Pavilion

    Kangaroo Pavilion

    Added by Parametric House 0 Comments 0 Likes

  • Attractor Bricks

    Attractor Bricks

    Added by Parametric House 0 Comments 0 Likes

  • Tensile Structure

    Tensile Structure

    Added by Parametric House 0 Comments 0 Likes

  • Circle-Pack facade

    Circle-Pack facade

    Added by Parametric House 0 Comments 0 Likes

  • Bezier Curve Opening Pavilion Rhino Grasshopper Tutorial

    Bezier Curve Opening Pavilion Rhino Grasshopper Tutorial

    Added by June Lee 0 Comments 0 Likes

  • Add Videos
  • View All
  • Facebook

© 2025   Created by Scott Davidson.   Powered by Website builder | Create website | Ning.com

Badges  |  Report an Issue  |  Terms of Service