Type II : parametric shape grammar rules
Rules and Implementation

Rules:

rule 1 : 3 sided polygon -> 3 sided + 4 sided polygon
rule 2 : 4 sided polygon -> 4 sided + 4 sided polygon
rule 3 : 4 sided polygon -> 3 sided + 5 sided polygon
rule 4 : 5 sided polygon -> 4 sided + 5 sided polygon
variation of rule 2 & 3
4 sided polygon -> 3 sided + 4 sided(2) + 5 sided polygon

Implementation:

Code| Load To AutoCAD| Examples| NITROS Version

erase all| regen| zoom all| undo