<?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: How to make the visual shape of delta robot? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-the-visual-shape-of-delta-robot/m-p/13485766#M4327</link>
    <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://answers.flexsim.com/users/11/jacob.g.html" nodeid="11"&gt;@Jacob Gillespie&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;One more question, I want to fix the upper base - shoulder - in one position like the fixed resource of flexsim Robot without trolley and gantry moving. Yes. It is same with the spider robot of Kris Geisberger.&lt;/P&gt;&lt;P&gt;Which script line could be edited or variables?&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/temp/5109-deltarobot-v20.fsm"&gt;deltarobot-v20.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or Should I set the fixed coordinates of the delta-robot base in the tasksequence to the robot ?&lt;/P&gt;&lt;P&gt;Or Is it easy to make newly the customized BasicTE?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5110-combiner-using-deltarobot.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1494957iBD0AC21365E8C2C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="5110-combiner-using-deltarobot.png" alt="5110-combiner-using-deltarobot.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2017 03:53:50 GMT</pubDate>
    <dc:creator>SimFlex_support</dc:creator>
    <dc:date>2017-02-10T03:53:50Z</dc:date>
    <item>
      <title>How to make the visual shape of delta robot?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-the-visual-shape-of-delta-robot/m-p/13485764#M4325</link>
      <description>&lt;P&gt;I want to set the visual shape of Delta like spider arms.&lt;/P&gt;&lt;P&gt;I found the model made by &lt;SPAN class="autotaguser-autocomplete-box"&gt;&lt;/SPAN&gt;Kris Geisberger in the old forum. But I can't display the arms of the delta robot. Kris made to show the spider shape in Custom Draw trigger (The old OnDrawtrigger) only using script. The spider is customized from Crane object.&lt;/P&gt;&lt;P&gt;How can I control to show the arms of it?&lt;/P&gt;&lt;P&gt;or other methods?&lt;/P&gt;&lt;P&gt;It is important to show the spider robot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5092-delta-robot-shape1.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1494958iE050C5394916E3A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="5092-delta-robot-shape1.png" alt="5092-delta-robot-shape1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/attachments/5093-small-crane.fsm"&gt;small-crane.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/attachments/5090-deltarobot-demo.fsm"&gt;deltarobot-demo.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/attachments/5091-cookiepacker-602-20130802.fsm"&gt;cookiepacker-602-20130802.fsm&lt;/A&gt;
&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 15:36:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-the-visual-shape-of-delta-robot/m-p/13485764#M4325</guid>
      <dc:creator>SimFlex_support</dc:creator>
      <dc:date>2017-02-09T15:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the visual shape of delta robot?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-the-visual-shape-of-delta-robot/m-p/13485765#M4326</link>
      <description>&lt;P&gt;
	&lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;&lt;P&gt;
	&lt;DEL&gt;
	In the &lt;STRONG&gt;Custom Draw&lt;/STRONG&gt; trigger, change this:&lt;/DEL&gt;&lt;/P&gt;
&lt;DEL&gt;
&lt;PRE&gt;double basex = getvarnum(current,"shellxloc");
double basey = getvarnum(current,"shellyloc");
double basez = getvarnum(current,"shellzloc");
&lt;/PRE&gt;&lt;P&gt;
	To this:&lt;/P&gt;
&lt;PRE&gt;double basex = xloc(current) + xsize(current)/2;
double basey = yloc(current) - ysize(current)/2;
double basez = zloc(current) + getvarnum(current,"shellsizez")*4.5;&lt;/PRE&gt;&lt;/DEL&gt;&lt;P&gt;&lt;DEL&gt;
	&lt;A href="https://answers.flexsim.com/storage/attachments/5098-small-crane-edit.fsm"&gt;small-crane-edit.fsm&lt;/A&gt;&lt;/DEL&gt;&lt;/P&gt;&lt;P&gt;
	The arms are not being drawn because negative values are passed into sqrt() functions.&lt;/P&gt;&lt;P&gt;
	In the 
	&lt;STRONG&gt;Custom Draw&lt;/STRONG&gt; trigger, change this:&lt;/P&gt;
