<?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: Sklight tool object -what command cuts the hole in the r in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185708#M19841</link>
    <description>Hello Erika,&lt;BR /&gt;
Thanks, I found it. I opened a new object,&lt;BR /&gt;
changed its subtype to "Skylight", and&lt;BR /&gt;
opened the 3D script window and Archicad promptly crashed.&lt;BR /&gt;
This has happened twice. I was trying to make a very&lt;BR /&gt;
simple object to test if and how a hole is made&lt;BR /&gt;
in the roof. I guess I won't be able to because of this&lt;BR /&gt;
crash behavior.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
    <pubDate>Thu, 05 Aug 2010 00:13:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-08-05T00:13:36Z</dc:date>
    <item>
      <title>Sklight tool object -what command cuts the hole in the roof</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185706#M19839</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello,&lt;BR /&gt;
I looked at the 3D script of one of the skylight tool objects&lt;BR /&gt;
to find the equivalent command to wallhole that cuts the&lt;BR /&gt;
hole in the roof. I looked in the GDL manual but could not find&lt;BR /&gt;
such a command. I noticed that the subtype of the roof tool&lt;BR /&gt;
object was "Skylight" but there is no "Skylight" subtype in&lt;BR /&gt;
the list of subtypes. &lt;BR /&gt;
&lt;BR /&gt;
Does anyone know what GDL command cuts the hole ?&lt;BR /&gt;
Perhaps it is not a command but some internal function &lt;BR /&gt;
like what cuts the hole for a window or door when the &lt;BR /&gt;
3D script does not contain a wallhole command.&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Peter Devlin&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 09:53:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185706#M19839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T09:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185707#M19840</link>
      <description>In the subtype choices, go to Opening&amp;gt;roof Opening&amp;gt;Skylight.</description>
      <pubDate>Wed, 04 Aug 2010 21:17:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185707#M19840</guid>
      <dc:creator>Erika Epstein</dc:creator>
      <dc:date>2010-08-04T21:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185708#M19841</link>
      <description>Hello Erika,&lt;BR /&gt;
Thanks, I found it. I opened a new object,&lt;BR /&gt;
changed its subtype to "Skylight", and&lt;BR /&gt;
opened the 3D script window and Archicad promptly crashed.&lt;BR /&gt;
This has happened twice. I was trying to make a very&lt;BR /&gt;
simple object to test if and how a hole is made&lt;BR /&gt;
in the roof. I guess I won't be able to because of this&lt;BR /&gt;
crash behavior.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Thu, 05 Aug 2010 00:13:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185708#M19841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-05T00:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185709#M19842</link>
      <description>Just for fun I tried that, changing an objects subtype to skylight to see what happened. It did not crash AC (14).  However it did not cut hole in roof.&lt;BR /&gt;
Object was made with Objective, material glass, and had to use seo to cut hole.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/13270iAB89439E862E454D/image-size/large?v=v2&amp;amp;px=999" border="0" alt="MY SKYLIGHT OBJECT-1.png" title="MY SKYLIGHT OBJECT-1.png" /&gt;</description>
      <pubDate>Thu, 05 Aug 2010 01:38:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185709#M19842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-05T01:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185710#M19843</link>
      <description>Hello Lec,&lt;BR /&gt;
I am sure it is not as simple as that.&lt;BR /&gt;
I am assuming you have to use some of the &lt;BR /&gt;
obligatory parameters in the 3D script to cut the hole.&lt;BR /&gt;
Of course, I don't know for sure, which is&lt;BR /&gt;
why I am asking the question.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Thu, 05 Aug 2010 03:02:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185710#M19843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-05T03:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185711#M19844</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt; I guess I won't be able to because of this&lt;BR /&gt;
crash behavior.&lt;BR /&gt;
Peter Devlin&lt;/BLOCKQUOTE&gt;

Is this one of the undocumented new features?&lt;BR /&gt;
Sorry to hear about the crashes.</description>
      <pubDate>Thu, 05 Aug 2010 03:02:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185711#M19844</guid>
      <dc:creator>Erika Epstein</dc:creator>
      <dc:date>2010-08-05T03:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185712#M19845</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;Hello Lec,&lt;BR /&gt;
I am sure it is not as simple as that.&lt;BR /&gt;
I am assuming you have to use some of the &lt;BR /&gt;
obligatory parameters in the 3D script to cut the hole.&lt;BR /&gt;
Of course, I don't know for sure, which is&lt;BR /&gt;
why I am asking the question.&lt;BR /&gt;
Peter Devlin&lt;/BLOCKQUOTE&gt;

Sorry I should have made it more clear that the main thing I was responding to was that AC did not crash when I changed and objects subtype to skylight.&lt;BR /&gt;
Also did not crash when I opened the 3d script window of the object with subtype set as skylight.&lt;BR /&gt;
For whatever small amount that's worth.</description>
      <pubDate>Thu, 05 Aug 2010 03:14:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185712#M19845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-05T03:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185713#M19846</link>
      <description>Hello Erika,&lt;BR /&gt;
I checked in my AC 12 demo version and AC did not crash&lt;BR /&gt;
when opening the 3D script window, so I guess it is&lt;BR /&gt;
an AC 10 thing. Because it is the AC 12 demo version&lt;BR /&gt;
I am unable to save the lib part for testing on a roof.&lt;BR /&gt;
I did notice that the AC 12 version of the roof window&lt;BR /&gt;
lib part's parameter list is different than the  AC 10 version.&lt;BR /&gt;
I also noticed some other strangeness, like even though&lt;BR /&gt;
certain parameters are not hidden in the parameter list&lt;BR /&gt;
they do not show in the lib part's setting dialog.&lt;BR /&gt;
There is something strange about this subtype.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Thu, 05 Aug 2010 03:18:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185713#M19846</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-05T03:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185714#M19847</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I think just making an object with "Skylight"-subtype should be enough to make a hole, even if no code added at all.&lt;BR /&gt;
&lt;BR /&gt;
If you want to control the edge angles then new parameters should be added as mentioned in the "Fix named optional parameters"-documentation found &lt;A href="http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/13/LibDevGuide/Appendix_ACParams.html" target="_blank"&gt;here&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
(For other versions than 13 just change the version number in the link).&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;
3. Parameters for add-ons

Add-ons can get values from library parts through parameters with predefined name and function. The list of such parameters in connection of the AC-package add-ons follow below.

3.1. Parameters of Skylight add-on

Hole edge cut manipulation

ac_edge_lower_type - integer
Cut type of the lower edge: 0 - Vertical, 1 - Perpendicular, 2 - Horizontal, 3 - Custom
ac_edge_lower_angle - angle
Angle of the cut of the lower edge, if ac_edge_lower_type is 3. The value range is [1-179] degrees, 90 is the perpendicular case.
ac_edge_upper_type - integer
Cut type of the upper edge: 0 - Vertical, 1 - Perpendicular, 2 - Horizontal, 3 - Custom
ac_edge_upper_angle - angle
Angle of the cut of the upper edge, if ac_edge_upper_type is 3. The value range is [1-179] degrees, 90 is the perpendicular case.
&lt;/PRE&gt;

&lt;BR /&gt;
&lt;BR /&gt;
I made a demo object with just 2D code to visualize the object in the plan, nothing else. The hole appears automatically.&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;
hotspot2 0, (b*cos(ac_roofang))/2

line2 -a/2, 0,  a/2, b*cos(ac_roofang)
line2  a/2, 0, -a/2, b*cos(ac_roofang)

rect2 -a/2, 0, a/2, b*cos(ac_roofang)!&amp;lt;---rect2 is not necessary, AC draws the edge automatically

&lt;/PRE&gt;

&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps.&lt;BR /&gt;
&lt;BR /&gt;
Regards, Juha&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/16390i734DD6812D1DD7C7/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Skylight.png" title="Skylight.png" /&gt;</description>
      <pubDate>Thu, 05 Aug 2010 06:39:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185714#M19847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-05T06:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185715#M19848</link>
      <description>The demo object is here, the edge angle parameters are added.&lt;BR /&gt;
&lt;BR /&gt;
Regards, Juha</description>
      <pubDate>Thu, 05 Aug 2010 06:41:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185715#M19848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-05T06:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185716#M19849</link>
      <description>I think the Skylight subtype cuts a rectangular hole by default into the Roof.&lt;BR /&gt;
Just like basic Doors and Windows do in Walls when no WALLHOLE or WALLNICHE commands are defined in their script.&lt;BR /&gt;
I am not aware of any GDL command that would cut a non-rectangular hole into a Roof that could be used with a Skylight.&lt;BR /&gt;
I checked the Dormer Skylight object and even that cuts a rectangular hole.</description>
      <pubDate>Thu, 05 Aug 2010 09:08:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185716#M19849</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2010-08-05T09:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185717#M19850</link>
      <description>Juha,&lt;BR /&gt;
I notice your skylight object sits only half in the hole created like the ones I have made.  It doesn't seem to make a difference where I place the slab I turn into a skylight relative to 0,0,0. &lt;BR /&gt;
&lt;BR /&gt;
Do you know why?</description>
      <pubDate>Thu, 05 Aug 2010 11:32:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185717#M19850</guid>
      <dc:creator>Erika Epstein</dc:creator>
      <dc:date>2010-08-05T11:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185718#M19851</link>
      <description>Hello Juha,&lt;BR /&gt;
Thank you very much for your information.&lt;BR /&gt;
I think I can do some experimenting now.&lt;BR /&gt;
&lt;BR /&gt;
Hello laszlo,&lt;BR /&gt;
I suppose one could script fill bodies like we&lt;BR /&gt;
did for non-rectangular windows and doors&lt;BR /&gt;
before the wallhole command was introduced.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Thu, 05 Aug 2010 18:42:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185718#M19851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-05T18:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185719#M19852</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;Does anyone know what GDL command cuts the hole ?&lt;/BLOCKQUOTE&gt;
The hole-cutting is managed by an add-on. You can't do it with GDL. The add-on simply monitors the placement and editing of object of a particular subtype and manages the hole placement accordingly.</description>
      <pubDate>Thu, 05 Aug 2010 19:22:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185719#M19852</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2010-08-05T19:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185720#M19853</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;Hello laszlo,&lt;BR /&gt;
I suppose one could script fill bodies like we&lt;BR /&gt;
did for non-rectangular windows and doors&lt;BR /&gt;
before the wallhole command was introduced.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin&lt;/BLOCKQUOTE&gt;

Yes, that would be interesting if you can obtain the A and B parameters of the roof hole.&lt;BR /&gt;
What I don't know is whether you can make the edges of that hole disappear ( set their status to hidden, like you could do it with wall holes).&lt;BR /&gt;
If you can do that, then I guess it is feasible.</description>
      <pubDate>Fri, 06 Aug 2010 10:26:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185720#M19853</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2010-08-06T10:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185721#M19854</link>
      <description>&lt;BLOCKQUOTE&gt;laszlonagy wrote:&lt;BR /&gt;What I don't know is whether you can make the edges of that hole disappear ( set their status to hidden, like you could do it with wall holes). If you can do that, then I guess it is feasible.&lt;/BLOCKQUOTE&gt;
The hole-cutting is performed by an add-on, i.e. using the ArchiCAD API via C/C++. You can't do this with GDL, and hence it won't be possible to control the edges etc.</description>
      <pubDate>Fri, 06 Aug 2010 10:43:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185721#M19854</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2010-08-06T10:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185722#M19855</link>
      <description>Hello Laszlo and Ralph,  &lt;BR /&gt;
I did an experiment with the "Skylight round 10" object.  &lt;BR /&gt;
I placed an instance of the object into a roof with the  &lt;BR /&gt;
flange set to circular. In 3D it shows as a circular object  &lt;BR /&gt;
sitting in a rectangular hole in the roof. With the roof tool,  &lt;BR /&gt;
I made four infill roofs to fill in the voids between the object  &lt;BR /&gt;
and the hole edges. In 3D, since in AC 10 and later, co-planer  &lt;BR /&gt;
surfaces clean up, the edges of the hole in the roof were not  &lt;BR /&gt;
visible. I am puzzled that the programmers  at GS did not &lt;BR /&gt;
put into the script infill bodies, since I believe that GDL  objects &lt;BR /&gt;
can clean up with AC tool elements with certain caveats.&lt;BR /&gt;
This may have changed in later versions of the object.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sat, 07 Aug 2010 02:21:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185722#M19855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-07T02:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sklight tool object -what command cuts the hole in the r</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185723#M19856</link>
      <description>I see a pair of patching planes in the circular dome in the AC14 library. I think this is pretty much what can be done with the current technology.&lt;BR /&gt;
&lt;BR /&gt;
There's something more advanced coming up but that won't solve your problems this year...&lt;BR /&gt;
&lt;BR /&gt;
Best,</description>
      <pubDate>Tue, 10 Aug 2010 12:22:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Sklight-tool-object-what-command-cuts-the-hole-in-the-roof/m-p/185723#M19856</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2010-08-10T12:22:56Z</dc:date>
    </item>
  </channel>
</rss>

