Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8688

How to convert parameter space curve to on-surface curve

$
0
0

@gccdragoonkain wrote:

Is this possible? I want to evaluate straight-line (or 2D bezier) curves to curves along surface.

  double d00, d01, d10, d11;
  brep.Face(0)->GetDomain(0, &d00, &d01);
  brep.Face(0)->GetDomain(1, &d10, &d11);
  auto linearCurve = new ON_LineCurve(ON_2dPoint(d00, d10), ON_2dPoint(d01, d11));

  doc.AddCurveObject(somehowConvertToSurface(linearCurve, brep.Face(0))); //???

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8688

Latest Images

Trending Articles



Latest Images