AnsweredAssumed Answered

Primitives - unexpected / inconsistent results

Question asked by BTLeslie on Jul 28, 2016
Latest reply on Jul 29, 2016 by CLau-esristaff

I am attempting to randomly position boxes on the roofs of buildings using scatter() and primitiveCube().

 

1.  I am experiencing what appears to be inconsistent behaviour whereby some cubes are missing faces, or have their geometry clipped if they extend beyond the geometry of the face they are scattered upon - other ones are fine.  The image below shows this behaviour using primitiveSphere because it's easier to see the problem with spheres - the blue face is the face they being scattered on.

Primitives.jpg

 

2. Is there a way to prevent items that are being scattered from overhanging? - I am trying to do this using the offset() funtion to reduce the size of the scatter-face but this has the effect of making the object tend towards being positioned in the centre, which I don't necessarily want.

Outcomes