Hi All
Trying to use minimum distance with the label function to run setbackperedge, the function works well when compared with a labeled 2d polygons with shorter length edge returns only one edge. When comparing with polygon with same length edge or longer it returns 3 edges. Is there a work around for that?
version "2020.1"
distA =
case minimumDistance(inter, "Road") < 1 : 0.5
case minimumDistance(inter, "Side") < 1.5 : 2
else : 0
@StartRule
Test-->
setbackPerEdge(distA){all=Lawn | remainder = build}
build-->
extrude(3)
color(1,0,1)
X.
@StartRule
Road-->
color(0,1,1)
label ("Road")
X.
@StartRule
Side-->
color(1,1,0)
label ("Side")
X.
Lawn-->
color("#b3c989")
X.
@CherylLau @Anonymous User @DevinLavigne