1

I'm trying to create a "3d shaded look" for drawing cables and wires with a plastic coating on them. I think this can be achieved by drawing a path and shading the edges of the path to be darker than the centre.

This is shown (for drawing pipes) nicely in an Illustrator here, although I'm having difficulty recreating this effect in Inkscape.

So far, I've been following the discussion at: http://www.inkscapeforum.com/viewtopic.php?t=10242, where it is shown that a pattern can be applied to a path. However, when I try to do this with a pattern that only varies radially (not longitudinally), it doesn't attach properly to the path (using the Extensions -> Generate from Path -> Pattern along Path option).

My example concept is attached: (http://svgshare.com/i/13K.svg). The alternating red and yellow squares are taken from the aforementioned link and attach nicely to any path. When I draw a new pattern (the red path containing a thinner yellow path), I cannot attach this to the path properly.

Could anyone help please? Either to get the method above working, or by suggestion other tutorials for nice-looking cables and wires?

Thank you.

2

Quickly applied pseudo-3D effects for tubes or cables are the inbuilt bevel effects of Inkscape.

After selecting an object or group of objects these can be accessed by Filters > Bevels. Below I used Deep Color Plastic effect:

enter image description here

2

Try with a much smaller shape and it should work...

http://svgshare.com/s/12z

Additionally, add some extra notes to the path you're bending. This allows Inksccape to 'shape' the object more easily.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.