<?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 show can lights in a sloped ceiling in Modeling</title>
    <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128354#M68131</link>
    <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;You could try saving your light as a new object (so as not to lose the original) and change the subtype to be a skylight.&lt;BR /&gt;
&lt;BR /&gt;
Then you would have to add a &lt;FONT color="#ff0024"&gt;ROTx ac_roofang &lt;/FONT&gt;command at the beginning of your 3D script to get the automatic roof slope.&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;/BLOCKQUOTE&gt;

I'm trying this but I've never done any kind of scripting for a GSM before.&lt;BR /&gt;
How would I change the subtype to Skylight?  I didn't see that as an option or script line.&lt;BR /&gt;
I added the line:&lt;BR /&gt;
ROTx ac_roofang above the first line of the 3D script after the object name but errors kept popping up when I tried checking the script.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
John</description>
    <pubDate>Fri, 09 Mar 2012 08:35:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-03-09T08:35:53Z</dc:date>
    <item>
      <title>how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128347#M68124</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I am trying to generate a 3D interior view showing can lights in a sloped ceiling.&lt;BR /&gt;
Can anyone tell me how to show this.  As far as I can see the only tool that sticks to a roof is the skylight tool but I haven't figured out how to tweek that so I can make a respectable 3D can light.&lt;BR /&gt;
&lt;BR /&gt;
can light=concealed ceiling fixture&lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
John&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 12:43:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128347#M68124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-23T12:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128348#M68125</link>
      <description>Don't forget you have the "Gravity to roof" option when placing any element or object.&lt;BR /&gt;
Just make sure you have all other roofs turned off except for the ceiling.&lt;BR /&gt;
The other thing is they will all sit on top of the ceiling (roof) unless you have an option in the object to drop them down a bit.&lt;BR /&gt;
If not you may have to put them all in and then drop them all together by the ceiling thickness.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 09 Mar 2012 02:37:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128348#M68125</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2012-03-09T02:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128349#M68126</link>
      <description>Hi John:&lt;BR /&gt;
You could use the "Cone" object from: Special Construction&amp;gt; Basic Shapes&amp;gt; (in AC13).&lt;BR /&gt;
&lt;BR /&gt;
Adjust the bottom circle radius as desired, place it in the ceiling and SEO it out (Subtract w/ downward extrusion, inherit  attributes of operator). Ceiling has to be thicker than the cone. Hide the cone's layer.&lt;BR /&gt;
&lt;BR /&gt;
It would create an oval hole in the ceiling as from a sloped ceiling can (as opposed to a round hole from a flat ceiling can).&lt;BR /&gt;
&lt;BR /&gt;
You could place a lamp object in the cavity if your lighting a scene.&lt;BR /&gt;
&lt;BR /&gt;
There must be a recessed can object out there somewhere &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt;&lt;BR /&gt;
-Maleko&lt;BR /&gt;
&lt;BR /&gt;
EDIT: Somewhat on topic discussed  &lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=33265&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;" target="_blank"&gt;HERE&lt;/A&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/8769i58B3DF17D6B2735F/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen shot 2012-03-08 at 8.26.17 PM.png" title="Screen shot 2012-03-08 at 8.26.17 PM.png" /&gt;</description>
      <pubDate>Fri, 09 Mar 2012 03:41:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128349#M68126</guid>
      <dc:creator>Stress Co_</dc:creator>
      <dc:date>2012-03-09T03:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128350#M68127</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;Don't forget you have the "Gravity to roof" option when placing any element or object.&lt;BR /&gt;
Barry.&lt;/BLOCKQUOTE&gt;
Aloha Barry,&lt;BR /&gt;
Thanks for the tip.  I always forget that the Gravity Tool is there.&lt;BR /&gt;
My problem is getting a recessed can light to tilt to the angle of my sloped ceiling.  ArchiCAD 11 does have a recessed can light in the lighting tool library.  Unfortunately, it does not seem to have a setting to tilt it to match a sloped ceiling.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
John</description>
      <pubDate>Fri, 09 Mar 2012 07:53:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128350#M68127</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T07:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128351#M68128</link>
      <description>&lt;BLOCKQUOTE&gt;Stress wrote:&lt;BR /&gt;There must be a recessed can object out there somewhere&lt;/BLOCKQUOTE&gt;
Aloha Marc,&lt;BR /&gt;
Thanks for the tip about the cone.  Cleaver idea.&lt;BR /&gt;
I actually do want a round hole in the ceiling.  Recessed can lights in sloped ceiling have a round trim ring which is what I'm trying to model.   For now I'm just going to cut a round hole in a thin ceiling element created with the roof tool.  That will give me the basic shape without the trim ring.&lt;BR /&gt;
Then I'll take your tip and put a light source behind the ceiling for the projected light.&lt;BR /&gt;
This would be much easier with a Library object that could change angles to match a sloped ceiling.  &lt;BR /&gt;
I'm surprised that that this type of lamp isn't a stock Library Object.  I ageee with you, "There must be a recessed can object &lt;B&gt;&lt;I&gt;&lt;/I&gt;&lt;/B&gt;&lt;S&gt;&lt;B&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/B&gt;&lt;/S&gt;that will work for a sloped ceiling&lt;E&gt;&lt;/E&gt; out there somewhere.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
John</description>
      <pubDate>Fri, 09 Mar 2012 08:00:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128351#M68128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T08:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128352#M68129</link>
      <description>You could try saving your light as a new object (so as not to lose the original) and change the subtype to be a skylight.&lt;BR /&gt;
&lt;BR /&gt;
Then you would have to add a &lt;FONT color="#ff0024"&gt;ROTx ac_roofang &lt;/FONT&gt;command at the beginning of your 3D script to get the automatic roof slope.&lt;BR /&gt;
&lt;BR /&gt;
I'm not sure what will happen to the hole in the roof.&lt;BR /&gt;
You might just have to try it and see what happens.&lt;BR /&gt;
I haven't played with skylight objects at all.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 09 Mar 2012 08:07:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128352#M68129</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2012-03-09T08:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128353#M68130</link>
      <description>Close but no cigar.&lt;BR /&gt;
I have no idea how the roof hole is cut.&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 09 Mar 2012 08:25:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128353#M68130</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2012-03-09T08:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128354#M68131</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;You could try saving your light as a new object (so as not to lose the original) and change the subtype to be a skylight.&lt;BR /&gt;
&lt;BR /&gt;
Then you would have to add a &lt;FONT color="#ff0024"&gt;ROTx ac_roofang &lt;/FONT&gt;command at the beginning of your 3D script to get the automatic roof slope.&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;/BLOCKQUOTE&gt;

I'm trying this but I've never done any kind of scripting for a GSM before.&lt;BR /&gt;
How would I change the subtype to Skylight?  I didn't see that as an option or script line.&lt;BR /&gt;
I added the line:&lt;BR /&gt;
ROTx ac_roofang above the first line of the 3D script after the object name but errors kept popping up when I tried checking the script.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
John</description>
      <pubDate>Fri, 09 Mar 2012 08:35:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128354#M68131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T08:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128355#M68132</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;Close but no cigar.&lt;BR /&gt;
I have no idea how the roof hole is cut.&lt;BR /&gt;
Barry.&lt;/BLOCKQUOTE&gt;
cutting the roof hole is the easy part.  &lt;BR /&gt;
1) select the roof with the roof tool selected.  (Right click, select and activate tool.&lt;BR /&gt;
2) on the pet palette select the subtract operator (the one with the minus sign)&lt;BR /&gt;
3) make a 4"x4" square hole in the roof&lt;BR /&gt;
4) select a corner of the hole in the roof and select the fillet option on the pet palette.&lt;BR /&gt;
5) set the fillet to 1 63/64" and select "all corners".&lt;BR /&gt;
Prestico, Magico you should have a fairly round looking 4" hole in the roof.&lt;BR /&gt;
&lt;BR /&gt;
Now, how can I get the tilting library object that you just made? &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
John</description>
      <pubDate>Fri, 09 Mar 2012 08:42:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128355#M68132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T08:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128356#M68133</link>
      <description>Set the subtype here.&lt;BR /&gt;
