<?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: ConstructionPlaneInput.setByTwoEdges issue in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/constructionplaneinput-setbytwoedges-issue/m-p/11247189#M5837</link>
    <description>&lt;P&gt;There are "magic" internal algorithms that determine the orientation of construction planes and sketches that are probably better not to try and figure out because it's likely to lead to frustration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get the result you're looking for, I would recommend using a base feature and creating your sketch there. A base feature is like a non-parametric island within a parametric part. The sketch that is owned by the base feature can be reorientated and repositioned by setting its transformation property so you can do anything you want with it.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2022 21:39:42 GMT</pubDate>
    <dc:creator>BrianEkins</dc:creator>
    <dc:date>2022-06-20T21:39:42Z</dc:date>
    <item>
      <title>ConstructionPlaneInput.setByTwoEdges issue</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/constructionplaneinput-setbytwoedges-issue/m-p/11247009#M5836</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've been struggling for quite some time now to try to create a sketch whose orientation is neither the XY, XZ or YZ plane and whose origin is not 0,0,0 either.&lt;/P&gt;&lt;P&gt;I have been able to achieve this by "pushing" a new transform in the sketch I am creating (the transform was changed using Matrix3D.setWithCoordinateSystem ), but that only seems to work (per the API documentation and from my own tests) for non-parametric designs.&lt;/P&gt;&lt;P&gt;In parameteric designs, I had to rely on construction planes to *** almost *** get what I wanted.&lt;/P&gt;&lt;P&gt;Here is what I did:&lt;/P&gt;&lt;P&gt;1) Created a line in the new sketch's X axis direction in the XY construction plane&lt;BR /&gt;2) Created a line in the new sketch's Y axis direction in the XY construction plane&lt;BR /&gt;3) Created a construction plane from those 2 lines, using the ConstructionPlaneInput.setByTwoEdges method&lt;/P&gt;&lt;P&gt;Once this is done, I end up with a sketch that *** seems *** to be oriented properly.&lt;/P&gt;&lt;P&gt;But when adding to that new sketch a line that goes from (0,0,0) to (10,0,0) , the line does not up where I expected it. (see image in attached zip)&lt;/P&gt;&lt;P&gt;So what I'd like to find is how the "setByTwoEdges" method determines the X, Y and Z axes of the resulting construction plane from the 2 edges it receives for its creation ?&lt;/P&gt;&lt;P&gt;Attached in the zip there also is a python sample that reproduces the situation.&lt;/P&gt;&lt;P&gt;Thanks in advance for any comment / advice&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jean-Marc Langlois&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 19:30:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/constructionplaneinput-setbytwoedges-issue/m-p/11247009#M5836</guid>
      <dc:creator>jean-marc_langlois</dc:creator>
      <dc:date>2022-06-20T19:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: ConstructionPlaneInput.setByTwoEdges issue</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/constructionplaneinput-setbytwoedges-issue/m-p/11247189#M5837</link>
      <description>&lt;P&gt;There are "magic" internal algorithms that determine the orientation of construction planes and sketches that are probably better not to try and figure out because it's likely to lead to frustration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get the result you're looking for, I would recommend using a base feature and creating your sketch there. A base feature is like a non-parametric island within a parametric part. The sketch that is owned by the base feature can be reorientated and repositioned by setting its transformation property so you can do anything you want with it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 21:39:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/constructionplaneinput-setbytwoedges-issue/m-p/11247189#M5837</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2022-06-20T21:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: ConstructionPlaneInput.setByTwoEdges issue</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/constructionplaneinput-setbytwoedges-issue/m-p/11248547#M5838</link>
      <description>Thanks Brian - that works nicely.&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Jun 2022 12:33:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/constructionplaneinput-setbytwoedges-issue/m-p/11248547#M5838</guid>
      <dc:creator>jean-marc_langlois</dc:creator>
      <dc:date>2022-06-21T12:33:24Z</dc:date>
    </item>
  </channel>
</rss>

