Tutorial honek erabiltzaileen eskarmentuagatik ikasitako iradokizun eta trikimailu batzuk azalduko ditu, baita zure lana azkartzen lagun zaitzaketen Inkscape-ko “izkutuko” ezaugarriak ere.
Mosaikoak klonatu eta erradialki kokatu
It's easy to see how to use the dialog for rectangular grids and patterns. But what if you need radial placement, where objects share a common center of rotation? It's possible too!
If your radial pattern need only have 3, 4, 6, 8, or 12 elements, then you can try the P3, P31M, P3M1, P4, P4M, P6, or P6M symmetries. These would work nicely for snowflakes and the like. A more general method, however, is as follows.
Choose the P1 symmetry (simple translation) and then compensate for that translation by going to the tab and setting and both to -100%. Now all clones will be stacked exactly on top of the original. All that remains to do is to go to the tab and set some rotation angle per column, then create the pattern with one row and multiple columns. For example, here's a pattern made out of a horizontal line, with 30 columns, each column rotated 6 degrees:
To get a clock dial out of this, all you need to do is cut out or simply overlay the central part by a white circle (to do boolean operations on clones, unlink them first).
More interesting effects can be created by using both rows and columns. Here's a pattern with 10 columns and 8 rows, with rotation of 2 degrees per row and 18 degrees per column. Each group of lines here is a “column”, so the groups are 18 degrees from each other; within each column, individual lines are 2 degrees apart:
In the above examples, the line was rotated around its center. But what if you want the center to be outside of your shape? Just create an invisible (no fill, no stroke) rectangle which would cover your shape and whose center is in the point you need, group the shape and the rectangle together, and then use on that group. This is how you can do nice “explosions” or “starbursts” by randomizing scale, rotation, and possibly opacity:
How to do slicing (multiple rectangular export areas)?
Create a new layer, in that layer create invisible rectangles covering parts of your image. Make sure your document uses the px unit (default), turn on grid and snap the rects to the grid so that each one spans a whole number of px units. Assign meaningful ids to the rects, and export each one to its own file ( (Shift+Ctrl+E)). Then the rects will remember their export filenames. After that, it's very easy to re-export some of the rects: switch to the export layer, use Tab to select the one you need (or use Find by id), and click Export in the dialog. Or, you can write a shell script or batch file to export all of your areas, with a command like:
inkscape -i area-id -t filename.svg
esportatu behar den azalera bakoitzeko. -t aukerak ikasitako fitxategi izena erabiltzeko balio du, esportatzeko fitxategi izena adieraz dezakezu -e aukerarekin. Bestela, svgslice tresna erabil dezakezu Inkscape-ko dokumentuen esportazioa automatizatzeko, zatiketarako bai geruzak bai gidak erabiliz.
Gradiente ez linealak
SVG-ren 1.1 bertsioak ez du gradiente ez linearrentzako gaitasunik (hau da, koloreen artean bilakaera ez linearra dutenak). Dena den, hauek emulatu ditzakezu eten anitzeko gradienteekin.
Bi etengunedun gradiente sinple batekin has zaitez. Irekin Gradienteen editorea (Gradiente tresna, edozein heldulekutan klik bikoitza eginez, adibidez). Gehitu eten berri bat erdialdean; mugitu apur bat. Ondoren, gehitu baita eten gehiago erdiko etenaren aurrean eta atzean, gradientea leuna izan dadin. Gero eta eten gehiago jarriz gradientea gero eta leunagoa lor dezakezu. Hona hemen hasierako gradiente zuri-beltza bi etenekin:
Eta hemen eten anitzeko gradiente “ez linearrak” (Gradiente editorearekin aztertu):
Zentrutik aldendutako gradiente erradialak
Gradiente radialak ez dute zertan simetrikoak izan behar. Gradiente tresnan, gradiente eliptiko baten erdiko heldulekua arrastatu Shift sakatuta. Honek gradientearen x-itxurako fokatze heldulekua erdigunetik mugituko du. Behar ez duzunean fokatzea erdigunera arrastatu dezakezu berriro.
Orriaren erdiarekiko lerrokatzen
To align something to the center or side of a page, select the object or group and then choose from the list in the Align and Distribute dialog (Ctrl+Shift+A).
Dokumentua garbitzen
Iadanik erabiltzen ez diren gradiente, patroi eta markak (zuk eskuz editatutakoak, zehazki) dagozkion paletan gelditzen dira objektu berrietan berrerabili daitezkeelarik. Hala ere, zure dokumentua optimizatu nahi baduzu, komandoa hautatu Fitxategia menuan. Honek dokumentuan erabili ez diren gradiente, patroi edo markak ezabatzen ditu, fitxategia txikiago eginez.
Izkutuko ezaugarriak eta XML editorea
The XML editor (Shift+Ctrl+X) allows you to change almost all aspects of the document without using an external text editor. Also, Inkscape usually supports more SVG features than are accessible from the GUI. The XML editor is one way to get access to these features (if you know SVG).
Changing the rulers' unit of measure
In the default template, the unit of measure used by the rulers is px (“SVG user unit”, in Inkscape it's equal to 0.8pt or 1/90 of the inch). This is also the unit used in displaying coordinates at the lower-left corner and preselected in all units menus. (You can always hover your mouse over a ruler to see the tooltip with the units it uses.) To change this, open (Ctrl+Shift+D) and change the on the tab.
Stamping
To quickly create many copies of an object, use stamping. Just drag an object (or scale or rotate it), and while holding the mouse button down, press Space. This leaves a “stamp” of the current object shape. You can repeat it as many times as you wish.
Luma tresnaren trikimailuak
Luma (Bezier) tresnan, uneko lerroa bukatzeko ondoko aukerak dituzu:
-
Enter sakatu.
-
Saguko ezkerreko klik bikoitza egin
-
Luma tresna berriro hautatu
-
Beste tresna bat hautatu
Ohar zaitez bidea bukatu gabe dagoen bitartean (hau da, berdez dago, uneko segmentua gorriz) dokumentuan ez dela objektu bezala existitzen. Beraz, ezeztatzeko, bai Esc (bide osoa ezeztatzeko) bai Atzera (bukatu gabeko bidearen azkeneko segmentua kendu) erabil itzazu komandoaren ordez.
Uneko bideari azpibide berri bat gehitzeko, bidea hautatu eta Shift sakatuta duzula marrazten has zaitez edozein puntutik. Hala ere, existitzen den bide bat jarraitu nahi baduzu, Shift ez da beharrezkoa: nahikoa da hautatutako bidearen bukaera-aingura batetik marrazten hastea.
Unicode balioak sartzen
While in the Text tool, pressing Ctrl+U toggles between Unicode and normal mode. In Unicode mode, each group of 4 hexadecimal digits you type becomes a single Unicode character, thus allowing you to enter arbitrary symbols (as long as you know their Unicode codepoints and the font supports them). To finish the Unicode input, press Enter. For example, Ctrl+U 2 0 1 4 Enter inserts an em-dash (—). To quit the Unicode mode without inserting anything press Esc.
Ikonoak marrazteko sareta erabiltzen
Suposatu 24x24 pixeletako ikono bat sortu nahi duzula. 24x24 px-eko oihal ( ) bat sortu eta sareta 0.5 px-etara konfiguratu (48x48 lerrotako sareta). Betetako objektuak saretaren lerro bikoitietara eta trazuko objektuak lerro bakoitietara atxikitu, trazuaren lodiera pixeletan bikoitia mantendu eta esportatu defektuzko 90dpi-ra (px 1 bit-maparen pixel bat izateko). Horrela antialiasing gabeko bit-mapa karraskatsua lortuko duzu.
Objektuen biratzea
Hautatu tresnan gaudela, klik egin objekturen batean eskalatzeko geziak ikusteko eta klik egin berriro biratzeko eta desplazatzeko geziak agertzeko. Izkinetako geziak klikatu eta arrastatzean objektua erdigunearekiko biratuko du (gurutze formako marka bat ikusiko da). Hau egiten duzun bitartean Shift sakatuta mantenduz gero, biraketa aurkako izkina erdigune bezala hartuta gertatuko da. Biraketaren erdigunea edozein puntutan jar dezakezu, baita ere.
Edo teklatua erabiliz biratzeko [ eta ] (15 graduka) edo ktrl+[ eta Ktrl+] (90 graduka) erabil dezakezu. [] tekla hauek Alt sakatuta erabiliz gero, pixelez-pixeleko biraketa geldoa burutuko da.
Itzalak jaurti
Inkscape-k SVG filtro Gausiarra erabiltzeko gai da, horregatik objektuek jaurtitzen duten itzalak sortzea oso erraza da. Objektu bat hautatu, bikoiztu Ktrl+D erabiliz eta OrrBeh sakatu jatorrizko objektuaren azpian jartzeko eta mugitu pixkat eskubira eta behera ondo kokatzeko. Bete eta trazatu menua ireki eta Lausotu balorea 5.0ra aldatu, adibidez. Eta lixto!
Bide batean testua sartzen
Testu batek kurba bat jarrai dezan, hautatu testua eta kurba eta Testua menuko komandoa erabili. Testua bidearen hasieran hasiko da. Normalean hobe da testurako bide zehatz bat sortzea beste elementu batera gehitzea baino — honela kontrol handiagoa izango duzu irudia hondatu gabe
Originala aukeratzen
Testua bidean, edo desplazamendu estekatua edo klon bat duzula, jatorrizko objektua edo bidea hautatzea zaila bihurtzen da, azpian edo ikusezin edo blokeatuta dagoelako. Shift+D tekla magikoek lagunduko dizute; testua, edo desplazamendu estekatua edo klona hautatu eta Shift+D sakatu hautapena dagokion bide, desplazamendu sorrera edo klon originalera
Leihoaren gehiegizko tamaina konpontzen
Dokumentuak erresoluzio edo bistaratze-unitate ezberdina duten sistemetan irekiz gero, gerta daiteke Inkscapek leihoaren tamaina gordetzea eta pantailan ez kabitzea. Kasu hauetan leihoa maximizatu , gorde eta berriro kargatu. Portaera hau desgaitu daiteke Gogoratu eta erabili azken leihoaren geometria aukera (), fitxa) desgaituz.
Gardentasuna, gradienteak eta PostScript-era esportatzea
PostScript edo EPS formatuek ezin dute gardentasuna kudeatu, beraz formatu hauek erabili nahi badituzu hobe ez bazenu inoiz erabiltzen; hortarako Tanta-kontagailua (F7) tresna hautatu “uneko kolorea hautatu alfarik gabe” moduan eta klik egin objektu berean. Honela ikusgai dagoen kolorea hautatu eta objektuari berriz ezarriko dio, gardentasunik gabe. Prozedura errepikatu objektu garden guztientzat. Objektu gardenak objektu lauekin gainjartzen badira, zatitan banatu eta prozedura zati bakoitzeko errepikatu beharko duzu.
PS edo EPSn Gradienteak testua (bide bihurtzen ez bada) edo trazuetarako marrazketentzat ez du balio. Horrez gain gardentasuna ezin denez erabili, adibidez urdin opaku batetik urdin garden batera doan gradiente bat ezin da erabili. Hau sahiesteko, gradientea urdin opaku batetik atzeko planoko kolore opaku batera egin