News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

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.

Where do .pat files reside?

Started by Alvin Gregorio, August 09, 2010, 04:39:50 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Alvin Gregorio

Hello All,

I would like to take a look at the way the .pat files are written so that maybe I can modify an AutoCAD hatch pattern to work in TC.  Where are the .pat files in my installation?

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)

Orion20036

Not sure Alvin, but someone is sure to know on the forum. Maybe they are with the .mick files.

Orion20036

Sorry about that Alvin, funny half hour.

John R

*.PAT files reside wherever you put them. You can use "Tools / Brush Styles" to bring them in through the Brush Editor palette. Click on the "Import" button and browse for your *.PAT file. When you hilight a pattern name in the Import dialog, an example appears in the palette preview window.
John R.

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

wd

J.R.

Can you steer me in the direction where the Brush folder lives and hang screen shot? If there is one.It may not be accessible I wondering :-\

Thanks in advance

W.D. :)
Even a mistake may turn out to be the one thing necessary to a worthwhile achievement Henry Ford
If I have ever made any valuable discoveries it has been owing more to patient attention than to any other talent Isaac Newton
I have not failed Ive just found 10,000 ways that won't work Thomas Edison

Alvin Gregorio

Quote from: John R on August 09, 2010, 11:27:32 PM
*.PAT files reside wherever you put them. You can use "Tools / Brush Styles" to bring them in through the Brush Editor palette. Click on the "Import" button and browse for your *.PAT file. When you hilight a pattern name in the Import dialog, an example appears in the palette preview window.

A few years ago, someone on the old Forums gave to me a bunch of .pat files for stone hatches.  They instructed me how to Copy & Paste the .pat (which came over as .txt) into the program folder where the other .pat files reside.  Whomever it was, also gave me specific instructions on commas, spaces, etc.

I want to be able to see the fomatting of the text of the .pat files that come with the TurboCAD installation.  Does anyone know how to access that folder?

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)

wd

#6
RE:I want to be able to see the formatting of the text of the .pat files that come with the TurboCAD installation.  Does anyone know how to access that folder?

My guess Al there isn't one. TC can only import pat.files. And what to say TC uses the stock hatch patterns as pat.files.I found no traces of it any where.You probably know this any way but you can view the syntax and create with notepad and save it there as pat. file.I understand your point what your trying to achieve but it big mystery to me.I'm sure there is file of sorts some where.I usually store my pat.files in separate folder in the TC  folder that's in My Documents.
Even a mistake may turn out to be the one thing necessary to a worthwhile achievement Henry Ford
If I have ever made any valuable discoveries it has been owing more to patient attention than to any other talent Isaac Newton
I have not failed Ive just found 10,000 ways that won't work Thomas Edison

Alvin Gregorio

#7
Quote from: wd on August 10, 2010, 08:49:19 AM
My guess Al there isn't one. TC can only import pat.files. And what to say TC uses the stock hatch patterns as pat.files.I found no traces of it any where.You probably know this any way but you view the syntax and create with notepad and save it there as pat. file.I understand your point what your trying to achieve but it big mystery to me.I'm sure there is file of sorts some where.I usually store my pat.files in separate folder in the TC  folder that's in My Documents.

Hi wd,

Like I say, someone- he had his picture posted displayed, and I can picture him- years ago gave me the text file to Copy & Paste into the (Folder?).  I remember doing it in ver 10.5.  In fact, when I access TCver10.5 on my old computer (I haven't installed ver10.5 on this computer) my "special" stone-hatches are there (in fact, they are used on a house drawing that I posted on a Forum Board yesterday.).

I just can't remember where that .pat (or was it .ini?) (folder?) resided.

ON ANOTHER NOTE wd-

Thanks to your advice and confidence posted on another board-topic, I uninstalled TurboCAD ver.11.2 from my Windows 7 64-bit computer, and- following your instructions about turning off UAC and Anti-Virus software- was able to successfully re-install and re-update to ver. 11.2.  IT WORKS GREAT!  ALL TOOLS SEEM TO FUNCTION JUST LIKE THEY ARE SUPPOSED TO!  (As you can see, I'm pretty excited about that.)

On the .pat/hatch issue- I keep seeing these really cool architectural hatches on the web, and I want them.  I haven't found Brush Styles editor|Import to work very well.

*EDIT* 8/10/10- 9:42PST- This web-site page- http://turbocadables.com/howto.php?c=hatchpatterns- pretty much explains what I am after.  I don't know why I am having no luck with the Brush Style editor.  I think I'll Search the Forums on that topic, or post a new "thread".

-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

Quote from: wd on August 10, 2010, 06:50:12 AM
J.R. Can you steer me in the direction where the Brush folder lives and hang screen shot, if there is one? It may not be accessible I wondering :-\

Thanks in advance
W.D. :)

It's in the TCExplorer palette.

Here's a copy of the beginning of the Table from V9 if you decide to make a text file. You need the header "[BrushStyle_Table]" for TC to recognize it and place the hatch patterns in the correct location.

[BrushStyle_Table]
#
# TurboCad HATCH pattern table (flexible user defined patterns)
# <Style_name>=T,H,<angle>,<x0>,<y0>,<delta x>,<delta y>,<number_of_dashes>,<d1>...
# T - TurboCAD's pattern; W - Windows's pattern
# H - Hatch; B - Bitmap
#
L45=T,H,45,0,0,0,0.5,0
GOSTAK=T,H,0,0,0,0,0.5,2,0.5,-0.5
IUS=T,H,90,0,0,0,1,2,0.5,-0.5
IUS=T,H,0,0,0.5,0,1,2,0.5,-0.5
IUS=T,H,270,0.5,0.5,0,1,2,0.5,-0.5
B816=T,H,0,0,0,0,8,0
B816=T,H,90,0,0,8,8,2,8,-8
#B816C, 8x16 Block elevation stretcher bond with mortar joints
B816C=T,H,0,0,0,8,8,2,15.625,-.375
B816C=T,H,0,-8,.375,8,8,2,15.625,-.375
B816C=T,H,90,0,0,8,8,2,-8.375,7.625
B816C=T,H,90,-0.375,0,8,8,2,-8.375,7.625

John R.

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

John R

re: Like I say, someone- he had his picture posted displayed, and I can picture him- years ago gave me the text file to Copy & Paste into the (Folder?).  I remember doing it in ver 10.5.  In fact, when I access TCver10.5 on my old computer (I haven't installed ver10.5 on this computer) my "special" stone-hatches are there (in fact, they are used on a house drawing that I posted on a Forum Board yesterday.).

Could it have been BCiTool? He has an editor for the INI file and also something for Brush patterns.
John R.

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