Import many PDF pages to Inkscape at once | Outdated after version 1.2
Автор: Techie Sewing
Загружено: 2020-10-27
Просмотров: 2405
One annoying thing about using Inkscape for assembling PDF sewing patterns is importing one page at a time. It can be fixed with converting PDF to a bunch of SVG files first. I do it with Inkscape itself from terminal using a simple cycle script but it also can be done with external applications or online services. Once you have a set of *.svg files, import them to Inkscape all at once and assemble as usual.
Want to say thanks? Here's how: https://marta-gvozdinskaya.irt.me/
𝐉𝐨𝐢𝐧 𝐦𝐲 𝐃𝐢𝐬𝐜𝐨𝐫𝐝, 𝐢𝐭'𝐬 𝐟𝐫𝐞𝐞: / discord
𝐌𝐲 𝐏𝐚𝐭𝐫𝐞𝐨𝐧 𝐩𝐚𝐠𝐞: / martagvozdinskaya (early access+bonus content)
𝐁𝐮𝐲𝐦𝐞𝐚𝐜𝐨𝐟𝐟𝐞𝐞: https://www.buymeacoffee.com/MartaInk...
Update! Since version 1.2 you can import all the pages of file directly: • Inkscape 1.2 Beta: new features for projec...
For sewing needs it's better to use PDFStitcher first anyway: https://www.pdfstitcher.org/
0:00 How to import many pages into Inkscape?
0:07 Command-line script
0:27 Running the code
0:58 Importing SVG files
1:45 Assembling pages
2:50 Fighting the misbehaving lines
The code is as follows:
for i in `seq 11 18` ; do inkscape -l -D --pdf-page=$i -o lybstes92-98_$i.svg Lybstes_Sweatshirt_Freebook_92-98-komplett.pdf ; done
The numbers after seq are the first page and the last page numbers. In my file the pattern pieces themselves start at 11 and the last of them is number 18.
lybstes92-98 is a name prefix, rename it as you like. The page number and .svg extension will be added to it for each file.
Lybstes_Sweatshirt_Freebook_92-98-komplett.pdf is an original file name, use the name of your pattern file.
This would only work for terminals that understand bash scripting language, essentially for Linux OS. Your current directory should be the one where the original pattern file is located.
There are terminals and shells and scripting languages in other operating system, and cycle is very simple, so it can be adapted for other systems but I have no idea how. Even if I learn how to use terminals in Mac and what language to use, I still don't have access to the system for testing.
Meanwhile there are number of converters what would turn PDF to SVG. I've tested all Linux ones and they use Poppler/Cairo and don't crop the pages at the borders properly. Still possible to assemble but very messy. Of online converters I tried pdf24 and it worked well.
Personally I avoid uploading proprietary data to online services so would prefer to give everyone a good secure solution using Inkscape only. I just can't do that myself.
** Assembling instructions **
This covered in other videos so I'll be brief. Open Inkscape and pull the pile of *.svg files inside. They will be on top of each other, so pull them apart with Select tool, it should be focused already.
Inkscape would try to snap corners by default so find the alignment marks, grab one page right at the mark and pull to the corresponding mark on the other page. It may take a few attempts for it to snap correctly, and sometimes it wouldn't understand you. In this case, zoom in (Ctrl scroll wheel) and move the page again with a mouse, arrow keys or Shift arrow keys.
After two pages are aligned well one of them is selected. Hold Shift and click the second page, then Ctrl G to group them together. Now they are 'glued' temporarily. I do this each time after something is aligned to avoid random shifting. Eventually you'll have all the pages grouped together.
This is the end for assembling, all other actions are for enhancement: find the line you need, make it thicker and darker etc, remove other lines. I use Node tool (N), it selects paths and path nodes individually and can do this even within groups.
Here I show briefly a few useful tools for this:
'Edit/Select same' commands. These are useful if you selected the line you need and want to also select all the lines that are 'the same'.
Edit/Paste style. You can copy with regular Ctrl C a path or object and paste its style to another path or object. Style includes fill color, stroke color, stroke type and probably a lot more.
The important thing I also show in the video is sometimes you can't make it work with all grouped. You select the path and change its color and it doesn't change. Or some things may be invisible for no reason. Or you pull an objects and it becomes invisible after some invisible border. All sorts of things can go wrong and if that happens, remember that ungrouping it all usually solves this.
I use Inkscape, a free vector editor for Linux, Windows and Mac.
More pattern alterations in Inkscape: • Inkscape sewing tutorials
More pattern alterations in Inkscape and GIMP: • Projecting prepping
Music: Down The Street Blues - Unicorn Heads
Projector by Econceptive from the Noun Project
#projectorsewing #opensourcesoftware
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: