We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

Prism with a smaller base than top...

JGoode
Expert
Hello,

I want to make a prism that has curved corners and also a smaller base than top (like a cone).
What is the best way to achieve this?

Thanks
ArchiCAD 23

Windows 10
4 REPLIES 4
Barry Kelly
Moderator
Probably RULED or SWEEP.
But maybe TUBEA.

I have used RULED to make baths and basins where the size changes with height.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Lingwisyer
Guru
But how do you make just the corners rounded?

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
Barry Kelly
Moderator
Lingwisyer wrote:
But how do you make just the corners rounded?
For the SWEEP you can do something like this.

SWEEP 13, 2, 0, 2, 1*1 + 2*1 + 4*1 + 16*1 + 32*1 + 64*1,
              -0.025,        -0.05,     1, 
               0.025,        -0.05,     1, 
               0.025,       -0.025,    900, 
                   0,           90,   4000, 
                0.05,        0.025,     1, 
               0.025,        0.025,    900, 
                   0,           90,   4000, 
              -0.025,         0.05,     1, 
              -0.025,        0.025,    900, 
                   0,           90,   4000, 
               -0.05,       -0.025,     1, 
              -0.025,       -0.025,    900, 
                   0,           90,   4000,

				0, 0, 0,
				0, 0, 0.2

With the RULED I think you have to specify many points on the curve (i.e. many straight lines).
I think this is because the nodes of the polygon are listed twice - the first has a status code for visibility and the second has the height - so the mask for curves doesn't work.

I use a gosub routine like this to create the many nodes of a corner.


start_angle = 180
end_angle = 270
x_add = -x_val-x_squ_add
y_add = -y_val-y_squ_add
gosub 100


100:
FOR angle = start_angle to end_angle step 10
PUT x_add+(rad*COS(angle)), y_add+(rad*SIN(angle)), z_status
next angle
RETURN

I have never really used the TUBEA so can't comment on that one.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Lingwisyer
Guru
Is it the edges or the corners that need to be curved?

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660