Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Inkscape 1.2.2 Not running Jtech Photonics or Endurance Extensions, even though they show in the list #80

Open
JayC2469 opened this issue Jan 31, 2023 · 9 comments

Comments

@JayC2469
Copy link

Hi All
I am having issues getting Anything to happen when selecting either the Jtech Photonics and/or the Endurance Lasers extensions to generate Gcode for Laser Etching or cutting. The extensions all appear in the list but the current latest version of Inkscape I am using (1.2.2), is not playing ball, with regards to the Gcode Generating Extensions mentioned.
I have used Inkscape previously, in the past on version 0.98 using Jtech Photonics Gcode plugin with varying degrees of success eventually.
This is a clean install of the latest version I am using, on a relatively clean installation of Windows 10 Pro, Build No. 19044.2486
Any help would be Greatly appreciated!!

@JGLSoft
Copy link

JGLSoft commented Feb 3, 2023

Traceback (most recent call last):
File "%UserProfile%\AppData\Roaming\inkscape\extensions\laser.py", line 312, in
effect.run()
File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 231, in run
self.save_raw(self.effect())
File "%UserProfile%\AppData\Roaming\inkscape\extensions\laser.py", line 71, in effect
filename, extension = output_path.split('.')
ValueError: too many values to unpack (expected 2)

@Jodaille
Copy link

Hello,
which version of python do you use ?
have you tried to install plugin using main branch?

cf: #57 (comment)

@sergeolkhovik
Copy link

After updating to Ubuntu 23.04 (and Inkscape 1.2) I've got similar problems but switching to master branch resolved this problem.

@Doubletop12
Copy link

@Jodaille @sergeolkhovik Does this relate to my issue #83? What do you mean by "main branch" or "master branch"?

@sergeolkhovik
Copy link

@Doubletop12 well, in my case it generated an error when running, if I remember correctly. I didn't have any issue with greyed menu item. Yes, I downloaded files directly from main/master branch (previously that was some release, but I don't remember which one). Anyway that didn't help me I switched to svg2gcode (see: #72) and all is fine now. That tool runs much faster and doesn't have issues with some fonts.

@Doubletop12
Copy link

@sergeolkhovik Thank you I do think I have a diffrent problem. Maybe compatibility with V1.3 of Inkscape.

I now understand what you mean by main branch or master branch, you are refering to the version of the laser plugin not Inkscape.

Pete

@sergeolkhovik
Copy link

@Doubletop12 yes, exactly, the main/master branch of the plugin code.

@ILYB
Copy link

ILYB commented Feb 21, 2024

I'm not able to generate g-code using the J-Tech Community Laser Tool Extension either. The below error comes up when I hit apply after selecting Object to Path and then opening the extension. I'm running latest version of Inkscape 1.3.2 and down loaded the latest J-Tech-Photonics-Laser-Tool-master extracted and copied the Laser subfolder and then pasted it in the extension folder as shown below. New to Inkscape and use of this extension so any suggestions would be appreciated.

Line 7 in laser.py reads from svg_to_gcode.svg_parser import parse_root, Transformation, debug_methods

laser.inx has the below script included (I do know if this is pertinent but appears to contain similar reference).

<script> laser.py C:\Program Files\Inkscape\share\inkscape\extensions\laser contains laser.inx and laser.py Error message Traceback (most recent call last): File "C:\Program Files\Inkscape\share\inkscape\extensions\laser\laser.py", line 7, in from svg_to_gcode.svg_parser import parse_root, Transformation, debug_methods ModuleNotFoundError: No module named 'svg_to_gcode'

@Jodaille
Copy link

Hello,
the error No module named 'svg_to_gcode' means that svg-to-gcode module could not be found (could be issue with python path or not installed) https://pypi.org/project/svg-to-gcode/

I don't know about windows, but it should be installed with pip

pip install svg-to-gcode

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants