<?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 Offset function several offset values in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/offset-function-several-offset-values/m-p/7390367#M7638</link>
    <description>&lt;P&gt;Is there a way to do an offset of a polyline ( or polyline points ) with different offset values?&lt;/P&gt;&lt;P&gt;There is a getOffsetCurves method of AcDbCurve, but this is only offset value.&lt;/P&gt;&lt;P&gt;The same for the AcGeOffsetCurve3d class.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2017 11:23:23 GMT</pubDate>
    <dc:creator>jordan</dc:creator>
    <dc:date>2017-09-19T11:23:23Z</dc:date>
    <item>
      <title>Offset function several offset values</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/offset-function-several-offset-values/m-p/7390367#M7638</link>
      <description>&lt;P&gt;Is there a way to do an offset of a polyline ( or polyline points ) with different offset values?&lt;/P&gt;&lt;P&gt;There is a getOffsetCurves method of AcDbCurve, but this is only offset value.&lt;/P&gt;&lt;P&gt;The same for the AcGeOffsetCurve3d class.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 11:23:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/offset-function-several-offset-values/m-p/7390367#M7638</guid>
      <dc:creator>jordan</dc:creator>
      <dc:date>2017-09-19T11:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Offset function several offset values</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/offset-function-several-offset-values/m-p/7390637#M7639</link>
      <description>&lt;P&gt;Do you mean different offsets for each segment of the polyline?&lt;/P&gt;
&lt;P&gt;No, there is no such method.&lt;/P&gt;
&lt;P&gt;You can write your own by splitting the polyline into lines and arcs, offset each one with your desired offset, than calculate sectionpoints, trim or extent the segments to the section points and build a new polyline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on your geometry an offset values you may have to handle some tricky case like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="offset.png" style="width: 458px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/402820i50A88A7B9350B41C/image-size/large?v=v2&amp;amp;px=999" role="button" title="offset.png" alt="offset.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Moreover you'll have trouble if the segments are tangential and have different offsets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 13:02:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/offset-function-several-offset-values/m-p/7390637#M7639</guid>
      <dc:creator>tbrammer</dc:creator>
      <dc:date>2017-09-19T13:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Offset function several offset values</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/offset-function-several-offset-values/m-p/7390749#M7640</link>
      <description>&lt;P&gt;That's what I feared.. I' ve writting my own offset function, but like you said, in the tricky case it sometimes fails.&lt;/P&gt;&lt;P&gt;I'll have to optimize my own offset function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 13:30:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/offset-function-several-offset-values/m-p/7390749#M7640</guid>
      <dc:creator>jordan</dc:creator>
      <dc:date>2017-09-19T13:30:04Z</dc:date>
    </item>
  </channel>
</rss>

