Converting 3D Sketchpoints into shell

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
i have a 3D sketch with about 230 sketchpoints. How can I use the Inventor API to convert these points into a brep or shell or triangulate the points into a meshobject? Is there a way to do this?
Here is the part of my code that creates the 3D points:
Dim oSketch As Sketch3D
oSketch = invApp.ActiveDocument.ComponentDefinition.Sketches3D.Add
Dim oTG As TransientGeometry
oTG = invApp.TransientGeometry
Dim oSkPoints As SketchPoints3D
oSkPoints = oSketch.SketchPoints3D
For i = 1 To nVertex
Call oSkPoints.Add(oTG.CreatePoint(oSurfaceBody.Vertices.Item(i).Point.X, oSurfaceBody.Vertices.Item(i).Point.Y, oSurfaceBody.Vertices.Item(i).Point.Z), False)
Next
What should I do next to connect the points to a solid(brep)/mesh/shell?
If you need any more information i'll gladly provide.
Thanks in advance,
Omar