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 - 📍 tp钱包trx兑换ht最低数量👉【TG:@trxHomeBot】,虚拟货币跑步赚钱是真的吗.n

Topic: Data structure with closest point example
do it better, so feel free to improve! I tried to make everything very graphic... :) The situation is as follows: I distribute N points on plane (dPoints). On the same plane, I distribute another N/10 points (vCenters). They act as centers for voronoi cells. The dPoints now find the closest point on the voronoi cell, they are located in. [which is kind of a sidegoal, but also interesting] Next I wanted to devide the dPoints in 2 groups: one group which lies above the (y-value) of the vCenters, one group which lies below the (y-value) of the vCenters. Therefore paths needed to be created to sort the dPoints by their associated voronoi cells. Then each group (or path) needed to be split up in an above-group and in a below-group The vCenters are marked with a small circle. If you have questions or improvements, let me know! Thanks to Hannes Löschke and Oliver David! …
Added by maxmelone at 9:19am on January 25, 2013
Topic: Making little earth.
EXCEL file then imported to grasshopper using this component. But all of this locations have letters combined with numbers. So first I want to make is get rid of all "N S E W" letter from latitude longitude list. I've tried lot of things related to data managing but haven't found any result. I think using visual basic or some programming language will do it. Unfortunately I haven't learned none of these.   And one more thing is I want to know how to text tag that parrallel to the screen we looking at? it's just on the xy panel. Because after i will need to tag all the points by the name of the cities. Its also needed to be using the excel file respectively.  Thank you very much!  …
Added by Amaraa at 10:10am on April 15, 2013
Topic: Custom component: how to get List from Grasshopper ?
ernel Imports Grasshopper.Kernel.Types Public Class Class1 Inherits GH_Component ''constructor Public Sub New() MyBase.New("SimpleComponent", "SC", "My First GH Component", "Extra", "Demo") End Sub Public Overrides ReadOnly Property ComponentGuid As Guid Get Return New Guid("80016c7b-a160-4423-b445-a9ce00464833") End Get End Property Protected Overrides Sub RegisterInputParams(pManager As Grasshopper.Kernel.GH_Component.GH_InputParamManager) pManager.AddNumberParameter("num", "n", "num_parameter", GH_ParamAccess.item) End Sub Protected Overrides Sub RegisterOutputParams(pManager As Grasshopper.Kernel.GH_Component.GH_OutputParamManager) End Sub Protected Overrides Sub SolveInstance(DA As IGH_DataAccess) Dim number As Double DA.GetData(Of Double)(0, number) MsgBox(number) End Sub End Class  ____________________________________________ Now i am trying to get a flatten list form Grashopper component, but i don't know how. I tried changeing GH_ParamAccess.item to GH_ParamAccess.list and store this to array but that didn't work.   Any ideas? Thanks.…
Added by micco brejc at 5:33am on July 30, 2013
Topic: mesh(+) Version 1-09.1
xed as well as a changes to several components which increase functionality  v_1-09.1 - Added vertex colors to all components which create meshes as an output. New vertexes created in operations average their colors based on their location within each mesh face - Added "clr" input to several m(+) components which allows for the placement of a color or a per face list of colors which will replace the averages vertex color at newly created edge conditions. - Added "clr" input to several n(+) components which allows a corresponding list of colors to be passed for each input point. - Added internal quad face boolean for volume based components which only properly operate on quad faces. If triangular faces are found in the inputs, the component skips these meshes - Added face count check to mesh face subdivision component. If the input mesh only contains one face, it is skipped. - Fixed Branch components loops input which was previously limited to 3. - Fixed "t" value relationship on several volume components making parameters affected clearer - Fixed Polyp edge radius input, reversing relationship, now 0-1 stays within bounds of face.- Changed loft component inputs from points to curves.…
Added by David Mans to mesh+ at 8:08pm on February 2, 2014
Topic: Space Colonization Algorithm
en este caso de dos dimensiones) se frena cuando no puede crecer y se dirige hacia el área más amplia. El caso muy interesante es en 3D, donde las ramas se generan en respuesta a tu espacio vacío alrrededor, pero supongo que es mejor empezar con lo fácil. Comparto mi propio guión que no es la más óptima, yo sé que hay muchas maneras de hacer esto, probablemente más simple, cualquier ayuda / mejora es bienvenida. Espero que con su ayuda a encontrar la forma más eficiente de distribuir las ramas sin chocar y espacio dependiente como lo hace la naturaleza, en los saltamontes. Vea el vídeo Gracias guapos!…
Added by Daniel González Abalde at 2:47am on July 27, 2014
Topic: Randomness...paperPavillon
on the curves, I make plans on those points and I create random sized vertical planar surfaces, I move them on z randomly and finally i cull the intersecting ones with the "collision many/many" component. Now I think that i have too much surfaces so i'm tryng to cull those that can't be seen because they are surrounded by other surfaces but i don't really know how to proceed ? Maybe a solution is to scale each surfaces, to generate points on each, move them on their z by z and minus z, creating lines with those points and culling each surfaces according to the number of intersections but i don't know how to do that...??? The main idea is to keep the boundaries of the ellipse with surfaces but not to have too many of them, any advises to proceed differently are really welcomed 'cause i think the results are very ugly for now and i hate using the "random" component...   On the image the pink surfaces are those i want to cull... So thanks in advance for taking time to take a look at my code ;) …
Added by Nenov Ivo at 8:26am on December 11, 2014
Topic: Clear cache / visualisation - Python
moving through space given certain rules. I am running a "for i in range loop", given the number of step my points have to go through, and I am performing all the operations during each step with enable redraw = false. At the end of each step I am - enabling the redraw to show only the new positions plus a trail, - pausing the loop with a time.sleep(n-seconds) - disabling the redraw - running the loop again. The problem is that sometimes, even if it should show what is happening-pause-run again, the redraw just shuts off and the script run until the last loop and then shows the final results. The only way I found at the moment to keep him working a bit longer is adding a gc.collect(), but I was wondering if there are other way to clean the rhino cache as well (provided it is that that disable the preview of what is happening), or anyway clear garbage data that is piling at each step. Just to recap the structure would be: for a certain number of steps >>> perform some operations >>> show the results >>> pause/clear the garbage >>> hide the visualisation Thanks in advance V. …
Added by Vincenzo Reale at 9:57am on January 18, 2015
Topic: Same Python script doesn't work in GhPython component
ng error message: Runtime error (NotImplementedException): The method or operation is not implemented. Traceback:   line 180, in GetObject, "C:\Users\oat\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\selection.py"   line 32, in script Appreciate if you can kindly advise why the rhinoscriptsyntax module functions differently in the Python Editor and GhPython component. Source Script: import rhinoscriptsyntax as rs def displayobjectattributes(object_id):     source = "By Layer", "By Object", "By Parent"          data = []     data.append( "Object attributes for :"+str(object_id) )     data.append( "Description: " + rs.ObjectDescription(object_id))     data.append( "Layer: " + rs.ObjectLayer(object_id))     #data.append( "LineType: " + rs.ObjectLineType(object_id))     #data.append( "LineTypeSource: " + rs.ObjectLineTypeSource(object_id))     data.append( "MaterialSource: " + str(rs.ObjectMaterialSource(object_id)))          name = rs.ObjectName(object_id)     if not name: data.append("<Unnamed object>")     else: data.append("Name: " + name)     groups = rs.ObjectGroups(object_id)     if groups:         for i,group in enumerate(groups):             data.append( "Group(%d): %s" % i+1, group )     else:         data.append("<Ungrouped object>")     s = ""     for line in data: s += line + "\n"          rs.EditBox(s, "Object attributes", "RhinoPython") if __name__=="__main__":     id = rs.GetObject()     displayobjectattributes(id) …
Added by Grasshope at 1:12am on September 30, 2015
Topic: Stereoscopic / analglyph images from GH
GH objects disappear, so I have tried making my own in GH - see img "GH-Anaglyphs". Its close but not there yet.  So I thought what if I send my GH objects to the rhino display pipeline using the code bellow, would Rhino then pick it up as an object and preview it with the same preview as the "Rhino-anaglyh" image but it didn't.  private void RunScript(Point3d p0, Point3d p1, int n, Mesh ms_in) { ms = ms_in;_clippingBox.Union(ms.GetBoundingBox(true)); } BoundingBox _clippingBox; Mesh ms; public override BoundingBox ClippingBox { get{ return _clippingBox; } } public override void DrawViewportMeshes(IGH_PreviewArgs args) { base.DrawViewportMeshes(args); args.Display.DrawMeshShaded(ms, new Rhino.Display.DisplayMaterial()); } Are there anyone out there who have a little trick to make Rhino read the objects from GH as Rhino objects without baking? That being said I would love for this to become GH only components/preview instead of having to fudge it like this, but the current Rhino preview works really well, so I thought why not give it a shot.  I have also attached the definition if that helps, however it doesn't work quite yet, and I havent had time to comment it(sorry guys) Thank you for any help. …
Added by Jens Pedersen at 4:01am on May 17, 2016
Topic: [solved] [urgent] error probably related to wrongly written IDF file on the class of SizingPeriod
value=WINTERDESIGNDAY, in SIZINGPERIOD:DESIGNDAY=SINGAPORE ANN HTG 99.6% CONDNS DB    ************* IDF Context for following error/warning message:    ************* Note -- lines truncated at 300 characters, if necessary...    *************     53  SizingPeriod:DesignDay,    ************* indicated Name=SINGAPORE Ann Htg 99% Condns DB    ************* Only last 10 lines before error line shown.....    *************     57        23.5,      !- Humidity Indicating Conditions at Maximum Dry-Bulb    *************     58     101133.,      !- Barometric Pressure {Pa}    *************     59           2,      !- Wind Speed {m/s} design conditions vs. traditional 6.71 m/s (15 mph)    *************     60         320,      !- Wind Direction {Degrees; N=0, S=180}    *************     61        0.00,      !- Clearness {0.0 to 1.1}    *************     62           0,      !- Rain {0-no,1-yes}    *************     63           0,      !- Snow on ground {0-no,1-yes}    *************     64          21,      !- Day of Month    *************     65          12,      !- Month    *************     66   WinterDesignDay,!- Day Type The relevant lines in the IDF file is shown below:  SizingPeriod:DesignDay,   SINGAPORE Ann Htg 99.6% Condns DB,     !- Name          23,      !- Maximum Dry-Bulb Temperature {C}         0.0,      !- Daily Temp Range {C}          23,      !- Humidity Indicating Conditions at Maximum Dry-Bulb     101133.,      !- Barometric Pressure {Pa}           2,      !- Wind Speed {m/s} design conditions vs. traditional 6.71 m/s (15 mph)         320,      !- Wind Direction {Degrees; N=0, S=180}        0.00,      !- Clearness {0.0 to 1.1}           0,      !- Rain {0-no,1-yes}           0,      !- Snow on ground {0-no,1-yes}          21,      !- Day of Month          12,      !- Month   WinterDesignDay,!- Day Type           0,      !- Daylight Savings Time Indicator    WetBulb;       !- Humidity Indicating Type    ! SINGAPORE_SGP Annual Heating 99%, MaxDB=23.5°C  SizingPeriod:DesignDay,   SINGAPORE Ann Htg 99% Condns DB,     !- Name        23.5,      !- Maximum Dry-Bulb Temperature {C}         0.0,      !- Daily Temp Range {C}        23.5,      !- Humidity Indicating Conditions at Maximum Dry-Bulb     101133.,      !- Barometric Pressure {Pa}           2,      !- Wind Speed {m/s} design conditions vs. traditional 6.71 m/s (15 mph)         320,      !- Wind Direction {Degrees; N=0, S=180}        0.00,      !- Clearness {0.0 to 1.1}           0,      !- Rain {0-no,1-yes}           0,      !- Snow on ground {0-no,1-yes}          21,      !- Day of Month          12,      !- Month   WinterDesignDay,!- Day Type           0,      !- Daylight Savings Time Indicator    WetBulb;       !- Humidity Indicating Type It seems that there is an empty line after the line for "!- Humidity Indicating Type" field, and nothing is specified for "! SINGAPORE_SGP Annual Heating 99%, MaxDB=23.5°C" field. May I ask why this happens and how to correct the error? Thank you very much!…
Added by Grasshope to Ladybug Tools at 2:20am on July 22, 2016
  • 1
  • ...
  • 741
  • 742
  • 743
  • 744
  • 745
  • 746
  • 747
  • ...
  • 756

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