<?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 give different z values to start, mid and end of a sloping arc in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465367#M343848</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to be the solution.&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-civil-3d-general/arc-with-2-different-elevations/m-p/3246054#M164643" target="_blank"&gt;http://forums.autodesk.com/t5/autocad-civil-3d-general/arc-with-2-different-elevations/m-p/3246054#M164643&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First draw the Arc, then use the Align command(with 3 points) option to align with the points.&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jan 2015 05:51:22 GMT</pubDate>
    <dc:creator>Ajilal.Vijayan</dc:creator>
    <dc:date>2015-01-11T05:51:22Z</dc:date>
    <item>
      <title>How to give different z values to start, mid and end of a sloping arc</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465331#M343847</link>
      <description>&lt;P&gt;Can anyone please advise how to give different z values to the start, mid and end of a sloping arc, as I need to add 2 more points and levels. It is for a long sweeping radius kerb. When I give the start a z value, then go to properties, it gives the same value for start, centre and end and they're 'greyed out' so can't be&amp;nbsp;changed. I've attached the arc to points with z values but to no avail. Please see attachment&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jan 2015 02:49:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465331#M343847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-11T02:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to give different z values to start, mid and end of a sloping arc</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465367#M343848</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to be the solution.&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-civil-3d-general/arc-with-2-different-elevations/m-p/3246054#M164643" target="_blank"&gt;http://forums.autodesk.com/t5/autocad-civil-3d-general/arc-with-2-different-elevations/m-p/3246054#M164643&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First draw the Arc, then use the Align command(with 3 points) option to align with the points.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jan 2015 05:51:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465367#M343848</guid>
      <dc:creator>Ajilal.Vijayan</dc:creator>
      <dc:date>2015-01-11T05:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to give different z values to start, mid and end of a sloping arc</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465449#M343849</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how about&amp;nbsp; draw a helix with bottom and top diam equal, &amp;amp; 1/4 turn (Based on 90 degree angle), twist CCW , height 832&amp;nbsp; (Delta of y1&amp;nbsp;&amp;nbsp; y3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this results in a smooth radius, constant slope arc?&amp;nbsp; this does not line up with your three points so it may not be what you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can also do 1/8 turns.&amp;nbsp; heights 584&amp;nbsp; and 248. see attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dave&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jan 2015 13:29:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465449#M343849</guid>
      <dc:creator>parkr4st</dc:creator>
      <dc:date>2015-01-11T13:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to give different z values to start, mid and end of a sloping arc</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465455#M343850</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;Can anyone please advise how to give different z values to the start, mid and end of a sloping arc...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The way AutoCAD stores data about an Arc involves not start/mid/end points, but a center point, a radius, start and end angles from the center, and &lt;EM&gt;an extrusion direction&lt;/EM&gt;.&amp;nbsp; For an Arc that does &lt;EM&gt;not&lt;/EM&gt; lie in or parallel to the current drawing plane, that extrusion direction will not be straight up&amp;nbsp;the Z axis.&amp;nbsp; That means &lt;EM&gt;the Coordinate System must be different&lt;/EM&gt; for that Arc.&amp;nbsp; You can use your three points to establish a new User Coordinate System in which to draw the Arc.&amp;nbsp; If you're in the World Coordinate System, and the start/mid/end points in WCS are pt1/pt2/pt3, in simplest terms:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(command&lt;/P&gt;
