自定义图案填充
如何在填充图案选项板中添加图案。谢谢!
真心求解 如何在填充图案选项板中添加图案。
谢谢!
线角圆 发表于 2011-11-6 20:52 http://www.askcad.com/bbs/images/common/back.gif
在“选项→文件”中添加自定义图案文件夹的路径 :):):):) 回复 3# manbuzhe
谢谢你
还是没搞懂,不知怎么添加,能不能在详细点说说。:handshake 回复 1# 线角圆
这个东东要像编程一样,要有专业知识,一般的人只有看看罢了
希望有高手展现 回复manbuzhe
谢谢你
还是没搞懂,不知怎么添加,能不能在详细点说说。
线角圆 发表于 2011-11-7 21:38 http://www.askcad.com/bbs/images/common/back.gif
先把自定义的图案保存在新的文件夹(最好根文件夹是独立的),然后看下图
回复 7# manbuzhe
衷心的表示感谢。
再请问一下,填充图案的文件是什么格式的,后缀是什么。 回复manbuzhe
衷心的表示感谢。
再请问一下,填充图案的文件是什么格式的,后缀是什么。
线角圆 发表于 2011-11-8 20:40 http://www.askcad.com/bbs/images/common/back.gif
格式是* .pat 回复 9# manbuzhe
再请问一下,图案在什么软件中生成。
在Photoshop中找到两个PAT格式的图案,但出现了图片中的现象。谢谢! 回复 10# 线角圆
这就是填充图案的坐标原点 回复manbuzhe
再请问一下,图案在什么软件中生成。
在Photoshop中找到两个PAT格式的图案,但出 ...
线角圆 发表于 2011-11-9 20:52 http://www.askcad.com/bbs/images/common/back.gif
在“记事本”中定义自己的图案,保存为*.pat文件。 回复 12# manbuzhe
谢谢!
还是没弄懂:L :dizzy: 帮助文件里有介绍。 http://docs.autodesk.com/ACD/2011/ENU/filesACG/WS73099cc142f4875513fb5cd10c4aa30d6b-7e57.htm
In addition to using the predefined hatch patterns that are supplied, you can design and create your own custom hatch patterns. Developing a hatch pattern definition requires knowledge, practice, and patience. Because customizing hatches requires familiarity with hatch patterns, it is not recommended for new users.
The hatch patterns supplied by AutoCAD are stored in the acad.pat and acadiso.pat text files. You can add hatch pattern definitions to this file or create your own files.
Regardless of where the definition is stored, a custom hatch pattern has the same format. It has a header line with a name, which begins with an asterisk and is no more than 31 characters long, and an optional description:
*pattern-name, descriptionIt also has one or more line descriptors of the following form:
angle, x-origin,y-origin, delta-x,delta-y,dash-1,dash-2, …The default hatch pattern ANSI31 shown in the Boundary Hatch and Fill dialog box looks like this:
and is defined as follows:
*ANSI31, ANSI Iron, Brick, Stone masonry45, 0,0, 0,.125The pattern name on the first line, *ANSI31, is followed by a description: ANSI Iron, Brick, Stone masonry. This simple pattern definition specifies a line drawn at an angle of 45 degrees, that the first line of the family of hatch lines is to pass through the drawing origin (0,0), and that the spacing between hatch lines of the family is to be 0.125 drawing units.
Hatch pattern definitions follow these rules:
•Each line in a pattern definition can contain up to 80 characters. You can include letters, numbers, and the special characters underline (_), hyphen (-), and dollar sign ($). However, you must begin a pattern definition with a letter or number, not a special character.
•AutoCAD ignores both blank lines and text to the right of a semicolon.
•Each pattern line is considered to be the first member of a line family, created by applying the delta offsets in both directions to generate an infinite family of parallel lines.
•The delta-x value indicates the displacement between members of the family in the direction of the line. It is used only for dashed lines.
•The delta-y value indicates the spacing between members of the family; that is, it is measured perpendicular to the lines.
•A line is considered to be of infinite length. A dash pattern is superimposed on the line.
NoteA blank line must be placed after the last hatch pattern definition in a PAT file. If a blank line is not placed after the last hatch pattern definition, the last hatch pattern definition will not be accessible when creating a hatch fill.
The process of hatching consists of expanding each line in the pattern definition to its infinite family of parallel lines. All selected objects are checked for intersections with any of these lines; any intersections cause the hatch lines to be turned on and off as governed by the hatching style. Each family of hatch lines is generated parallel to an initial line with an absolute origin to guarantee proper alignment.
If you create a very dense hatch, AutoCAD may reject the hatch and display a message indicating that the hatch scale is too small or its dash length too short. You can change the maximum number of hatch lines by setting the MaxHatch system registry variable using (setenv “MaxHatch” “n”) where n is a number between 100 and 10000000 (ten million).
NoteWhen changing the value of MaxHatch, you must enter MaxHatch with the capitalization as shown. 有2点要注意的:
1. 自定义的pat文件不要包含多个填充样式的定义,只能每个文件定义一个样式
2. 自定义的pat文件名要与文件里定义的样式名一致
页:
[1]
2