Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the API to find surface normal vector of face curves

Status
Not open for further replies.

Tofo377

Civil/Environmental
Joined
Nov 26, 2011
Messages
1
Location
SE
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?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top