<?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 Assign a sketch dimension a variable but maximum value in Fusion Design, Validate &amp; Document Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-design-validate-document/assign-a-sketch-dimension-a-variable-but-maximum-value/m-p/9504990#M111784</link>
    <description>&lt;P&gt;I wonder if anyone can assist with this little problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a birdsmouth cut on a rafter, I want value A to be as large as possible upto the following constraints: It must be no larger than StudDepth (95mm) and Value B must be no larger than RafterDepth/3 (50mm).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I don't want to just have a specific value for A or B is that if A is set to StudDepth, then with a roof pitch over a certain angle B becomes too large. If I specify that B is 50mm then with shallow roof pitches A becomes too large and won't sit correctly on the top plate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm probably asking too much but I thought I'd ask anyway!&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;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/768119iBAEA54B0C0E9481C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 10 May 2020 14:02:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-10T14:02:49Z</dc:date>
    <item>
      <title>Assign a sketch dimension a variable but maximum value</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/assign-a-sketch-dimension-a-variable-but-maximum-value/m-p/9504990#M111784</link>
      <description>&lt;P&gt;I wonder if anyone can assist with this little problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a birdsmouth cut on a rafter, I want value A to be as large as possible upto the following constraints: It must be no larger than StudDepth (95mm) and Value B must be no larger than RafterDepth/3 (50mm).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I don't want to just have a specific value for A or B is that if A is set to StudDepth, then with a roof pitch over a certain angle B becomes too large. If I specify that B is 50mm then with shallow roof pitches A becomes too large and won't sit correctly on the top plate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm probably asking too much but I thought I'd ask anyway!&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;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/768119iBAEA54B0C0E9481C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 May 2020 14:02:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/assign-a-sketch-dimension-a-variable-but-maximum-value/m-p/9504990#M111784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-10T14:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a sketch dimension a variable but maximum value</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/assign-a-sketch-dimension-a-variable-but-maximum-value/m-p/9505012#M111785</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If conditions like if,then,else or &amp;lt;&amp;gt; are required, this is currently not possible with the equations and expressions in Fusion.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;günther&lt;/P&gt;</description>
      <pubDate>Sun, 10 May 2020 14:31:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/assign-a-sketch-dimension-a-variable-but-maximum-value/m-p/9505012#M111785</guid>
      <dc:creator>g-andresen</dc:creator>
      <dc:date>2020-05-10T14:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a sketch dimension a variable but maximum value</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/assign-a-sketch-dimension-a-variable-but-maximum-value/m-p/9505048#M111786</link>
      <description>&lt;P&gt;you can find the functions available to you here-&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-76272551-3275-46C4-AE4D-10D58B408C20" target="_blank"&gt;https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-76272551-3275-46C4-AE4D-10D58B408C20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try something like min(A1,maxstuddepth)=A2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can also test if a value is greater or less than another by subtracting them and using in the sign(expr) function, which returns a value of 0 if negative.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 May 2020 15:12:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/assign-a-sketch-dimension-a-variable-but-maximum-value/m-p/9505048#M111786</guid>
      <dc:creator>laughingcreek</dc:creator>
      <dc:date>2020-05-10T15:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a sketch dimension a variable but maximum value</title>
      <link>https://forums.autodesk.com/t5/fusion-design-validate-document/assign-a-sketch-dimension-a-variable-but-maximum-value/m-p/9507003#M111787</link>
      <description>&lt;P&gt;Thanks for the pointer on using MinMax but I've not managed to work out how to do it yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From what I can see MinMax can be used to pick one of two values either the min or the max, but I can't constrain both A and B in the sketch as it would then be over constrained.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;günther is probably right that I really need a &amp;gt; or &amp;lt; or If to do the job I want and sadly can't. Its not the end of the world as its an easy thing to check and change manually if needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;In one of those glorious epiphany moments I realised that if I calculated distance B based on StudDepth and RoofPitch, I could use the min() function to choose whatever value was lower, either the calculation or the 1/3rd rafter depth measurement. Works perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, from the sketch above B is now defined as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;min(BirdsMouth; rafterdepth / 3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This picks whichever value is lower, the BirdsMouth parameter or the 1/3 rafter depth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Birdsmouth parameter is now set to be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;StudDepth * sin(RoofPitch) / sin(90 deg)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now if the roof pitch is high like 45 degrees, the value B is limited to 50mm (1/3 RafterDepth). If the pitch is low like 14 degrees, the value B is chosen as 22.98mm which in turn will limit value A to a max of StudDepth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for pointing me in the right direction!&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 15:23:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-design-validate-document/assign-a-sketch-dimension-a-variable-but-maximum-value/m-p/9507003#M111787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-11T15:23:05Z</dc:date>
    </item>
  </channel>
</rss>

