joostn / OpenJsCad

3D solid CAD using only Javascript
313 stars 127 forks source link

add csg.stretchAtPlane(normal, point, length) function, see docu #63

Closed bebbi closed 9 years ago

bebbi commented 9 years ago

improve CSG.roundedCube for size and performance at higher resolution, and allow vector radius, see docu fix issues with sectionCut and some minor stuff. Work around some more nasty rounding errors without getting to root cause. StretchAtPlane may fail because of them, e.g. if minRR = 1e-3 in roundedCube

bebbi commented 9 years ago

This is a mildly useful update, but will allow to be extended to more interesting stuff. More nasty rounding errors. I'll probably add to the sidemapisempty issue, but really it's more about the holes and non-manifolds, they could amplify when adding more cuts and transforms.

bebbi commented 9 years ago

sorry for no wait, needed that ;) Feel free to propose changes