Haskell-Things / ImplicitCAD

A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation...
https://implicitcad.org/
GNU Affero General Public License v3.0
1.39k stars 142 forks source link

Mirror is unimplemented in extopenscad #50

Closed edef1c closed 7 years ago

edef1c commented 12 years ago

mirror() is unimplemented - makes some trivial OpenSCAD operations painful extopenscad ones

bgamari commented 11 years ago

Could this be implemented as a scale transform with negative coefficient?

edef1c commented 11 years ago

That's pretty much what a mirror is, so yeah. It'd rock if someone could implement this, I haven't fiddled with the insides of ImplicitCAD yet. (my Haskell isn't that grand yet)

bgamari commented 11 years ago

It was more a question to @colah to ensure that a negative scaling coefficient wouldn't break any assumptions. I guess I can just try it though.

julialongtin commented 7 years ago

Scale with negatives has been implemented.