Currently rhinocommon access to hatches seems to behave strangely. I can call "hatch.explode" to get the geometry of a hatch - either curves or a trimmed surface if it's a solid hatch - but if I try to change the hatch's pattern to be solid and then try to explode it, I get an empty array of GeometryBase. Perhaps I am missing something - do I have to somehow commit my change of the hatch pattern to the Hatch object? Adding it to the document works fine, it shows up with the desired solid hatch.
What I'm trying to accomplish is to extract the boundary curves of a hatch. It would be great if Rhinocommon included a method to pull the boundaries from a hatch directly.
In the meantime is there something else I should be doing in order to get Hatch.Explode to work after changing a hatch's pattern?
This is my first submitting anything here - hope I'm doing this in the right place!
Previously wrote about this on the Grasshopper board but to no avail: http://www.grasshopper3d.com/forum/topics/hatch-explode
Currently rhinocommon access to hatches seems to behave strangely. I can call "hatch.explode" to get the geometry of a hatch - either curves or a trimmed surface if it's a solid hatch - but if I try to change the hatch's pattern to be solid and then try to explode it, I get an empty array of GeometryBase. Perhaps I am missing something - do I have to somehow commit my change of the hatch pattern to the Hatch object? Adding it to the document works fine, it shows up with the desired solid hatch.
What I'm trying to accomplish is to extract the boundary curves of a hatch. It would be great if Rhinocommon included a method to pull the boundaries from a hatch directly.
In the meantime is there something else I should be doing in order to get Hatch.Explode to work after changing a hatch's pattern?
This is my first submitting anything here - hope I'm doing this in the right place!