在尝试保存GCODE时,如何解决Inkscape SyntaxError?
在过去的几天里,我一直在努力安装并卸载不同版本的 inkscape ,希望其中一个最终会将我的图像转换为Gcode。不幸的是,似乎没有任何作用。 (我还安装了版本Python 3.8)
作为一个背景故事,我正在使用CNC机器,特别是笔绘图器,而当我遵循教程时,我陷入了很多事情。我现在要解决的一个是我从菜单中使用 mi grbl z轴伺服控制器后得到的inkscape stytaxerror。
Inkscape has received additional data from the script executed. The script did not return an error, but this may indicate the results will not be as expected.
File "servo.py", line 52
def bezierslopeatt(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)),t):
^
SyntaxError: invalid syntax
在教程中,它说安装Inkscape后,我必须下载Mi Inkscape扩展zip,然后将这些文件复制并粘贴到C:\ Program Files \ Inkscape \ inkscape \ share \ share \ Extensions路径。我一直在这样做,我也尝试过没有更改文件,我尝试使用旧版本,例如Inkscape 0.92、0.92.5,甚至是最新的Inkscape 1.0.2,以及MI的不同版本扩展(从2017年,2022年开始)。 错误仍然存在,它不会让我保存任何GCODE文件。
希望有人能告诉我我是否做错了什么,还是我应该做其他事情。或者,如果任何人无法解决问题,任何人都知道一个很好的替代品。预先谢谢你。^^
I've been struggling for the past few days to install and uninstall different versions of Inkscape in hope that one of them will finally convert my image into gcode. Unfortunately, nothing seems to work. (I also have installed version Python 3.8)
As a backstory, I'm working on a CNC machine, specifically a pen plotter and while I was following a tutorial for it, I got stuck in quite some things. The one I'm addressing now it's the Inkscape SyntaxError that I'm getting after using the MI GRBL Z-AXIS Servo Controller from the menu.
Inkscape has received additional data from the script executed. The script did not return an error, but this may indicate the results will not be as expected.
File "servo.py", line 52
def bezierslopeatt(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)),t):
^
SyntaxError: invalid syntax
In the tutorial, it says that after installing Inkscape, I have to download the MI Inkscape Extention zip and copy and paste those files to the C:\Program Files\Inkscape\share\extensions path. I've been doing that, I've also tried without changing the files, I've tried with older versions, such as Inkscape 0.92, 0.92.5, and even the latest one Inkscape 1.0.2 and also different versions of the MI Extension (from 2017, 2022).
The error persists and it won't let me save any gcode file.
Hope someone can tell me if I'm doing something wrong or if I should be doing something else. Or if anyone knows a good replacement for Inkscape if this problem can't be solved. Thank you in advance.^^
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论