<?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 Bending a Prism?? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Bending-a-Prism/m-p/288437#M5636</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
I am trying to make a prism at a 90 degree angle with a radius of 10mm but I have no idea how to script it correctly. &lt;BR /&gt;
&lt;BR /&gt;
Any help would be appreciated,&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 01 Jun 2017 12:12:39 GMT</pubDate>
    <dc:creator>JGoode</dc:creator>
    <dc:date>2017-06-01T12:12:39Z</dc:date>
    <item>
      <title>Bending a Prism??</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Bending-a-Prism/m-p/288437#M5636</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
I am trying to make a prism at a 90 degree angle with a radius of 10mm but I have no idea how to script it correctly. &lt;BR /&gt;
&lt;BR /&gt;
Any help would be appreciated,&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Jun 2017 12:12:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Bending-a-Prism/m-p/288437#M5636</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2017-06-01T12:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Bending a Prism??</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Bending-a-Prism/m-p/288438#M5637</link>
      <description>PRISMs just have a height so are in effect straight.&lt;BR /&gt;
&lt;BR /&gt;
To curve you polygon shape it is probably best to use the REVOLVE command.&lt;BR /&gt;
This will give you just a curved profile to the specified angle.&lt;BR /&gt;
You control the smoothness (segmentation) of the curve with the RESOL command before the revolve.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
You could also use the TUBE command but it is a little more complicated.&lt;BR /&gt;
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.&lt;BR /&gt;
The more points you set in the path the smoother the curve will be.&lt;BR /&gt;
&lt;BR /&gt;
The first and last point in the path are dummy points just to establish the angle of the end surface.&lt;BR /&gt;
The end surface will bisect the angle defined by the first 3 points and the last 3 points in the list.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 02 Jun 2017 01:07:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Bending-a-Prism/m-p/288438#M5637</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-06-02T01:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Bending a Prism??</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Bending-a-Prism/m-p/288439#M5638</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;PRISMs just have a height so are in effect straight.&lt;BR /&gt;
&lt;BR /&gt;
To curve you polygon shape it is probably best to use the REVOLVE command.&lt;BR /&gt;
This will give you just a curved profile to the specified angle.&lt;BR /&gt;
You control the smoothness (segmentation) of the curve with the RESOL command before the revolve.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
You could also use the TUBE command but it is a little more complicated.&lt;BR /&gt;
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.&lt;BR /&gt;
The more points you set in the path the smoother the curve will be.&lt;BR /&gt;
&lt;BR /&gt;
The first and last point in the path are dummy points just to establish the angle of the end surface.&lt;BR /&gt;
The end surface will bisect the angle defined by the first 3 points and the last 3 points in the list.&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;/BLOCKQUOTE&gt; Hi Barry, thanks for the reply! Do you have any sort of example script?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Fri, 02 Jun 2017 08:23:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Bending-a-Prism/m-p/288439#M5638</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2017-06-02T08:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bending a Prism??</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Bending-a-Prism/m-p/288440#M5639</link>
      <description>Here is a 90° revolve for a 10mm round profile curving with an 80mm radius.&lt;BR /&gt;

&lt;PRE&gt;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,     1&lt;/PRE&gt;

I will see what I can find for a TUBE as well.&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/9815iA879B4203B9F4595/image-size/large?v=v2&amp;amp;px=999" border="0" alt="revolve.jpg" title="revolve.jpg" /&gt;</description>
      <pubDate>Fri, 02 Jun 2017 08:57:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Bending-a-Prism/m-p/288440#M5639</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-06-02T08:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bending a Prism??</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Bending-a-Prism/m-p/288441#M5640</link>
      <description>Here is a tube.&lt;BR /&gt;
Can be more than just a simple curve - you define the path for it to follow.&lt;BR /&gt;
The dummy nodes are marked in red.&lt;BR /&gt;
The points between are the path.&lt;BR /&gt;
The first seven co-ordinates are the profile shape (round in this case).&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;profile_rad = 0.005&lt;BR /&gt;
&lt;BR /&gt;
TUBE 7, 18, 51,&lt;BR /&gt;
				profile_rad,       0.0,      1, &lt;BR /&gt;
				0,       0.0,    900, &lt;BR /&gt;
				   0,          180,   4000, &lt;BR /&gt;
			   -profile_rad,       0.0,      1, &lt;BR /&gt;
				0,       0.0,    900, &lt;BR /&gt;
				   0,          180,   4000, &lt;BR /&gt;
				profile_rad,       0.0,     1,&lt;BR /&gt;
&lt;BR /&gt;
	       &lt;FONT color="#ff001b"&gt; -0.1,            0,      0,	0&lt;/FONT&gt;, &lt;BR /&gt;
		0, 0, 0,	0,&lt;BR /&gt;
		0.06367140388221, 0,  0,	0,&lt;BR /&gt;
		0.07133369552651, 0.0005952433182987,  0,	0,&lt;BR /&gt;
		0.07882204397126, 0.002318743681414,  0,	0,&lt;BR /&gt;
		0.0859664547359, 0.005147738336344,  0,	0,&lt;BR /&gt;
		0.09260476324691, 0.009017973839743,  0,	0,&lt;BR /&gt;
		0.1524367191209, 0.05051875591474,  0,	0,&lt;BR /&gt;
		0.1609741469947, 0.05387205483239,  0,	0,&lt;BR /&gt;
		0.1700752270737, 0.05501338288658,  0,	0,&lt;BR /&gt;
		0.1793046684196, 0.05383910007662,  0,	0,&lt;BR /&gt;
		0.1879460033734, 0.05039107776036,  0,	0,&lt;BR /&gt;
		0.1954004986649, 0.04493459948133,  0,	0,&lt;BR /&gt;
		0.2012639732361, 0.03779580958294,  0,	0,&lt;BR /&gt;
		0.2051680634349, 0.02942319141533,  0,	0,&lt;BR /&gt;
		0.2068892434645, 0.02034403381879,  0,	0,&lt;BR /&gt;
		0.2073142210857, 0.01737428732972,  0,	0,&lt;BR /&gt;
		&lt;FONT color="#ff0009"&gt;0.2093970665567, 0.003530027058421,0,	0&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;

Barry.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/17128i4BC813852619C4F9/image-size/large?v=v2&amp;amp;px=999" border="0" alt="tube.jpg" title="tube.jpg" /&gt;</description>
      <pubDate>Fri, 02 Jun 2017 09:06:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Bending-a-Prism/m-p/288441#M5640</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-06-02T09:06:22Z</dc:date>
    </item>
  </channel>
</rss>

