<?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: How to achieve clean looking hprism (with minimal lines) in AC26 in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/378278#M1131</link>
    <description>&lt;P&gt;Hi DGSketcher,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestions, however, I will require it to be parametric. I will have to live with the lines for now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jarrod.&lt;/P&gt;</description>
    <pubDate>Sun, 30 Apr 2023 23:26:35 GMT</pubDate>
    <dc:creator>Jarrod Phillips</dc:creator>
    <dc:date>2023-04-30T23:26:35Z</dc:date>
    <item>
      <title>How to achieve clean looking hprism (with minimal lines) in AC26</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/376840#M1121</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know if it's possible to remove the lines highlighted green whilst maintaining the lines highlighted red in the attached image using the hprism command? See example code below. Any help would be greatly appreciated! Getting frustrated with the cumbersome ways Archicad handles curves generated by geometry in elevation, section and 3D.&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;plateWidth = 0.075
plateHeight = 0.120
plateThickness = 0.005
plateCornerRadius = 0.005
gs_mat = 19
_s = 79

rotx 90

hprism_ gs_mat, gs_mat, gs_mat, gs_mat, ! top_material, bottom_material, side_material, hill_material
10, plateThickness, 0, plateThickness, 1, !n, thickness, angle, hill_height, status
	0, 0, _s,
	(plateWidth/2)-plateCornerRadius, 0, _s,
	plateCornerRadius, 90, 2000 + _s,
	(plateWidth/2), plateHeight-plateCornerRadius, _s,
	plateCornerRadius, 90, 2000 + _s,
	-((plateWidth/2)-plateCornerRadius), plateHeight, _s,
	plateCornerRadius, 90, 2000 + _s,
	-(plateWidth/2), plateCornerRadius, _s,
	plateCornerRadius, 90, 2000 + _s,
	0, 0, _s

del 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jarrod&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/56368i73F150FA8100BAAD/image-size/large?v=v2&amp;amp;px=999" border="0" alt="EXAMPLE IMAGE.png" title="EXAMPLE IMAGE.png" /&gt;</description>
      <pubDate>Mon, 17 Apr 2023 11:58:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/376840#M1121</guid>
      <dc:creator>Jarrod Phillips</dc:creator>
      <dc:date>2023-04-17T11:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve clean looking hprism (with minimal lines) in AC26</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/376861#M1122</link>
      <description>&lt;P&gt;Had the same issue. Could not find any way to solve this. In the end I gave up and am now living with those wrong lines in one of my elevations.&lt;/P&gt;
&lt;P&gt;It's a shame, really.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 15:29:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/376861#M1122</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-04-17T15:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve clean looking hprism (with minimal lines) in AC26</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/376865#M1123</link>
      <description>&lt;P&gt;I had the exact same issue just last week.&lt;/P&gt;
&lt;P&gt;Off the top of my head without Archicad in front of me, I think that is the masking code for the edges.&lt;/P&gt;
&lt;P&gt;15 = show all edges&lt;/P&gt;
&lt;P&gt;15 + 64 (i.e.79) = show only visible edge of curves.&lt;/P&gt;
&lt;P&gt;15 - 1 = hide bottom edge&lt;/P&gt;
&lt;P&gt;15 - 4 = hide top edge&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I would think you want 15 + 64 - 4 as the mask.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that that will also hide the lines you highlight in red, which as you say you don't want to happen.&lt;/P&gt;
&lt;P&gt;So unfortunately, I don't think there is a solution for this.&lt;/P&gt;
&lt;P&gt;It is a shame that the 64 mask does not affect the curvature of the hill as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A tip with masks is I always try to write the mask value as ... _s = 1*1 + 2*1 + 4*1 + 8*1 + 16*1 + 32*1 + 64*1&lt;/P&gt;
&lt;P&gt;Then you can just change the 1's to 0's to see how each affects the prism.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 15:44:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/376865#M1123</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-04-17T15:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve clean looking hprism (with minimal lines) in AC26</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/376897#M1124</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/640"&gt;@runxel&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/7331"&gt;@Barry Kelly&lt;/a&gt;&amp;nbsp;for your assistance. I didn’t think there was a solution, but I thought I would try my luck on the community forums! I guess the only other way to solve this issue would be to generate the same geometry using primitive elements?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 22:39:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/376897#M1124</guid>
      <dc:creator>Jarrod Phillips</dc:creator>
      <dc:date>2023-04-17T22:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve clean looking hprism (with minimal lines) in AC26</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/376898#M1125</link>
      <description>&lt;P&gt;You could try the following... it's literally a patch job, but it seems to work at my end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;plateWidth = 0.075
plateHeight = 0.120
plateThickness = 0.005
plateCornerRadius = 0.005
gs_mat = 23
pen 1
_s = 1*1 + 2*1 + 4*0 + 8*1 + 64*1

if GLOB_CONTEXT = 2 then _s = 15 + 64*1
if GLOB_CONTEXT = 3 then _s = 11 + 64*1