&lt;P&gt;&amp;nbsp; "_.ucs" "_3point" pt1 pt3 pt2&lt;/P&gt;
&lt;P&gt;&amp;nbsp; "_.arc" (trans pt1 0 1) (trans pt2 0 1) (trans pt3 0 1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; "_.ucs" "_previous"&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Turn object snap off if appropriate, either beforehand or incorporated into the routine.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some reason, in 2015 the 3point option doesn't show up in the UCS command's base prompt.&amp;nbsp; Neither does the New option.&amp;nbsp;&amp;nbsp;If you type N for New anyway,&amp;nbsp;its sub-prompt offers 3point as an option, but you can also&amp;nbsp;use 3 directly from the base prompt, as above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jan 2015 14:09:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465455#M343850</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-01-11T14:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to give different z values to start, mid and end of a sloping arc</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465906#M343851</link>
      <description>Kent1Cooper,&lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestion, I copied and pasted your command prompt, and it&lt;BR /&gt;returned a message saying&lt;BR /&gt;"; error: bad argument type: 2D/3D type: nil" so I tried it anyway, I drew&lt;BR /&gt;an arc, attached to 3 nodes with different z values but when I go into&lt;BR /&gt;properties it still has the same values for all 3 z points.&lt;BR /&gt;&lt;BR /&gt;Brucey</description>
      <pubDate>Mon, 12 Jan 2015 08:17:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465906#M343851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-12T08:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to give different z values to start, mid and end of a sloping arc</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465936#M343852</link>
      <description>&lt;P&gt;You need to define those points first inorder to run the lisp.&lt;/P&gt;&lt;P&gt;try this ( Also find the attached drawing).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;command name is 3ZARC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(defun C:3ZARC (/ pt1 pt2 pt3)

(setq

    pt1 (getpoint "\nFirst point: ")

    pt2 (getpoint "\nMid point: ")
	
    pt3 (getpoint "\nEnd point: ")

  ); setq

(command

  "_.ucs" "_3point" pt1 pt3 pt2

  "_.arc" (trans pt1 0 1) (trans pt2 0 1) (trans pt3 0 1)

  "_.ucs" "_previous"

)

);defun&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 08:53:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465936#M343852</guid>
      <dc:creator>Ajilal.Vijayan</dc:creator>
      <dc:date>2015-01-12T08:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to give different z values to start, mid and end of a sloping arc</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465943#M343853</link>
      <description>&lt;P&gt;Kent1Cooper,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While using the lisp suggested by you or the&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/autocad-civil-3d-general/arc-with-2-different-elevations/m-p/3246054#M164643" target="_blank"&gt;suggestion&lt;/A&gt; from Allen to use the Align command, the z value for the midpoint of curve is not exactly the same value as the point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached drawing is with the result after running the lisp suggested by you.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 08:59:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5465943#M343853</guid>
      <dc:creator>Ajilal.Vijayan</dc:creator>
      <dc:date>2015-01-12T08:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to give different z values to start, mid and end of a sloping arc</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5466063#M343854</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ajilal.Vijayan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your suggestion w&lt;/SPAN&gt;orked spot on. Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bruceybee&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:23:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5466063#M343854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-12T11:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to give different z values to start, mid and end of a sloping arc</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5466375#M343855</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/460083"&gt;@Ajilal.Vijayan&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While using the lisp suggested by you or the&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/autocad-civil-3d-general/arc-with-2-different-elevations/m-p/3246054#M164643" target="_blank"&gt;suggestion&lt;/A&gt; from Allen to use the Align command, the z value for the midpoint of curve is not exactly the same value as the point.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It will be&amp;nbsp;the same&amp;nbsp;only if the point you give it for a so-called&amp;nbsp;"midpoint" &lt;EM&gt;is&lt;/EM&gt; actually geometrically the midpoint of the resulting Arc.&amp;nbsp; The Arc command with 3 points draws an Arc that goes through those 3 points, but that doesn't mean that the second one will be the geometric midpoint of the result.&amp;nbsp; You could give it a "midpoint" that's only 1/100 of the way between the start and end, and it will draw an Arc through that, but obviously the midpoint in geometric/object-snap terms of the resulting Arc won't be the second point given.&amp;nbsp;&amp;nbsp;That's&amp;nbsp;equally true of&amp;nbsp;Ajilal.Vijayan's function [which is just mine with asking for points added] -- perhaps&amp;nbsp;its prompt&amp;nbsp;asking for pt2 should say "Second point" rather than "Mid point."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Consider whether you should be using a 3D &lt;EM&gt;Spline&lt;/EM&gt;, instead an Arc.&amp;nbsp; That will&amp;nbsp;go through the 3 given points exactly including having&amp;nbsp;the correct Z coordinate at the second point, though that point will &lt;EM&gt;not&lt;/EM&gt; always be the geometric midpoint of the Spline.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 15:26:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5466375#M343855</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-01-12T15:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to give different z values to start, mid and end of a sloping arc</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5466400#M343856</link>
      <description>Many thanks for your assistance Kent Cooper, although between you we have found a solution, I'll have a look at your 3D spline version aswell later on, as this may be of use some other time.&lt;BR /&gt;Kind regards,&lt;BR /&gt;Bruceybee</description>
      <pubDate>Mon, 12 Jan 2015 15:43:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5466400#M343856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-12T15:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to give different z values to start, mid and end of a sloping arc</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5467221#M343857</link>
      <description>&lt;P&gt;Hi Bruceybee,&lt;/P&gt;&lt;P&gt;Glad to hear that now you can draw the arc with different Z values.&lt;/P&gt;&lt;P&gt;But the excat solution came from Kent Cooper, I just added the code to define the points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kent Cooper,&lt;/P&gt;&lt;P&gt;Thanks for the code and detailed explanation to help understand the second point elevation difference that I have asked (+ Kudos)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2015 04:29:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-give-different-z-values-to-start-mid-and-end-of-a-sloping/m-p/5467221#M343857</guid>
      <dc:creator>Ajilal.Vijayan</dc:creator>
      <dc:date>2015-01-13T04:29:41Z</dc:date>
    </item>
  </channel>
</rss>

