pyright and extending workplane
Open
- 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.