&lt;PRE&gt;double r2 = sqrt(sqr(lowarmlength)-sqr(y-uparmy));//have to determine the radius of the sphere in the intersection plane
//find intersection
double d = sqrt(sqr(x1-x2)+sqr(y1-y2));
double d1 = (sqr(r1)-sqr(r2)+sqr(d)) / (2*d);
double h = sqrt(sqr(r1)-sqr(d1));
&lt;/PRE&gt;&lt;P&gt;
	To This:&lt;/P&gt;
&lt;PRE&gt;double rSqr = sqr(lowarmlength)-sqr(y-uparmy);
double r2 = 0;//have to determine the radius of the sphere in the intersection plane
if(rSqr &amp;gt; 0)
	r2 = sqrt(rSqr);
//find intersection
double dSqr = sqr(x1-x2)+sqr(y1-y2);
double d = 0;
if(dSqr &amp;gt; 0)
	d = sqrt(dSqr);
double d1 = (sqr(r1)-sqr(r2)+sqr(d)) / (2*d);
double hSqr = sqr(r1)-sqr(d1);
double h = 0;
if(hSqr &amp;gt; 0)
	h = sqrt(hSqr);
&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/attachments/5125-deltarobot-v20-edit.fsm"&gt;deltarobot-v20-edit.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 18:21:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-the-visual-shape-of-delta-robot/m-p/13485765#M4326</guid>
      <dc:creator>Jacob_Gillespie</dc:creator>
      <dc:date>2017-02-09T18:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the visual shape of delta robot?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-the-visual-shape-of-delta-robot/m-p/13485766#M4327</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://answers.flexsim.com/users/11/jacob.g.html" nodeid="11"&gt;@Jacob Gillespie&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;One more question, I want to fix the upper base - shoulder - in one position like the fixed resource of flexsim Robot without trolley and gantry moving. Yes. It is same with the spider robot of Kris Geisberger.&lt;/P&gt;&lt;P&gt;Which script line could be edited or variables?&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/temp/5109-deltarobot-v20.fsm"&gt;deltarobot-v20.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or Should I set the fixed coordinates of the delta-robot base in the tasksequence to the robot ?&lt;/P&gt;&lt;P&gt;Or Is it easy to make newly the customized BasicTE?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5110-combiner-using-deltarobot.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1494957iBD0AC21365E8C2C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="5110-combiner-using-deltarobot.png" alt="5110-combiner-using-deltarobot.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 03:53:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-the-visual-shape-of-delta-robot/m-p/13485766#M4327</guid>
      <dc:creator>SimFlex_support</dc:creator>
      <dc:date>2017-02-10T03:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the visual shape of delta robot?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-the-visual-shape-of-delta-robot/m-p/13485767#M4328</link>
      <description>&lt;P&gt;Oh I see you want it to be stationary. Here is a model with what I think you want:&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/temp/5124-deltarobot-v20-edit.fsm"&gt;deltarobot-v20-edit.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I changed the &lt;STRONG&gt;OnReset&lt;/STRONG&gt; and &lt;STRONG&gt;Custom Draw&lt;/STRONG&gt; triggers.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 18:48:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-the-visual-shape-of-delta-robot/m-p/13485767#M4328</guid>
      <dc:creator>Jacob_Gillespie</dc:creator>
      <dc:date>2017-02-10T18:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the visual shape of delta robot?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-the-visual-shape-of-delta-robot/m-p/13485768#M4329</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/209/david.s.html" nodeid="209"&gt;@david.seo&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 19:01:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-make-the-visual-shape-of-delta-robot/m-p/13485768#M4329</guid>
      <dc:creator>Jacob_Gillespie</dc:creator>
      <dc:date>2017-02-10T19:01:10Z</dc:date>
    </item>
  </channel>
</rss>

