Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Best way to create an art brush for plumbing pipework

Contributor ,
Nov 29, 2022 Nov 29, 2022

I have created a plan of my central heating pipework that provides a good indication of how it looks in reality rather than being a simplified diagram. To do this, I first created art brushes for 15mm, 22mm, and 28mm pipes. Each of these brushes simply has a pair of lines defining each side of the pipe.

 

However, it would have been better to have had a fill colour for these brushes, but my attempts to add a fill that is limited to the line of the pipe have failed. Is there a way to do that?   

TOPICS
Draw and design
6.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Mentor , Nov 29, 2022 Nov 29, 2022

How about a simple line with two (or more) strokes...

 

pipe.jpg

Translate
Community Expert , Nov 30, 2022 Nov 30, 2022

DougARoberts_0-1669828621273.png

 

The problem with this brush is that the outer lines have a fill, which appears when their endpoints are separated. Remove the fill from those outer paths and it should work.

Translate
Adobe
Community Expert ,
Nov 29, 2022 Nov 29, 2022

Probably? Please show your brush artwork and what you've tried so far.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 29, 2022 Nov 29, 2022

I've attached a JPEG export of my drawing (created in Illustrator CS6). All I've tried is to add a fill to sections of the pipework and it doesn't achieve what I want, which is to add fill colours to the pipes and nothing else.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2022 Nov 29, 2022

If there are just 2 lines, then you cannot fill anything. Just drawing a white rectangle and putting it behind the 2 lines could be an option.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2022 Nov 29, 2022

How exactly did you try? Does this work for you (a coloured rectangle between two strokes)?

DougARoberts_0-1669732417758.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 29, 2022 Nov 29, 2022

I'd already tried that before I started this drawing. It doesn't work for me (using CS6) as it does for you. Your example shows the red fill colour being confined to the interior of the stroke throughout a bend. In my case, the fill spills out across the black border into the area inside every bend. Are you using Illustrator CC?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2022 Nov 29, 2022

Please show what you tried. I am using CC, but brushes have not changed between CS6 and now.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 29, 2022 Nov 29, 2022

This is what I tried:

 

Custom brush design.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 30, 2022 Nov 30, 2022

Can you share the brush file?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 30, 2022 Nov 30, 2022

I tried to attach a brush library containing my 'Art brush for pipes', but got an error about its extension not matching its contents.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 30, 2022 Nov 30, 2022

You can't attach AI files in the forum unfortunately.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 30, 2022 Nov 30, 2022

I believe you could attach an .ai file to a pdf, and then upload it using the "browse files to attach" button. In Acrobat- View> Show/Hide> Navigation Panes> Attachments> +

Or possibly just change the extension to .pdf, then change it back after download.

attachment.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 30, 2022 Nov 30, 2022

It seems rather perverse that a forum dedicated to Illustrator won't let you upload Illustrator files! I've changed the extension of my AI file to PDF, as you suggested. I hope it works this time. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 30, 2022 Nov 30, 2022

DougARoberts_0-1669828621273.png

 

The problem with this brush is that the outer lines have a fill, which appears when their endpoints are separated. Remove the fill from those outer paths and it should work.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 30, 2022 Nov 30, 2022

Well spotted! That does indeed fix my issues with your method.

 

I've already converted my original drawing to use Met1's multi-stroke line suggestion. It will be interesting to find out if your brush solution is any better. At first glance, there doesn't appear to be much of a difference. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 30, 2022 Nov 30, 2022

Brushes give you more options for terminating your paths in interesting ways (you could draw couplings at either end, for example) but otherwise there should be no functional difference.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 30, 2022 Nov 30, 2022

How do you create end couplings for brush strokes?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 01, 2022 Dec 01, 2022

Say you wanted something like this:

DougARoberts_0-1669885110018.png

You'd select 'Stretch between guides' and pull the guidelines away from the ends so the centre section is the only bit that deforms. Then you could make parts like this:

DougARoberts_1-1669885195947.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 01, 2022 Dec 01, 2022

Thanks for that very useful advice. It's much appreciated. I don't need to create such complex ends for the pipes in my current drawing but this method may well prove useful for other purposes. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 01, 2022 Dec 01, 2022

I've just used that method to create an art brush for a pipe with one end rounded off. That will be useful for pipes that are connecting to tanks, etc. Previously, I was adding such ends manually.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 01, 2022 Dec 01, 2022
LATEST

Good to hear. If there are any other variations you need to create with a single path, there is probably a method (or several methods).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Nov 29, 2022 Nov 29, 2022

How about a simple line with two (or more) strokes...

 

pipe.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 29, 2022 Nov 29, 2022

That suggestion appears to work very well. I didn't know you could create lines with multiple strokes., so thanks for advancing my knowledge of Illustrator  🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2022 Nov 29, 2022

Create a small rectangle.

Fill it with a gradient from the Windows> Swatch libraries> Gradients> Metals (or create your own).

With the rectangle selected, go to Object> Expand.

With the rectangle still selected, go to Brushes> New Brush> Pattern brush.

Apply the new brush to any line.

You can round the corners using Effect> Stylize> Round corners.

pipe.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 29, 2022 Nov 29, 2022

I'm trying to follow your suggestion, Luke, but keep getting the error 'The selected artwork contains an element that cannot be used in a pattern brush'. I have tried several different swatches from the Metals Gradients, including Pewter and all have generated the same error.

 

What might I be doing wrong? What settings are required in the Object > Expand dialogue box (I used the defaults)?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines