<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Prism with a smaller base than top... in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Prism-with-a-smaller-base-than-top/m-p/269957#M3374</link>
    <description>Probably RULED or SWEEP.&lt;BR /&gt;
But maybe TUBEA.&lt;BR /&gt;
&lt;BR /&gt;
I have used RULED to make baths and basins where the size changes with height.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
    <pubDate>Thu, 13 Dec 2018 02:36:18 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2018-12-13T02:36:18Z</dc:date>
    <item>
      <title>Prism with a smaller base than top...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Prism-with-a-smaller-base-than-top/m-p/269956#M3373</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
I want to make a prism that has curved corners and also a smaller base than top (like a cone).&lt;BR /&gt;
What is the best way to achieve this?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Dec 2018 12:22:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Prism-with-a-smaller-base-than-top/m-p/269956#M3373</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2018-12-12T12:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Prism with a smaller base than top...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Prism-with-a-smaller-base-than-top/m-p/269957#M3374</link>
      <description>Probably RULED or SWEEP.&lt;BR /&gt;
But maybe TUBEA.&lt;BR /&gt;
&lt;BR /&gt;
I have used RULED to make baths and basins where the size changes with height.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 13 Dec 2018 02:36:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Prism-with-a-smaller-base-than-top/m-p/269957#M3374</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-12-13T02:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Prism with a smaller base than top...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Prism-with-a-smaller-base-than-top/m-p/269958#M3375</link>
      <description>But how do you make just the corners rounded?</description>
      <pubDate>Thu, 13 Dec 2018 03:22:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Prism-with-a-smaller-base-than-top/m-p/269958#M3375</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2018-12-13T03:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Prism with a smaller base than top...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Prism-with-a-smaller-base-than-top/m-p/269959#M3376</link>
      <description>&lt;BLOCKQUOTE&gt;Lingwisyer wrote:&lt;BR /&gt;
But how do you make just the corners rounded?
&lt;/BLOCKQUOTE&gt;

For the SWEEP you can do something like this.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;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&lt;/PRE&gt;

&lt;BR /&gt;
With the RULED I think you have to specify many points on the curve (i.e. many straight lines).&lt;BR /&gt;
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.&lt;BR /&gt;
&lt;BR /&gt;
I use a gosub routine like this to create the many nodes of a corner.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;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
&lt;/PRE&gt;

&lt;BR /&gt;
I have never really used the TUBEA so can't comment on that one.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 13 Dec 2018 04:09:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Prism-with-a-smaller-base-than-top/m-p/269959#M3376</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-12-13T04:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Prism with a smaller base than top...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Prism-with-a-smaller-base-than-top/m-p/269960#M3377</link>
      <description>Is it the edges or the corners that need to be curved?</description>
      <pubDate>Thu, 13 Dec 2018 05:12:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Prism-with-a-smaller-base-than-top/m-p/269960#M3377</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2018-12-13T05:12:05Z</dc:date>
    </item>
  </channel>
</rss>

