CadQuery / CadQuery/cadquery

How to extrude in a given direction (not normal)?

Open
#884 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

Hi all, I'm trying to extrude a 2D wire in a direction that isn't normal to the workplane. Obviously something is wrong with my usage of `extrudeLinear` - that I thought could be used the same way as `extrude`.

Could someone guide me to the proper way of doing this?

Cheers

```python
import cadquery as cq

pts = [
(0, 0),
(1, 0),
(1, 1),
(0, 1),
]

w = (
cq.Workplane()
.polyline(pts)
.close()
.extrudeLinear(......)
)

```

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.