fsmmlk / inkscapespirograph Goto Github PK
View Code? Open in Web Editor NEWThis extension will assist you creating spirograph plots using [Inkscape](https://inkscape.org/).
License: GNU General Public License v3.0
This extension will assist you creating spirograph plots using [Inkscape](https://inkscape.org/).
License: GNU General Public License v3.0
Hello! Thank you for this work. I'm very excited to use this extension.
I've just installed the extension for the first time and ran into an error.
I'm using Pop! OS 22.04 (Ubuntu-based linux distro) and followed the install instructions, which involved:
textext
, inkscapeMadeEasy
and inkscapeSpirograph
, andAfter installing, I opened a new document, navigated to Extensions > fsmMLK > Spirograph... and clicked Apply using all the default settings in the dialog window, and a new dialog window appears in front of the extension dialog, reading:
Inkscape has received additional data from the script executed. The script did not return an error, but this may indicate the results will not be as expected.
With the following additional data:
Traceback (most recent call last):
File "~/.config/inkscape/extensions/spirograph/spirograph.py", line 251, in <module>
sp.run()
File "/usr/share/inkscape/extensions/inkex/base.py", line 250, in run
self.save_raw(self.effect())
File "~/.config/inkscape/extensions/spirograph/spirograph.py", line 138, in effect
[PointsFinal, CentersFinal, curvatureFinal] = self.calcCurve__trochoid(typeCurve, R, r, d, thetasFinal)
File "~/.config/inkscape/extensions/spirograph/spirograph.py", line 207, in calcCurve__trochoid
j = np.complex(0, 1)
File "~/.local/lib/python3.10/site-packages/numpy/__init__.py", line 324, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'complex'.
`np.complex` was a deprecated alias for the builtin `complex`. To avoid this error in existing code, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'complex_'?
When I click 'OK' to dismiss the additional data dialog, no new elements appear to be added/drawn into the document.
Any ideas how to get the extension to run? I'm not very familiar with pyhon/scipy/numpy scripting, so any troubleshooting tips much appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.