AnsweredAssumed Answered

My buildings extent are not exactly rectangular (static shapes)

Question asked by tibogis12 on Aug 16, 2014
Latest reply on Aug 19, 2014 by matthiasBuehler

Hi,

 

I imported some buildings extent interpreted by CE as static shapes, but they are not perfect rectangles.

So every time I attempt to use a split(x/z) or a comp(f) followed by some t(x,y,z), it is all messed up.

 

Example using split :

General viewCGA

version "2014.0"

 

 

@StartRule

A -->

    extrude(6)

    B

 

 

B -->

    split(x){

        0.5:P|

        ~1:M|

        0.5:P}

 

 

P -->

    color("#FF80C0")

 

 

M -->

    color("#00FF00")

 

 

Example using comp(f) :

General viewIssues

The yellow face is the "front" face of the ground floor, translated backward.

On the left it overshoots

On the right it undershoots

 

I guess my problem is that all my operations are based on the scope of my model, which is rectangular, but my shape, so my model, are not.

 

What would be the best way to handle this ?

 

Thank you.

 

Thibault

Outcomes