A little bit of update, following feedback I had this week Thanks to all!
Originally shared by CoffeeSCad
#coffeescad #update #assembly
A short progress update regarding the latest evolution:(available on the dev branch until I release v0.3 end of January)
- major (breaking) api change : instead of "return"ing a single object at the end of the scripts, you can now draw any number of objects , at any point in the code : the new syntax is assembly.add(object)
- the assembly represents the “root” of the parts hierarchy that makes up your project
- since we can now add & draw multiple individual objects, the 3d view has been re factored as well :each part added to the root assembly can be individually selected : while this is essentially cosmetic for now, it will be essential once visual editing will be implemented (visual-> code , code ->visual)
- next up : refactoring the csg “compiling” phase to make use of web workers (faster, no more blocking Ui etc)