<?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: Object 2D view loses hidden edges effect in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130864#M14204</link>
    <description>The fault is, that AC exports a slab fill as two poly_B commands. One for the fill and one for the lines. The second one for the lines is transparent. So they can't cover each other.&lt;BR /&gt;
&lt;BR /&gt;
You have to correct it manual to get the same result: Delete the second POLY_B-command and modify in the first command the second parameter by aleading &lt;FONT color="#FF0000"&gt;&lt;B&gt;1+&lt;/B&gt;&lt;/FONT&gt;. This toggles the switch to make the contour visible.&lt;BR /&gt;
&lt;BR /&gt;
Example:&lt;PRE&gt;pen     penAttribute_1
fill fillAttribute_1
poly2_b{5}       5,     1 + 66,      2,      3, penAttribute_1, penAttribute_2, 
                   0,            0,            1,            0,            0,            1,            0, 
        -17.42024351106, 22.08870688189,      1, 
        -17.40158209447, 21.6734903627,      1, 
        -17.05168053336, 21.79012421641,      1, 
        -17.05168053336, 22.08870688189,      1, 
        -17.42024351106, 22.08870688189,      1
!pen     penAttribute_3
!fill fillAttribute_2
!poly2_b{5}       5,      1,      0,      3,      1,      0, 
!				   0,            0,            1,            0,            0,            1,            0, 
!		-17.42024351106, 22.08870688189,      1, 
!		-17.05168053336, 22.08870688189,      1, 
!		-17.05168053336, 21.79012421641,      1, 
!		-17.40158209447, 21.6734903627,      1, 
!		-17.42024351106, 22.08870688189,      1
&lt;/PRE&gt;</description>
    <pubDate>Tue, 26 Mar 2013 08:30:02 GMT</pubDate>
    <dc:creator>Frank Beister</dc:creator>
    <dc:date>2013-03-26T08:30:02Z</dc:date>
    <item>
      <title>Object 2D view loses hidden edges effect</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130856#M14196</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;When I save fills or slabs as an object, I get a different 2D view. Object that was made from fills looks OK, however object that was made using slabs loses hidden edges effect. Is it a bug? Does somebody know how to fix it?&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/74893iB7C35D99D8D1CA31/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Hidden Edges.png" title="Hidden Edges.png" /&gt;</description>
      <pubDate>Mon, 25 Mar 2013 01:34:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130856#M14196</guid>
      <dc:creator>Dalius</dc:creator>
      <dc:date>2013-03-25T01:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Object 2D view loses hidden edges effect</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130857#M14197</link>
      <description>Probably you have done in Archicad this from rectangles applying command "move forward" &lt;BR /&gt;
You need to manually correct the script. You should be there command will POLY2_ &lt;BR /&gt;
So it is necessary edit coordinates of the points. Your rectangles should converted into hexagons. Calculate how much you have at the landfill of points of angles. 6 + seventh with a closing status = -1 &lt;BR /&gt;
 &lt;BR /&gt;
Or apply DRAWINDEX. Elements with less drawindex are drawn before. &lt;BR /&gt;
Read GDL Reference Guide</description>
      <pubDate>Mon, 25 Mar 2013 04:51:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130857#M14197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-25T04:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Object 2D view loses hidden edges effect</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130858#M14198</link>
      <description>For me, it works this way:&lt;BR /&gt;
If the fill has a background pen different than zero, then it turns out in an opaque object otherwise it is like wireframe.&lt;BR /&gt;
For Slabs it is the same, but you need to activate the "covering fill" option.&lt;BR /&gt;
At the end, the object reflects the exact same aspect of the original elements on the floor plan.&lt;BR /&gt;
The bad is that in AC 16 the autoscripted objects don't get a parameter to change the background pen.</description>
      <pubDate>Mon, 25 Mar 2013 07:20:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130858#M14198</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2013-03-25T07:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Object 2D view loses hidden edges effect</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130859#M14199</link>
      <description>&lt;BLOCKQUOTE&gt;rocorona wrote:&lt;BR /&gt;If the fill has a background pen different than zero, then it turns out in an opaque object otherwise it is like wireframe.&lt;/BLOCKQUOTE&gt;

Roberto, why it does not work when I save Slabs with covered fills and different colors? Please look at the attached image.</description>
      <pubDate>Mon, 25 Mar 2013 08:48:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130859#M14199</guid>
      <dc:creator>Dalius</dc:creator>
      <dc:date>2013-03-25T08:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Object 2D view loses hidden edges effect</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130860#M14200</link>
      <description>Is the contour line closed or do you have any openings inside your slab?</description>
      <pubDate>Mon, 25 Mar 2013 11:19:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130860#M14200</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2013-03-25T11:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Object 2D view loses hidden edges effect</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130861#M14201</link>
      <description>&lt;BLOCKQUOTE&gt;Dalius wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;rocorona wrote:&lt;BR /&gt;If the fill has a background pen different than zero, then it turns out in an opaque object otherwise it is like wireframe.&lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
 &lt;BR /&gt;
