[OpenSCAD] difference() over intersection_for() crashes

Torsten Paul Torsten.Paul at gmx.de
Wed Jul 17 18:48:42 EDT 2019

On 18.07.19 00:35, Parkinbot wrote:
> why does this innocent piece of code crash?

It does not crash for me, but gives warning.
WARNING: Normalized tree is growing past 2000000 elements. Aborting normalization.

I guess it crashes because it runs out of stack space
when calculating the CSG tree which is exploding due
to the intersections like mentioned there:

Adding a render() at the top of tri() makes it produce
instant result.


More information about the Discuss mailing list