<?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 AddByFillet in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5801029#M58444</link>
    <description>&lt;P&gt;In PlanarSketch, I wish to create a fillet between two touching sketch lines. Errors out!!!&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/186878iC1B5DB2A939E5FD6/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="ArcAsFillet.png" title="ArcAsFillet.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;            Dim startWorkPoint As WorkPoint = m_compDef.WorkPoints.AddFixed(newStartPoint, True)
            Dim pathSketch As PlanarSketch = pathSketchCurve.Parent
            Dim pathSketchLine As SketchLine = pathSketchCurve
            Dim skpt1 As SketchPoint = pathSketch.AddByProjectingEntity(startWorkPoint)
            Dim addedSketchLine As SketchLine = pathSketch.SketchLines.AddByTwoPoints(skpt1, pathSketchLine.StartSketchPoint)
            Dim skarc As SketchArc = pathSketch.SketchArcs.AddByFillet(addedSketchLine, pathSketchLine, m_bendradius, addedSketchLine.EndSketchPoint.Geometry, pathSketchLine.StartSketchPoint.Geometry)

            Dim path As Inventor.Path = m_compDef.Features.CreatePath(addedSketchLine)
            Dim profile As Profile = profileSketch.Profiles.AddForSolid
            CreateNewSweep(profile, path, PartFeatureOperationEnum.kJoinOperation)&lt;/PRE&gt;&lt;P&gt;In interactive mode, 'pathSketchLine' is somehow not selectable, although its part of the same sketch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the full file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any clue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Sep 2015 05:21:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-03T05:21:33Z</dc:date>
    <item>
      <title>AddByFillet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5801029#M58444</link>
      <description>&lt;P&gt;In PlanarSketch, I wish to create a fillet between two touching sketch lines. Errors out!!!&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/186878iC1B5DB2A939E5FD6/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="ArcAsFillet.png" title="ArcAsFillet.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;            Dim startWorkPoint As WorkPoint = m_compDef.WorkPoints.AddFixed(newStartPoint, True)
            Dim pathSketch As PlanarSketch = pathSketchCurve.Parent
            Dim pathSketchLine As SketchLine = pathSketchCurve
            Dim skpt1 As SketchPoint = pathSketch.AddByProjectingEntity(startWorkPoint)
            Dim addedSketchLine As SketchLine = pathSketch.SketchLines.AddByTwoPoints(skpt1, pathSketchLine.StartSketchPoint)
            Dim skarc As SketchArc = pathSketch.SketchArcs.AddByFillet(addedSketchLine, pathSketchLine, m_bendradius, addedSketchLine.EndSketchPoint.Geometry, pathSketchLine.StartSketchPoint.Geometry)

            Dim path As Inventor.Path = m_compDef.Features.CreatePath(addedSketchLine)
            Dim profile As Profile = profileSketch.Profiles.AddForSolid
            CreateNewSweep(profile, path, PartFeatureOperationEnum.kJoinOperation)&lt;/PRE&gt;&lt;P&gt;In interactive mode, 'pathSketchLine' is somehow not selectable, although its part of the same sketch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the full file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any clue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 05:21:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5801029#M58444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-03T05:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: AddByFillet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5806562#M58490</link>
      <description>&lt;P&gt;Hi Yogesh,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please share the&amp;nbsp;sample file for me to understand the model ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you cannot select the&amp;nbsp;path for fillet in Inventor UI, it is unlikely that the API can use it too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But i&amp;nbsp;would like&amp;nbsp;to try&amp;nbsp;it with your sample file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 00:45:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5806562#M58490</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2015-09-08T00:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: AddByFillet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5806864#M58493</link>
      <description>&lt;P&gt;I have kept project zip at&amp;nbsp;&lt;A href="https://drive.google.com/file/d/0B9ZSXyeZHd37dm56bm1wQ2ZTdHM/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/0B9ZSXyeZHd37dm56bm1wQ2ZTdHM/view?usp=sharing&lt;/A&gt; &amp;nbsp;(password is your first name)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this project I am trying to create Extrude/Sweep features equivalanet to given Sheet Metal features like FACE and CONTOUR FLANGE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please execute the project, open "My Project/FaceWithaFlange.ipt" and set break point in "ConvertContourFlangeToSweepOfEdgeWidthExtent()". &amp;nbsp;Here I am trying to build two sketches, one for profile and one for path.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case of Path I am not able to create arc between two sketch lines. Please uncomment the following line in code to see the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;'Dim skarc As SketchArc = pathSketch.SketchArcs.AddByFillet(addedSketchLine, pathSketchLine, m_bendradius, addedSketchLine.EndSketchPoint.Geometry, pathSketchLine.StartSketchPoint.Geometry)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/187602i4B4D5764AA1E3358/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="ArcAsFillet.png" title="ArcAsFillet.png" width="841" height="470" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wish to have arcs at every corners to achieve Bend like shape.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure whats going wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Note: Please preserve this project, as I have quite a few queries on the same. Thanks)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 07:51:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5806864#M58493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-08T07:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: AddByFillet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5808449#M58514</link>
      <description>&lt;P&gt;I tried convertting path sketch to sketch3d and use AddAsBend, but that did not work either. Attached is the file.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 05:42:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5808449#M58514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T05:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: AddByFillet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5808466#M58515</link>
      <description>&lt;P&gt;Hi Yogesh,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have downloaded the sample project and looking into it.&lt;/P&gt;
