CadQuery / CadQuery/cadquery

How to shrink pending wires to perform a shoulder on a face?

Open
#439 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

Here is the target result:
![image](https://user-images.githubusercontent.com/3611049/90238618-86358780-de26-11ea-96f9-4fe2fc8a9e08.png)

obtained with:
```
import cadquery as cq
result = cq.Workplane("front").box(2.0, 2.0, 0.5)
result = result.faces(">Y").workplane().rect(1.8,0.3).extrude(0.2)
show_object(result)
```
Instead, I would like to do it with something like this:
```
import cadquery as cq
result = cq.Workplane("front").box(2.0, 2.0, 0.5)
result = result.faces(">Y").wires().toPending().shrink(0.1).extrude(0.2)
show_object(result)
```

How can I do it please?

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.