<?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: Oriented bounding box in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/oriented-bounding-box/m-p/13149670#M530</link>
    <description>&lt;P&gt;Thanks, great that we can use it.&lt;BR /&gt;&lt;BR /&gt;Yes, we issue is case specific.&lt;BR /&gt;&lt;BR /&gt;Link to model: &lt;A href="https://a360.co/3YK6yX3" target="_blank"&gt;https://a360.co/3YK6yX3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also an image showing for which component the box is wrong. MeasureManager.getOrientedBoundingBox returns sligthly rotated box, while BRepBody.orientedMinimumBoundingBox returns the correct box for this component.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rolandas_vegis_0-1731566441561.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1433678iF7496D9B301B5622/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rolandas_vegis_0-1731566441561.png" alt="rolandas_vegis_0-1731566441561.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2024 06:42:22 GMT</pubDate>
    <dc:creator>rolandas_vegis</dc:creator>
    <dc:date>2024-11-14T06:42:22Z</dc:date>
    <item>
      <title>Oriented bounding box</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/oriented-bounding-box/m-p/13143137#M528</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The BRepBody.orientedMinimumBoundingBox Property has been in Preview for 10months now.&lt;/P&gt;&lt;P&gt;When using this method of getting a orientedMinimumBoundingBox ir works wrong sometimes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;		const auto physicalProperties = body-&amp;gt;getPhysicalProperties(HighCalculationAccuracy);
		JCAD_ASSERT_FUSION_RESULT(physicalProperties);
		Ptr&amp;lt;Vector3D&amp;gt; xAxis;
		Ptr&amp;lt;Vector3D&amp;gt; yAxis;
		Ptr&amp;lt;Vector3D&amp;gt; zAxis;
		JCAD_ASSERT_FUSION_RESULT(physicalProperties-&amp;gt;getPrincipalAxes(xAxis, yAxis, zAxis));

		return Application::get()-&amp;gt;measureManager()-&amp;gt;getOrientedBoundingBox(body, xAxis, yAxis);&lt;/LI-CODE&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;But the property on BrepBody works correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it safe to release the&amp;nbsp;BRepBody.orientedMinimumBoundingBox to users now?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 11:44:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/oriented-bounding-box/m-p/13143137#M528</guid>
      <dc:creator>rolandas_vegis</dc:creator>
      <dc:date>2024-11-11T11:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Oriented bounding box</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/oriented-bounding-box/m-p/13149135#M529</link>
      <description>&lt;P&gt;I'm sure this is an oversight, and the &lt;SPAN&gt;BRepBody.orientedMinimumBoundingBox&amp;nbsp;&lt;/SPAN&gt;property is OK to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have an example model where the MeasureManager.getOrientedBoundingBox fails? I tried it with a random model, and it worked OK, so it must be a case-specific issue.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 23:38:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/oriented-bounding-box/m-p/13149135#M529</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2024-11-13T23:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Oriented bounding box</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/oriented-bounding-box/m-p/13149670#M530</link>
      <description>&lt;P&gt;Thanks, great that we can use it.&lt;BR /&gt;&lt;BR /&gt;Yes, we issue is case specific.&lt;BR /&gt;&lt;BR /&gt;Link to model: &lt;A href="https://a360.co/3YK6yX3" target="_blank"&gt;https://a360.co/3YK6yX3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also an image showing for which component the box is wrong. MeasureManager.getOrientedBoundingBox returns sligthly rotated box, while BRepBody.orientedMinimumBoundingBox returns the correct box for this component.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rolandas_vegis_0-1731566441561.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1433678iF7496D9B301B5622/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rolandas_vegis_0-1731566441561.png" alt="rolandas_vegis_0-1731566441561.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 06:42:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/oriented-bounding-box/m-p/13149670#M530</guid>
      <dc:creator>rolandas_vegis</dc:creator>
      <dc:date>2024-11-14T06:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Oriented bounding box</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/oriented-bounding-box/m-p/13151183#M531</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;MeasureManager.getOrientedBoundingBox and BRepBody.orientedMinimumBoundingBox differ in what they do and what you would use them for. The BRepBody&amp;nbsp;orientedMinimumBoundingBox method doesn't require any input and calculates a tight-fitting bounding box for the body. The resulting box can be in any orientation to give the best fitting box. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;getOrientedBoundingBox of MeasureManager calculates a bounding box using the orientation you specify. It doesn't try to find the best fit. I get the same result as the minimum bounding box when I call this using the X and Y axes as the orientation. I don't know what directions you're using for the&amp;nbsp;getOrientedBoundingBox.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 20:22:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/oriented-bounding-box/m-p/13151183#M531</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2024-11-14T20:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Oriented bounding box</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/oriented-bounding-box/m-p/13151995#M532</link>
      <description>&lt;P&gt;Thanks for explaining the difference, I was using it wrong then.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 06:32:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/oriented-bounding-box/m-p/13151995#M532</guid>
      <dc:creator>rolandas_vegis</dc:creator>
      <dc:date>2024-11-15T06:32:38Z</dc:date>
    </item>
  </channel>
</rss>

