About 21,800,000 results
Open links in new tab
  1. [SOLVED]Grasshopper + GHpython create lines, based on …

    Feb 13, 2019 · then will try to construct the relationships matrix and if the value of point [i] (where i is the index in the relation list) =1 that means there is a relation between the two spaces so the code should factor this value to get the index of the two points and draw a line between them.

  2. Rhino - Grasshopper Scripting: Python

    Nov 4, 2024 · There are two ways you can create a Python script in Grasshopper. The first and the easiest is to write a Python script in the simplest form, and is called Script-Mode. For example, if we want to pass the sum of our two x and y inputs to the a output, we would create a script component with this script:

  3. How to input and use point in GhPython directly? - Grasshopper

    Aug 22, 2011 · in general the two ways to create geometry from scratch are: to use the rhinoscriptsyntax commands like "AddPoint()" and "AddLine()". Commands like this will return Guids that refer to objects, and are great for working in rhinoscriptsyntax. this is illustrated in the first example. to make objects directly using constructor methods in Rhino ...

  4. creating line with specific length - Grasshopper

    Apr 6, 2012 · I know how to create a line, but there I need position of start and end point, and I want to specific position of start point (with x,y,z coordinates) and then I want to specific direction of line and his length, but I dont know how to do this.

  5. Note that Grasshopper Plugin to Rhino including Python is automatically included in Rhino 6.0. These examples range from a simple one line program to more complex examples. Example 1: Trivial Case of Two Python Scripts, one with an internal function definition

  6. Simple Copy/Move Points in Python - Grasshopper - McNeel …

    Apr 28, 2018 · passPoint = rs.CreatePoint(theCoords[0], theCoords[1], theCoords[2] + z) point is grasshopper Point component passed into the script, along with z which is an integer. The purpose of this script is to get a point and created 10 copies space units in height.

  7. Workshop 9 Notes - University of Virginia

    Here we perform the same task by using a Python script to produce a grasshopper file makeSimpleLine.gh. Initiate the script within Rhino by creating two points in the x, y ground plane. Within Grasshopper, go to the "Params" tab and within the "Geometry" area, select and drag two point icons into the work area.

  8. Workshop 12 Notes - University of Virginia

    The set of polylines output of the Python script can be input onto a surfaces component in order to convert the series of rotating rectangles into a seres of rotating surfaces. Go to the "Surface" tab in grasshopper, and select the "Boundary Surfaces" component.

  9. Using Python in Grasshopper - Medium

    Feb 4, 2017 · This plugin gives you a ‘Python’ node in Grasshopper which allows you to embed code into your models.

  10. Day 7| GhPython scripting in grasshopper: Task 1,2,3

    In this session of the workshop - Advanced Computational Design, participants learnt python scripting to create geometry in grasshopper.

  11. Some results have been removed
Refresh