jscad / csg.js

DEPRECATED: CSG Library for JSCAD (See the link below)
https://github.com/jscad/OpenJSCAD.org/tree/master/packages/modeling
MIT License
217 stars 56 forks source link

Did there used to be a layFlat() method? #186

Closed BarbourSmith closed 5 years ago

BarbourSmith commented 5 years ago

I vaguely remember that in the distant past there was a layFlat() method, but now I can't find any trace of it. Did that exist once, and does it still?

This is a question and not an issue. All is well.

Thanks!

z3dev commented 5 years ago

Well... yes. It’s a horrible beast of a function.

Wouldn’t you be better off just rotating and translating into position?

P.S. V2 CAG will not include this. We hope someone will step up and create a better way.

z3dev commented 5 years ago

It’s a method on CSG called lieFlat()

BarbourSmith commented 5 years ago

😛 I was hoping there was a way to do it that wouldn't be a horrible beast of a function. Thanks for the advice, I look for another way