Select to view content in your preferred language

shapeO/U, Not working when convexify used

1812
1
10-14-2015 02:47 PM
curtedmonds
Deactivated User

I not sure I understand whats up here, I assume this should be working.

but generating the O and U shape does not do anything with some values (front and back) when convexify is used

it doesn't matter what value I put in, it does not work, the side values work just not front and back

example:

attr maxLength = 3

Lot -->

    convexify(maxLength)

    comp(f){all: SubShapes}

SubShapes -->

    case scope.sx > maxLength && scope.sy > maxLength :

        shapeU(4,4,4) { shape : col.ORANGE | remainder: col.GREEN }

    else:

        doGrassTexture("convex")

Tags (2)
0 Kudos
1 Reply
MatthiasBuehler
Deactivated User

Hey,

shapeL, O, U expect a yUp scope.

after a comp(f), you always have a zUp scope.

use alignScopeToGeometry(yUp, 0) or similar.

ok?

Matt

0 Kudos