Rhino WIP Feature: Create Hatch patterns with Grasshopper

By eliminating the result output in the content cache it will even be faster.

There are a few ways to release the objects. Using bake action may also work in your case. Although, do you mean to have it dynamic for a while, then release it later at a certain point? Or are there multiple different options?

Thanks Scott, to clarify, I’m after an ephemeral mode: keep the objects in the Rhino doc only while the GH definition is running, and automatically delete them when the definition is disabled or the GH document is closed (basically GH preview behaviour, but as real doc objects so vector print respects draw order).

Would an ā€œAuto-purge on disable/closeā€ option make sense for Content Cache?
If there’s a hook (e.g., on DocumentDisabled / DocumentRemoved / SolutionEnd) I could try a small script/custom component. Happy to test.

This might be related to RH-76822.
I also came across this old thread with an interesting comment from @DavidRutten. Back then, Ctrl+F / Ctrl+B on the components used to affect draw order, but that no longer seems to work.

There are ways to make the Content Cache delete objects with a toggle switch.

But, the automatic hook on close or hide needed in this case is difficult.

There are event watchers for closing a document etc…. but that seems extreme.

Setting the model Read-only would do it.

1 Like

Hi,

I’m coming back with an issue regarding dot patterns. I created one using the new Grasshopper component. However, when I try to use it, I can’t set a different color for the background. The background and the pattern elements always remain the same color.

Best,

Pip,

DotBGcolor.3dm (198.8 KB)

BP-Dot-A_250x250.3dm (176.9 KB)

BP-Dot-A.pat.gh (10.8 KB)

BP-Dot-A.pat (8.5 KB)

Thanks for reporting RH-89637 Pip. I’m seeing this as well.

Thank you for following up.

I also noticed in the above file that line hatches can be exploded, but dot patterns cannot. Is this intentional? It might be useful to explode them sometimes.

Your comment has been added to an existing issue report concerning exploding point based patterns.

1 Like

I’d love to see more wood grain options, including end grain.

We could create one together. Do you have an example of what it might look like?

I second wood grain. Also brick, glass, mirror, concrete, stone,

Hi Koramblyum -

Again:

Do you have an example of what it might look like?

It doesn’t sound like you have found the ones that are currently included?
-wim

This is essentially an open source project at this point. Does anyone have linework that might represent some of these patterns? Perhaps we can start sourcing some here?

more of a question, but why can hatches only be line segments? would love to see the ability to use curves…

Hatches by definition are only line segments.

Now, grasshopper can mitigate that limitation a bit by converting curves to polylines before pushing them into the Hatch pattern component.

So the source curves for the pattern can stay curves.

RH-89637 is fixed in Rhino WIP

Hi Donat -

Depending on the specific application, you could try linetypes with shapes in the WIP.
-wim