Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

inkscape version 1.1 problem #11

Closed
ramanganap opened this issue Feb 16, 2022 · 5 comments
Closed

inkscape version 1.1 problem #11

ramanganap opened this issue Feb 16, 2022 · 5 comments

Comments

@ramanganap
Copy link

ramanganap commented Feb 16, 2022

I downloaded and added isometric_projection.inx and .py file ti inkscape 1.1
The extension menu pops up but doe not do the transformation I get error.
Any way to resolve the problem

C:\Program Files\Inkscape\share\inkscape\extensions\isometric_projection.py:11: DeprecationWarning: inkex.localize was moved to inkex.localization.localize.
inkex.localize()
C:\Program Files\Inkscape\share\inkscape\extensions\isometric_projection.py:78: DeprecationWarning: Effect.OptionParser or optparse has been deprecated and replaced with argparser. You must change self.OptionParser.add_option to self.arg_parser.add_argument; the arguments are similar.
self.OptionParser.add_option(
C:\Program Files\Inkscape\share\inkscape\extensions\isometric_projection.py:82: DeprecationWarning: Effect.OptionParser or optparse has been deprecated and replaced with argparser. You must change self.OptionParser.add_option to self.arg_parser.add_argument; the arguments are similar.
self.OptionParser.add_option(
C:\Program Files\Inkscape\share\inkscape\extensions\isometric_projection.py:198: DeprecationWarning: Effect.affect is now Effect.run(). The output argument has changed.
effect.affect()
C:\Program Files\Inkscape\share\inkscape\extensions\isometric_projection.py:162: DeprecationWarning: Effect.selected is now a dict in the SvgDocumentElement class. Use self.svg.selected.
if len(self.selected) == 0:
C:\Program Files\Inkscape\share\inkscape\extensions\isometric_projection.py:172: DeprecationWarning: Effect.selected is now a dict in the SvgDocumentElement class. Use self.svg.selected.
for id, node in self.selected.items():
C:\Program Files\Inkscape\share\inkscape\extensions\isometric_projection.py:173: DeprecationWarning: simpletransform.computeBBox -> sum([node.bounding_box() for node in aList])
bbox = computeBBox([node])
Traceback (most recent call last):
File "C:\Program

@jdhoek
Copy link
Owner

jdhoek commented Feb 16, 2022

Hello,

It looks like you might be using an old version of the extension. These problems were fixed two years ago with the move to Inkscape 1.0.

Did you get the newest ones?

To find the location of your Inscape's extension files, look in the preferences menu under System and the User extension path there.

@ramanganap
Copy link
Author

Hi;
I have 1.1 version of inkscape.
Kindly help me with files isometric_projection.inx and isometric_projection.py
I will save into folder inkscape/share/inkscape/extension .
Regards
Raman

@jdhoek
Copy link
Owner

jdhoek commented Feb 16, 2022

If you look in your inkscape/share/inkscape/extension folder, are the isometric_projection files still there? If so, please remove these old ones first. Then restart Inkscape, and confirm that the extension is now gone.

After this, save isometric_projection.inx and isometric_projection.py in that extensions folder. You can download them here. Then restart Inkscape.

The extension should now be available and work.

@ramanganap
Copy link
Author

HI;
Thanks a million, the download and steps to follow helped to get the extension working.
It is useful tool to convert 2d drawings of model to 3 d models.

Regards
Raman

@jdhoek
Copy link
Owner

jdhoek commented Feb 17, 2022

Good to hear. Glad you find the extension useful.

@jdhoek jdhoek closed this as completed Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants