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

1d intersect anything is broken #945

Open
MatthiasJ1 opened this issue Mar 21, 2025 · 1 comment
Open

1d intersect anything is broken #945

MatthiasJ1 opened this issue Mar 21, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@MatthiasJ1
Copy link
Contributor

MatthiasJ1 commented Mar 21, 2025

s = Circle(10)
l = Line(-20, 20)
i = l & s
ValueError: Unknown object type: <class 'build123d.objects_sketch.Circle'>

Reordering the operation (s & l) works

@gumyr gumyr added the bug Something isn't working label Mar 21, 2025
@gumyr gumyr added this to the Gating Release 1.0.0 milestone Mar 21, 2025
@gumyr
Copy link
Owner

gumyr commented Mar 21, 2025

Thanks, this is a good test. I haven't reworked the Face intersections yet (although this particular example does work) but my plan is to return NotImplemented in the 1D code which should allow the 2D code a chance where it can succeed.

Related to #328

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants