<?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: Is it possible to draw 2D shape from location coordinates? in 3D Part &amp; Assembly Design</title>
    <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/864511#M128491</link>
    <description>&lt;P&gt;Thank you for your idea.&lt;BR /&gt;I can draw the shape in HTML canvas format. How could I import the profile to Creo? Should we convert the file into another&amp;nbsp; one?&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 04:34:39 GMT</pubDate>
    <dc:creator>Yu_707</dc:creator>
    <dc:date>2023-03-27T04:34:39Z</dc:date>
    <item>
      <title>Is it possible to draw 2D shape from location coordinates?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/842771#M126878</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for stopping by this topic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to reduce time to draw complex shape models with Creo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have location coordinates data of the forms thus I selected each location to draw the shape.&lt;/P&gt;&lt;P&gt;If it's possible to draw the geometry directly from the location coordinates, it helps a lot.&lt;/P&gt;&lt;P&gt;Do you have any ideas to perform it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 01:19:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/842771#M126878</guid>
      <dc:creator>Yu_707</dc:creator>
      <dc:date>2022-12-08T01:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to draw 2D shape from location coordinates?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/843490#M126928</link>
      <description>&lt;P&gt;Sorry I do not understand your question, but I think I am doing something similar.&lt;/P&gt;&lt;P&gt;I design cam using Matlab (anyone can use Matlab basic online for free) and create 3D shape of the cam in Creo, following the steps below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calculate in Matlab -&amp;gt; export cam profile coordinates as txt/xlsx -&amp;gt; save exported data as .pts -&amp;gt; create points in Creo by importing the .pts file -&amp;gt; create curve from points -&amp;gt; extrude (in the sketch, offset 0 from the curve) -&amp;gt; done.&lt;/P&gt;&lt;P&gt;The process can be automated with mapkey and automation script.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 15:41:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/843490#M126928</guid>
      <dc:creator>Hidetaka</dc:creator>
      <dc:date>2022-12-12T15:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to draw 2D shape from location coordinates?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/843643#M126948</link>
      <description>&lt;P&gt;Thank you for your comment.&lt;/P&gt;&lt;P&gt;It is possible for Matlad to create cam profile from location coordinates (each location coincides with the apex of the shape profile)?&lt;BR /&gt;If so, the 3D shape can be created with the following procedures you mentioned.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 01:41:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/843643#M126948</guid>
      <dc:creator>Yu_707</dc:creator>
      <dc:date>2022-12-13T01:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to draw 2D shape from location coordinates?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/845927#M127119</link>
      <description>&lt;P&gt;I am also having a same type of question .&amp;nbsp;&lt;A href="https://www.mynordstrom.ltd/" target="_blank" rel="noopener"&gt;&lt;FONT color="#FFFFFF"&gt;Mynordstrom Login&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I have a home-project to develop linear cam profile with roller follower In the way that appear in the picture. I found it only on a video on youtube after hours of searching but without any code or even a description if it can be done on or not. my deadline is approaching so please help me to get this done. thank you&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Dec 2022 04:04:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/845927#M127119</guid>
      <dc:creator>EK_10536668</dc:creator>
      <dc:date>2022-12-26T04:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to draw 2D shape from location coordinates?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/853179#M127603</link>
      <description>&lt;P&gt;Sorry I am not sure I understand your question.&lt;/P&gt;&lt;P&gt;If you have all coordinates, of course you can generate the cam profile.&lt;/P&gt;&lt;P&gt;In my case, I use the timing diagram to calculate all the coordinates necessary to generate cam profile.&lt;/P&gt;&lt;P&gt;Note that the cam profile is different from the pitch curve. In a Youtube video, the poster generate the pitch curve and use that curve as if it is cam profile.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 06:22:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/853179#M127603</guid>
      <dc:creator>Hidetaka</dc:creator>
      <dc:date>2023-02-02T06:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to draw 2D shape from location coordinates?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/853279#M127612</link>
      <description>&lt;P&gt;Yes, it is possible. See my answer to this previous post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.ptc.com/t5/3D-Part-Assembly-Design/Creating-a-curve-through-multiple-points/m-p/842509" target="_blank" rel="noopener"&gt;https://community.ptc.com/t5/3D-Part-Assembly-Design/Creating-a-curve-through-multiple-points/m-p/842509&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 12:59:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/853279#M127612</guid>
      <dc:creator>tbraxton</dc:creator>
      <dc:date>2023-02-02T12:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to draw 2D shape from location coordinates?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/864471#M128489</link>
      <description>&lt;P&gt;Yes, it is possible to draw a 2D shape from location coordinates.&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;A href="https://dolgeneraldgme.com/" target="_blank" rel="noopener"&gt;&lt;FONT color="#FFFFFF"&gt;&amp;nbsp;DGME&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;One common way to do this is by using a graphics library or framework such as HTML5 Canvas, SVG, or OpenGL. These libraries allow you to define the vertices (or points) of the shape using location coordinates, and then connect the vertices with lines or curves to form the desired shape.&lt;/P&gt;&lt;P&gt;For example, in HTML5 Canvas, you can define a shape by specifying a set of points using the moveTo() and lineTo() methods. Here's an example of how to draw a triangle using Canvas:&lt;/P&gt;&lt;P&gt;javascript&lt;/P&gt;&lt;P&gt;var canvas = document.getElementById("myCanvas");&lt;/P&gt;&lt;P&gt;var ctx = canvas.getContext("2d");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ctx.beginPath();&lt;/P&gt;&lt;P&gt;ctx.moveTo(50, 50);&lt;/P&gt;&lt;P&gt;ctx.lineTo(100, 75);&lt;/P&gt;&lt;P&gt;ctx.lineTo(75, 100);&lt;/P&gt;&lt;P&gt;ctx.closePath();&lt;/P&gt;&lt;P&gt;ctx.stroke();&lt;/P&gt;&lt;P&gt;In this example, moveTo() sets the starting point of the shape, lineTo() connects the points to form the triangle, and closePath() closes the shape by connecting the last point to the starting point. Finally, stroke() is used to draw the shape on the canvas.&lt;/P&gt;&lt;P&gt;Of course, the exact syntax and methods used will depend on the graphics library or framework you are using, but the basic idea is the same: define the vertices of the shape using location coordinates, and then connect them to form the desired shape.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Mar 2023 13:39:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/864471#M128489</guid>
      <dc:creator>JL_10634617</dc:creator>
      <dc:date>2023-03-26T13:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to draw 2D shape from location coordinates?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/864482#M128490</link>
      <description>&lt;P&gt;I have a home project that involves developing a linear cam profile with a roller follower, as shown in the picture.&lt;/P&gt;&lt;P&gt;Despite hours of searching, I was only able to find a video on YouTube that demonstrates it without any accompanying code or description of its feasibility. As my deadline is approaching, I am seeking assistance to complete this project.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://mynstromy.com" target="_blank" rel="noopener"&gt;&lt;FONT color="#FFFFFF"&gt;Mynordstrom login&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Mar 2023 19:52:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/864482#M128490</guid>
      <dc:creator>MJ_10634919</dc:creator>
      <dc:date>2023-03-26T19:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to draw 2D shape from location coordinates?</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/864511#M128491</link>
      <description>&lt;P&gt;Thank you for your idea.&lt;BR /&gt;I can draw the shape in HTML canvas format. How could I import the profile to Creo? Should we convert the file into another&amp;nbsp; one?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 04:34:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/Is-it-possible-to-draw-2D-shape-from-location-coordinates/m-p/864511#M128491</guid>
      <dc:creator>Yu_707</dc:creator>
      <dc:date>2023-03-27T04:34:39Z</dc:date>
    </item>
  </channel>
</rss>

