<?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: Subgroup operation performance in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Subgroup-operation-performance/m-p/359633#M2214</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12002"&gt;@jc4d&lt;/a&gt; ,&lt;BR /&gt;&lt;BR /&gt;SPRISM_ like other PRISMs&amp;nbsp; accepts holes directly in the command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SPRISM_ 2, 2, 2,
		10, -1, -1, 1, -1, 1.5, 15,
		-1, -1, 15,
		1, -1, 15,
		1, 1, 15,
		-1, 1, 15,
		-1, -1, -1,    ! contour
		-0.8, -0.8, 15,
		0.8, -0.8, 15,
		0.8, 0.8, 15,
		-0.8, 0.8, 15,
		-0.8, -0.8, -1    ! hole&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would give this :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="01.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30884iB9CF6CCA49C08272/image-size/large?v=v2&amp;amp;px=999" role="button" title="01.png" alt="01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it's a more efficient than having to do solid operations.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2022 08:20:08 GMT</pubDate>
    <dc:creator>MetalFingerz</dc:creator>
    <dc:date>2022-10-24T08:20:08Z</dc:date>
    <item>
      <title>Subgroup operation performance</title>
      <link>https://community.graphisoft.com/t5/GDL/Subgroup-operation-performance/m-p/359628#M2213</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to create a "box" with control over the top most face angle, for it I'm using a SPRISM_ command. Now, the thing is I would need to have a thickness on the side faces and not having the top and bottom faces.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get the result I'm going after,&amp;nbsp; I'm using a subgroup subtraction where I cut a box from the SPRISM_, not sure if this is the wisest way on solving this problem without affecting the performance or there is another solution.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jc4d_0-1666597023985.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30882iBBC7EABDF8F4C0B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jc4d_0-1666597023985.png" alt="jc4d_0-1666597023985.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;GROUP "Out"
	GOSUB 10
ENDGROUP

GROUP "In"
	GOSUB 20
ENDGROUP


result_1 = SUBGROUP("In", "Out")


PLACEGROUP result_1
KILLGROUP "Out"
KILLGROUP "In"


END


10:
PRISM_	4,15,
	0.1,0.1,15,
	0.1,B-0.1,15,
	A-0.1,B-0.1,15,
	A-0.1,0.1,15
RETURN

20:
SPRISM_ mat ,mat, mat,
	4,
    0, B, 0, 0, 1, -15.0, !xb, yb, xe, ye, h, angle,
    0,0,15,
    0,B,15,
    A,B,15,
    A,0,15
RETURN&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 07:37:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Subgroup-operation-performance/m-p/359628#M2213</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-10-24T07:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Subgroup operation performance</title>
      <link>https://community.graphisoft.com/t5/GDL/Subgroup-operation-performance/m-p/359633#M2214</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12002"&gt;@jc4d&lt;/a&gt; ,&lt;BR /&gt;&lt;BR /&gt;SPRISM_ like other PRISMs&amp;nbsp; accepts holes directly in the command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SPRISM_ 2, 2, 2,
		10, -1, -1, 1, -1, 1.5, 15,
		-1, -1, 15,
		1, -1, 15,
		1, 1, 15,
		-1, 1, 15,
		-1, -1, -1,    ! contour
		-0.8, -0.8, 15,
		0.8, -0.8, 15,
		0.8, 0.8, 15,
		-0.8, 0.8, 15,
		-0.8, -0.8, -1    ! hole&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would give this :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="01.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30884iB9CF6CCA49C08272/image-size/large?v=v2&amp;amp;px=999" role="button" title="01.png" alt="01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it's a more efficient than having to do solid operations.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 08:20:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Subgroup-operation-performance/m-p/359633#M2214</guid>
      <dc:creator>MetalFingerz</dc:creator>
      <dc:date>2022-10-24T08:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Subgroup operation performance</title>
      <link>https://community.graphisoft.com/t5/GDL/Subgroup-operation-performance/m-p/359637#M2215</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/8056"&gt;@MetalFingerz&lt;/a&gt; . I'm glad to know that it is possible to create holes directly in the SPRISM_ as well.&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 08:45:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Subgroup-operation-performance/m-p/359637#M2215</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-10-24T08:45:43Z</dc:date>
    </item>
  </channel>
</rss>

