Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

**First time visiting? Here are some places to start:**

- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

# Get Lines of a Sketch and angle between 2 lines with coincident vertice.

emerson_bottero
Member, Developers Posts:

**37**✭✭
I couldn't find an evLine that works with an sketch.

var sketch1 = newSketchOnPlane(context, id + "sketch1", {

"sketchPlane" : newPlane

});

skRectangle(sketch1, "rectangle1", {

"firstCorner" : vector(-1/2,-1/2) * inch,

"secondCorner" : vector(1/2, 1/2) * inch

});

I want to implement something like an sketchFillet and it will fillet all vertices in any closed polygon. Given the radius and the angle between two lines I can calculate the rest.

I want to implement something like an sketchFillet and it will fillet all vertices in any closed polygon. Given the radius and the angle between two lines I can calculate the rest.

Tagged:

0

## Answers

1,304✭✭✭✭✭For vertices A,B,C, with C being the center:

37✭✭1,304✭✭✭✭✭703I don't think one can write a sketchFillet tool in FeatureScript.

It is fairly easy to write a feature which accepts a face and produces a surface with geometry of this face with filleted corners.

1,304✭✭✭✭✭canwrite a function internal to a Featurescript. Although, at this point I'm still not clear what exactly @emerson_bottero is trying to accomplish ¯\_(ツ)_/¯70337✭✭7031,304✭✭✭✭✭