<?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: Find X and Y of where line intersects with chamfer / fillet in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Find-X-and-Y-of-where-line-intersects-with-chamfer-fillet/m-p/353743#M2096</link>
    <description>&lt;P&gt;There is no language support for this, but we have&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://gdl.Graphisoft.com/tips-and-tricks/using-basicgeometry-macro#IFUNCTION7" target="_blank" rel="noopener"&gt;BasicGeometry / INTERSECT_LINE_POLYGON_2D&lt;/A&gt; in the Archicad Library, or&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://gdl.Graphisoft.com/reference-guide/polygon-operations-extension#ClipPolyline" target="_blank" rel="noopener"&gt;PolyOperations / ClipPolyline&lt;/A&gt; for very generic cases.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Tue, 23 Aug 2022 07:39:55 GMT</pubDate>
    <dc:creator>Peter Baksa</dc:creator>
    <dc:date>2022-08-23T07:39:55Z</dc:date>
    <item>
      <title>Find X and Y of where line intersects with chamfer / fillet</title>
      <link>https://community.graphisoft.com/t5/GDL/Find-X-and-Y-of-where-line-intersects-with-chamfer-fillet/m-p/351828#M2094</link>
      <description>&lt;P&gt;I have a box where any of the corners can be filleted or chamfer... or just a plain right angle.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal is for the diagonal lines to come to a stop when they reach the chamfer or fillet and not extend past to the corner. Hopefully the images attached demonstrate this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything similar to a cutpoly for 2D? I haven't been able to find a formula to figure out how to calculate the x and y of the points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be very much appreciated,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/55213iFAADDA53341C373F/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Intersecting corners.JPG" title="Intersecting corners.JPG" /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/55214i508B49CD060AB822/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Intersecting corners 2.JPG" title="Intersecting corners 2.JPG" /&gt;</description>
      <pubDate>Tue, 02 Aug 2022 15:15:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Find-X-and-Y-of-where-line-intersects-with-chamfer-fillet/m-p/351828#M2094</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2022-08-02T15:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Find X and Y of where line intersects with chamfer / fillet</title>
      <link>https://community.graphisoft.com/t5/GDL/Find-X-and-Y-of-where-line-intersects-with-chamfer-fillet/m-p/351862#M2095</link>
      <description>&lt;P&gt;You know the coordinates of the two ends of your diagonal line.&lt;/P&gt;&lt;P&gt;From those two ends, you can work out the equation for the line that runs between the two.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You know where your chamfer corners are.&lt;/P&gt;&lt;P&gt;From your chamfer corners, you can work out the equation for the line that runs between the two.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You now have two equations. Well, four if you are working your x and y separately... Anyway, now with your two equations, you can use an&amp;nbsp;&lt;STRONG&gt;IF&lt;/STRONG&gt; statement for when they equal each other. When they do, x (diagonal) = x (chamfer) and y (diagonal) = y (chamfer)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fillet will be a similar process using x^2 + y^2 = r together with your circles centre offset. You will get two intersection points with this though so you will need to eliminate them depending on which corner you are solving for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 01:43:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Find-X-and-Y-of-where-line-intersects-with-chamfer-fillet/m-p/351862#M2095</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2022-08-03T01:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Find X and Y of where line intersects with chamfer / fillet</title>
      <link>https://community.graphisoft.com/t5/GDL/Find-X-and-Y-of-where-line-intersects-with-chamfer-fillet/m-p/353743#M2096</link>
      <description>&lt;P&gt;There is no language support for this, but we have&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://gdl.Graphisoft.com/tips-and-tricks/using-basicgeometry-macro#IFUNCTION7" target="_blank" rel="noopener"&gt;BasicGeometry / INTERSECT_LINE_POLYGON_2D&lt;/A&gt; in the Archicad Library, or&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://gdl.Graphisoft.com/reference-guide/polygon-operations-extension#ClipPolyline" target="_blank" rel="noopener"&gt;PolyOperations / ClipPolyline&lt;/A&gt; for very generic cases.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 23 Aug 2022 07:39:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Find-X-and-Y-of-where-line-intersects-with-chamfer-fillet/m-p/353743#M2096</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2022-08-23T07:39:55Z</dc:date>
    </item>
  </channel>
</rss>

