11194
(Shimpei)
December 7, 2017, 1:46am
#1
Hi everyone,
I’m struggling to creat hatch by using human plugin.
‘Create hatch’ doesn’t work…
Does anyone know how to create hatch from grasshopper without plugin such as human?
If there is method to use C# or Python, please tell me.
Best,
Shimpei
HS_Kim
December 7, 2017, 2:58am
#2
It might be a plugin compatibility problem with R6 WIP…
In R5 “Create Hatch” works just fine.
chanley
(Chris Hanley)
December 7, 2017, 3:08am
#3
I vaguely remember that the hatch has to be in the document hatch table. maybe try manually making a test hatch directly in rhino, (using the hatch pattern that you are trying to use in GH), save the rhino document, and try the HUMAN GH approach again.
1 Like
TomTom
(Tom)
December 7, 2017, 8:22am
#4
if (bake)
for (int i = 0; i < crvs.Count; i++)
RhinoDocument.Objects.AddHatch(Hatch.Create(crvs[i], pattern, rotation, scale)[0]);
11194
(Shimpei)
December 9, 2017, 12:57pm
#5
Dear HS_kim
Thank you for your answer!
Wow, you are correct! it works in Rhino5…
I hope it can be in 6…
11194
(Shimpei)
December 9, 2017, 9:38pm
#6
Dear chanley,
Thank you for answering me!
I tested way you suggested, and it works well!
I’m very happy to do this.
Best,
Shimpei
11194
(Shimpei)
December 9, 2017, 9:51pm
#7
Dear TomTom,
Thank you for your answer!
Your code is very useful!
Do you know how to change attribute color such as ‘object color’ in Rhino object property?
Best,
Shimpei
Kevin_ZSC
(Kevin)
November 26, 2020, 8:07am
#8
in rhino6 or rhino7, Create Hatch can bake, but can not display. I hope it can be fixed.