midpoint
Discussion List
-
featurescript: How to get a midpoint
I am trying to get a midpoint of a line Here's the parameter: annotation { "Name" : "Lines", "Filter" : EntityType.EDGE && SketchObject.YES && GeometryType.LINE } definition.lines is Query; And here's some code that I wrote. const lines = evaluateQuery(context, definition.lines); for (var line in lines) { var endpoints =…
-
How do I place a circle on a face that is vertical to the midpoint of a line?
I drew an l-shaped extrusion and I want a hole in it directly above the mid point of the edge. Is there a way to select the midpoint so I can add a relation?