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

project not working in algebra mode #602

Open
MatthiasJ1 opened this issue Mar 31, 2024 · 0 comments
Open

project not working in algebra mode #602

MatthiasJ1 opened this issue Mar 31, 2024 · 0 comments

Comments

@MatthiasJ1
Copy link
Contributor

Note from discord with workaround

project needs some work in Algebra mode. Here is how it can be done with project_to_shape though:

quarter_ring = extrude(
    (Circle(0.25) - Circle(0.24)) & Rectangle(1, 1, align=Align.MIN, rotation=45), 0.125
)
to_project: Face = (
    Plane.XZ * Trapezoid(0.23, 0.085, 85, align=(Align.CENTER, Align.MIN)).face()
)
projection = to_project.project_to_shape(quarter_ring, direction=(0, 1, 0))[0]
quarter_ring -= thicken(projection, -0.01)
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

1 participant