I would like to do something relatively simple - move generated model to 0,0,0 coordinates of world coordinate system. Data I'm using in projected coordinate system and coordinate values are like 1770292.09, 0, -5909240.63.
Using this as an example I would like to move that model by -1770292.09, 0, 5909240.63.
My original idea was to combine convert and translate functions in something like this:
Building --> comp(f) { front : FrontFacade | side: SideFacade | top: roofHip(22.5, 0.5, true) Roof}
xm = convert(x, scope, world, pos, 0, 0, 0)
ym = convert(x, scope, world, pos, 0, 0, 0)
zm = convert(x, scope, world, pos, 0, 0, 0)
translate(rel, world, (xm * -1), ym, (zm * -1))
but I get the 'Mismatched Token(translate) error.
Any help is most welcome.