139

A straight-forward method is the following: Select the object(s) to export. "Resize page to drawing or selection" (File → Document Properties) or Ctrl+Shift+R. "Invert selection" (Edit → Invert selection) or !, and Del all other objects. "Save As" with Ctrl+Shift+S. Select Optimized SVG as the format if you want to use it on the web. Not as quick as I ...


98

To modify the document bounding box: Go to File → Document Properties... (or press Shift +Ctrl + D) In the Custom size area on the Page tab, expand Resize Page to content... (or press Alt + Z) Click the Resize page to drawing or selection button (or press Alt + R) You can add margins if you like


95

Draw a line (Shift+F6) Open Fill and Stroke dialog (Shift+Ctrl+F) Select Stroke Style tab Choose an arrow for the Start Marker or End Marker Source: draw line arrows in inkscape


56

In the latest version of Inkscape (0.92.2 at this time), you can go to Edit → Resize Page to Selection or press Ctrl+Shift+R.


55

Use the standard bezier tool to create three anchor points. Then hold shift and move the control handles to change the curvature of the bezier path. The final step is to set the Join type to Bevel Join.


53

The hatching can be achieved by using pattern.Once you create a pattern,you can control the direction of hatching as required. Below are the steps to apply hatching to your drawing (I will apply this in a simple rectangle). Create a closed path for which hatching is required(I have used a simple rectangle) Now draw a line using pen tool and convert the ...


52

Select both (by clicking one object, holding shift, then clicking the other object), then select Path, then Difference. For me, I wanted to cut a left arrow out of a hexagon. I created a hexagon, duplicated the layer, shifted the top layer to the right, then selected both layers, then PATH / Difference.


49

The gap you see is due to an imperfect rendering by Inkscape and not necessarily a problem depending on how you export or use your SVG (as long as you cut precisely). The shadows however will likely cause problems, when cut up (which is the only way I can think of to make them right). Here is my solution to this. As an example, I cut up a plain bar, because ...


45

After applying drop shadow effect, go to Filters-Filter editor dialog box.At the bottom of the dialog box there is Filter general settings tab for changing the co ordinates & dimensions. Adjust the value until you get a drop shadow following the path without any break. Image1-Drop shadow with default filter setting values Image2-Drop shadow after ...


44

Indeed Alt-click in often used by the Window Manager. So as a workaround, I often use one of these method : 1) The method described by Christian (move, select, undo) 2) Depending on the objects size, selecting with a zone, like : 3) Or the one I use the most, it's "Tab" to go through the objects. This may seem long & difficult, but as Objects are ...


44

You need to use the "delete segment" button. In the node tool, select the segment you want to remove. In the second line of the top toolbar, look for an icon that has two nodes connected with a line at the top, a down arrow, and two separate nodes at the bottom: This will disconnect the nodes without deleting them. Here is the result:


44

You are correct--that "checked background" is how many programs indicate transparent areas. SVG files have a transparent background. Changing the background color is not part of the SVG standard, so changing the background color in Inkscape won't carry over to the SVG file when its viewed in a browser. There are a few ways to get a solid background color: ...


43

When scaling an object with the mouse by dragging the corner handles it is quite handy to lock the aspect ration to preserve it. This is done with a small lock symbol in the top panel:


42

Make sure there is not simply another object in front of your shape. Raise to top to see if that's the case Make sure it actually has a fill and/or stroke Make sure the opacity of fill and stroke is not 0 If the stroke/fill color is a gradient, make sure that it does not end outside of the shape Make sure the layer is visible Make sure the layer opacity ...


42

There are several locations in the settings that affect snapping to a grid. View Page Grid Document Properties Snap Controls Bar Preferences We will look at each of these. The images may look different for different operating systems, but the general settings should still be the same. View Page Grid This does not directly affect snapping to the grid, but ...


41

