I tried to use the component in Parakeet but it doesn’t support negative number (offset inwards)
So when I used the python code below it outputs a Rhino.Geometry.Brep type how can i change it to the grasshopper brep type?
I tired Grasshopper.Kernel.Types.GH_Brep(b) but not really working
Maybe not the correct command. Not really a coder here. Thanks for any help.
I’d not use rhinoscriptsyntax in GHPython. The easiest way to get what you need is to right-click on your component input x and set type hint to BRep. Conversion will be done for you.
Thank you for the reply
I switched to c#, but getting a “no overload method takes 5 argument” error
the original method has two out parameters im not sure what to put in
Thank you so much
public static Brep CreateOffsetBrep(
Brep brep,
double distance,
bool solid,
bool extend,
double tolerance,
out Brep outBlends,
out Brep outWalls
)
Thank you so much! The Parakeet one still not working but the Sasquatch one works.
I tried experimented with many different settings and found tolerance value is the problem
It is still wired only very few very specific discrete tolerance value work, like 0.02, 0.14…
I used to try 0.01 and 0.3 that’s why nothing shows up
but I am satisfied at this moment
Thank you