gumyr/build123d

Loft curves

Opened this issue · 1 comments

l1 = Line(0, 5)
l2 = Pos(Y=-10) * Line(-5, 10)
l = loft([l1, l2])

Result

ValueError: More than one wire, or a wire and a vertex is required

Expected: Trapezoid

loft if defined to work with 2D shapes:

def loft(
    sections: Union[Face, Sketch, Iterable[Union[Vertex, Face, Sketch]]] = None,
    ruled: bool = False,
    clean: bool = True,
    mode: Mode = Mode.ADD,
) -> Part:

Would you like to extend it to work with 1D objects?