I have a cga rule (attached) which builds a model differently depending upon which edge of the shape has been set as the first edge (Shapes > Set First Edge). In only 1 of the 4 cases does it build the model correctly (see attached image). I think that in the Topside procedure there is a different corner of the red shape being used for the origin and therefore when the line s(zLength,'1,xLength) is executed the base of the blue shape is oriented correctly or not. If I can figure out how to set the origin to where it is for the first case (see attached image) then hopefully I can get this to work correctly for all cases.
Appreciate any and all help with this. Thanks,