SolidCode / SolidPython

A python frontend for solid modelling that compiles to OpenSCAD
1.11k stars 173 forks source link

only transformations are callable #64

Closed scifuentes closed 1 year ago

scifuentes commented 7 years ago

restricts the ability to do cube(3)(cube(2)) by subclassing the transformation objects and moving there the call method previously present in OpenSCADObject

scifuentes commented 7 years ago

While initialy simple, to keep the code coherent, the consequence of allowing only the transformations to be callable is that only transformations need to have childrens and all what is associated with them ... therefore all code dealing with childrens have been moved to the transformation class