Quantcast
Channel: Grasshopper - McNeel Forum
Viewing all 40038 articles
Browse latest View live

Does Kangaroo 2 Not Include Reciprocal Structures

$
0
0

@jtrudeau wrote:

It’s been awhile since I used Kangaroo and cannot seem to find the Reciprocal Structures component in Kangaroo2. I also opened an old script and it says that component is missing.

Thanks.

Posts: 1

Participants: 1

Read full topic


Shapefile geometry too small

$
0
0

@shoshana wrote:

Hi,
I am new to GH and am following a tutorial for importing a shapefile geometry and extruding the surfaces along the z axis with excel data: http://duspviz.mit.edu/tutorials/importing-gis-data-to-grasshopper/
Everything seemed to work OK, except that the shapefile geometry is coming in extremely tiny. The surfaces are also coming in distorted, but most likely it is because the curves are scaled so small.
I think it may have something to do with the CRS. The .shp CRS is epsg:4326. Does anyone know why the geometry of the shapefile may be so small?
Thank you!

Posts: 2

Participants: 1

Read full topic

How to apply uniform load or support (boundary condations) on the the ring of gitter cylinder

$
0
0

@ihabfsaid wrote:

Hello Everyone,

I would like to ask for small help about applying an uniform load on the upper ring / or support (boundary conditions on the bottom of the structure in Grasshopper using Karamba 3D.

The Structure is a lattice cylinder which will be very similar to this
CylTri

screenshot of the Modell in Rhino
image

Screenshot of the model design in grasshopper:

and here is the file of my model in Grasshopper:
Lattice Cylinder.gh (31.3 KB)

I am looking forward to your helping and many thanks in advance.
Kind regards,
Ihab

Posts: 1

Participants: 1

Read full topic

Find intersection of polyline and plane

$
0
0

@name23926 wrote:

Hi,

How can I find the intersection between a polyline and a plane by Csharp script? (should be a line).

Thanks,

Posts: 1

Participants: 1

Read full topic

Need help in grasshopper

CreateCurveOnSurface randomly fails

$
0
0

@masaaki.miki wrote:

I got a situation NurbsSurface.CreateCurveOnSurface returns an invalid curve occasionally.

        for ll in range(20):
            _crv=rg.NurbsSurface.CreateCurveOnSurface(SRF,pp,0.01,False)
            if _crv and _crv.IsValid:
                print ll,"good"
                break
            else:
                print ll,"bad"

I get

0 bad
1 bad
2 good

Does anyone knows a remedy (I know the above code is already a remedy…)

Thanks!

Posts: 1

Participants: 1

Read full topic

Grasshopper + fillet edges + naked edges cannot be filleted

$
0
0

@luizfellipe.machado wrote:

Hello people!!
I’m trying to make the curve - rectangle - that will follow the sweep command but the fillet edge keeps giving me the following message: “naked edges can’t b filleted”

I didn’t quite understand how to solve this program message, has anyone ever experienced this problem and could help me solve it?

00_DEFINIÇÃO_HOSPEDARIA_mcnell.gh (17.2 KB) 00_HOSPEDARIA_mcneel.3dm (1.5 MB)

Posts: 1

Participants: 1

Read full topic

Double curved surface form finding using strips


Can't install ladybug and honeybee

$
0
0

@natalietai.m wrote:

Hi guys, I really need this so I really appreciate your help.

I’ve been trying to install ladybug and honeybee but i can’t seem to drag and drop the file components onto the canvas. I have GH_Cpython, ghpython2 and GhPython. Eventually I dragged and dropped the file components into the GH libraries folder and restarted by rhino but ladybug and honeybee tabs were still not on there.

Any ideas?

Much appreciated!

Posts: 4

Participants: 2

Read full topic

Generate/ Re-mesh from closed segments

Group points in the list based on x coordinate value range

Grasshopper Component Dictionary (Where can I find this component?)

$
0
0

@archjahzzy wrote:

Dear All,

I am following a Tutorial from Mosquito Plugin. They used a node that is not part of their package (I assume it’s from the OOTB Grasshopper components). I am specifically looking for this right now:

Untitled

Do you have any idea what component it is?
Also, is there a site listing all the OOTB components & their explanations?
Thank so much!

Posts: 3

Participants: 2

Read full topic

How to offset this 3D curve with fixed start end points on axis?

$
0
0

@STUDENT_F wrote:

You can see a circle that is non planar and subdivided into several segments. I would like to “scale” the circle but I need the start and end points of each segment onto specfic axis, that i draw with the black arrows. The green curves gives an example, what I am looking for.

Thanks a lot for your help and time!

191101-Forum.gh (5.0 KB)

Posts: 18

Participants: 3

Read full topic

tOpos (multiple solvers in one program)

$
0
0

@poulliebmann wrote:

Hey all,

Does anyone know if there is a way to have several tOpos Optimus engines (the model solver) in one GH file? Whenever I insert multiple Optimus engines I get the error “Solution Exception: Object reference not set to an instance of an object.”.

The reason I want several engines is to have the program run iterations that change the volume fraction until an acceptable Von Mises value is reached.

Any help would be greatly appreciated!

Best Regards,

Poul Liebmann

Posts: 1

Participants: 1

Read full topic

Mirror geometry


Create surface without breaks

$
0
0

@joseorellano844 wrote:

Hello people. I have these floor plans, which i want to build a surface from. I need a surface without “breaks” (continuity at the moment of changing directions of the surface). Thanks guys. prueba.gh (82.5 KB) snake

Posts: 3

Participants: 1

Read full topic

Animating with Python in Grasshopper

$
0
0

@Ryan_Whitby wrote:

I’m looking for a general method to animate loops with python in grasshopper. Attached is a basic example of what I mean. In this example I have 3 points chasing each other. I am animating by using and internal timer that increases the range of the for loop incrementally and continuously. The problem is this method is that each “frame” it has to run through the entire loop which gets longer and longer as time passes.

Would there be some method that could bypass running though the entire loop? For example would there be someway to overwrite the intial variable with an operation store that value and then update the compnenent again using the new values without creating an ever increasing range? Does this make sense?

import rhinoscriptsyntax as rs
import time
import Grasshopper as gh

def updateComponent():
    
    """ Updates this component, similar to using a grasshopper timer """
    
    # Define callback action
    def callBack(e):
        ghenv.Component.ExpireSolution(False)
        
    # Get grasshopper document
    ghDoc = ghenv.Component.OnPingDocument()
    
    # Schedule this component to expire
    ghDoc.ScheduleSolution(1,gh.Kernel.GH_Document.GH_ScheduleDelegate(callBack))

# Instantiate/reset persisent starting time variable
if "startTime" not in globals() or Reset or not Run:
    startTime = time.time()

# Calculate the elapsed time (in seconds)
ElapsedTime = round((time.time() - startTime), 2) * 100
steps = int(ElapsedTime)

for h in range(steps):
    for i in range(len(pts)):
        index_repel = (i - 1) % len(pts)
        index_attract = (i + 1) % len(pts)
        vec_repel = pts[i] - pts[index_repel]
        vec_attract = pts[index_attract] - pts[i]
        sum_vec = (vec_repel + vec_attract) * 0.5
        sum_vec = rs.VectorUnitize(sum_vec) * vec_multiplier
        pts[i] = pts[i] + sum_vec

updateComponent()

3body.gh (7.9 KB)

Posts: 3

Participants: 3

Read full topic

Conflicting plugin files

$
0
0

@rcmcdougle wrote:

I just updated Human.gha to the most recent version and this started popping up. I appreciate that there appears to be a different folder for GH in Rhino version 5 & 6. I currently must run both versions of Rhino and I am developing GH docs for different clients targeted to those different versions of Rhino.

Is there a way to tell GH/Rhino5 to look in this folder and GH/Rhino6 to only look in that other folder?
TIA,
Robb

Posts: 2

Participants: 2

Read full topic

Split surface and display material

Grasshopper tree path with null item

$
0
0

@cshea wrote:

Hi
I lofted a series of curves to form surfaces - some of them were unsuccessful and the path in the tree data showed null.
when I unrolled these surfaces, the tree data with the unrolled surfaces no longer had the paths with the null items.
in the example, surface index 49 was an unsuccessful attempt and branch path 49 is missing.
How can I reinsert a branch with nothing or null or an empty branch at branch path 49 so it forms a placeholder path?
Thanks
rhinoforumnulllpathmissing.gh (391.2 KB) treenullpathsmissing

Posts: 2

Participants: 2

Read full topic

Viewing all 40038 articles
Browse latest View live