File Icon
 
 

2986

Inkscape Fillet and Chamfer

This extension implements the Fillet and Chamfer function for inkscape described as http://launchpadlibrarian.net/12692602/rcp.svg.

Inkscape Extensions

Dimensione
6,7 KB
Creato
Tipo
application/zip
General Public License v2 (GPLv2)

Link

Gilu ha scritto il :

Inkscape (0.92.1 r15371) threw this at me:

Traceback (most recent call last):
File "filletchamfer.py", line 21, in <module>
import svgpathtools
ImportError: No module named svgpathtools

Even after "pip install svgpathtools" ...

taoari ha scritto il :

You may start with a python console, and type in "import svgpathtools" to see if it is successful. Be sure it is Python 2, it seems that inkscape extension is using python 2.

Inkscapian ha scritto il :

Python console? I am sorry ...how to find one?

Maren Hachmann ha scritto il :

Just type 'python' on your command line and hit enter.

Rafik Alhaji ha scritto il :

it does not work friends

John Pinion ha scritto il :

It does work!! You must install svgpathtools, as noted in the "readme" file. pip install svgpathtools --user

_RM_ ha scritto il :

Is there a way to install "svgpathtools" on Windows?

CinderGuardian ha scritto il :

I had the same issue as Gilu - Python kept throwing the "ImportError: No module named svgpathtools" error even after ensuring that svgpathtools and the correct release of Python were installed as taoari recommended.

Here's what I found: Inkscape runs the python.exe application found in C:\Program Files\Inkscape. This loads a different path than the python.exe found in C:\Python27 (or wherever your version of Python is installed). svgpathtools is found on the path when I run python from the terminal. However, it is NOT on the path when the "Fillet and Chamfer" extension runs the Python script.

To solve this, you can manually have the script add the folder in which svgpathtools is stored to the path. Edit filletchamfer.py by inserting the following lines BEFORE the line that says "import svgpathtools":

import sys
sys.path.append('C:\\Users\\*YOUR_WINDOWS_USERNAME_HERE*\\AppData\Roaming\Python\Python27\site-packages')

Once you've saved, the script should have no problem loading svgpathtools.
Now I'm off to go do some filleting...

faizanzh ha scritto il :

Okay so I am a total newbie and I don't know much about coding and stuff, My question is how to do this: """"you can manually have the script add the folder in which svgpathtools is stored to the path. Edit filletchamfer.py by inserting the following lines BEFORE the line that says "import svgpathtools": """"import sys
sys.path.append('C:\\Users\\*YOUR_WINDOWS_USERNAME_HERE*\\AppData\Roaming\Python\Python27\site-packages')""""

brynn ha scritto il :

Hello,
Thank you for providing this extension for Inkscape users!

This is just to let you know that most 3rd party Inkscape extensions, like this one, probably will not work with the upcoming new Inkscape version, the long-awaited version 1.0.

Here is the info you need to update this extension, so that it will work with 1.0 and future versions.
https://wiki.inkscape.org/wiki/index.php?title=Updating_your_Extension_for_1.0

If you have further questions, you can contact Inkscape developers via mailing lists (https://lists.inkscape.org/postorius/lists/?all-lists), forum (https://inkscape.org/forums/extensions/), or the chatroom (https://chat.inkscape.org/channel/team_devel)

If you have already updated it, please disregard this message.

All best,
brynn

Mario Voigt ha scritto il :

upgrade to Python 3 was a little bit more work. made a fork repo but did not make a PR yet > https://github.com/vmario89/inkscape-filletandchamfer

K ha scritto il :

It runs. It makes paths. But there are no changes to my rectangle. (Yes, I made it a path rather than an object.)

Per favore accedi per lasciare un commento!