We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2017-06-01 02:12 PM
2017-06-02 03:07 AM
2017-06-02 10:23 AM
Barry wrote:Hi Barry, thanks for the reply! Do you have any sort of example script?
PRISMs just have a height so are in effect straight.
To curve you polygon shape it is probably best to use the REVOLVE command.
This will give you just a curved profile to the specified angle.
You control the smoothness (segmentation) of the curve with the RESOL command before the revolve.
You could also use the TUBE command but it is a little more complicated.
Essentially you have the same polygon but then you give it a path with x, y, z co-ordinates - so it does not have to be a just a curve - it can follow any path.
The more points you set in the path the smoother the curve will be.
The first and last point in the path are dummy points just to establish the angle of the end surface.
The end surface will bisect the angle defined by the first 3 points and the last 3 points in the list.
Barry.
2017-06-02 10:57 AM
profile_rad = 0.005 revolve_rad = 0.080 REVOLVE 7, 90, 1*0+2*0+4*0+16*1+32*1+64*0, profile_rad, revolve_rad, 1, 0, revolve_rad, 900, 0, 180, 4011+64, -profile_rad, revolve_rad, 1, 0, revolve_rad, 900, 0, 180, 4011+64, profile_rad, revolve_rad, 1I will see what I can find for a TUBE as well.
2017-06-02 11:06 AM
profile_rad = 0.005Barry.
TUBE 7, 18, 51,
profile_rad, 0.0, 1,
0, 0.0, 900,
0, 180, 4000,
-profile_rad, 0.0, 1,
0, 0.0, 900,
0, 180, 4000,
profile_rad, 0.0, 1,
-0.1, 0, 0, 0,
0, 0, 0, 0,
0.06367140388221, 0, 0, 0,
0.07133369552651, 0.0005952433182987, 0, 0,
0.07882204397126, 0.002318743681414, 0, 0,
0.0859664547359, 0.005147738336344, 0, 0,
0.09260476324691, 0.009017973839743, 0, 0,
0.1524367191209, 0.05051875591474, 0, 0,
0.1609741469947, 0.05387205483239, 0, 0,
0.1700752270737, 0.05501338288658, 0, 0,
0.1793046684196, 0.05383910007662, 0, 0,
0.1879460033734, 0.05039107776036, 0, 0,
0.1954004986649, 0.04493459948133, 0, 0,
0.2012639732361, 0.03779580958294, 0, 0,
0.2051680634349, 0.02942319141533, 0, 0,
0.2068892434645, 0.02034403381879, 0, 0,
0.2073142210857, 0.01737428732972, 0, 0,
0.2093970665567, 0.003530027058421,0, 0