fix user parametrized polyhedrons

if a user creates parametrized polyhedrons, it's easy to create
1 or 2-dimensional polygons by mistake. This messes up the CSG.Tree() call
unless the object is re-tesselated before the call.