<?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: REVOLVE hides extra lines? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221354#M4185</link>
    <description>If you use RevolvedShellAngular instead, then there is no need for the Resol statement. This allows you to use code 3000 removing the vertices that cause the horizontal divides. Flipping the shell surface then removes the spokes on the top and bottom faces, though you will need to change your coordinates to reflect the internal size instead of the actual size.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;REVOLVEDSHELLANGULAR 60, 60,		!topMat, bottomMat,
60, 60, 60, 60, 60,			!sideMat_1, sideMat_2, sideMat_3, sideMat_4, defaultMat,
5, 0, 0.1, 1, 0, 0, 360,		!n, offset, thickness, flipped, trimmingBody, alphaOffset, alpha,
1, 6,					!segmentationType, nOfSegments,
0, 0, 1, 0,
0, 1, 0, 0,
1, 0, 0, 0,

0, 0,	8,
0, 2,	1,
5, -2,	900,
10, 2,	3000+2,
10, 0,	8
&lt;/PRE&gt;

&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
    <pubDate>Tue, 10 Jul 2018 06:24:02 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2018-07-10T06:24:02Z</dc:date>
    <item>
      <title>REVOLVE hides extra lines?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221350#M4181</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hello everyone, I created a script with the GDL REVOLVE command, but this is not what I want. I want to clear out the extra lines, as if it is not allowed.&lt;BR /&gt;
&lt;BR /&gt;
this my code:
&lt;PRE&gt;pen 1
material 60
roty 90
RESOL 6
REVOLVE 12, 360, 64,
        -0.2778735712153, 0.2017007160007,     0,
        -0.3351696591221, 0.186390306818,     0,
        -0.3889480822817, 0.1613876765317,     0,
        -0.4375833232646, 0.1274485596708,     0,
        -0.4375833232646, 1.293496448338E-17,     0,
        -2.440725391568E-16, 0.003989203055807,     0,
        -2.391851946749E-16, 0.1274485596708,     0,
        -0.04863524098297, 0.1613876765317,     0,
        -0.1024136641425, 0.186390306818,     0,
        -0.1597097520494, 0.2017007160007,     0,
        -0.2187916616323, 0.2068561285738,     0,
        -0.2778735712153, 0.2017007160007,     0&lt;/PRE&gt;

&lt;BR /&gt;
&lt;FONT size="150"&gt;&lt;B&gt;This picture is the effect I want.&lt;/B&gt;&lt;/FONT&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Jul 2018 14:45:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221350#M4181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-09T14:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: REVOLVE hides extra lines?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221351#M4182</link>
      <description>use REVOLVE{2} or {3} variant.&lt;BR /&gt;
&lt;BR /&gt;
Piotr</description>
      <pubDate>Mon, 09 Jul 2018 16:29:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221351#M4182</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2018-07-09T16:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: REVOLVE hides extra lines?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221352#M4183</link>
      <description>I modified the code again and the problem persists.I have tried many times and can't solve the problem.&lt;BR /&gt;
mask = 4*j3 + 8*j4 + 16*j5 + 32*j6 + 64*j7 + 128*j8 + 256*j9, where each j can be 0 or 1.&lt;BR /&gt;

&lt;PRE&gt;pen 1
roty 90
RESOL 6
s=2
REVOLVE{2} 12, 0,360,  64,60,
        -0.2778735712153, 0.2017007160007,     s,60,
        -0.3351696591221, 0.186390306818,     s,60,
        -0.3889480822817, 0.1613876765317,     s,60,
        -0.4375833232646, 0.1274485596708,     s,60,
        -0.4375833232646, 1.293496448338E-17,     s,60,
        -2.440725391568E-16, 0.003989203055807,     s,60,
        -2.391851946749E-16, 0.1274485596708,     s,60,
        -0.04863524098297, 0.1613876765317,     s,60,
        -0.1024136641425, 0.186390306818,     s,60,
        -0.1597097520494, 0.2017007160007,     s,60,
        -0.2187916616323, 0.2068561285738,     s,60,
        -0.2778735712153, 0.2017007160007,     s,60&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Jul 2018 01:44:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221352#M4183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-10T01:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: REVOLVE hides extra lines?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221353#M4184</link>
      <description>Instead of drawing your poly line as 8 segments, can you draw it as a single segment instead using Additional Status Codes? eg. 3000?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.&lt;BR /&gt;
&lt;BR /&gt;
EDIT: Actually, I am not sure how that would work given the Resol statement...</description>
      <pubDate>Tue, 10 Jul 2018 04:01:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221353#M4184</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2018-07-10T04:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: REVOLVE hides extra lines?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221354#M4185</link>
      <description>If you use RevolvedShellAngular instead, then there is no need for the Resol statement. This allows you to use code 3000 removing the vertices that cause the horizontal divides. Flipping the shell surface then removes the spokes on the top and bottom faces, though you will need to change your coordinates to reflect the internal size instead of the actual size.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;REVOLVEDSHELLANGULAR 60, 60,		!topMat, bottomMat,
60, 60, 60, 60, 60,			!sideMat_1, sideMat_2, sideMat_3, sideMat_4, defaultMat,
5, 0, 0.1, 1, 0, 0, 360,		!n, offset, thickness, flipped, trimmingBody, alphaOffset, alpha,
1, 6,					!segmentationType, nOfSegments,
0, 0, 1, 0,
0, 1, 0, 0,
1, 0, 0, 0,

0, 0,	8,
0, 2,	1,
5, -2,	900,
10, 2,	3000+2,
10, 0,	8
&lt;/PRE&gt;

&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Tue, 10 Jul 2018 06:24:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221354#M4185</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2018-07-10T06:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: REVOLVE hides extra lines?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221355#M4186</link>
      <description>thanks for lingwisyer&lt;BR /&gt;
&lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;RevolvedShellAngular&lt;E&gt;&lt;/E&gt; Unable to control the number of segments,&lt;BR /&gt;
So I made a little modification using the loop statement&lt;BR /&gt;

&lt;PRE&gt;pen 1
material 60
roty 90
RESOL 6

for i = 1 to 6 
	rotx 60*i-60
	REVOLVE 12, 60,  1+2+4+8+16+32,
			-0.2778735712153, 0.2017007160007,     1,
			-0.3351696591221, 0.186390306818,     1,
			-0.3889480822817, 0.1613876765317,     1,
			-0.4375833232646, 0.1274485596708,     2,
			-0.4375833232646, 1.293496448338E-17,     1,
			-2.440725391568E-16, 0.003989203055807,     1,
			-2.391851946749E-16, 0.1274485596708,     2,
			-0.04863524098297, 0.1613876765317,     1,
			-0.1024136641425, 0.186390306818,     1,
			-0.1597097520494, 0.2017007160007,     1,
			-0.2187916616323, 0.2068561285738,     1,
			-0.2778735712153, 0.2017007160007,     0
	del 1
next i
del 1&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Jul 2018 03:49:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221355#M4186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-11T03:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: REVOLVE hides extra lines?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221356#M4187</link>
      <description>&lt;BLOCKQUOTE&gt;licheng6095 wrote:&lt;BR /&gt;
&lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;RevolvedShellAngular&lt;E&gt;&lt;/E&gt; Unable to control the number of segments,
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
You can just increase the second number in line 3 to increase the number of segments (!nOfSegments). Or are you talking about the segmentation of the curve?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Wed, 11 Jul 2018 04:43:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/REVOLVE-hides-extra-lines/m-p/221356#M4187</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2018-07-11T04:43:38Z</dc:date>
    </item>
  </channel>
</rss>

