-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: offset() 'Invalid mode: r' in sketch example #482
Comments
Sorry, I did not think of this.
|
I tried to install the latest rev for windows https://github.com/CadQuery/CQ-editor/releases/download/nightly/CQ-editor-master-Windows-x86_64.exe for all users, but it always failed in the end with a message that it couldn't link something. |
I can reproduce this issue locally. No clue what is the rootcause:
|
Maybe related: ContinuumIO/anaconda-issues#13386 |
@adam-urbanczyk Based on that issue, it seems like this problem is outside of our control for now. @gitterman Is this blocking you from using CadQuery? If so, and if you can install the cadquery package, you can add the following code to your CadQuery script to display your models without needing an external viewer. from cadquery.vis import show
show(my_cq_object) There are also other ways to install CQ-editor depending on your use of virtual environments and whether you have git installed. |
Thanks for the hint. |
I tried the examples on https://cadquery.readthedocs.io/en/latest/sketch.html#sketches-spanning-multiple-elements and get the error 'Invalid mode: r' when I specify this mode.
The offset() page mentions "mode (Literal['a', 's', 'i', 'c', 'r'])" but there is no explanation on these and mode 'r' doesn't seem to exist.
The text was updated successfully, but these errors were encountered: