<?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: Incline hedge gdl in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/268999#M6332</link>
    <description>&lt;BLOCKQUOTE&gt;Karl wrote:&lt;BR /&gt;Simply rotating the hedge would have it growing outward at a slope rather than still growing vertically.
&lt;/BLOCKQUOTE&gt;

This is true - I was trying to keep it simple.&lt;BR /&gt;
I thought skewing it would have ben a bit more complicated until I looked back at the script.&lt;BR /&gt;
&lt;BR /&gt;
Actually adding an XFORM command is probably just as easy as adding the ROT commands.&lt;BR /&gt;
&lt;BR /&gt;
I did this myself in the hedge object (see image attached).&lt;BR /&gt;
&lt;BR /&gt;
At the beginning of the 3D script add...&lt;BR /&gt;

&lt;PRE&gt;XFORM 1, 0, 0, 0,
0, 1, 0, 0,
rake_len_hgt/A, rake_wid_hgt/B, 1, 0&lt;/PRE&gt;

&lt;BR /&gt;
Create 2 parameters.&lt;BR /&gt;
&lt;BR /&gt;
rake_len_hgt is the height you want to rake along the length of the hedge&lt;BR /&gt;
&lt;BR /&gt;
rake_wid_hgt is the height you want to rake along the width of the hedge&lt;BR /&gt;
&lt;BR /&gt;
It really should be a simple as adding that to the beginning of the 3D script.&lt;BR /&gt;
Save the hedge as a new object with a new name so you don't accidentally replace it if ever the Graphisoft library gets updated.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
    <pubDate>Thu, 16 Mar 2017 05:41:55 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2017-03-16T05:41:55Z</dc:date>
    <item>
      <title>Incline hedge gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/268996#M6329</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;So Im not to sure if this can be done but is it possible to change the hedge 20 object so that it inclines with the sloping site I am currently trying to model ?&lt;BR /&gt;
&lt;BR /&gt;
Im a novice at GDL object parameters so dare not touch it without advise.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:41:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/268996#M6329</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-15T15:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Incline hedge gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/268997#M6330</link>
      <description>You won't be able to automate it so it follows your site but you can add ROTx and/or ROTy commands in the 3D script so you can manually input the angle.&lt;BR /&gt;
You will need separate hedge objects as the angles change.&lt;BR /&gt;
&lt;BR /&gt;
You could even add moveable hotspots in 3D so you can adjust it visually in the 3D window rather than parameter in the object settings.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 16 Mar 2017 00:29:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/268997#M6330</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-03-16T00:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Incline hedge gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/268998#M6331</link>
      <description>If the site slope is uniform and not too large (which could look weird using this approach) - you could try the "skewer" tool that I wrote back in 2004.  It would take the hedge object as input, and then you'd specify how you'd like it skewed in the section view... which would basically slope the hedge, while keeping the plant erect.  Simply rotating the hedge would have it growing outward at a slope rather than still growing vertically.&lt;BR /&gt;
&lt;BR /&gt;
The pages I wrote for the draft of David Nicholson-Cole's GDL Cookbook 4 are too large to attach here, but they've been archived by Frank Beister here:&lt;BR /&gt;
&lt;A href="http://www.opengdl.org/Portals/14/OGB-objects/ottenstein/Skewer_and_XFORM.pdf?ver=2009-10-23-093528-600" target="_blank"&gt;&lt;LINK_TEXT text="http://www.opengdl.org/Portals/14/OGB-o ... 093528-600"&gt;http://www.opengdl.org/Portals/14/OGB-objects/ottenstein/Skewer_and_XFORM.pdf?ver=2009-10-23-093528-600&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
The object itself is attached and is also here:&lt;BR /&gt;
&lt;A href="http://www.opengdl.org/Default.aspx?tabid=2060" target="_blank"&gt;http://www.opengdl.org/Default.aspx?tabid=2060&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Not sure if this will do the trick for you or not, but maybe...</description>
      <pubDate>Thu, 16 Mar 2017 04:26:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/268998#M6331</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2017-03-16T04:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Incline hedge gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/268999#M6332</link>
      <description>&lt;BLOCKQUOTE&gt;Karl wrote:&lt;BR /&gt;Simply rotating the hedge would have it growing outward at a slope rather than still growing vertically.
&lt;/BLOCKQUOTE&gt;

This is true - I was trying to keep it simple.&lt;BR /&gt;
I thought skewing it would have ben a bit more complicated until I looked back at the script.&lt;BR /&gt;
&lt;BR /&gt;
Actually adding an XFORM command is probably just as easy as adding the ROT commands.&lt;BR /&gt;
&lt;BR /&gt;
I did this myself in the hedge object (see image attached).&lt;BR /&gt;
&lt;BR /&gt;
At the beginning of the 3D script add...&lt;BR /&gt;

&lt;PRE&gt;XFORM 1, 0, 0, 0,
0, 1, 0, 0,
rake_len_hgt/A, rake_wid_hgt/B, 1, 0&lt;/PRE&gt;

&lt;BR /&gt;
Create 2 parameters.&lt;BR /&gt;
&lt;BR /&gt;
rake_len_hgt is the height you want to rake along the length of the hedge&lt;BR /&gt;
&lt;BR /&gt;
rake_wid_hgt is the height you want to rake along the width of the hedge&lt;BR /&gt;
&lt;BR /&gt;
It really should be a simple as adding that to the beginning of the 3D script.&lt;BR /&gt;
Save the hedge as a new object with a new name so you don't accidentally replace it if ever the Graphisoft library gets updated.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 16 Mar 2017 05:41:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/268999#M6332</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-03-16T05:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Incline hedge gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/269000#M6333</link>
      <description>If you are using the hedge that has a curved option then place the XFORM command at the beginning of the 3D script for the straight hedge only - not at the very beginning of the script as I said before.&lt;BR /&gt;
&lt;BR /&gt;
I could not get a satisfactory result to skew the curved hedge.&lt;BR /&gt;
Besides it dose not use the length and width (A &amp;amp; B parameters) in its code.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 16 Mar 2017 05:53:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/269000#M6333</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-03-16T05:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Incline hedge gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/269001#M6334</link>
      <description>Barry,&lt;BR /&gt;
        I've had a look at what you have suggested but Im a total novice so I must be putting the code in incorrectly or in the wrong place as it just gives me an error code when I try  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 07 Jun 2018 13:10:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/269001#M6334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-07T13:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Incline hedge gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/269002#M6335</link>
      <description>It seems you have put the XFORM command in the Parameter script.&lt;BR /&gt;
It needs to go in the 3D script.&lt;BR /&gt;
You will need to place it at the beginning of the script that creates the straight hedge.&lt;BR /&gt;
Ideally add a 'DEL 1' at the end of that part of the script for the straight hedge, although this is not absolutely necessary as there will be no more script run after completing the straight hedge so there is no need to undo the transformation.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 08 Jun 2018 01:32:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Incline-hedge-gdl/m-p/269002#M6335</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-06-08T01:32:12Z</dc:date>
    </item>
  </channel>
</rss>

