how to wrapping curves onto a surface???

I have some wires and a cylinder surface(maybe other profile surface).How to wrapping curves onto a surface?
How to use opencascade to write these codes?
Attach files are what i want to render.

Attachments: 
Mikhail Sazonov's picture

First you should create 2D curve.
Then use the class Approx_CurveOnSurface.

peng zhang's picture

Thank you for your reply.
Wires project on planar surface use GeomProjLib::Project or BRepOffsetAPI_NormalProjection.
How 2d surface change 3d Cylindrical surface that includes all curves?