CadQuery/cadquery

Length of an edge

lenianiva opened this issue · 5 comments

Is there a way to get the length for an Edge object? In particular I'm interested in the length of splines and bezier curves.

You can use cq.Edge.Length

You can use cq.Edge.Length

I don't see that function here:

class Edge(Shape, Mixin1D):
. Where is it defined?

def Length(self: Mixin1DProtocol) -> float:

def Length(self: Mixin1DProtocol) -> float:

Thanks. I didn't see it in the documentation so I was wondering about this

Yup, probably sphinx does not process mixins.