Hi everybody,
i am working on a GH definition to generate G-Code for milling 3D models.
I have some troubles with the “Region Union” component: Randomly i get this error:
“Solution exception:Object reference not set to an instance of an object.”
With some input sliders (like tool diameter) it works well, with some not.
Will somebody please have a look at my definition?
Maybe i am just having a black out finding my mistake…
Cheers!
(The component in question is almost at the end) cnc-test05.gh (329.0 KB)
Yeah thanks, but that’s not what i need.
The problem is that the Region Union component behaves strange:
Try setting Tool diameter Slider to 2.0: everything’s fine.
Increase it to 3.0, the component won’t calculate some of the curves…
In the mean time i checked the offset curves for gaps. i found out that the offset curve component creates open curves although the original curves are perfectly closed! so there are some (!) open curves among the offset ones which makes it impossible to run region union…
I will try to rebuild the curves and ser whether this helps.