News:

Please remember to do a search before you ask a question!

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Adding Stamped-Concrete .pat Hatches via Brush Editor

Started by Alvin Gregorio, December 20, 2013, 12:58:44 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Alvin Gregorio

Hello All.  I'm having issues with Importing .pat files via Brush Editor.  The stamped-concrete files I am trying to Import are located here.  I've tried three different patterns, and am having no luck.  I've included one of the downloaded .zip-files attached herewith.

The process I am using is simply:

  • "Import" (tried it both by entering the manufacturer's suggested scale in the preview, and not)
  • Navigate to .pat file location, which was Extracted from downloaded .zip folder
  • Selected the .pat file, and "OK"

Though the newly-created Brush style is showing up in my list of Brushes (the Name is, the preview box is blank), no matter how much and in which direction I scale the Brush and/or the closed 2D entity, the .pat Brush is not showing up.

Can anyone else get these .pat file Hatches to work in TurboCAD?  Is this possible in version-19.2-Deluxe?  If so, any advice?

Thanks, Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Doing a little bit of digging and experimenting:  I've discovered that a .pat file that does work (a woodgrain Hatch from CADhatch.com) when opened in Notepad... there are no spaces after the commas of "code" in the .pat text-file.

In the .pat text-files that I am having the trouble with, there are spaces after the commas.  Is that likely the problem?  Was it written wrong, or is it just some other format that AutoCAD can understand, but TurboCAD cannot, and cannot Import?

-Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

John R

No go here. Nothing shows up when I apply the pattern and fiddle with the Scale. When I select the pattern in the Brush Styles editor in any TurboCAD, it crashes. I believe something is wrong with their patterns, as the pattern doesn't appear in the preview.

I looked at other PAT files and I don't think the "space" is a factor. Some have a space, others don't. Maybe someone with AutoCAD could see if this PAT file works there.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Torfinn

V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Alvin Gregorio

#4
Thanks John and Torfinn.  I got it to work, but it wasn't easy.  I'll see if I can replicate what I did:

Opened the .pat file in Notepad.
Selected All/Copied.
Open New text document in word processor.  Pasted.
In word processor,
used Find/ Notepad's Edit/Replace.  Found/replaced all spaces with (nothing).
Changed the top two lines to better imitate a .pat file that works (not sure if this step was necessary, but I didn't want to take that chance).  Saved that as .txt. with the .pat extension rather than .txt.
Opened that in Notepad.
Saved that over the original .pat file of the same name.  For some reason, unless I over-wrote the original file, TurboCAD's Brush Editor-- when executing the Import function-- wouldn't recognize a .pat file that I just newly created/named.


That (modified, per above) Butterfield Color stamped-concrete Fieldstone Hatch-- BST3000-- is attached herewith (as a .txt... as per the restrictions of these Forums).

FWIW-  Alvin

(strikethroughs and other editions added at a later date to better reflect a simpler method as offered by Marek, later in this Topic)
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

John R

John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Torfinn

Work like a charm Alvin :)

And now added to my default

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Dean

That's great Alvin! good tip....
My experiences are > If I open a dwg file in Turbocad that was created in autocrud, Turbocad has no problem displaying the hatch in the drawing and reading the hatch info in the brush style editor. I never had a problem importing and selecting native Autocrud hatch patterns. There must be a limitation or bug in the import command in the brush style editor.
Alvin, have you tried or do you have hatch pattern creator?   
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Alvin Gregorio

Quote from: Dean on December 21, 2013, 05:51:45 AM
That's great Alvin! good tip....
My experiences are > If I open a dwg file in Turbocad that was created in autocrud, Turbocad has no problem displaying the hatch in the drawing and reading the hatch info in the brush style editor. I never had a problem importing and selecting native Autocrud hatch patterns. There must be a limitation or bug in the import command in the brush style editor.
Alvin, have you tried or do you have hatch pattern creator?   

No Dean, I don't have IMSI's TurboCAD Hatch Pattern Creator plug-in.

Funny thing.  I was yesterday afternoon wishing for some sort of TurboCAD feature that would allow me to draw in TurboCAD what I wanted to be a Hatch Pattern, then be able to use that to quickly and easily create a Hatch (the "code"-lines) to use in Brushes.   I thought... maybe someone already created something like that.  So a quick Google of "hatch pattern creator" turned up IMSI's tool.  (I've been wishing for something like that for years... intermittently.)

I then did a search on these Forums to see if there's been much positive reviews, but there hasn't been much discussion.   The last I see was in October, 2011, where Nickam's request for opinions of the product met with cricket-chirps.

----
There's always a workaround.  If I couldn't have figured out how to change that .pat file text to get it to where TurboCAD would Import it, I would have solicited the generous fellow Forum-members who have AutoCAD to create a .dwg with the desired Hatches, and share them with me for copy/paste or Opening in TurboCAD as you described Dean.

-Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Marek

Quote from: Alvin Gregorio on December 20, 2013, 08:14:46 PM

Saved that over the original .pat file of the same name.  For some reason, unless I over-wrote the original file, TurboCAD's Brush Editor-- when executing the Import function-- wouldn't recognize a .pat file that I just newly created/named.

  Alvin
Hi Alvin
If you wish to change the name of pattern you have to do it in the code and save it. In a notebook, for example, Notepad + + , you do not have to do all the steps of copying and pasting. Just delete the spaces as you did and save with the extension  *. pat.
Marek
Marek

