CadQuery / CadQuery/cadquery

Investigate optimal tolerances for sweep operations

Open
#414 0 comments 0 reactions 0 assignees View on GitHub
OCC feature R&D
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

While investigating #407 I noticed that `BRepOffsetAPI_MakePipeShell` (used by `sweep`) has by default rather loose tolerances. It _seemed_ that making them tighter resulted in more robust bool ops with the generated shape. We might want to change the defaults.

Note to self: here is what I used
```python
builder = BRepOffsetAPI_MakePipeShell(p.wrapped)
builder.SetTolerance(1e-9,1e-9,1e-6)
```

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.