Does anyone know if it's possible to combine to adjacent and planar faces into one single face? I can't find anything in the CGA grammar reference. It'd be helpful to be able to combine the red and blue faces: [ATTACH=CONFIG]11416[/ATTACH]
Into a single face: [ATTACH=CONFIG]11417[/ATTACH]
I can then make an L-shaped hip roof on top of the building.
If this is not possible then I'll use the shapeL shape but it'd be handy to just adapt an existing rule.
Thanks for your reply Matthias. As I'll have to use a shapeL command I have a follow on question - is there any way of querying the lot width? I'd like to create an L-shape with relative sizes for the frontWidth and leftWidth but the CGA requires absolute values. If I know the lot width then I can calculate the absolute values required to give me the relative proportions. I've done this on other occasions by starting with the built-in cube with a height of 1 and getting the area of the front face which equates to the width of the lot. I can't do this if I'm using a shapeL.
I have created a number of buildings in individual cga files. Is there a way to use a stochastic rule to place buildings from within seperate cga files? I've found the import command but I'm not clear on how to apply it. I'd like to do something like this: [ATTACH=CONFIG]11663[/ATTACH]
this is an easy one, once you know all the aspects. as with all the things in life .. 😉
IMPORTS : ----------
import a rule as follows :
import XYZ : "ruleFileName.cga"
call a rule from an imported rule :
Rule --> XYZ.StartRuleName
so basically what you do is you give an imported rule file a name to use. in the case above, I just used XYZ. secondly, when you want to call a specific rule from within that cga file, you first write :
STOCHASTIC DISTRIBUTION : ----------------------------