<?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: Calculate Projected area in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12546569#M2032</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for you response&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5741855"&gt;@BrianEkins&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am receiving this error when I am executing my code with this particular stp file (Test).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rashi_guptaMZDTK_0-1707328121010.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1323500i3EDC30B288FAD5CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rashi_guptaMZDTK_0-1707328121010.png" alt="rashi_guptaMZDTK_0-1707328121010.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tested out the code with an stp files of a model created on fusion and it works fine. And in those I am able to click and edit the sketches. So I'm not sure if there is something specific I need to execute or such complex geometries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With another stp file (Test 2) which has more complex geometry, the code is executing completely but is not giving the correct value of the projected area.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rashi_guptaMZDTK_1-1707329600912.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1323515i9929C84646A4AE7B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rashi_guptaMZDTK_1-1707329600912.png" alt="rashi_guptaMZDTK_1-1707329600912.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the stp files.&amp;nbsp;Please have a look and let me know if there is anything I need to additionally execute when working with such complex geometries.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if you could tell me how to identify different profiles in the projected area and know the index number of different profiles, it'd be very helpful.&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2024 18:13:51 GMT</pubDate>
    <dc:creator>rashi_guptaMZDTK</dc:creator>
    <dc:date>2024-02-07T18:13:51Z</dc:date>
    <item>
      <title>Calculate Projected area</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12544328#M2028</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I imported a stp file to fusion 360. I need to find it's projected area using scripting. I successfully projected the model to XY plane but it is not giving me the correct area for the different profiles that it created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The same code is giving the correct area for a model that I am creating in Fusion 360 but giving wrong values for the imported stp file. Is there anything that needs to be changed in stp files for this to work?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 20:16:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12544328#M2028</guid>
      <dc:creator>rashi_guptaMZDTK</dc:creator>
      <dc:date>2024-02-06T20:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Projected area</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12544657#M2029</link>
      <description>&lt;P&gt;I'm unsure exactly what it is you're doing. Based on what I think you're doing, I wouldn't expect any difference between a model imported from STEP or one created in Fusion. Can you provide an example case that can be used to reproduce the problem.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 22:42:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12544657#M2029</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2024-02-06T22:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Projected area</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12545806#M2030</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response.&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5741855"&gt;@BrianEkins&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to find the area projected by a component on XY plane using a script. Let's say I created the following model in fusion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rashi_guptaMZDTK_0-1707309206495.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1323305iDE2DFD74A83BB924/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rashi_guptaMZDTK_0-1707309206495.png" alt="rashi_guptaMZDTK_0-1707309206495.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This model projects a certain area on the XY plane as shown below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rashi_guptaMZDTK_1-1707309902328.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1323313i003B3F59E3DFFE13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rashi_guptaMZDTK_1-1707309902328.png" alt="rashi_guptaMZDTK_1-1707309902328.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I wrote a script to project this area on the XY plane and prompt the total area of the two different profiles that it is creating. One for the outer profile and second for the inner circle profile as shown below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rashi_guptaMZDTK_2-1707310031170.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1323314iA21F97DA4ABDC84A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rashi_guptaMZDTK_2-1707310031170.png" alt="rashi_guptaMZDTK_2-1707310031170.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The script is working for any model that I create in fusion 360 but when I try to use the same script for an imported .stp file it is projecting the are but unable to give the area of the projected profile. Also, I am unable to click or work on this projected profile as shown below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rashi_guptaMZDTK_0-1707310903323.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1323319i1EAC65BB5AFD4287/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rashi_guptaMZDTK_0-1707310903323.png" alt="rashi_guptaMZDTK_0-1707310903323.png" /&gt;&lt;/span&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;</description>
      <pubDate>Wed, 07 Feb 2024 13:03:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12545806#M2030</guid>
      <dc:creator>rashi_guptaMZDTK</dc:creator>
      <dc:date>2024-02-07T13:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Projected area</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12546265#M2031</link>
      <description>&lt;P&gt;I did a quick test using a part created in Fusion and one imported from STEP, and they both work for me. In your pictures, it also looks like the STEP model was successfully projected onto the sketch and created a valid profile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen cases where the Project command fails to create a closed outline so a profile can't be created. This is fairly rare but can happen with models created in Fusion or imported using STEP or another neutral format. Can you post your STEP file here?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 15:50:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12546265#M2031</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2024-02-07T15:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Projected area</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12546569#M2032</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for you response&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5741855"&gt;@BrianEkins&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am receiving this error when I am executing my code with this particular stp file (Test).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rashi_guptaMZDTK_0-1707328121010.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1323500i3EDC30B288FAD5CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rashi_guptaMZDTK_0-1707328121010.png" alt="rashi_guptaMZDTK_0-1707328121010.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tested out the code with an stp files of a model created on fusion and it works fine. And in those I am able to click and edit the sketches. So I'm not sure if there is something specific I need to execute or such complex geometries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With another stp file (Test 2) which has more complex geometry, the code is executing completely but is not giving the correct value of the projected area.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rashi_guptaMZDTK_1-1707329600912.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1323515i9929C84646A4AE7B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rashi_guptaMZDTK_1-1707329600912.png" alt="rashi_guptaMZDTK_1-1707329600912.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the stp files.&amp;nbsp;Please have a look and let me know if there is anything I need to additionally execute when working with such complex geometries.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if you could tell me how to identify different profiles in the projected area and know the index number of different profiles, it'd be very helpful.&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 18:13:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12546569#M2032</guid>
      <dc:creator>rashi_guptaMZDTK</dc:creator>
      <dc:date>2024-02-07T18:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Projected area</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12550649#M2033</link>
      <description>Hi,&lt;BR /&gt;Were you able to take a look at the files?&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Fri, 09 Feb 2024 12:23:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12550649#M2033</guid>
      <dc:creator>rashi_guptaMZDTK</dc:creator>
      <dc:date>2024-02-09T12:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Projected area</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12633831#M2034</link>
      <description>You probably have to share your script too</description>
      <pubDate>Tue, 12 Mar 2024 02:50:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/calculate-projected-area/m-p/12633831#M2034</guid>
      <dc:creator>jordan783ZS</dc:creator>
      <dc:date>2024-03-12T02:50:18Z</dc:date>
    </item>
  </channel>
</rss>

