CQ-editor 0.2.0: AttributeError: type object 'Edge' has no attribute 'makeBezier';

4 views
Skip to first unread message

Steve Petrie

unread,
Dec 24, 2025, 7:12:16 PM (18 hours ago) Dec 24
to CadQuery - Mailing List, Steve Petrie

Greetings To CadQuery Mailing List,

Please see attached image:

bwy_BikewayLoXEndSection.png

I am using CadQuery to design an Elevated Bicycle Expressway (bikeway) to be located in airspace above major motor roadways.

* * *
* * *

I am using CQ-editor 0.2.0 which is displaying an error message when I Render my python program bwy_TrackSlab.py

The error message is: AttributeError: type object 'Edge' has no attribute 'makeBezier'

I attach a screenshot of the CQ-editor window and a copy of bwy_TrackSlab.py which is the python script triggering the error message AttributeError: type object 'Edge' has no attribute 'makeBezier' in CQ-editor 0.2.0

Screenshot from 2025-12-24 15-59-50.png

* * *
* * *

It seems to me that the method makeBezier(...) could be missing from the version of CadQuery shipped with CQ-editor 0.2.0

So I decided to try installing a newer version of CQ-editor.

I downloaded file CQ-editor-master-Linux-x86_64.sh using the instructions on web page:

https://cadquery.readthedocs.io/en/latest/installation.html#adding-a-nicer-gui-via-cq-editor

following the instructions:

To install from command line, download the installer using curl or wget or your favorite program and run the script.:

curl -LO https://github.com/CadQuery/CQ-editor/releases/download/nightly/CQ-editor-master-Linux-x86_64.sh
sh CQ-editor-master-Linux-x86_64.sh

The curl operation worked but when I ran shell script using sh CQ-editor-master-Linux-x86_64.sh it got stuck at the end of printing the Apache License.

I attach a screen shot of the command shell window with the END displayed in the lower left-hand corner.

Screenshot from 2025-12-24 16-26-00.png

After the END appeared, pressing the keyboard Return key just scrolled the end of the Apache License text up off the window, and then the window remained blank with the END in the lower left-hand corner.

When I clicked the X button on the top right hand corner of the window, a warning message appeared.

I attach a screen shot of the command shell window with the warning message:

Screenshot from 2025-12-24 16-26-58.png

I clicked the Close Terminal button and the command shell window disappeared.

* * *
* * *

According to a web page I found "In Python, if you see "END" printed, it usually means the program has reached the end of its execution."

I attach a screen shot of this web page:

Screenshot from 2025-12-24 15-55-15.png

* * *
* * *

According to the CadQuery web page showing the installation instructions:
...
To run from command.:

$HOME/cq-editor/run.sh
...

I searched extensively using command:  

user@debian:/$ sudo find . -iname"*cq-editor*"

but the results did not find any "cq-editor.sh" with a current date in the file name

* * *
* * *

I am using Debian:
...
Distributor ID:    Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:    12
Codename:    bookworm
...

Linux kernel verion: 6.1.0-29-amd64

* * *
* * *

I prefer to avoid using conda or pip as these seem likely  to introduce yet more complexities and learning curves.

Any suggestions about my issue with trying to install CQ-editor using CQ-editor-master-Linux-x86_64.sh would be greatly appreciated.

Steve Petrie

Etobicoke (Toronto), Ontario, Canada

ape...@aspetrie.net




Screenshot from 2025-12-24 16-26-00.png
Screenshot from 2025-12-24 16-26-58.png
Screenshot from 2025-12-24 15-59-50.png
bwy_TrackSlab.py
Screenshot from 2025-12-24 15-55-15.png
bwy_BikewayLoXEndSection.png

Lorenz

unread,
11:01 AM (2 hours ago) 11:01 AM
to CadQuery
> when I ran shell script using sh CQ-editor-master-Linux-x86_64.sh it got stuck at the end of printing the Apache License.

The expected behavior is that at the end of the license text you are prompted to accept by typing yes or no.:


Do you accept the license terms? [yes|no]
>>>


Then you type "yes" and the installation moves forward.



> the results did not find any "cq-editor.sh"
Yes, it appears that the installation is not complete.  For some reason you were not prompted to accept the license terms and the installation stopped there.


FYI, I tried this CQ-editor constructor script today and it worked for me on fedora linux.
Does it work if you try explicitly with bash?

bash CQ-editor-master-Linux-x86_64.sh

Lorenz

unread,
11:06 AM (2 hours ago) 11:06 AM
to CadQuery
You can also run the install script in batch mode with option -b.  Then you should not have any problem with the interactive license prompt.

I'd suggest to try running it like this:
bash CQ-editor-master-Linux-x86_64.sh -b -p $HOME/cq-editor
Reply all
Reply to author
Forward
0 new messages