Author Topic: Curved Surfaces  (Read 1387 times)

0 Members and 1 Guest are viewing this topic.

Micaletti

  • Guest
Curved Surfaces
« on: March 27, 2014, 12:53:25 PM »
Gentlemen I need to create some curved shaded surfaces via the .NET API however I am unsure how to get started. The circles represent Point3D References and the lines/arcs represent the outline of the curved shaded surface I am trying to create. Can anyone point me in the right direction or possibly provide some sample code?

EDIT: The "EDGESURF" command seems to do exactly what I need. How can I create this functionality using the API?

« Last Edit: March 27, 2014, 01:06:45 PM by Micaletti »

Micaletti

  • Guest
Re: Curved Surfaces
« Reply #1 on: March 27, 2014, 03:38:53 PM »
After messing with it for a while, I was able to use a LoftedSurface. I am creating a new LoftedSurface inside of a DrawableOverrule ViewportDraw override using "ViewportDraw.Geometry.Draw(MyLoftedSurface)" however the regen is not reliable. I see that there are methods for ViewportDraw.Geometry.Mesh, ViewportDraw.Geometry.Shell etc, but I do not see a ViewportDraw.Geometry.LoftedSurface method.

What would be the correct way to create a LoftedSurface inside of a ViewportDraw override?