<?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 create a &amp;quot;skewed&amp;quot; wall? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119120#M26249</link>
    <description>Again, thanks, Peter for your posts, as it turns out that David omitted my pages from the Cookbook 4 for some reason.  The CB4 can be downloaded from here:&lt;BR /&gt;
&lt;A href="http://www.archicad.ca/?p=84#more-84" target="_blank"&gt;http://www.archicad.ca/?p=84#more-84&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
(Thanks to Dwight for pointing that out in another thread.)&lt;BR /&gt;
&lt;BR /&gt;
Both PDF and the object are uploaded to the depository here under 01 General: &lt;A href="http://archicad-talk.graphisoft.com/object_depository.php" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/obj ... sitory.php"&gt;http://archicad-talk.graphisoft.com/object_depository.php&lt;/LINK_TEXT&gt;&lt;/A&gt;?&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Karl</description>
    <pubDate>Sat, 13 Dec 2008 19:35:20 GMT</pubDate>
    <dc:creator>Karl Ottenstein</dc:creator>
    <dc:date>2008-12-13T19:35:20Z</dc:date>
    <item>
      <title>How to skew something (via XFORM)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119112#M26241</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Apologies to Katarina:&lt;BR /&gt;
&lt;BR /&gt;
Her thread was sort of hijacked into a discussion of XFORM, so I have copied it into the GDL forum for further discussion of XFORM.  Her original question on walls should be answered in the remaining thread in Working in ArchiCAD:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=26825" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... hp?t=26825"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=26825&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Sincerely,&lt;BR /&gt;
Karl&lt;BR /&gt;
&lt;BR /&gt;
------------------------------&lt;BR /&gt;
&lt;BR /&gt;
Hello,&lt;BR /&gt;
&lt;BR /&gt;
I am trying to create a wall that is slanted in two different directions, see the picture, but I haven’t been able to figure out how to do. I have looked at the complex profiles tool, but I have only managed to create a wall that is slanted at the same direction in both ends, not in opposite directions.&lt;BR /&gt;
&lt;BR /&gt;
Anyone who knows how to do?&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Katarina&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/72619iC5C6D850FC69F6BC/image-size/large?v=v2&amp;amp;px=999" border="0" alt="testvy.jpg" title="testvy.jpg" /&gt;</description>
      <pubDate>Sat, 15 Nov 2008 17:09:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119112#M26241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-15T17:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119113#M26242</link>
      <description>Cannot think of a way to do this with walls of the top of my sleepy head.&lt;BR /&gt;
&lt;BR /&gt;
But, you can create those shapes with GDL script ... or visually  in ArchiForma (Cigraph plug-in).  Just a Ruled surface (either GDL or ArchiForma) would do it...with the top and bottoms of your walls being the match lines unless the wall is to bulge too... then probably need a Coons. The result would be an object, not a wall.&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Sat, 15 Nov 2008 20:12:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119113#M26242</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2008-11-15T20:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119114#M26243</link>
      <description>Hello Karl,&lt;BR /&gt;
I was wondering whether your "Skewer.gsm" object could be used&lt;BR /&gt;
to twist another object with a simple rectangular cross section.&lt;BR /&gt;
Otherwise, the only way I can think of, other than the GDL commands&lt;BR /&gt;
you have mentioned, is to use the TUBE command with an incrementing&lt;BR /&gt;
angle parameter in a multi-segment path to create the twist.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sat, 15 Nov 2008 20:43:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119114#M26243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-15T20:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119115#M26244</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;I was wondering whether your "Skewer.gsm" object could be used&lt;BR /&gt;
to twist another object with a simple rectangular cross section...&lt;/BLOCKQUOTE&gt;

Hi Peter,&lt;BR /&gt;
&lt;BR /&gt;
I didn't think anyone noticed the Skewer thing, since CB 4 never got printed. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
Skewer will distort all points in an object in the same way, so it wouldn't be able to do the irregular shape shown below.&lt;BR /&gt;
&lt;BR /&gt;
Yes, I think Tube would do it, too.&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Karl</description>
      <pubDate>Sat, 15 Nov 2008 21:37:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119115#M26244</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2008-11-15T21:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119116#M26245</link>
      <description>Hello Karl,&lt;BR /&gt;
