Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Prism Arc

Anonymous
Not applicable
I am having trouble with using Prism and drawing an arc .... I have read that 900 sets the center point and 3000 end the arc.... If someone posted simple example with code i would appreciate it.


Thanks
1 REPLY 1
gerd
Newcomer
here is a simple example.
prism_       7,      0.1, 
            0.0,     0.0,      15, 
            1.5,     0.0,      15, 
            1.5,     0.8,      79, 
            1.3,     0.8,    913, ! center of the arc
            0.0,      90.0,   4013, 
            1.3,     1.0,      13, 
            0.0,     1.0,      15
if you don't need parameters or you dont want to use the brain too much (like me...) drag a fill from floor plan into the 2d-script:
POLY2_B       8,      3,     91,     91, 
            0.0,     0.0,      1, 
            1.5,     0.0,      1, 
            1.5,     0.8,      1, 
            1.3,     0.8,    900, 
            0.0,      90.0,   4001, 
            1.3,     1.0,      1, 
            0.0,     1.0,      1, 
            0.0,     0.0,     -1
you can use this to create a parametric 3d skript by replacing the first line, deleting the last one (just to make it more simple) and changing the statusvalues. of course you have to put in the parameters at the correct place.
r = 0.3
prism_       7,      0.1, 
            0.0,     0.0,      15, 
            a,     0.0,      15, 
            a,     b-r,      79, 
            a-r,     b-r,    913, ! center of the arc
            0.0,      90.0,   4013, 
            a-r,     b,      13, 
            0.0,     b,      15
best regards