TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Where do .pat files reside?
Read 5821 times
* August 09, 2010, 04:39:50 PM
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

Logged
Alvin Gregorio
(mostly Residential Architectural 2D; no formal CAD Training; intermittent TurboCAD user since yr. 2000 [ver6.5])
---TurboCAD: V20.2PP(57.0)[as of 3/12/15]; V19DL(54.2); V11.2Pro; Windows-7-Pro/64-bit; Intel-Core-i3 CPU; 2.27ghz; 4GB RAM; Intel HD Graphics (CPU based)


* August 09, 2010, 07:56:41 PM
#1
Not sure Alvin, but someone is sure to know on the forum. Maybe they are with the .mick files.

Logged


* August 09, 2010, 07:58:31 PM
#2
Sorry about that Alvin, funny half hour.

Logged


* August 09, 2010, 11:27:32 PM
#3
*.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.

Logged
John R.

V17—V21, 2015—2018
Designer, Deluxe, Expert, Basic, Platinum
RedSDK enabled
Windows 10 Pro, 64-bit


* August 10, 2010, 06:50:12 AM
#4
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. :)

Logged
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


* August 10, 2010, 07:34:30 AM
#5
*.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

 

Logged
Alvin Gregorio
(mostly Residential Architectural 2D; no formal CAD Training; intermittent TurboCAD user since yr. 2000 [ver6.5])
---TurboCAD: V20.2PP(57.0)[as of 3/12/15]; V19DL(54.2); V11.2Pro; Windows-7-Pro/64-bit; Intel-Core-i3 CPU; 2.27ghz; 4GB RAM; Intel HD Graphics (CPU based)


* August 10, 2010, 08:49:19 AM
#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.
« Last Edit: August 11, 2010, 04:27:15 PM by wd »

Logged
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


* August 10, 2010, 09:27:32 AM
#7
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
« Last Edit: August 10, 2010, 09:43:20 AM by Alvin Gregorio »

Logged
Alvin Gregorio
(mostly Residential Architectural 2D; no formal CAD Training; intermittent TurboCAD user since yr. 2000 [ver6.5])
---TurboCAD: V20.2PP(57.0)[as of 3/12/15]; V19DL(54.2); V11.2Pro; Windows-7-Pro/64-bit; Intel-Core-i3 CPU; 2.27ghz; 4GB RAM; Intel HD Graphics (CPU based)


* August 10, 2010, 04:14:40 PM
#8
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


Logged
John R.

V17—V21, 2015—2018
Designer, Deluxe, Expert, Basic, Platinum
RedSDK enabled
Windows 10 Pro, 64-bit


* August 10, 2010, 04:24:35 PM
#9
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.

Logged
John R.

V17—V21, 2015—2018
Designer, Deluxe, Expert, Basic, Platinum
RedSDK enabled
Windows 10 Pro, 64-bit