API: how to find intersection between a surface and curves?

Discussion in 'SolidWorks' started by P?l, Aug 23, 2004.

  1. P?l

    P?l Guest

    Hi,

    I am trying to create a surface using Modeler.CreatePlanarSurface2()
    and the finding the intersection between this surface and a pair of
    spline curves using Surface.IntersectCurve(). The problem I am having
    is to get the coordinates correct. The sketches containing the splines
    are on different z levels and are translated using
    ModelDoc2.SketchModifyTranslate(), this means that the coordinate
    systems of the two sketches are diffenent from each other and also
    different from the model coordinate system. What happens when I try to
    create a surface in model coordinates and then try to intersect this
    surface with the curves (SketchSegment.GetCurve())?
    What approach should I use to get this correct?

    Best regards
    Pål Eilertsen
     
    P?l, Aug 23, 2004
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.