CadQuery / CadQuery/cadquery

Knurling by cutting doesn't work with more complex cutting shapes

Open
#1,442 16 comments 0 reactions 0 assignees View on GitHub
OCC kernel issue question
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

I'm trying to do knurling on a cylinder by cutting swept shapes. If I use a shape with a triangular section:
![Screenshot at 2023-11-12 20-07-43](https://github.com/CadQuery/cadquery/assets/786191/1da068a8-0d01-4959-8eeb-d7913c018423)
it works great:
![Screenshot at 2023-11-12 20-08-10](https://github.com/CadQuery/cadquery/assets/786191/72e47000-f452-4267-87ff-15ea0ce4d6e8)

With a rounded section:
![Screenshot at 2023-11-12 20-08-48](https://github.com/CadQuery/cadquery/assets/786191/64c1c392-d432-4870-aa24-95afc694cb59)
it breaks down:
![Screenshot at 2023-11-12 20-09-28](https://github.com/CadQuery/cadquery/assets/786191/ede93ae9-96d0-4358-b3b6-cafd3dcd68ed)
Any hints on how to fix this? I tried cutting in different order, unioning before cutting etc. and it always is wrong.

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.