if GLOB_CONTEXT = 4 then 
	_s = 1 + 2 + 8 + 64*1

	rotx 90

	add plateCornerRadius-plateWidth/2, plateCornerRadius, plateThickness + 0.0001

	s2 = 1

	cprism_ gs_mat, gs_mat, gs_mat,
			5, 0.0001,
			0, 0, s2,
			plateWidth - 2 * plateCornerRadius, 0, s2,
			plateWidth - 2 * plateCornerRadius, plateHeight - 2 * plateCornerRadius, s2,
			0, plateHeight - 2 * plateCornerRadius, s2,
			0, 0, -1
	
	del 2

endif

rotx 90

hprism_ gs_mat, gs_mat, gs_mat, gs_mat, ! top_material, bottom_material, side_material, hill_material
10, plateThickness, 0.000, plateThickness, 1, !n, thickness, angle, hill_height, status
	0, 0, _s,
	(plateWidth/2)-plateCornerRadius, 0, _s,
	plateCornerRadius, 90, 2000 + _s,
	(plateWidth/2), plateHeight-plateCornerRadius, _s,
	plateCornerRadius, 90, 2000 + _s,
	-((plateWidth/2)-plateCornerRadius), plateHeight, _s,
	plateCornerRadius, 90, 2000 + _s,
	-(plateWidth/2), plateCornerRadius, _s,
	plateCornerRadius, 90, 2000 + _s,
	0, 0, -1

del 1
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 23:22:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/376898#M1125</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2023-04-17T23:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve clean looking hprism (with minimal lines) in AC26</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/376907#M1126</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/11396"&gt;@DGSketcher&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;I hadn't thought of using a prism above the surface with invisible sides and top/side lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can get away with not offsetting the CPRISM by 0.0001 either.&lt;/P&gt;
&lt;P&gt;That means a close up view of the side will be correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_0-1681782514368.png" style="width: 908px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/36199i6AA5335BC3F007C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="BarryKelly_0-1681782514368.png" alt="BarryKelly_0-1681782514368.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;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 01:49:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/376907#M1126</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-04-18T01:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve clean looking hprism (with minimal lines) in AC26</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/377062#M1127</link>
      <description>&lt;P&gt;Nice! &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 20:12:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/377062#M1127</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-04-18T20:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve clean looking hprism (with minimal lines) in AC26</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/377525#M1128</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still getting strange shadow artifacts from this solution, I cannot place anything on the front face of the hprism as it hides the lines of the element placed on top. A neat workaround but still not producing the desired result. I think the only solution here is that Graphisoft needs to provide some updated GDL commands!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JarrodPhillips_0-1682140765000.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/36413iEDA6CABA81E892E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JarrodPhillips_0-1682140765000.png" alt="JarrodPhillips_0-1682140765000.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jarrod&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2023 05:24:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/377525#M1128</guid>
      <dc:creator>Jarrod Phillips</dc:creator>
      <dc:date>2023-04-22T05:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve clean looking hprism (with minimal lines) in AC26</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/377529#M1129</link>
      <description>&lt;P&gt;I am guessing this is a standard back plate for electrics etc? If it doesn't need to be parametric then it can be created with a Morph using hidden edges. Keep solid edges in the back face then it should display correctly in all environments. You might want to consider the resolution at the corners as everything is faceted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Save the Morph as an Object and you can then cut &amp;amp; paste the resulting Group from the 3D Script into any other objects which can then have sockets &amp;amp; switches added.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's getting beyond my experience, but it may be possible to use the ADDGROUP &amp;amp; SUBGROUP on the backplate in the 3D script to form holes if necessary.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sure there are many ways to form the Morph, I just extruded a block &amp;amp; applied fillets to the corners &amp;amp; then the top face.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2023 11:10:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/377529#M1129</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2023-04-22T11:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve clean looking hprism (with minimal lines) in AC26</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/377550#M1130</link>
      <description>&lt;P&gt;Of course you could possibly take the morph idea a bit further with 3 morph components - Corner, Edge &amp;amp; Centre Plate and use MUL on the components with ADDGROUP to form a parametric plate.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or even apply ADDGROUP to ELLIPS, TUBE &amp;amp; PRISM, although I'm not sure what will happen to the ELLIPS at the intersection with the TUBE. At least with the Morph option you are in control of the facets.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 14:56:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/377550#M1130</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2023-04-23T14:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve clean looking hprism (with minimal lines) in AC26</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/378278#M1131</link>
      <description>&lt;P&gt;Hi DGSketcher,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestions, however, I will require it to be parametric. I will have to live with the lines for now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jarrod.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 23:26:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/378278#M1131</guid>
      <dc:creator>Jarrod Phillips</dc:creator>
      <dc:date>2023-04-30T23:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve clean looking hprism (with minimal lines) in AC26</title>
      <link>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/378312#M1132</link>
      <description>&lt;P&gt;HI Jarrod,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's what I was suggesting in my last post. Create the three parts with Morphs and save them as objects. You can then cut &amp;amp; paste the 3D Script data into your parametric object as groups and use ADD &amp;amp; ROT to position copies using &amp;nbsp;the MUL function to scale them to the required parametric size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It works in my head, but it may be a challenge if your GDL experience is limited, in which case the hprism is an easy option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trevor&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 09:39:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-to-achieve-clean-looking-hprism-with-minimal-lines-in-AC26/m-p/378312#M1132</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2023-05-01T09:39:40Z</dc:date>
    </item>
  </channel>
</rss>

