<?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: iLogic difference in calculating TAN with degrees and mm in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-difference-in-calculating-tan-with-degrees-and-mm/m-p/5632584#M376281</link>
    <description>Still isn't working as intended. I mean it still does the same thing with unitless as with degrees&lt;BR /&gt;&lt;BR /&gt;Basically I use parameters with both angle and length measurements, mm and degrees.&lt;BR /&gt;&lt;BR /&gt;I'll show you a similair example with parameters that are a little clearer, because my language isn't English.&lt;BR /&gt;&lt;BR /&gt;Slope = StairRise / Sin(Angle)&lt;BR /&gt;&lt;BR /&gt;Slope = mm&lt;BR /&gt;StairRise = mm&lt;BR /&gt;Angle = deg&lt;BR /&gt;&lt;BR /&gt;It's just a simple formula but it's not giving me the same outcome as it would on my calculator. I'm also working in an assembly level, linking parameters from parts to my main User Parameter in the main assembly. I don't know where it's going wrong.&lt;BR /&gt;&lt;BR /&gt;I could send a screenshot but it's not going to make things any clearer since they are random names.</description>
    <pubDate>Wed, 13 May 2015 07:55:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-13T07:55:38Z</dc:date>
    <item>
      <title>iLogic difference in calculating TAN with degrees and mm</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-difference-in-calculating-tan-with-degrees-and-mm/m-p/5630785#M376278</link>
      <description>&lt;P&gt;Good morning World!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently trying to make a calculation with &lt;STRONG&gt;Tangent&lt;/STRONG&gt; with &lt;STRONG&gt;degrees&lt;/STRONG&gt;. I get a different outcome while working &lt;STRONG&gt;mm&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For example:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Height = 1000 mm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Angle = 50 deg&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;X = Height / TAN(Angle) =&amp;nbsp;642,092615934331 mm&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While adding&amp;nbsp;another parameter, with the &lt;STRONG&gt;angle&lt;/STRONG&gt; being in &lt;STRONG&gt;mm&lt;/STRONG&gt;&amp;nbsp;I get a different outcome.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For example:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Height = 1000 mm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Angle = 50 deg&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Angle = Angle_mm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;X = Height / TAN(Angle_mm) =&amp;nbsp;617,369623783555 mm&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need the &lt;STRONG&gt;TAN&lt;/STRONG&gt; to work the same way as it would in &lt;STRONG&gt;mm&amp;nbsp;&lt;/STRONG&gt;as with&amp;nbsp;&lt;STRONG&gt;degrees.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Anyone knows a solution for this, or am I doing something wrong here?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Regards,&lt;/EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mark&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 09:08:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-difference-in-calculating-tan-with-degrees-and-mm/m-p/5630785#M376278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-12T09:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic difference in calculating TAN with degrees and mm</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-difference-in-calculating-tan-with-degrees-and-mm/m-p/5631308#M376279</link>
      <description>&lt;P&gt;For iLogic:&lt;/P&gt;
