ファイルアイコン
 
 

3049

Inkscape Fillet and Chamfer

作成者 taoari

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

Inkscape Extensions

サイズ
6.7 KB
作成済み
タイプ
application/zip
General Public License v2 (GPLv2)

リンク

Giluさんがに投稿:

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さんがに投稿:

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さんがに投稿:

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

Maren Hachmannさんがに投稿:

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

Rafik Alhajiさんがに投稿:

it does not work friends

John Pinionさんがに投稿:

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

_RM_さんがに投稿:

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

CinderGuardianさんがに投稿:

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さんがに投稿:

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さんがに投稿:

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さんがに投稿:

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さんがに投稿:

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

コメントするにはログインしてください!