<?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: Something funky going on with formulae in user parameters in Fusion Support Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8816044#M146419</link>
    <description>&lt;P&gt;Because the answer is square mm. You need to add /1mm at the end to cancel out the units.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2019 08:22:38 GMT</pubDate>
    <dc:creator>HughesTooling</dc:creator>
    <dc:date>2019-05-27T08:22:38Z</dc:date>
    <item>
      <title>Something funky going on with formulae in user parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8815854#M146418</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-27 15_52_10-Autodesk Fusion 360 (Startup License).png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/640954iE884F54EABDC5859/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-27 15_52_10-Autodesk Fusion 360 (Startup License).png" alt="2019-05-27 15_52_10-Autodesk Fusion 360 (Startup License).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain why the expression in the screenshot isn't working? There's something weird going on. Exponentiation doesn't work other than using '1' as the exponent. Multiplication is broken. Division seems to work. Just upgraded to the latest available version 2.0.5790. There is no sketch. Just started entering these basic parameters. No leading/trailing spaces. Can't figure it out. I started with a more complex expression then started segmenting it to find where it was breaking, which led me to multiplication and exponentiation being broken. There might be others too.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 05:59:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8815854#M146418</guid>
      <dc:creator>sristic</dc:creator>
      <dc:date>2019-05-27T05:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Something funky going on with formulae in user parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8816044#M146419</link>
      <description>&lt;P&gt;Because the answer is square mm. You need to add /1mm at the end to cancel out the units.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 08:22:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8816044#M146419</guid>
      <dc:creator>HughesTooling</dc:creator>
      <dc:date>2019-05-27T08:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Something funky going on with formulae in user parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8816047#M146420</link>
      <description>&lt;P&gt;You might find &lt;A href="http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-76272551-3275-46C4-AE4D-10D58B408C20" target="_blank" rel="noopener"&gt;this help&lt;/A&gt; page useful for expected unit types and returns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 08:28:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8816047#M146420</guid>
      <dc:creator>HughesTooling</dc:creator>
      <dc:date>2019-05-27T08:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Something funky going on with formulae in user parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8816268#M146421</link>
      <description>&lt;P&gt;Thanks Mark. Your solution works for that particular scenario but the actual formula I was trying to input was this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sqrt((oRingCS/2)^2-(oRingGap/2)^2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding /1mm at the end doesn't work in this instance. oRingCS and oRingGap are both in 'mm'. I'm not clear what adding the /1mm does, if I was honest. The other link you provided didn't help me understand any better unfortunately.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 10:44:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8816268#M146421</guid>
      <dc:creator>sristic</dc:creator>
      <dc:date>2019-05-27T10:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Something funky going on with formulae in user parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8816297#M146422</link>
      <description>&lt;P&gt;Dividing by the units makes the parameter unitless.&lt;/P&gt;
&lt;P&gt;So for your problem this should work, /2mm removes the mm units from oRingCS for example. This is assuming the parameter you're creating is using mm for its units.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sqrt((oRingCS/2mm)^2-(oRingGap/2mm)^2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 11:00:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8816297#M146422</guid>
      <dc:creator>HughesTooling</dc:creator>
      <dc:date>2019-05-27T11:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Something funky going on with formulae in user parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8816313#M146423</link>
      <description>&lt;P&gt;Ah, I see. Thanks Mark. That worked. I think I follow the logic now. I've got a solution to my problem but I think I need to play around some more to understand it fully.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 11:08:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/8816313#M146423</guid>
      <dc:creator>sristic</dc:creator>
      <dc:date>2019-05-27T11:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Something funky going on with formulae in user parameters</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/9709657#M146424</link>
      <description>&lt;P&gt;This behaviour is nothing short of crazy.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a simple example. I create a rectangle. I create a parameter called "width" and assign it the unit of inches. I create a driving dimension and assign it the value "width". I want the height of the rectangle to be the square of the width. I create a second driving dimension and assign it a value "width^(2)".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The height doesn't work because the length of that side, per the equation given in the assignment of the height dimension, is in the units of square inches. It doesn't work because a linear measurement (i.e. the length of a rectangle's side) can't be in square inches. &amp;nbsp;That Fusion is squaring the units, themselves, is a poorly chosen - programmed - behaviour. What should be happening is that Fusion is smart enough to square the VALUE and not the UNITS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this to work, I have to manually manage the units, in this case dividing by 1 inch so as to "cancel out" the squared units to get an answer that is in linear inches (i.e. not square inches).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While engineering calculations involve managing of units, to the best of my experience, that has never been the case in CAD modelling work. &amp;nbsp;It is a ill-conceived behaviour in the context of CAD modelling and adds unnecessary complexity to what should be a simple task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My immediate use is to layout the spacing of frets for a guitar fingerboard. It is a geometric series in which each fret is a constant times 2 to the exponent n/12, where each term (fret) in the geometric series (n) increases by one. With Fusion's behaviour, that means that each term in the geometric series will need its own "factor" to correct the units of mm^(n/12) (i.e. divide by 1*2^n/12 to obtain a linear measurement). In other CAD systems, this micromanagement isn't necessary.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 03:03:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/something-funky-going-on-with-formulae-in-user-parameters/m-p/9709657#M146424</guid>
      <dc:creator>charlestauber</dc:creator>
      <dc:date>2020-08-25T03:03:49Z</dc:date>
    </item>
  </channel>
</rss>