Yes! Here is the end result: Step by step: Create some flowed text by using the text tool to first drag a rectangle and then type. Separately, create a rectangle roughly around the text (really, the rectangle can be anywhere) With the rectangle selected, chose "Path" > "Linked Offset". Then grab the small diamond and drag it in to make a second, smaller ...


41

Make sure your design is entirely composed of paths. There can't be any groups or text objects, etc. Ok to have multiple path objects though. Draw a rectangle around the whole thing Select your design as well as the rectangle Choose "Path" > "Exclusion"


38

That feature is called snapping. View → Show/Hide → Snap Controls Bar gives you a control bar whose first button allows you to deactivate snapping. The bar also allows you to activate and deactivate specific types of snapping. The one that annoys you sounds like Snap to bounding box corners. You can also toggle snapping with the % key. In older versions of ...


36

I've tried under Windows with your version and with the most recent one and it works as usual. In order to maintain the border stroke while scaling the object, the first button should be up (in your screenshot seems to be down, i.e. the stroke is scaled with the object):


36

The hole in a real VW is a common sheet metal trick named "Rounded Louver". Realistic drawing of a louver needs complex shading. It's easiest if you can accept it as bent inwards, without shiny glosses and without a chrome edge list. Here are three of them on a flat surface: One louver is made by interpolating between a black line and blue edge ...


32

The easiest way I figured out is probably this: Draw a figure. Select the pattern from Fill and Stroke ("Füllung und Kontur"). Click Extensions > Colour > Replace colour .. (should be something like Erweiterungen > Farbe > Farbe ersetzen in German). Enter the hex code for your desired colour. Another way: Select Edit >> XML Editor. Expand svg:defs >> svg:...


32

The fastest way to obtain such an image is to translate the rotation center of the initial object and then proceed manually by duplicating and applying a transformation (rotation in this case) to the last duplicate. For example, you can start with two circles, grouping them (Ctrl-G) and translating the rotation center (by selecting the group, clicking a ...


32

Ungroup your objects, if needed. Object → Transform → Scale. Select the desired scaling factor. Check apply to each object separately. Apply.


31

A command line solution: Export your SVG master.svg to PNG with Inkscape: # Install on Ubuntu sudo apt-get install inkscape # Other systems: make sure Inkscape is in your PATH inkscape -w 16 -h 16 -e 16.png master.svg inkscape -w 32 -h 32 -e 32.png master.svg inkscape -w 48 -h 48 -e 48.png master.svg Convert the PNG images to ICO with ImageMagick: # ...


30

An alternative to DA01's answer: Select an object. Convert selected object's stroke to paths (Ctrl + Alt + C). Break apart the path (Ctrl + Shift + K). Delete the inside path by clicking somewhere outside, then clicking in the center and deleting.


30

You could probably try to "trace bitmap", using the "Multiple scans" with "Colors", with the "remove background" option, and choosing "2" scans. Then, click "Ok", select both the bitmap and the vector result : Then rightclick, and select "Set Clip" : Far from perfect, but it's a good start.


28

The symbol is like a clone: select the symbol and Edit > Clone > Unlink Clone (Shift+Alt+D), and you have a group, ungroup (Object > Ungroup, or Shift+Ctrl+G) and edit.


28

You can use ImageMagick right away: convert -density 384 icon.svg -define icon:auto-resize icon.ico


27

Edit: As of Inkscape 0.91, markers take the color of the object. Extensions and workarounds are no longer needed. This is one of the most frequently asked questions about Inkscape, so I'll just quote from their site: How do I change the color of markers (e.g. arrow ends)? By default, markers are black. You can change their color to match the color of ...


26

Inkscape (v1.0) supports command-line options, and that is how I prefer to do it: inkscape mySVGinputFile.svg --export-area-drawing --batch-process --export-type=pdf --export-filename=output.pdf Prior to v1.0, the command-line options were different. As of Inkscape (v0.91), this was the equivalent: inkscape --file=mySVGinputFile.svg --export-area-drawing -...


Only top voted, non community-wiki answers of a minimum length are eligible