Skip to content

Cannot draw a line from a selected vertex #1845

Open
@cornim

Description

@cornim

To Reproduce

import cadquery as cq

r = cq.Workplane().rect(1,1).extrude(0.1)
r = r.faces(">Z").edges(">X").vertices(">Y").line(1,0)

Backtrace

Image

Environment

OS:

Windows 11

Installed via

pip install cadquery

Installed version: 2.5.2

Using: CQ-Editor

Comment:
It seems to me that the issue is that the Workplane._findFromPoint function does not accept vertices. Only vectors and edges(?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions