Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hole doesn't work as expected #4

Closed
roipoussiere opened this issue Sep 11, 2022 · 1 comment
Closed

Hole doesn't work as expected #4

roipoussiere opened this issue Sep 11, 2022 · 1 comment

Comments

@roipoussiere
Copy link
Contributor

This code:

import build123d as bd

with bd.BuildPart() as washer:
    bd.Cylinder(3, 2)
    bd.Hole(1)

debug(washer.part)

makes a hole on the bottom of the cylinder, with a depth of half its height:
image

Hole documentation clearly explains that it should go through: depth (float, optional): hole depth - None implies through part. Defaults to None.
From what I understand, either the Hole or the Cylinder doesn't start from (0,0,0).

gumyr added a commit that referenced this issue Sep 26, 2022
@gumyr
Copy link
Owner

gumyr commented Sep 26, 2022

See examples/holes.py for multiple tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants