CadQuery / CadQuery/cadquery

Line or LineTo With Two Vectors

Open
#977 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

I am sorry for the naive question, but is there a way to pass two vectors to something like Line or LineTo in order to make a simple line segment, in a way similar to this?

result = (cq.Workplane("XY").line(1.0, 0).close().extrude(0.25))

I saw that there's makeLine that takes two vectors but it kinda gets out of the scope of simplicity as it must be combined with makeRuledSurface etc.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.