Am using Inkscape to generate SVG files for boxes. The extensions for the MightyScape package are all installed. Python 3.10.1 is installed. The instructions for Inkscape to properly run the MightyScape extensions require the preferences file to include a custom Python-interpreter with this command line;
"This is usually a required step for Windows systems or Linux systems which use an AppImage instead a regular installation. Else, if you use regular Linux OS and install Inkscape using the package manager and if you have a recent python 3 there is no need to do anything. "
I am not using AppImage. I just installed the newest python program yesterday. I thought that would solve my problems with the inkscape relating to mightyscape. The problem I am having is the sizes I input into the mightyscape interface for "generic boxes" does not return those results in the svg file. Thus the box dimensions I want to use for producing the file on my laser are not accurate and it is really quite a quandry since a big project I am working on is stalled.
That made no difference in the dimensions generated by the input dialog. They are all still inaccurate. Keep in mind that there really is no width definition for the lines that are drawn. Thanks for you input. Do you know anything about the Python issue that is being discussed? I am totally clueless.
I re-reading your comment from the link "This is usually a required step for Windows systems or Linux systems which use an AppImage instead a regular installation. Else, if you use regular Linux OS and install Inkscape using the package manager and if you have a recent python 3 there is no need to do anything. " I think that reference to Appimage is referencing an installation in Linus OS. The sentence is somewhat obscure
Am using Inkscape to generate SVG files for boxes. The extensions for the MightyScape package are all installed. Python 3.10.1 is installed. The instructions for Inkscape to properly run the MightyScape extensions require the preferences file to include a custom Python-interpreter with this command line;
<group
id
=
"extensions"
python-interpreter=
"C:\Users\youruser\AppData\Local\Programs\Python\Python39\pythonw.exe"
...
So, since I have Zero knowledge of Python I need to have some guidance to get this done.
Here is the page with the instructions: https://stadtfabrikanten.org/pages/viewpage.action?pageId=73040380
Thanks
You are using AppImage?
From the linked page:
"This is usually a required step for Windows systems or Linux systems which use an AppImage instead a regular installation. Else, if you use regular Linux OS and install Inkscape using the package manager and if you have a recent python 3 there is no need to do anything. "
Hi Tyler.
I am not using AppImage. I just installed the newest python program yesterday. I thought that would solve my problems with the inkscape relating to mightyscape. The problem I am having is the sizes I input into the mightyscape interface for "generic boxes" does not return those results in the svg file. Thus the box dimensions I want to use for producing the file on my laser are not accurate and it is really quite a quandry since a big project I am working on is stalled.
OK, are you using an svg file for the laser, or a pdf, dxf, or...?
What software does the laser use?
If you make a 10 unit (which units are you using?) box, what size does it result in?
My installation is in windows 10. The program I use is "LightBurn". I use metric (MM) to setup the box sizes.
So the width specified in the Inkscape interface for the generic box is 228.6 mm which equates to 9". Inkscape is making that 234.5 mm
The depth of the box is specified as 152.4mm. which s 6" That is returning 158.3 in Inkscape
Both dimensions and more are translated the same in the SVG file that I load in the Lightburn program.
Attached is a screenshot of the inputs
I am not 100% sure that the Python interpreter is the culprit but it seems to make sense and is on top of my list of suspects.
If your stroke thickness is adding to your measurements, you may want to set geometric bounding box in Inkscape Preferences.
Hi Aero,
That made no difference in the dimensions generated by the input dialog. They are all still inaccurate. Keep in mind that there really is no width definition for the lines that are drawn. Thanks for you input. Do you know anything about the Python issue that is being discussed? I am totally clueless.
Hello Tyler,
I re-reading your comment from the link "This is usually a required step for Windows systems or Linux systems which use an AppImage instead a regular installation. Else, if you use regular Linux OS and install Inkscape using the package manager and if you have a recent python 3 there is no need to do anything. " I think that reference to Appimage is referencing an installation in Linus OS. The sentence is somewhat obscure
I doubt it's the python.
I suspect the extension is incorrectly stating that the dimensions are external... I think they are internal.
When I set the box dimensions to 100mm and the thickness to 10mm, I get a box 120x110.... coincidence?
I am using a windows machine and don't have a special line in the preferences.xml for the python.
Hi Tyler,
I always subscribe to the idea that anything can go wrong. I will do a test using my specs and reduce them by what would be the inside dimensions.
Will let you know how that works out. Thanks for you thoughts and attention to my problem.
Hi Tyler,
Exactly. The reduction of the material thickness gets me to the correct outside dimensions,
Your help is much appreciated,
Now, how do I report that flaw in the inputs for the Box Maker Generic Box extension?
I'd contact the developer: https://github.com/vmario89/mightyscape-1.X/issues