<?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: Selecting an API drawn sketch and performing extrude or patch? in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8285492#M15456</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Hi, Mr/Mrs/Irobot&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3731184" target="_self"&gt;fusion360Z3TN7&lt;/A&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;If I have captured correctly what you want to do ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;... you may consider the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- create the second sketch drawing exactly the same pattern&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- index pattern features (profiles) as you go, matching them with these from the first one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;-&amp;nbsp;change the diameter of the pattern cylinder as&amp;nbsp;it suits your concept.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- perform loftings by indexes using radii vectors as rails.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Regards&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;MichaelT&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Sep 2018 02:15:14 GMT</pubDate>
    <dc:creator>MichaelT_123</dc:creator>
    <dc:date>2018-09-22T02:15:14Z</dc:date>
    <item>
      <title>Selecting an API drawn sketch and performing extrude or patch?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8282072#M15452</link>
      <description>&lt;P&gt;I'm rocking it with python API and have made a script that makes a fairly complicated series of closed sketch objects.&amp;nbsp; &amp;nbsp;Some are curved 3d sketches so extrude doesn't work but patch will work&amp;nbsp;manually with a single click on the object outline on those.&amp;nbsp; other sketches are in the same sketch plane so are extrudable.&amp;nbsp; There are also occasions where a loft between 2 of these automated sketches would be useful.&lt;BR /&gt;But I want to automate this part in my script too because there a loft of shapes.&amp;nbsp; &amp;nbsp;after drawing an sketch object, how can I refer to the sketch objects and take a solid action on on them?&amp;nbsp; Is there some kind of handle or id for these?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 449px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/548618iE756AD7EA275BC7D/image-dimensions/449x494?v=v2" width="449" height="494" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 16:51:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8282072#M15452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T16:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an API drawn sketch and performing extrude or patch?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8283647#M15453</link>
      <description>&lt;P&gt;PFA separate samples for creating extrude and patch from Sketch object.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 09:40:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8283647#M15453</guid>
      <dc:creator>goyals</dc:creator>
      <dc:date>2018-09-21T09:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an API drawn sketch and performing extrude or patch?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8283734#M15454</link>
      <description>&lt;P&gt;'PatchFeatureSample.txt' uses BRepLoop, but I think that it can not &lt;BR /&gt;acquire BRepLoop from SketchCurve (isReference = false).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that the questioner is asking the method of acquiring the looping &lt;SPAN&gt;SketchCurve&lt;/SPAN&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 10:26:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8283734#M15454</guid>
      <dc:creator>kandennti</dc:creator>
      <dc:date>2018-09-21T10:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an API drawn sketch and performing extrude or patch?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8284649#M15455</link>
      <description>&lt;P&gt;That's an interesting shape.&amp;nbsp; Looks like a crossword puzzle wrapped around a cylinder.&amp;nbsp; The input to create an extrusion isn't a sketch but is a Profile.&amp;nbsp; Profiles are defined areas within a sketch.&amp;nbsp; As you draw geometry in a sketch, Fusion 360 is automatically looking for closed planar areas and defining profiles.&amp;nbsp; By default, they display as a transparent yellow color and that's what is selectable when you run the feature command.&amp;nbsp; From the API, the Sketch object has a profiles property that returns all of the profiles that Fusion 360 has calculated.&amp;nbsp; You can get and use the profiles from that collection as input for creating a feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are also features that let you use non-planar curves and/or non-closed sets of curves.&amp;nbsp; These can be defined also using profiles and another type of object called a Path.&amp;nbsp; the Component object supports the createOpenProfile method that lets you create a profile from a set of connected sketch entities.&amp;nbsp; A Path is similar to a profile but isn't limited to sketch entities but can also include model edges.&amp;nbsp; Paths are created using the static create method on the Path object. You'll need to look at the documentation for the particular feature you're creating to see what type of input it expects.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 16:01:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8284649#M15455</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2018-09-21T16:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an API drawn sketch and performing extrude or patch?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8285492#M15456</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi, Mr/Mrs/Irobot&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3731184" target="_self"&gt;fusion360Z3TN7&lt;/A&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;If I have captured correctly what you want to do ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;... you may consider the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- create the second sketch drawing exactly the same pattern&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- index pattern features (profiles) as you go, matching them with these from the first one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;-&amp;nbsp;change the diameter of the pattern cylinder as&amp;nbsp;it suits your concept.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- perform loftings by indexes using radii vectors as rails.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Regards&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;MichaelT&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Sep 2018 02:15:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8285492#M15456</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2018-09-22T02:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an API drawn sketch and performing extrude or patch?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8290494#M15457</link>
      <description>&lt;P&gt;Thanks for all the responses.&amp;nbsp; I have managed to get the general idea of working with objectCollections and various rootComponent.features.&amp;nbsp; I had drawn "closed" sets of sketchcurves, so adding them to a collection and passing each of those to patch feature did what I wanted.&amp;nbsp; from the resulting surfaces a loft was easy too but it all ended up much too complex.&lt;/P&gt;&lt;P&gt;What I currently have is a much simplified process, for each panel, draw 1 curved sketch line then surface extrude and finally thicken all of the surfaces and fillet.&lt;BR /&gt;&lt;BR /&gt;1-2 layer goes really quick, but when I run through full loop of 10 layers with 20 panels in each layer it has yet to finish.&lt;/P&gt;&lt;P&gt;Is there a way to pause the script in a way to let the ui draw what it has so far? or perhaps only submit a little at a time... I tried sleep, but that just hangs the ui for even longer...&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 10:32:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8290494#M15457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-25T10:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an API drawn sketch and performing extrude or patch?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8290779#M15458</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi, Mr/Mrs/Irobot&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3731184" target="_self"&gt;fusion360Z3TN7&lt;/A&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... try embed in a proper place&lt;/P&gt;&lt;P&gt;adsk&lt;EM&gt;.doEvents()&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MichaelT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 12:34:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8290779#M15458</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2018-09-25T12:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting an API drawn sketch and performing extrude or patch?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8291985#M15459</link>
      <description>&lt;P&gt;Aah, that's what I was looking for...&lt;BR /&gt;I notice that each iteration takes progressively longer so I will have to experiment with processing in batches rather than waiting until the end to apply thicken the lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 19:22:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/selecting-an-api-drawn-sketch-and-performing-extrude-or-patch/m-p/8291985#M15459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-25T19:22:04Z</dc:date>
    </item>
  </channel>
</rss>

