×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Using the API to find surface normal vector of face curves

Using the API to find surface normal vector of face curves

Using the API to find surface normal vector of face curves

(OP)
Have tested the Solidworks API to read information out of 3D sketches created by the "face curve" tool.

Using the API I loop through the model tree and find all 3D sketches of interest and also find all curves and points within each 3D sketch.

Since all face curves has a "on edge" relationship I investigated the "on edge" relationship in the API but it leads to another spline entity that is related to the curvature of the face.

Using the "on edge" relationship what is the way to find the face and its surface entity?

If I loop all the faces in the design tree I can find the face that match the 3D Sketch curves using the API GetClosestPointOn(X,Y,X) function, but I am sure there is a more direct way to find the relation between A Face Curve generated 3D Sketch and the corresponding faces?

 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources