Files
inkscape_uprint/README.md
2024-09-01 20:52:05 +02:00

31 lines
1.5 KiB
Markdown

# inkscape_uprint
Inkscape plugin to create multiple clones of the same object with pattern substitution
## Install
copy the source content into your inkscape extension directory:
${HOME}/.config/inkscape/extensions/inkscape_uprint
or equivalently get it using git clone:
cd ${HOME}/.config/inkscape/extensions/
git clone[https://gitea.mildstone.org/YFinGames/inkscape_uprint.git]()
reload inkscape
find the extension in **Extensions -> Renderg -> InkscapeUprint**
## INSTRUCTIONS:
1. Create any shape with text wherever you like;
place text elements in a frame as much as possible ( multiline substitution works in framed text only )
2. place {{tags}} where you like, each tag is eventually searched in the first line of the xlsx file ( the header ) and a set of replicas of the selection will be generatend in a separate page, one for each line of the xlsx. Any keyword can be used as a tag and it will be substituted unless wrapped between double curly braces.
3. apply any transform to the shape lou like
4. group anything together but do not apply any transform to the group afterwards. If you need to ungroup make what you like ( translate, rotate, scale ) and then regroup everything together. The changes applied to the toplevel group are affecting the position of the shape after the placement on the output pages.
5. Select the group and apply InkscapeUprint. The parameters are:
- padding: padding space among placed shapes
- page margins: From the page to the page collection
- The size of the output pages is copied from the model one