I have your "skewer.gsm" object but for the life of me&lt;BR /&gt;
I can't remember where I got it from. I have Cookbook 4&lt;BR /&gt;
as a PDF but I got that way after I got "skewer.gsm" and&lt;BR /&gt;
the code for "skewer.gsm" is not in that PDF.&lt;BR /&gt;
Frank Beister in this thread indicated that he had it in his &lt;BR /&gt;
openGDL board site but I could not find it there.&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=74058&amp;amp;highlight=skewer#74058" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... ewer#74058"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?p=74058&amp;amp;highlight=skewer#74058&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sat, 15 Nov 2008 22:20:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119116#M26245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-15T22:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119117#M26246</link>
      <description>Hi Peter,&lt;BR /&gt;
&lt;BR /&gt;
I didn't realize that David didn't distribute a zip of the contributed library parts with the CB4 PDF.  I've uploaded the skewer.gsm object and the PDF pages describing it (dating from 2004) to the GDL Depository in the 01 General section:&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/object_depository.php" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/obj ... sitory.php"&gt;http://archicad-talk.graphisoft.com/object_depository.php&lt;/LINK_TEXT&gt;&lt;/A&gt;?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Karl</description>
      <pubDate>Sat, 15 Nov 2008 22:50:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119117#M26246</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2008-11-15T22:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119118#M26247</link>
      <description>Hello Karl,&lt;BR /&gt;
I am glad you did that because I think it is a useful object.&lt;BR /&gt;
I have not used it myself because I have your XFORM object&lt;BR /&gt;
that taught me how to use the XFORM command in GDL scripts&lt;BR /&gt;
and I have used it several times in my scripts.&lt;BR /&gt;
So, I thank you,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sun, 16 Nov 2008 00:29:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119118#M26247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-16T00:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119119#M26248</link>
      <description>Thanks, Peter. Glad it was helpful.  &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
To you and the 5 other people who downloaded between when I posted and now... please download again, as I accidentally posted the first draft rather than the final March 2004 version of the PDF and the object.  (The Feb 2004 version did not assign unique ID's to each hotspot.)&lt;BR /&gt;
&lt;BR /&gt;
Thanks and best regards,&lt;BR /&gt;
Karl</description>
      <pubDate>Sun, 16 Nov 2008 01:49:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119119#M26248</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2008-11-16T01:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119120#M26249</link>
      <description>Again, thanks, Peter for your posts, as it turns out that David omitted my pages from the Cookbook 4 for some reason.  The CB4 can be downloaded from here:&lt;BR /&gt;
&lt;A href="http://www.archicad.ca/?p=84#more-84" target="_blank"&gt;http://www.archicad.ca/?p=84#more-84&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
(Thanks to Dwight for pointing that out in another thread.)&lt;BR /&gt;
&lt;BR /&gt;
Both PDF and the object are uploaded to the depository here under 01 General: &lt;A href="http://archicad-talk.graphisoft.com/object_depository.php" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/obj ... sitory.php"&gt;http://archicad-talk.graphisoft.com/object_depository.php&lt;/LINK_TEXT&gt;&lt;/A&gt;?&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Karl</description>
      <pubDate>Sat, 13 Dec 2008 19:35:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119120#M26249</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2008-12-13T19:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119121#M26250</link>
      <description>Hello Karl,&lt;BR /&gt;
Thank you for uploading the object and the PDF.&lt;BR /&gt;
I had skewer.gsm but never had the .PDF  tutorial.&lt;BR /&gt;
I had stated in one of my posts in this thread that&lt;BR /&gt;
I had your XFORM object and that it taught me&lt;BR /&gt;
how to use the XFORM command. I now discover&lt;BR /&gt;
that I no longer have your XFORM object in my hard drive.&lt;BR /&gt;
I must have lost it when my previous computer fried it's hard drive.&lt;BR /&gt;
&lt;BR /&gt;
Is there any way I can obtain your XFORM object since it not&lt;BR /&gt;
only explained how XFORM worked but it demonstrated how&lt;BR /&gt;
it worked on a PRISM_ command. I found these demonstrations&lt;BR /&gt;
very useful.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sat, 13 Dec 2008 21:23:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119121#M26250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-13T21:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119122#M26251</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;
Is there any way I can obtain your XFORM object &lt;/BLOCKQUOTE&gt;

Thanks again, Peter - object and PDF article are a zip download in the Depository link given.  Unless I messed up the upload.&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Karl</description>
      <pubDate>Sat, 13 Dec 2008 21:46:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119122#M26251</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2008-12-13T21:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119123#M26252</link>
      <description>Hello Karl,&lt;BR /&gt;
I downloaded the skewer.gsm object and the .PDF tutorial&lt;BR /&gt;
from the depository. What I was referring to was not the &lt;BR /&gt;
skewer.gsm object but an object you wrote a long time ago &lt;BR /&gt;
that I thought was called "XFORM.gsm". This object demonstrated &lt;BR /&gt;
the use of the XFORM transformation by setting the &lt;BR /&gt;
XFORM command's parameters in various ways to show&lt;BR /&gt;
how it deformed a PRISM_ command. Is this object also in&lt;BR /&gt;
the Object Depository somewhere ?&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sat, 13 Dec 2008 22:38:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119123#M26252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-13T22:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119124#M26253</link>
      <description>Sorry I misunderstood.  I don't remember writing an object like that, but I'm getting old and forgetful.  I wonder you're thinking of Oleg?&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Sat, 13 Dec 2008 23:08:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119124#M26253</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2008-12-13T23:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119125#M26254</link>
      <description>Hello Karl,&lt;BR /&gt;
I am sure it was you. Bellow is a quote from a post you wrote&lt;BR /&gt;
back in 2004 in which you acknowledge my reference to that object&lt;BR /&gt;
and it's author, you.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=14496&amp;amp;highlight=xform#14496" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... form#14496"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?p=14496&amp;amp;highlight=xform#14496&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
*************************************************************&lt;BR /&gt;
"Peter Devlin wrote:&lt;BR /&gt;
Karl Ottenstein wrote:&lt;BR /&gt;
"Add a ROTX command into the script using a fresh angle parameter and you can then rotate the wall/window assembly as needed."&lt;BR /&gt;
&lt;BR /&gt;
Would it not work better to use XFORM rather than ROTX as this transformation would shear both the wall and the window?&lt;BR /&gt;
&lt;BR /&gt;
I am not sure about this but Karl would know.&lt;BR /&gt;
I believe he was the one who wrote that excellent library part&lt;BR /&gt;
that explained and demonstrated XFORM.&lt;BR /&gt;
&lt;BR /&gt;
Just wondering,&lt;BR /&gt;
Peter Devlin&lt;BR /&gt;
**********************************************************&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Peter.  XFORM would be better, especially if one wants the sills to be parallel to the ground.  I was suggesting ROTX since it is so simple and something that everyone should know how to do.&lt;BR /&gt;
&lt;BR /&gt;
I actually have a new little part called Skewer that I wrote for a contribution to David's in-progress GDL Cookbook 4 to explain and demonstrate XFORM. It lets you parametrically skew another library part in any and all axes. Everyone who gets the CB4 will get a copy. If ROTX doesn't give the result that Vincent needs, I'll ask David if he minds if I pre-release Skewer here. &lt;BR /&gt;
&lt;BR /&gt;
Karl"&lt;BR /&gt;
************************************************************&lt;BR /&gt;
&lt;BR /&gt;
I hope you will remember because I thought it was great and&lt;BR /&gt;
would like to have it again.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sun, 14 Dec 2008 00:28:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119125#M26254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-14T00:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119126#M26255</link>
      <description>Wow, that seems like a long time ago. But, the part I mention there, skewer.gsm, is the part that is uploaded here...&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Karl</description>
      <pubDate>Sun, 14 Dec 2008 01:00:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119126#M26255</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2008-12-14T01:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119127#M26256</link>
      <description>Hello Karl,&lt;BR /&gt;
You wrote:&lt;BR /&gt;
"But, the part I mention there, skewer.gsm, is the part that is uploaded here.." &lt;BR /&gt;
Yes it is but notice that you say:&lt;BR /&gt;
"I actually have a new little part called Skewer"&lt;BR /&gt;
The object I refer to was older than the "new little part called Skewer"&lt;BR /&gt;
&lt;BR /&gt;
I am sorry you don't recall writing that other object.&lt;BR /&gt;
Thank you for talking to me.&lt;BR /&gt;
Regards,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sun, 14 Dec 2008 01:17:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119127#M26256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-14T01:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119128#M26257</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;Thank you for talking to me.
&lt;/BLOCKQUOTE&gt;

Of course!  I did a Spotlight search and couldnt find anything else other than an early version of skewer (not parametric) called 'xform test'.  Getting old and forgetful stinks.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Karl</description>
      <pubDate>Sun, 14 Dec 2008 03:39:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119128#M26257</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2008-12-14T03:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119129#M26258</link>
      <description>Hello Karl,&lt;BR /&gt;
I presently have at least three lib parts that use XFORM and to&lt;BR /&gt;
make sure I was doing it right I copied the code out of your&lt;BR /&gt;
object and pasted into my object, commented it out, and then&lt;BR /&gt;
pasted again and changed the parameters I wanted and&lt;BR /&gt;
used it to distort the elements I wanted.&lt;BR /&gt;
Bellow is the snippet of code I copied. Maybe you will recognize it.&lt;BR /&gt;
Notice your commented explanations for each parameter.&lt;BR /&gt;
&lt;BR /&gt;
xform 1,0,0,0, !mulx 1,shear xz plane positive x, shear xy plane positive x&lt;BR /&gt;
         0,1,0,0, !shear zy plane positive z,muly 1, shear xy plane positive y&lt;BR /&gt;
         0,0,1,0  !shear zy plane positive z, shear zx plane positive z, mulz 1&lt;BR /&gt;
&lt;BR /&gt;
I hope this looks familiar &lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sun, 14 Dec 2008 15:45:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119129#M26258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-14T15:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a "skewed" wall?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119130#M26259</link>
      <description>Looks like something I would write.  I'm guessing that I posted it to the old GDL talk list and do not have a copy of the original post.  I found a bunch of posts from 2001 that I made concerning XFORM that included GDL script pasted in the post, but not the particular one you show.  So, must be something I didn't save...&lt;BR /&gt;
&lt;BR /&gt;
I'm going to move this thread over to the Libararies forum (apologies to the person who started it)...&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Karl</description>
      <pubDate>Sun, 14 Dec 2008 19:13:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119130#M26259</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2008-12-14T19:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to skew something (via XFORM)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119131#M26260</link>
      <description>Here's an old post, explaining XFORM...&lt;BR /&gt;

&lt;PRE&gt;	Subject: 	[GDLTalk] XFORM (was koordinates)
	Date: 	July 13, 2001 12:33:36 PM MDT
	To: 	        GDLTalk

&amp;gt; Following the coordinates thread, could anybody enlighten me on how
&amp;gt; XFORM is used?
&amp;gt;
&amp;gt; Laurent Godel


Hi Laurent,

Below is an explanation of XFORM in the form of an annotated 3D script.

Not sure if that is what you wanted?



Regards,

Karl



------------&amp;gt; Copy and paste the following into a 3D Script &amp;lt;---

! XFORM Overview and Demo

! Karl Ottenstein

! July 13, 2001



! Laurent asked about how the XFORM command is used in GDL.  This object

! gives an overview, demo, and some references to textbooks at the end.



! Representing a point as a vector (x, y, z), one can apply matrix algebra

! in order to move (translate), scale, or rotate that point.  According to

! Foley and van Dam (ref at end), the concept of homogeneous coordinates

! originated in geometry in 1946 by E. Maxwell at Cambridge.  Homogeneous

! coordinates, and their transformations, extend a point vector with an

! additional scale factor - so (x, y, z) becomes (x, y, z, 1)



! The homogeneous transformation matrix for translation only is:

!   1   0   0   0

!   0   1   0   0

!   0   0   1   0

!   dx  dy  dz  1

!

! So, with dx, dy, dz as 2, 4, 6 [original said "3, 6, 9" - no idea where that came from], similar to ADD 2, 4, 6:

!   1   0   0   0

!   0   1   0   0

!   0   0   1   0

!   2   4   6   1

!

! Multiply a point (x, y, z, 1) in homogenous coordinate space

! (the extra 1) with the above matrix:  pt * M and you get

! (x+2, y+4, z+6, 1) - a "translated" (shifted) point.

!

! Read DOWN the matrix columns as entering data for the XFORM, and

! leave off the last column of the 4x4 matrix above.



        XFORM 1, 0, 0, 2,

                0, 1, 0, 4,

                0, 0, 1, 6

! Make an asymmetric block in order to see what's going on

BLOCK 1, 4, 8



        DEL 1



! The homogeneous transformation matrix for scaling only is:

!   sx  0   0   0

!   0   sy  0   0

!   0   0   sz  0

!   0   0   0   1

!

! So, with sx, sy, sz as 2, .5, .5, similar to MUL 2, 0.5, 0.5

! you have:

!   2   0   0   0

!   0   0.5 0   0

!   0   0   0.5 0

!   0   0   0   1

!

! Multiply a point (x, y, z, 1) in homogenous coordinate space

! by the above matrix:  pt * M and you get

! (x*2, y*0.5, z*.05, 1)

!

! Read DOWN the matrix columns as entering data for the XFORM, and

! leave off the last column of the 4x4 matrix above.



        XFORM 2, 0, 0, 0,

                0, 0.5, 0, 0,

                0, 0, 0.5, 0

! Make a sphere in order to see what's going on

SPHERE 3



        DEL 1



! Before we proceed to rotation - let's combine translation and scaling,

! using the same numbers as above.  Notice that the XFORM below replaces

! one ADD and one MUL at this point:



! Translate and scale together

        XFORM 2, 0, 0, 2,

                0, 0.5, 0, 4,

                0, 0, 0.5, 6

! Make a sphere in order to see what's going on

SPHERE 3



        DEL 1



!The transformation matrix for rotation "a" degrees about the Z axis is:

!   cos(a)  sin(a)  0       0

!   -sin(a) cos(a)  0       0

!   0       0       1       0

!   0       0       0       1

!For "a" degrees about the X axis:

!   1       0       0       0

!   0       cos(a)  sin(a)  0

!   0       -sin(a) cos(a)  0

!   0       0       0       1

!And, for "a" degrees about the Y axis:

!   cos(a)  0       -sin(a) 0

!   0       1       0       0

!   sin(a)  0       cos(a)  0

!   0       0       0       1



! So...let's rotate a block

! about the Y axis 30 degrees...same as ROTY 30



ang = 30

cosa = cos(ang)

sina = sin(ang)



        XFORM cosa, 0, sina, 0,

                0, 1, 0, 0,

                -sina, 0, cosa, 0

! Make an asymmetric block in order to see what's going on

BLOCK 1, 4, 8



        DEL 1

END

!

! Note that the matrices are combined by multiplying them together,

! giving a new 4x4 transformation matrix. Any number of transformations

! can be combined into one final matrix - represented by a single

! GDL XFORM.  Email me if you want me to post an explanation and

! example.

!

! This is probably not that useful for most GDL programmers, but

! would be very handy for API developers.  (Picture an add-on where the

! user has sliders to rotate, scale and translate an object.  The final

! settings could be saved as a single XFORM.)



! References

!

! These books are dated, as am I.  No doubt there are newer editions,

! and even other, newer books out there now.  Two of them were

! classics, and I expect still are.

!

! Foley, J. D. and van Dam, A. Fundamentals of Interactive Computer

! Graphics.  Addison-Wesley (1982) 664 pages.  This was THE book to

! have - there must be a newer edition.

! ISBN for this edition 0-201-14468-9.

!

! Giloi, Wolfgang K. Interactive Computer Graphics.

! Prentice-Hall (1978) 354 pages.

!

! Harrington, Steven.  Computer Graphics: A Programming Approach.

! McGraw-Hill (1983) 448 pages.

!

! Newman, William M. and Sproull, Robert F. Principles of

! Interactive Computer Graphics, 2nd Edition.

! McGraw-Hill (1979) 541 pages.  This was the bible for graphics

! when I was in school.

!

! Karl Ottenstein, July 2001.

&lt;/PRE&gt;</description>
      <pubDate>Sun, 14 Dec 2008 19:32:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-skew-something-via-XFORM/m-p/119131#M26260</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2008-12-14T19:32:08Z</dc:date>
    </item>
  </channel>
</rss>

