topic Re: Prism with a smaller base than top... in Design forum
https://community.graphisoft.com/t5/Design-forum/Prism-with-a-smaller-base-than-top/m-p/269959#M140801
<BLOCKQUOTE>Lingwisyer wrote:<BR />
But how do you make just the corners rounded?
</BLOCKQUOTE>
For the SWEEP you can do something like this.<BR />
<BR />
<PRE>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</PRE>
<BR />
With the RULED I think you have to specify many points on the curve (i.e. many straight lines).<BR />
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.<BR />
<BR />
I use a gosub routine like this to create the many nodes of a corner.<BR />
<BR />
<PRE><I>
</I>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
</PRE>
<BR />
I have never really used the TUBEA so can't comment on that one.<BR />
<BR />
Barry.Thu, 13 Dec 2018 04:09:54 GMTBarry Kelly2018-12-13T04:09:54ZPrism with a smaller base than top...
https://community.graphisoft.com/t5/Design-forum/Prism-with-a-smaller-base-than-top/m-p/269956#M140798
<DIV class="actalk-migrated-content"><T>Hello,<BR />
<BR />
I want to make a prism that has curved corners and also a smaller base than top (like a cone).<BR />
What is the best way to achieve this?<BR />
<BR />
Thanks</T></DIV>Wed, 12 Dec 2018 12:22:51 GMThttps://community.graphisoft.com/t5/Design-forum/Prism-with-a-smaller-base-than-top/m-p/269956#M140798JGoode2018-12-12T12:22:51ZRe: Prism with a smaller base than top...
https://community.graphisoft.com/t5/Design-forum/Prism-with-a-smaller-base-than-top/m-p/269957#M140799
Probably RULED or SWEEP.<BR />
But maybe TUBEA.<BR />
<BR />
I have used RULED to make baths and basins where the size changes with height.<BR />
<BR />
Barry.Thu, 13 Dec 2018 02:36:18 GMThttps://community.graphisoft.com/t5/Design-forum/Prism-with-a-smaller-base-than-top/m-p/269957#M140799Barry Kelly2018-12-13T02:36:18ZRe: Prism with a smaller base than top...
https://community.graphisoft.com/t5/Design-forum/Prism-with-a-smaller-base-than-top/m-p/269958#M140800
But how do you make just the corners rounded?Thu, 13 Dec 2018 03:22:09 GMThttps://community.graphisoft.com/t5/Design-forum/Prism-with-a-smaller-base-than-top/m-p/269958#M140800Lingwisyer2018-12-13T03:22:09ZRe: Prism with a smaller base than top...
https://community.graphisoft.com/t5/Design-forum/Prism-with-a-smaller-base-than-top/m-p/269959#M140801
<BLOCKQUOTE>Lingwisyer wrote:<BR />
But how do you make just the corners rounded?
</BLOCKQUOTE>
For the SWEEP you can do something like this.<BR />
<BR />
<PRE>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</PRE>
<BR />
With the RULED I think you have to specify many points on the curve (i.e. many straight lines).<BR />
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.<BR />
<BR />
I use a gosub routine like this to create the many nodes of a corner.<BR />
<BR />
<PRE><I>
</I>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
</PRE>
<BR />
I have never really used the TUBEA so can't comment on that one.<BR />
<BR />
Barry.Thu, 13 Dec 2018 04:09:54 GMThttps://community.graphisoft.com/t5/Design-forum/Prism-with-a-smaller-base-than-top/m-p/269959#M140801Barry Kelly2018-12-13T04:09:54ZRe: Prism with a smaller base than top...
https://community.graphisoft.com/t5/Design-forum/Prism-with-a-smaller-base-than-top/m-p/269960#M140802
Is it the edges or the corners that need to be curved?Thu, 13 Dec 2018 05:12:05 GMThttps://community.graphisoft.com/t5/Design-forum/Prism-with-a-smaller-base-than-top/m-p/269960#M140802Lingwisyer2018-12-13T05:12:05Z