&lt;P&gt;It is quite interesting to see the sheet metal features getting recreated &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am working on this and will get back to you soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 05:58:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5808466#M58515</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2015-09-09T05:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: AddByFillet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5808655#M58520</link>
      <description>&lt;P&gt;Hi Yogesh,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please try this&amp;nbsp;change ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim skarc As SketchArc = pathSketch.SketchArcs.AddByFillet(addedSketchLine, pathSketchLine, m_bendradius, addedSketchLine.StartSketchPoint.Geometry, pathSketchLine.EndSketchPoint.Geometry)&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:10:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5808655#M58520</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2015-09-09T09:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: AddByFillet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5808695#M58521</link>
      <description>&lt;P&gt;That worked fine!!...Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After creating this arc, it was erroring&amp;nbsp;out in Sweep creation. I guess it did not have sufficient&amp;nbsp;space to create the arc. So moved back the profile little more as below:&lt;/P&gt;&lt;PRE&gt; Private Sub ConvertContourFlangeToSweepOfEdgeWidthExtent(ByRef fcd As MyFaceData, ByRef pathSketchCurve As SketchEntity)
            Dim profileSketch As PlanarSketch = Nothing

            ' Need to shift m_boundaryPoints along -ve normal then create sketch out of it
            Dim normal As Vector = fcd.m_normal
            normal.ScaleBy(-2 * m_bendradius)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then Sweep got created fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more query in the aspect. Actually, I want a separate body for this feature, so wish to give kNewBodyOperation, but errors out. So I am forced to use kJoinOperation. Any clues?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 09:42:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5808695#M58521</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T09:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: AddByFillet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5808791#M58523</link>
      <description>&lt;P&gt;Glad you have got it working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sweep creation had also&amp;nbsp;worked ok in Inventor 2016 without having to&amp;nbsp;scale down the normal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About&amp;nbsp;using the "kNewBodyOperation", this is a behavior for which we have a request logged with our engineering team.&lt;/P&gt;
&lt;P&gt;This was&amp;nbsp;specific to a sheet metal document and unfortunately I do not have workaround for it.&lt;/P&gt;
&lt;P&gt;Sorry about that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;internal case notes from that request suggests that our QA have confirmed&amp;nbsp;the behavior and is likely to get fixed in a future version of Inventor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Balaji&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 11:23:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5808791#M58523</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2015-09-09T11:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: AddByFillet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5808963#M58527</link>
      <description>&lt;P&gt;Thanks for the info.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 13:21:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/addbyfillet/m-p/5808963#M58527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-09T13:21:21Z</dc:date>
    </item>
  </channel>
</rss>

