Comments (5)
Works but needs some more love. Especially some docs...
from boxes.
Inkscape integration is a very nice idea ;-)
If You need somebody to test integration with Inkscape at Windows and Linux - I can help You.
I try to compile .inx files of boxes.py by setup.py, but:
- on Windows - setup.py don't work, boxes2inkscape work, but I have problem with cairo ( python 3.6 )
- on Linux ( ubuntu 16.10 ) - problem with setuptools ( installed but don't work ) ( python 2.7 )
Do You have compiled .inx files ?
Can You share it ?
from boxes.
Even without setup.py working you should be able to just execute
scripts/boxes2inkscape ~/.config/inkscape/extensions/
I just created a symlink in ~/.config/inkscape/extensions/ to ...boxes/scripts/boxes
This allows me to run everything fro my checkout. But having the setup.py work would actually be nicer...
Can you please open tickets with more detailed descriptions of how things break?
from boxes.
Today I finish integration of boxes.py with inkscape 0.92.1 ( Python 2.7 32 bit ) 64bit on Windows 8.1 64 bit.
What I do to integrate this extension:
- Update and prepare Python for work:
-
add
C;\Program Files\Inkscape\Python;C;\Program Files\Inkscape\Python\scripts
to PATH Environment Variable and RESTART SYSTEM -
Run cmd as Admnistrator
- upgrade setuptools ( pip install --upgrade setuptools )
- upgrade svgutils ( pip install --upgrade svgutils )
Download cairocffi extension ( precompiled You can find: http://www.lfd.uci.edu/~gohlke/pythonlibs/#cairocffi )
and install
- pip install cairocffi-0.8.0-cp27-cp27m-win32.whl
- Modify extension files:
-
script/boxes2inkscape: line 16
added: import os
-
script/boxes2inkscape: line 114
from: <command reldir="extensions" >boxes</command>
to: <command reldir="extensions" interpreter="python">boxes</command>
( without this modification boxes don't run under inkscape )
- boxes/init.py: line 526
from: svgutil.svgMerge(self.output, self.inkscapefile, sys.stdout.buffer)
to: svgutil.svgMerge(self.output, self.inkscapefile, sys.stdout)
( without this modification I get error about incorrect parameter )
- Generate extension files
- Run cmd as Administrator
- python setup.py install
- python boxes2inkscape ..\inkex
- Copy .inx files from ..\inkex to extension directory of inkscape ( local or global )
After this extension work very well.
Thank You !
Best Regards
Mariusz
from boxes.
For the record: The fixes above made it upstream with the exception of the
<command reldir="extensions" >boxes</command>
to
<command reldir="extensions" interpreter="python">boxes</command>
change.
from boxes.
Related Issues (20)
- TextArea in GridfinityTrayLayout WWW GUI is now a single line text box; editing difficult / impossible.
- DXF, gcode and PLT generation fails in Web Instance HOT 16
- plt file generator not working HOT 3
- Webpages appears to have lost all layout & styling HOT 6
- Flexbox4 latchsize incorrect dimension HOT 1
- Can Storage, can's can't be taken out
- Shelf for laptop and phone charger pad HOT 8
- Console output during box generation
- boxes does not use versioning
- Broken box generators without arguments HOT 2
- Broken HTML
- Windows build fails with recent master HOT 7
- svg from any font HOT 7
- An error occurred! local variable 'poly' referenced before assignment
- Failing test: Shadowbox sample HOT 3
- Documentation missing requierment for python3-qrcode in the Installation/Requirements section HOT 1
- UniversalBox.py Default Settings HOT 2
- --label_file option for TypeTray defaults to labels.txt
- Picture/photo frame generator HOT 5
- ontop lid incompatible with default TypeTray separators HOT 2
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 boxes.