You may be getting the error becausr the "ac_roofang" parameter doesn't exist till you set the roof type.&lt;BR /&gt;
Barry.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/6643i76294022B8A14DAD/image-size/large?v=v2&amp;amp;px=999" border="0" alt="sky-light_3.jpg" title="sky-light_3.jpg" /&gt;</description>
      <pubDate>Fri, 09 Mar 2012 08:48:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128356#M68133</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2012-03-09T08:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128357#M68134</link>
      <description>I'm getting closer but it looks like the hole is always a rectangle.&lt;BR /&gt;
I guess a rectangular prism with a round hole the same thickness and material as the roof could be scripted in to fill the gap.&lt;BR /&gt;
&lt;BR /&gt;
I'm not sure if the hole can be turned off completely and then you add your own hole manually.&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/8743i8E941CFD97D745B0/image-size/large?v=v2&amp;amp;px=999" border="0" alt="sky-light_2.jpg" title="sky-light_2.jpg" /&gt;</description>
      <pubDate>Fri, 09 Mar 2012 08:55:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128357#M68134</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2012-03-09T08:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128358#M68135</link>
      <description>Barry,&lt;BR /&gt;
Cool trick.  Thanks for showing me how to alter a library part.&lt;BR /&gt;
Unfortunately, my new library part cuts a rectangular and offset hole in the roof just like you show above.&lt;BR /&gt;
Please let me know if you figure out a way to fix the hole that this library part cuts in the roof.&lt;BR /&gt;
For the time being I'm cutting round holes in the roof and putting a light behind each hole.&lt;BR /&gt;
Mahalo,&lt;BR /&gt;
John</description>
      <pubDate>Fri, 09 Mar 2012 09:03:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128358#M68135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T09:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128359#M68136</link>
      <description>The only way I can see to turn off the hole is to trick it by setting the length(A) and width (B) parameters to zero.&lt;BR /&gt;
But this will affect the size of the light also.&lt;BR /&gt;
So new parameters would need to be added for the size (length and width) of the light fitting and all the scripts amended to suit.&lt;BR /&gt;
&lt;BR /&gt;
Add the 3 lines of code to the 3D script that I showed in the last creen shot and that will reposition the light to fit the hole (but it will still be square).&lt;BR /&gt;
&lt;BR /&gt;
You could just leave the subtype as a "Light".&lt;BR /&gt;
Add two lines of code to the 3D script.&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="#ff0009"&gt;ROTx roofang&lt;BR /&gt;
ADDz roofthk&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
Then create 2 new parameters - &lt;FONT color="#ff0012"&gt;roofang&lt;/FONT&gt; (as an angle parameter) and &lt;FONT color="#ff0000"&gt;roofthk&lt;/FONT&gt; (as a  length).&lt;BR /&gt;
&lt;BR /&gt;
Now you can use gravity to snap the light to the roof and you can manually set the roof slope and thickness in your light object parameters.&lt;BR /&gt;
And manually cut the holes in the roof.&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/6847iE692C0EEFF5793BB/image-size/large?v=v2&amp;amp;px=999" border="0" alt="sky-light_4.jpg" title="sky-light_4.jpg" /&gt;</description>
      <pubDate>Fri, 09 Mar 2012 09:20:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128359#M68136</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2012-03-09T09:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to show can lights in a sloped ceiling</title>
      <link>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128360#M68137</link>
      <description>Big mahalo to you Barry,&lt;BR /&gt;
Thanks for helping me to learn how to customize GDL scripts.  I would have learned a lot less if you had just sent me the part.&lt;BR /&gt;
&lt;BR /&gt;
Now I'm hoping that someone figures out how to make the hole in the roof match the shape of the can.&lt;BR /&gt;
Aloha,&lt;BR /&gt;
John</description>
      <pubDate>Fri, 09 Mar 2012 22:29:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Modeling/how-to-show-can-lights-in-a-sloped-ceiling/m-p/128360#M68137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T22:29:20Z</dc:date>
    </item>
  </channel>
</rss>

