/* 설계 π: preserve complete original Source, CRLF and odd literals. */
@model quantity_functions {
version: 3; length-unit: mm;
@function #scaleLength(value: length, factor: scalar = 2): length { return: $value * $factor; }
@function #half(value: length): length { return: scaleLength(value: $value, factor: .5); }
@parameter #width { type: length; value: 10 cm; }
@parameter #height { type: length; value: scaleLength(value: half(value: $width)); }
@parameter #depth { type: length; value: scaleLength(factor: .25, value: $width); }
@curve #untouched_curve { type:nurbs; degree:2; knots:[-2.000,-2,-2,3,3.0,3]; control-points:[[-0,2,1],[3,4,2],[6,2,1]]; weights:[1,2,1]; }
@curve #profile { type:nurbs; degree:1; knots:[0,0,1,1]; control-points:[[0,0,0],[$width,0,0]]; weights:[1,1]; }
@extrude #wall { curve:#profile; vector:[0,$depth,$height]; }
@surface #untouched_surface { type:nurbs; degree-u:1; degree-v:1; knots-u:[0.000,0,1,1.00]; knots-v:[-1,-1,2,2]; control-points:[[[2,3,-0],[2,5,1]],[[4,3,2],[4,5,4]]]; weights:[[1,2],[3,4]]; }
/* Keep Ω and every unrelated original coefficient. */
}
