from larcc import *
from exercise1 import *
from TopDown import *
from corridoio import *



serieAppartamenti = T(1)(20.7)(STRUCT([biAppartamento,T([1])([41.4])]*4))
edificioAppartamenti = STRUCT([serieAppartamenti,T([3])(3)]*4)
palazzina = STRUCT([topDown,T([3])([3])(edificioAppartamenti),corridoioPalazzo])
controlpoints = [[20,0],[22,0],[24,0],[26,-1],[28,-4],[29,-7],[30,-10]]
dom = larDomain([64])
mapping = larBezierCurve(controlpoints)
obj = larMap(mapping)(dom)
curva = STRUCT(MKPOLS(obj))
hill = STRUCT([curva,S(1)(-1)(curva),POLYLINE([[-20,0],[20,0]]),POLYLINE([[-30,-10],[30,-10]])])
hill2D = T(1)(-1.3)(MAP([S3,S1,S2])((PROD([SOLIDIFY(hill),Q(3)]))))
hill2D = COLOR([0.002,0.743,0.224])(hill2D)
hill3D = T([1,3])([25,-0.1])(STRUCT(NN(36)([hill2D,R([1,2])(PI/36)])))

VIEW(STRUCT([palazzina,S([1,2])([5,5])(hill3D)]))
d76455024fb6d90ef2286a70ef052a0f0ec57458
<mask token>

<mask token>
VIEW(STRUCT([palazzina, S([1, 2])([5, 5])(hill3D)]))

<mask token>
serieAppartamenti = T(1)(20.7)(STRUCT([biAppartamento, T([1])([41.4])] * 4))
edificioAppartamenti = STRUCT([serieAppartamenti, T([3])(3)] * 4)
palazzina = STRUCT([topDown, T([3])([3])(edificioAppartamenti),
    corridoioPalazzo])
controlpoints = [[20, 0], [22, 0], [24, 0], [26, -1], [28, -4], [29, -7], [
    30, -10]]
dom = larDomain([64])
mapping = larBezierCurve(controlpoints)
obj = larMap(mapping)(dom)
curva = STRUCT(MKPOLS(obj))
hill = STRUCT([curva, S(1)(-1)(curva), POLYLINE([[-20, 0], [20, 0]]),
    POLYLINE([[-30, -10], [30, -10]])])
hill2D = T(1)(-1.3)(MAP([S3, S1, S2])(PROD([SOLIDIFY(hill), Q(3)])))
hill2D = COLOR([0.002, 0.743, 0.224])(hill2D)
hill3D = T([1, 3])([25, -0.1])(STRUCT(NN(36)([hill2D, R([1, 2])(PI / 36)])))
VIEW(STRUCT([palazzina, S([1, 2])([5, 5])(hill3D)]))

from larcc import *
from exercise1 import *
from TopDown import *
from corridoio import *
serieAppartamenti = T(1)(20.7)(STRUCT([biAppartamento, T([1])([41.4])] * 4))
edificioAppartamenti = STRUCT([serieAppartamenti, T([3])(3)] * 4)
palazzina = STRUCT([topDown, T([3])([3])(edificioAppartamenti),
    corridoioPalazzo])
controlpoints = [[20, 0], [22, 0], [24, 0], [26, -1], [28, -4], [29, -7], [
    30, -10]]
dom = larDomain([64])
mapping = larBezierCurve(controlpoints)
obj = larMap(mapping)(dom)
curva = STRUCT(MKPOLS(obj))
hill = STRUCT([curva, S(1)(-1)(curva), POLYLINE([[-20, 0], [20, 0]]),
    POLYLINE([[-30, -10], [30, -10]])])
hill2D = T(1)(-1.3)(MAP([S3, S1, S2])(PROD([SOLIDIFY(hill), Q(3)])))
hill2D = COLOR([0.002, 0.743, 0.224])(hill2D)
hill3D = T([1, 3])([25, -0.1])(STRUCT(NN(36)([hill2D, R([1, 2])(PI / 36)])))
VIEW(STRUCT([palazzina, S([1, 2])([5, 5])(hill3D)]))

from larcc import *
from exercise1 import *
from TopDown import *
from corridoio import *



serieAppartamenti = T(1)(20.7)(STRUCT([biAppartamento,T([1])([41.4])]*4))
edificioAppartamenti = STRUCT([serieAppartamenti,T([3])(3)]*4)
palazzina = STRUCT([topDown,T([3])([3])(edificioAppartamenti),corridoioPalazzo])
controlpoints = [[20,0],[22,0],[24,0],[26,-1],[28,-4],[29,-7],[30,-10]]
dom = larDomain([64])
mapping = larBezierCurve(controlpoints)
obj = larMap(mapping)(dom)
curva = STRUCT(MKPOLS(obj))
hill = STRUCT([curva,S(1)(-1)(curva),POLYLINE([[-20,0],[20,0]]),POLYLINE([[-30,-10],[30,-10]])])
hill2D = T(1)(-1.3)(MAP([S3,S1,S2])((PROD([SOLIDIFY(hill),Q(3)]))))
hill2D = COLOR([0.002,0.743,0.224])(hill2D)
hill3D = T([1,3])([25,-0.1])(STRUCT(NN(36)([hill2D,R([1,2])(PI/36)])))

VIEW(STRUCT([palazzina,S([1,2])([5,5])(hill3D)]))