Design forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Prism with a smaller base than top...

JGoode
Advocate
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 17, 19, 21 and 23
Windows 8
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 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Lingwisyer
Rockstar
But how do you make just the corners rounded?
AC22-23 AUS 7000
Self-taught, bend it till it breaks.

Win10 | E5620 x 2 | 24GB | K2200 RIP PSU
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 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Lingwisyer
Rockstar
Is it the edges or the corners that need to be curved?
AC22-23 AUS 7000
Self-taught, bend it till it breaks.

Win10 | E5620 x 2 | 24GB | K2200 RIP PSU
Win10 | R5 2600 | 16GB | GTX1660

Didn't find the answer? Start a new discussion

Labels

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!