AnsweredAssumed Answered

Loop Edge and Curve directions

Question asked by Matthew Cempa on Feb 21, 2019
Latest reply on Feb 21, 2019 by Josh Brady

What I need to do is find the partial length along an edge loop between the intersections of two rays. Where I'm struggling is understanding the directions of the different elements. The body that I'm working with is an extrusion and I'm looking at either of the planar end faces. It appears the the order of the edges in the Loop2 object is always counter-clockwise as viewed with the face normal pointing outward from the screen (the API doc says that outer loops are CCW so that matches). All of the edges on either planar end face loop return False from the edge:EdgeInFaceSense method indicating that all the edges are in opposite direction to the loop. After checking both the start and end points and parameters I'm sure the curves are in the directions in the attached images. The edge below the direction arrows is the first edge in the loop edge array. For the starting face of the extrusion they are in the opposite direction of the loop direction and for the ending face of the extrusion they are in the same direction. Seems like the edge:EdgeInFaceSense is not working properly. What am I missing here? SolidWorks 2017 SP5

StartFace.PNG

Starting face

 

EndFace.PNG

end face

Outcomes