design-automation / mobius-parametric-modeller

Möbius for parametric modelling.
https://design-automation.github.io/mobius-parametric-modeller/
MIT License
10 stars 6 forks source link

reconsider copy function #613

Closed phtj closed 4 years ago

phtj commented 4 years ago

copy could have a move vector as a second arg

this allows for common cases where you copy, then move teh copied geometry

also allos for lists of move vectors.

copy(ent, [[1,2,3],[4,5,6],[7,8,9]]) copies one ent three times, and moves three times

copy([e1, e2, e3], [[1,2,3],[4,5,6],[7,8,9]]) copies three ents, and moves each