Giter Club home page Giter Club logo

inkscape-isometric-projection's People

Contributors

jdhoek avatar speleo3 avatar tdewin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

inkscape-isometric-projection's Issues

Inkscape 1,0 RC

Hi I got this message after installing the extension on Win 10 Inkscape 1.0

isometric_projection.py:11: DeprecationWarning: inkex.localize was moved to inkex.localization.localize
inkex.localize()
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(
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(
isometric_projection.py:198: DeprecationWarning: Effect.affect is now Effect.run(). The output argument has changed.
effect.affect()
isometric_projection.py:162: DeprecationWarning: Effect.selected is now a dict in the svg. Use self.svg.selected.
if len(self.selected) == 0:
isometric_projection.py:172: DeprecationWarning: Effect.selected is now a dict in the svg. Use self.svg.selected.
for id, node in self.selected.items():
isometric_projection.py:173: DeprecationWarning: simpletransform.computeBBox -> sum([node.bounding_box() for node in aList])
bbox = computeBBox([node])
Traceback (most recent call last):
File "isometric_projection.py", line 198, in
effect.affect()
File "C:\Program Files\Inkscape 1.0\share\inkscape\extensions\inkex\deprecated.py", line 180, in affect
return self.run(args=args)
File "C:\Program Files\Inkscape 1.0\share\inkscape\extensions\inkex\base.py", line 123, in run
self.save_raw(self.effect())
File "isometric_projection.py", line 174, in effect
midpoint = self.getMidPoint(bbox, node)
File "isometric_projection.py", line 119, in getMidPoint
x = bbox[1] - (bbox[1] - bbox[0]) / 2
TypeError: 'BoundingBox' object is not subscriptable

inkscape version 1.1 problem

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

Inkscape 1.2!

Just want to say that I love this extension! Unfortunately, the move to Inkscape 1.2 has broken the extension...is there any chance the extension could be updated? Thanks again!

New extensions path?

On windows I added the files in this C:\Program Files\Inkscape\share\inkscape\extensions folder.

Updated to add Trimetric projection

(Hi there, Louis from Twitter!)

I've updated your excellent plugin to also do trimetric projections. I'm no python expert so there may be bad code but it's just a few lines... also I hopefully updated the relevant comments too.

I've tested each side of iso, di and tri, forward and reverse, and fingers crossed haven't broken anything.

Inkscape extension definition files updated to handle 2 angles.

https://gist.github.com/l-keal/6b10160f415d5872bf252258f183527d

Problem @ symbol in python file

I have ubuntu 21.10, and I moved files .inx and .py in inkscape extention.

I restarted inkscape, and I launched isometric transformation, but I had an error on the 164 line of the axonometric_projection.py file.
So, i imported numpy and I removed "tr = transform @ effect_matrix" with "tr =np.dot(transform, effect_matrix)" and it works.

I share my experience

Previously, on my old laptop (unbutu 22.04 LTS), I enjoyed isometric transformation and I didn't need to do that, curious.
Thanks for your extention

small addition to your text

Thank you very much for this amazing tool. I tested it and it works flawlessly in Windows 7 64 bit. ;-)

I would just like to add, if possible, the following

Windows 32 bit > C:\Program Files (x86)\Inkscape\share\extensions
Windows 64 bit > C:\Program Files\Inkscape\share\extensions\

If you don't want or don't agree it's fine as well. Thank you once more!

slight glitch in top right corner

Hi,
great tool ... but there's a tiny glitch when drawing a bow.
I draw a square of 10x10, then duplicate it 3 times, then use the tool to generate the right, left, and top side. Then I assemble them, it looks good ... except that looking closely at the top side right corner, I could see the right side going a little bit too far.
I spend a few minutes adjusting it and now it looks good.

Thanks for a great tool, any way.

Isometric Projection get error under Debian 10 Buster with Inkscape 1.0.2

Using inkscape 1.0.2 on debian 10 'buster'. When run this 3.0 extensions, get error. The older version 2.1 run no error.

Traceback (most recent call last):
File "axonometric_projection.py", line 184, in
effect.run()
File "/usr/share/inkscape/extensions/inkex/base.py", line 140, in run
self.save_raw(self.effect())
File "axonometric_projection.py", line 164, in effect
tr = transform @ effect_matrix
TypeError: unsupported operand type(s) for @: 'Transform' and 'Transform'

Best regards

Errormessage

I have tried installing the extension on a win64 PC. However I seem to get the same error message no matter what side I try to convert (top, left or right side):

Traceback (most recent call last):
File "isometric_projection.py", line 7, in
from simpletransform import Transform
ImportError: cannot import name Transform

I am on Inkscape v. 0.92.5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.