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

Gradient Density of Gyroid Lattice

$
0
0

@LamboGrasshopper wrote:

Hello all,

I have already created a gyroid lattice structure using the Weaverbird and Millipede plugins. However, now I am trying to create a gradient density (low density to high density) from top to bottom. I can’t seem to figure out how to do this, I tried to separate the layers and give them different thicknesses, but then I am not sure how to mate the surfaces or to create a smooth transition between those two layers’ densities. Is there a more efficient way to achieve this?

Any help is much appreciated!

Thank you,

Dylan
image

Posts: 1

Participants: 1

Read full topic


2D skeletonization

$
0
0

@Petras_Vestartas wrote:

Hi,

I would like to ask about 2D skeletonization.
I know this issue was addressed in quite a lot of threads by @laurent_delrieu and @DanielPiker.

The issue:
I have quite standard cases of 2D outlines resulting in forks and beams, but during the pruning process I most often have some little branches left. So it is not clear how many pruning steps are needed or whether the result would be good. More simply, it is difficult to have an error-less process when i.e. a beam would result in 1 central curve, or fork - 3 central curves. Smoothing of polylines does not help much either.

For now I was doing mesh triangulation from closed polyline, and extracting skeleton based on mesh face adjacency.

I attached the set of 2D curves I have in Rhino file.

I also tried Capybara plugin on 3D closed meshes, but the CGAL wrapper does not work on some computers, so I would like to stay with 2D cases.

Curves.3dm (153.7 KB)

Posts: 10

Participants: 5

Read full topic

Use as a node module

$
0
0

@rens wrote:

I’m trying to integrate the Shapediver viewer into a React/Typescript project. The documentation says that there’s only minified variants:

https://viewer.shapediver.com/v2/2.19.2/doc/usage.html

But I would like to use the viewer as a node module and use the import keyword in JS. I’ve found type definitions https://www.npmjs.com/package/shapediver-types but this doesn’t seem to map to a NPM package.

Is the viewer also available as an unminified (hopefully Typescript) version? If not, is there a way to use it as such?

Thanks!
Rens

Posts: 1

Participants: 1

Read full topic

Exploded BREP face normal flipped when untrimmed

$
0
0

@osuire wrote:

When I explode a BREP and untrim its faces, some of them get flipped.
This makes it impossible to get a reliable normal direction.

I had to untrim because when I probe the brep’s normal, I sometimes fall in interior trims, and this gives me the wrong normal.

Posts: 4

Participants: 2

Read full topic

Read Butterfly probe field information and apply to Quelea (or other particles)?

$
0
0

@martinb wrote:

Hi All!

Where do leaves collect? Where do snowdrifts form?

I’m working on creating a fluid flow definition with (semi-)realistic particle interactions. The idea is to take a generic geometry, find the fluid flow by doing CFD, and then introduce particles into the system to see where they collect under the influence of gravitational and fluid forces.

For the fluid flow, I have OpenFoam working through Ladybug + Butterfly (yay!) with probes located at all the mesh points measuring velocity and pressure fields. I am trying to get Quelea working for the particles, but so far, they are just two non-interacting systems. I would like to set the particle velocity from the Butterfly field data but am so far unable to get the Quelea agents to sense the mesh points field information.

A box environment makes the most sense because a poly surface environment for the Quelea causes problems since the OpenFoam blockMesh and snappyHexMesh are highly complex despite simplification and welds.

image
I can get the mesh points to show and do calculations with vectors just fine; it’s the particle interaction that I’m having trouble with, perhaps Quelea isn’t even a good approach. Any simulations with particles interacting with vector fields would probably work.

Here is a simplified version of the wind tunnel for anyone that has Butterfly up and running. I hope it helps to clarify things. wind tunnel - v10.gh (443.3 KB) Everything works right up to particle interactions, then it grows pretty chaotic, and I decided to ask for help…(feeling like a noob :slight_smile: ).

Any thoughts or guidance would mean the world. If you see ways to streamline or speed things up, I would appreciate those insights as well.
Thank you,
MCB

Posts: 1

Participants: 1

Read full topic

What we can learn from a bird nest

Closing this kind of curve

$
0
0

@chaghal.amira wrote:

Hello everyone,

I’m new to grasshopper/rhino but I’m running into a simple issue that I can’t find the solution for : here’s my shape (it’s an urban plot) : I’m trying to optimize some building positions but I already run into a problem in here :

as you see “area” won’t work since those are just open curves , I created the outline in rhino ,then added the two seperative segements , so how I can make this a closed curve please ? I already tried “closecrv”,“merge” from rhino , I also tried to start in grasshopper with rectangular grid but at the end while doing a loft operation it went wrong so I came back to this shape in rihno and looking for an answer.

here’s the file with internalised data in case it’s needed.

Thank you in advance for any help provided and sorry for the noob question

grasshopper closed curve issue.gh (5.8 KB)

Posts: 3

Participants: 2

Read full topic

Does Weavebird work in grasshopper rhino 6 sr23?


Sweep2 error

Creating planes using C# component in grasshopper

Request: Placeholder objects should be selectable

$
0
0

@andheum wrote:

I cried tears of joy when I saw the new-ish “placeholder objects” feature when the grasshopper doc encounters a component it doesn’t recognize. It is so much better than the way things used to be!

However, there are cases where I would like to be able to get rid of a placeholder, or move it around. Is there any reason why it cannot be selectable or at very least deletable?

Posts: 1

Participants: 1

Read full topic

Misnamed components

Help with "bookworm" by Nuru Karim

$
0
0

@rodriguezlui2017 wrote:

Hello! I would like to see if anyone can help me finish modeling the bookworm project by NUDE architects. I have gotten up to the point where I am able to create the undulation and I have flat surfaces with no massing but I want to add the shelving to the model, can anyone assist me by any chance?

I followed a tutorial provided by HowToRhino on Youtube but it is incomplete, https://www.youtube.com/watch?v=1W1GRGpiqlg&list=RDCMUCwImuwbI4lKk544-FS7A2Yw&start_radio=1&t=1169
this is the link to the video just in case!

many thanks!

Posts: 2

Participants: 2

Read full topic

Voronoi 3D on solid geometry with 'falloff'

$
0
0

@AlexandarJ wrote:

Greetings,

I’ve recently started using Grasshopper and I’m trying to apply a voronoi 3d pattern on top of a mesh (as seen in this picture, albeit with much smaller holes)

Now, because of the shape of the model, I’d like to have the voronoi holes be largest at the base, smaller in the mid section and non existent at the top (such that the model retains its original geometry). This is what I mean by falloff. So far I’ve been able to conclude that this can be done with attractors, however most tutorials focus on a 2D plane.

I’ve also run into the problem of not being able to actually create the basic voronoi 3D on top of the model, as grasshopper has constantly given me errors.

I basically want to be able to 3D print this part and use it as a lamp.

Any help would be greatly appreciated

Here are the files:
Untitled 006.3dm (3.4 MB)
unnamed1.gh (12.7 KB)

Posts: 1

Participants: 1

Read full topic

Simple terrain generator... any suggestion?

$
0
0

@Vigardo wrote:

Dear experts,

I just need some simple (and free or cheap) terrain generator to create a random mountain landscape with forest and rocky regions. Ideally, it should be rendered directly from GrassHopper´s Vray engine.

I´ve already checked food4rhino:

Lands Design plugin has GrassHopper interface but it seems too detailed and complete for my simple purposes. In adition, you´re forced to bake and render in Rhino (not from Vray in GH) and it is only 90-days free.

Bison plugin seems to generate terrain and it´s free but it has no trees or forests.

Would you recommend me some simple terrain generator GH plugin?

Thanks!

Posts: 1

Participants: 1

Read full topic


Save profiler running time

$
0
0

@ayezioro wrote:

Hi,
I’m looking for a way to save the sum up the running time, as shown by the Profiler, of some components in the GH file.
Can’t find any thread, or something even close to that.
As an alternative, it is possible to save the whole file running time?

The problem is that i’m running a loop of solutions (controlled by sliders). Each slider value can influence greatly the time it takes to solve the whole file. So i want to record this time.

Any hints?
Thanks,
-A.

Posts: 2

Participants: 2

Read full topic

Using stream gate

$
0
0

@helenwfeng wrote:

Hi all,
Still new to grasshopper & don’t quite have the language down. I will try my best to explain:

I am creating four possible options for the location of drawer pulls, depending on the width of the furniture. I’m locating the points for the center of the pulls based off of a line.
I would like to create something where if width<20, then the line geometry flows to the first option, if 20<width<40, then geometry flow to second option, if 40<width<60, third option, and width >60, forth option.

I think I can do a series of larger than/smaller than components that would work, but ss there an elegant way to use Stream Gate to do this? How do I configure a gate where the data on the width would then translate to 0, 1, 2, 3?

stream question.gh (16.3 KB)

Posts: 4

Participants: 4

Read full topic

Shuffle 3 value divisions on a curve

$
0
0

@valeria_condrea wrote:

Hi!
I’m very new to grasshopper and am trying to shuffle object coordinates on a curve. Let me explain myself. I have 3 different lengths of 3 objects (3 appartements). Once one starts another begins. The thing is i want their order to be random and not repeat itself. When i use jitter or random, the curve is divided 3 times by the 3 lenghts so they all go on each other without order. How can I do a 3 values division with a random order on a curve? Thank you so much!
Also, is it jitter or random the right option?
Thanks again!

Posts: 2

Participants: 2

Read full topic

Need insight into getting 'piped' curves to look leaky and deposited like in these pictures

$
0
0

@mikailmaqsood wrote:

I’m trying to capture the nature of these 3D printed models I have

I was thinking if I could just change the radius of piped curves and have them morph in certain parts that could do the trick.

It’s definitely been done before:

but I couldn’t figure out how.

I tried using pufferfish but couldn’t find a way to do it.

Any suggestions would be appreciated.

Posts: 3

Participants: 3

Read full topic

Values of SHS sections not matching manufacturer numbers for Australia

Viewing all 39482 articles
Browse latest View live