Transformations as operations on OpenSCADObjects by scifuentes · Pull Request #66 · SolidCode/SolidPython

@scifuentes

Syntax sugar:
Adds normal transformations in cascade style to all OpenSCADObjects
allows:

cube(1).translate([1,0,0]).color('red')
cube(1).hull(cylinder(1))

@scifuentes

@scifuentes

Alternatively *args, **kargs can be used to reduce code maintainability, but the having the doc-string is convenient .. and the painful part to maintain :/

@scifuentes