Comments (4)
This is exactly why I thought allowing up to.1000x1000 was already overkill.
Does it work better to run the extension from the command-line to generate a svg and then open it on inkscape?
Otherwise turn off all layers you do not absolutely need.
Not sure more can be done?
from hexmapextension.
How do I run the extension via CLI?
I tried: inkscape file.svg --verb=pelles.effect.hexmap --cols=3 --rows=3
but I got: ** (inkscape.exe:5276): WARNING **: Invalid option --cols=3
from hexmapextension.
I never tried Inkscape's verb flag to run extensions like that. Probably something I have to look into at some point. But I frequently run my extensions from the command-line as just simple python scripts. The inkex.py file from inkscape is required for it to work, but other than that it should be fully stand-alone.
If you find inkex.py (it could be somewhere like /usr/local/share/inkscape/extensions... but just search, it is somewhere) you can copy it to wherever hexmap.py is and run something like:
./hexmap.py --help
(prints out a lot of help)
To actually run it you must have some (empty) svg-file for it to operate on. I guess like file.svg in the previous comment. There is one included with the extension in the svgtest subdirectory as well, so something like this:
./hexmap.py -c 1265 -r 765 --layer-grid=true --layer-fill=true svgtests/input/test.svg > hugehexmap.svg
(Guess it will look slightly different in Windows.)
You can also set PYTHONPATH=/path/to/directory/where/inkex.py/is to run it without copying the file.
from hexmapextension.
Closing this as there is not much to do. Inkscape will die if you create too many objects to render compared to how much RAM your computer has.
from hexmapextension.
Related Issues (20)
- Remove/Raise maximum number of rows and columns HOT 1
- Half-hexes not at top of column
- What is size of "brick" based on hex size HOT 2
- Allow an arbitrary object to be the hex center marker HOT 3
- Spiked Caltrops Possible? HOT 5
- "No module named lxml" but I have it installed HOT 2
- hexmap fails HOT 1
- Inkscape has received additional data from the script executed. HOT 4
- update needed for Inkscape version 1.0
- QQ regarding Square Grid options HOT 2
- Deprecated python functions HOT 3
- Column Alpha Coordinates broken for Python 3 HOT 2
- Kudos and a blog post HOT 1
- Logfile Rewrite Needs Tweak?
- filling a Pages HOT 1
- Documentation: Inkscape Flatpak installation location HOT 2
- Measure Hex Size Face-to-Face Like Everyone Else Does! HOT 1
- Add support for alternating odd and even column hex coordinates
- readme - Inkscape extensions path on Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexmapextension.