<?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: Coordinates on sketch on YZ plane in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/coordinates-on-sketch-on-yz-plane/m-p/9768099#M10654</link>
    <description>&lt;P&gt;This is my opnion too.&lt;/P&gt;&lt;P&gt;The ploblem is how to get and trasform this coordinates system.&lt;/P&gt;&lt;P&gt;It should be a pretty common operation in creating sketches....&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2020 12:13:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-25T12:13:56Z</dc:date>
    <item>
      <title>Coordinates on sketch on YZ plane</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/coordinates-on-sketch-on-yz-plane/m-p/9767980#M10652</link>
      <description>&lt;P&gt;I created a sketch on YZ Plane.&lt;/P&gt;&lt;P&gt;When I add a circle to the sketch I have troubles on coordinates of the center point&lt;/P&gt;&lt;LI-CODE lang="python"&gt;design = app.activeProduct
rootComp = design.rootComponent
keyCapOcc = rootComp.occurrences.addNewComponent(adsk.core.Matrix3D.create())
keyCap = keyCapOcc.component
sketches = keyCap.sketches
yzPlane = keyCap.yZConstructionPlane
sketch  = sketches.add(yzPlane)
circles = sk.sketchCurves.sketchCircles
pt = adsk.core.Point3D.create(0, 1, 1)
circles.addByCenterRadius(pt, 2)&lt;/LI-CODE&gt;&lt;P&gt;When the circle is drawn, the center is on (1, 1, 0) on the component based coordinates.&lt;/P&gt;&lt;P&gt;For sure I'm missing something, maybe I need some transformation......&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 11:12:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/coordinates-on-sketch-on-yz-plane/m-p/9767980#M10652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-25T11:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates on sketch on YZ plane</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/coordinates-on-sketch-on-yz-plane/m-p/9768051#M10653</link>
      <description>&lt;P&gt;I'm pretty sure sketches use their own coordinate system (XY?) independent of the plane you put them on.&amp;nbsp; They're translated onto the parent plane (YZ in your case) of the sketch afterwards.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 11:56:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/coordinates-on-sketch-on-yz-plane/m-p/9768051#M10653</guid>
      <dc:creator>OceanHydroAU</dc:creator>
      <dc:date>2020-09-25T11:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates on sketch on YZ plane</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/coordinates-on-sketch-on-yz-plane/m-p/9768099#M10654</link>
      <description>&lt;P&gt;This is my opnion too.&lt;/P&gt;&lt;P&gt;The ploblem is how to get and trasform this coordinates system.&lt;/P&gt;&lt;P&gt;It should be a pretty common operation in creating sketches....&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 12:13:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/coordinates-on-sketch-on-yz-plane/m-p/9768099#M10654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-25T12:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates on sketch on YZ plane</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/coordinates-on-sketch-on-yz-plane/m-p/9768198#M10655</link>
      <description>&lt;P&gt;I found the solution myself:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pt = sk.modelToSketchSpace(adsk.core.Point3D.create(0, 1, 1))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 12:56:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/coordinates-on-sketch-on-yz-plane/m-p/9768198#M10655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-25T12:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates on sketch on YZ plane</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/coordinates-on-sketch-on-yz-plane/m-p/9768690#M10656</link>
      <description>&lt;P&gt;Thanks for posting!! As it happens, I've got the exact same issue, and your solution looks like a life-saver!!&amp;nbsp; (I'm creating 3d sketch elements, on any plane, in any orientation - total mind bender...)&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 15:53:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/coordinates-on-sketch-on-yz-plane/m-p/9768690#M10656</guid>
      <dc:creator>OceanHydroAU</dc:creator>
      <dc:date>2020-09-25T15:53:04Z</dc:date>
    </item>
  </channel>
</rss>