&lt;P&gt;All trig functions use radians.&amp;nbsp; You will have to convert all your angle measurements to rad before using them in a trig function.&amp;nbsp; Also, trig functions require angle measures, not length measures. Tan(2 rad) works.&amp;nbsp; Tan(2 mm) is wrong.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See &lt;A href="http://help.autodesk.com/view/INVNTOR/2014/ENU/?guid=GUID-E9CF6373-3E22-4E25-9F1D-49B8602A8EC0" target="_blank"&gt;http://help.autodesk.com/view/INVNTOR/2014/ENU/?guid=GUID-E9CF6373-3E22-4E25-9F1D-49B8602A8EC0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For parameters:&lt;/P&gt;
&lt;P&gt;All trig functions in Inventor expect an angle unit.&amp;nbsp; Angles are measured in deg, radians, grad, or steradians.&amp;nbsp; Tan(deg) or Tan(rad) are valid. Tan(mm) or tan(inches) are not.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the attached screenshot.&amp;nbsp; IV&amp;nbsp;returns a value for tan(inches) but it is highlighted in red to show that the units are not correct.&amp;nbsp; Also, the calculated value is not the same as the tan(deg) or the tan(rad) calculations.&amp;nbsp; I don't know why Inventor calculates anything when the units are wrong.&amp;nbsp; I think it should throw an error and force you to fix it before you can close the parameters window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Re-work your equation to use an angle unit for your normal trig functions and unitless values for your inverse trig functions. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edited to show difference between ilogic and parameters.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 15:31:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-difference-in-calculating-tan-with-degrees-and-mm/m-p/5631308#M376279</guid>
      <dc:creator>swalton</dc:creator>
      <dc:date>2015-05-12T15:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic difference in calculating TAN with degrees and mm</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-difference-in-calculating-tan-with-degrees-and-mm/m-p/5632570#M376280</link>
      <description>Thanks for your reply, and clarification. It kind of makes sense now.&lt;BR /&gt;&lt;BR /&gt;I tried mm because my outcome in degrees wasn't correct for some reason, and still isn't. I'll try the unitless solution now and hope it works as I'd like.&lt;BR /&gt;&lt;BR /&gt;Thanks for the time to work this out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 13 May 2015 07:41:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-difference-in-calculating-tan-with-degrees-and-mm/m-p/5632570#M376280</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-13T07:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic difference in calculating TAN with degrees and mm</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-difference-in-calculating-tan-with-degrees-and-mm/m-p/5632584#M376281</link>
      <description>Still isn't working as intended. I mean it still does the same thing with unitless as with degrees&lt;BR /&gt;&lt;BR /&gt;Basically I use parameters with both angle and length measurements, mm and degrees.&lt;BR /&gt;&lt;BR /&gt;I'll show you a similair example with parameters that are a little clearer, because my language isn't English.&lt;BR /&gt;&lt;BR /&gt;Slope = StairRise / Sin(Angle)&lt;BR /&gt;&lt;BR /&gt;Slope = mm&lt;BR /&gt;StairRise = mm&lt;BR /&gt;Angle = deg&lt;BR /&gt;&lt;BR /&gt;It's just a simple formula but it's not giving me the same outcome as it would on my calculator. I'm also working in an assembly level, linking parameters from parts to my main User Parameter in the main assembly. I don't know where it's going wrong.&lt;BR /&gt;&lt;BR /&gt;I could send a screenshot but it's not going to make things any clearer since they are random names.</description>
      <pubDate>Wed, 13 May 2015 07:55:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-difference-in-calculating-tan-with-degrees-and-mm/m-p/5632584#M376281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-13T07:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic difference in calculating TAN with degrees and mm</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/ilogic-difference-in-calculating-tan-with-degrees-and-mm/m-p/5632650#M376282</link>
      <description>&lt;P&gt;Okay so I found out the solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparantely Inventor calculates in Rad, EVEN&amp;nbsp;when your Document Dettings are set to Deg.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;Therefore my angle was calculated in Rad and not in Deg inside iLogic, which caused my problem. I just had to convert the Rad to Deg and it solved my problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem:&lt;/P&gt;&lt;PRE&gt; Slope &lt;SPAN&gt;=&lt;/SPAN&gt; SlopeIncline &lt;SPAN&gt;/ &lt;/SPAN&gt;&lt;SPAN&gt;Sin&lt;/SPAN&gt;&lt;SPAN&gt;(Angle)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Solution:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; Slope &lt;SPAN&gt;=&lt;/SPAN&gt; SlopeIncline &lt;SPAN&gt;/ &lt;/SPAN&gt;&lt;SPAN&gt;Sin&lt;/SPAN&gt;&lt;SPAN&gt;(Angle&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;PI&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;180&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your advice, definately helped me to figure it out.&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 09:33:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/ilogic-difference-in-calculating-tan-with-degrees-and-mm/m-p/5632650#M376282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-13T09:33:31Z</dc:date>
    </item>
  </channel>
</rss>