TC Pro 2016, TC Pro 2018, TC Plat 2019,TC Plat 2020,TC Plat 2021,TC Plat 2022,TC Plat 2023,TC Plat 2024, TC Plat 2025
Laptop Asus i7 6500U, dual-core 2,50GHz, NVIDIA GeForce GTX 950M, RAM 12 GB, SSD 480GB
Windows 10 64 bit

Alvin Gregorio

#10
Quote from: Marek on December 21, 2013, 11:28:07 AM
Hi Alvin
If you wish to change the name of pattern you have to do it in the code and save it. In a notebook, for example, Notepad + + , you do not have to do all the steps of copying and pasting. Just delete the spaces as you did and save with the extension  *. pat.
Marek

Okay.  Thank you Marek.  (Last night, I didn't see Notepad's "Replace" function; I was getting a little discombobulated with all that I had open and trying)  -Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

John R

#11
You were right that the problem was a "space". Each row has 7 numbers and each number is followed by a comma & a space. They ended the sixth number with "space, comma, space"; TC choked on a "space" in the wrong place. I ran it through Wordpad's "Replace" feature (Ctrl+H). It looked for the "space, comma, space" and replaced it with "comma, space". They have some nice patterns.

I made a Symbol Library file (SLW) of their patterns in V11. Drop the SLW file in your "My Symbols" folder. It should show up as a new sub-folder, but you may need to refresh or "Reload Library" (Local Menu). This file will work in any version/edition from V11 on up. You also may need to create thumbnails (Update thumbnails - Local Menu). Once a Symbol is brought into the drawing, it brings in the Hatch pattern. I like this better than adding them to the Brush Style Table defaults.

Some thumbnails may come up black because the pattern is too tight/close together.

EDIT: Buggy SLW removed. A replacement is posted farther down in this topic.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Alvin Gregorio

#12
Quote from: John R on December 21, 2013, 07:16:49 PM
...
I made a Symbol Library file (SLW).  ...

Thank You for that John.  I'm sure there are a few other architectural users that thank you as well.

Butterfield Colors does have some nice patterns.  I like their "Textures" patterns and "Vertical Overlay" systems as well.

Where I live, in south-middle California, there is a lot of stamped/colored-concrete used.  Even The City used it on a remodel of our most "artsy" intersection in our downtown "Arts District"  (we're really trying).

I'm sure you came across this John, but for others:  The Butterfield Color web-site page, where these .pat Hatch Pattern files came from, provide a .pdf that includes the recommended Scaling for the various Hatches.  I'll include that here, for others.  I find the recommended Scales being pretty darn close to real-world applications.

-Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

#13
Quote from: Alvin Gregorio on December 21, 2013, 07:41:18 PM
Quote from: John R on December 21, 2013, 07:16:49 PM
...
I made a Symbol Library file (SLW).  ...

Thank You for that John.  I'm sure there are a few other architectural users that thank you as well.

Butterfield Colors does have some nice patterns.  I like their "Textures" patterns and "Vertical Overlay" systems as well.

Where I live, in south-middle California, there is a lot of stamped/colored-concrete used.  Even The City used it on a remodel of our most "artsy" intersection in our downtown "Arts District"  (we're really trying).

I'm sure you came across this John, but for others:  The Butterfield Color web-site page, where these .pat Hatch Pattern files came from, provide a .pdf that includes the recommended Scaling for the various Hatches.  I'll include that here, for others.  I find the recommended Scales being pretty darn close to real-world applications.

-Alvin

I see you added the manufacturer's recommended Scale values in your .slw Descriptions, John.  That's handy.  I assume that was your doing.

(Couldn't get Thumbnails in my version-11.  Really don't know that I know how in version-11.)
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

John R

I thought it would be a good idea to have that available. A user can change the Scale for a hatched object, but can find the original setting by looking in the Library palette or dragging out another symbol.

I think V11 just gives it a generic Solid hatch for the thumbnail. I looked at another hatch pattern SLW file (from V8) in V11 and the thumbnails are also a black rectangle.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Marek

Hi John
Nice way to add patterns. I do not know why, but I had to remove from your set BST3300 | FoxValley, because when I tried to "Update Thumbnails" I got "Unhandled exception" and TC20 64bit crashed. After cutting this pattern,  everything went OK.
Marek
Marek

TC Pro 2016, TC Pro 2018, TC Plat 2019,TC Plat 2020,TC Plat 2021,TC Plat 2022,TC Plat 2023,TC Plat 2024, TC Plat 2025
Laptop Asus i7 6500U, dual-core 2,50GHz, NVIDIA GeForce GTX 950M, RAM 12 GB, SSD 480GB
Windows 10 64 bit

Alvin Gregorio

#16
Quote from: Marek on December 22, 2013, 04:12:53 AM
Hi John
Nice way to add patterns. I do not know why, but I had to remove from your set BST3300 | FoxValley, because when I tried to "Update Thumbnails" I got "Unhandled exception" and TC20 64bit crashed. After cutting this pattern,  everything went OK.
Marek

Just wanted to report that in both of my installations, I did not have the problem Marek is describing.  See signature for system/TC info.  -Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

John R

I'm not sure what is wrong with the Fox Valley Flagstone. It didn't work (crashed) in V19-20 Platinum, but worked in Deluxe.

I updated the SLW file: removed the BST3300 hatch pattern and rearranged the Symbol names. Now it reads Product Name first, Product Number second, other info below that.

I hope there aren't any BUGS in this.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit