<?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: Doing a sweep up a spiral problem in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/doing-a-sweep-up-a-spiral-problem/m-p/10399462#M8604</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3623640"&gt;@brad.bylls&lt;/a&gt;&amp;nbsp;, You can use a scaled version of your path as a guideRail. It works in UI, so I guess it works with API too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the following sample, the profile width is 10mm, the profile path radius is 25mm and the guiderail radius is 30mm. So:&lt;/P&gt;&lt;P&gt;guiderailRadius = profileWidth / 2 + pathRadius&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe it's better to use none for profile scaling so we do not have to worry about guideRail radius.&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="49.gif" style="width: 846px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/931659i0617FEF6F5C382F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="49.gif" alt="49.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jun 2021 21:19:20 GMT</pubDate>
    <dc:creator>nnikbin</dc:creator>
    <dc:date>2021-06-17T21:19:20Z</dc:date>
    <item>
      <title>Doing a sweep up a spiral problem</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/doing-a-sweep-up-a-spiral-problem/m-p/10398845#M8603</link>
      <description>&lt;P&gt;Since the API does not have the ability to do a coil, I have created a spiral and a sketch to make the coil.&lt;/P&gt;&lt;P&gt;However, it does not work properly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.png" style="width: 390px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/931582iB9709269A8C31F66/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It starts out as a simple rectangle at the bottom, but as it goes up the path it twists.&lt;/P&gt;&lt;P&gt;I have tried Parallel&lt;SPAN&gt;OrientationType also, but that does not work either.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below is the code to create the sweep.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;FONT color="#0000FF"&gt;#&amp;nbsp;Create&amp;nbsp;a&amp;nbsp;sweep&amp;nbsp;input&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sweeps&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;newComp&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;features&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;sweepFeatures&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sweepInput&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sweeps&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;createInput&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;prof&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;myPath&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;adsk&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;fusion&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;FeatureOperations&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;NewBodyFeatureOperation&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sweepInput&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;orientation&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;adsk&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;fusion&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;SweepOrientationTypes&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;PerpendicularOrientationType&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any help appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Jun 2021 16:49:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/doing-a-sweep-up-a-spiral-problem/m-p/10398845#M8603</guid>
      <dc:creator>brad.bylls</dc:creator>
      <dc:date>2021-06-17T16:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a sweep up a spiral problem</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/doing-a-sweep-up-a-spiral-problem/m-p/10399462#M8604</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3623640"&gt;@brad.bylls&lt;/a&gt;&amp;nbsp;, You can use a scaled version of your path as a guideRail. It works in UI, so I guess it works with API too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the following sample, the profile width is 10mm, the profile path radius is 25mm and the guiderail radius is 30mm. So:&lt;/P&gt;&lt;P&gt;guiderailRadius = profileWidth / 2 + pathRadius&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe it's better to use none for profile scaling so we do not have to worry about guideRail radius.&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="49.gif" style="width: 846px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/931659i0617FEF6F5C382F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="49.gif" alt="49.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 21:19:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/doing-a-sweep-up-a-spiral-problem/m-p/10399462#M8604</guid>
      <dc:creator>nnikbin</dc:creator>
      <dc:date>2021-06-17T21:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a sweep up a spiral problem</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/doing-a-sweep-up-a-spiral-problem/m-p/10401367#M8605</link>
      <description>&lt;P&gt;That did it.&lt;/P&gt;&lt;P&gt;Thanks so much.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 13:35:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/doing-a-sweep-up-a-spiral-problem/m-p/10401367#M8605</guid>
      <dc:creator>brad.bylls</dc:creator>
      <dc:date>2021-06-18T13:35:19Z</dc:date>
    </item>
  </channel>
</rss>

