cadquery icon indicating copy to clipboard operation
cadquery copied to clipboard

Cannot draw a line from a selected vertex

Open cornim opened this issue 8 months ago • 1 comments

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(?).

cornim avatar May 22 '25 06:05 cornim

Confirmed.

adam-urbanczyk avatar Jun 03 '25 05:06 adam-urbanczyk