CadQuery / CadQuery/cadquery

pyright and extending workplane

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

Description

You can use cq.Workplane.x = myfun or such.

https://github.com/CadQuery/cadquery/issues/1644

See this about a workaround which allows pyright to type the code.

Another way to get this all done would be to introduce this syntax in Python:
```
def ext(wp, params):
...
wp..ext(params) where .. means turn this into ext(wp, params)
```

No idea where to put this issue. Maybe somebody else finds it helpful.

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.