I am trying to create slices out of a brep by intersecting it with an array of planes, using GhPython component. It works for some ranges of input values. But for others, it throws out: “Parameter must be a Guid or string representing a Guid” And the output is null (no geometry).
Here are some shots showing how it behaves for certain values. There are different input parameters and this problem occurs for some of their values:
And this is the code:
I can’t figure out what is going on there… Why does it work with certain values and not with a set of others?
Update: Also if the control points are moved in the Z direction to increase the size of the input brep, it disappears again (i.e., same error occurs as changing some values). Moving the control-points along X or Y directions doesn’t cause any problem though.