Roberto, why it does not work when I save Slabs&lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
Don't know why it doesn't works for you. I didn't do anything particular, just save as object. &lt;BR /&gt;
 &lt;BR /&gt;
You can manually change a parameter in the script, if are not scared by GDL. &lt;BR /&gt;
Typically a 2D polygon is scripted with a command like this one: 
&lt;PRE&gt;poly2_b{5}       5,      7,      0,      3,      10,      0,&lt;/PRE&gt; &lt;BR /&gt;
(followed by the numbers) &lt;BR /&gt;
The 6th parameter, here a zero, is the background pen. Zero is the transparent pen, that you can change for any other, or even with a parameter. I also suggest to set the second parameter to 7 (border ON + fill ON + closed perimeter)</description>
      <pubDate>Tue, 26 Mar 2013 07:02:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130861#M14201</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2013-03-26T07:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Object 2D view loses hidden edges effect</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130862#M14202</link>
      <description>It seems that there's a bug in GDL, which makes fills transparent (regardless, if they have a background pen), in case of their contour line is not continious.</description>
      <pubDate>Tue, 26 Mar 2013 07:59:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130862#M14202</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2013-03-26T07:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Object 2D view loses hidden edges effect</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130863#M14203</link>
      <description>Object background is not transparent. My question was - why only saving the fills I get an object with right floor plan view, I mean, hidden edges view. However saving the slabs (or morphs, or any other 3D elements) I get an object that loses hidden edges effect? Please look at another example - I’m saving some morphs as an object. The final result is not transparent, it has a background color, but it looks like transparent, because lines are not hidden.</description>
      <pubDate>Tue, 26 Mar 2013 08:12:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130863#M14203</guid>
      <dc:creator>Dalius</dc:creator>
      <dc:date>2013-03-26T08:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Object 2D view loses hidden edges effect</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130864#M14204</link>
      <description>The fault is, that AC exports a slab fill as two poly_B commands. One for the fill and one for the lines. The second one for the lines is transparent. So they can't cover each other.&lt;BR /&gt;
&lt;BR /&gt;
You have to correct it manual to get the same result: Delete the second POLY_B-command and modify in the first command the second parameter by aleading &lt;FONT color="#FF0000"&gt;&lt;B&gt;1+&lt;/B&gt;&lt;/FONT&gt;. This toggles the switch to make the contour visible.&lt;BR /&gt;
&lt;BR /&gt;
Example:&lt;PRE&gt;pen     penAttribute_1
fill fillAttribute_1
poly2_b{5}       5,     1 + 66,      2,      3, penAttribute_1, penAttribute_2, 
                   0,            0,            1,            0,            0,            1,            0, 
        -17.42024351106, 22.08870688189,      1, 
        -17.40158209447, 21.6734903627,      1, 
        -17.05168053336, 21.79012421641,      1, 
        -17.05168053336, 22.08870688189,      1, 
        -17.42024351106, 22.08870688189,      1
!pen     penAttribute_3
!fill fillAttribute_2
!poly2_b{5}       5,      1,      0,      3,      1,      0, 
!				   0,            0,            1,            0,            0,            1,            0, 
!		-17.42024351106, 22.08870688189,      1, 
!		-17.05168053336, 22.08870688189,      1, 
!		-17.05168053336, 21.79012421641,      1, 
!		-17.40158209447, 21.6734903627,      1, 
!		-17.42024351106, 22.08870688189,      1
&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Mar 2013 08:30:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130864#M14204</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2013-03-26T08:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Object 2D view loses hidden edges effect</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130865#M14205</link>
      <description>There is also Drawindex command, that might be needed to achieve the correct position of the "parts" - ie if more poly** commands used.&lt;BR /&gt;
&lt;BR /&gt;
Best Regards,&lt;BR /&gt;
Piotr</description>
      <pubDate>Tue, 26 Mar 2013 09:50:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130865#M14205</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2013-03-26T09:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Object 2D view loses hidden edges effect</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130866#M14206</link>
      <description>No. Drawindex does not work, because you can only toggle between (all!) lines visible or lines invisible (coverd by the fills). Only if you have less than 8 fills it could work, because DRAWINDEX is limitated to 8 "groups".&lt;BR /&gt;
&lt;BR /&gt;
AND, why is it not exported the right way?</description>
      <pubDate>Tue, 26 Mar 2013 13:59:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130866#M14206</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2013-03-26T13:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Object 2D view loses hidden edges effect</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130867#M14207</link>
      <description>There are 3745 poly2 commands in my object 2D script... Is there an easier way to get a true floor plan view?</description>
      <pubDate>Tue, 26 Mar 2013 21:42:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-2D-view-loses-hidden-edges-effect/m-p/130867#M14207</guid>
      <dc:creator>Dalius</dc:creator>
      <dc:date>2013-03-26T21:42:44Z</dc:date>
    </item>
  </channel>
</rss>

