CadQuery / CadQuery/cadquery

Sketch - hull method

Open
#931 1 comment 2 reactions 0 assignees View on GitHub
bug sketching
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

I want to connect multiple objects with the hull method.

For example:

`import cadquery as cq

X_DIST = 0
Y_DIST = 40
base = (
cq.Sketch()
.circle(20)
.wires()
.push(((X_DIST, Y_DIST), (-X_DIST, -Y_DIST)))
.circle(10)
.wires()
.hull()
)
part = (
cq.Workplane("XY")
.placeSketch(base)
.extrude(0.01)
)
show_object(part)
`
![part_v1](https://user-images.githubusercontent.com/16076127/145720054-3bdfe947-8c41-4869-b1f3-24c6c6eab95d.png)

But if I turn the axis (X_DIST=40, Y_DIST=0), the result is this:

![part_v2](https://user-images.githubusercontent.com/16076127/145720171-ceb9f0f8-96d4-4d14-b740-e3186c3c8337.png)

If I sketch not faces but with edges, the result is the same.

It looks like there is an error in the hull method?

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.