Showing posts with label customize. Show all posts
Showing posts with label customize. Show all posts

How to add custom hatch in CAD?


Issue:
You want to add your customized hatch pattern in ZWCAD+.



Solution:
You can use you customized hatch pattern by these steps:

Step 1: copy hatch pattern file to ZWCAD+ installation folder, for example: C:\Program Files\ZWCAD+ 2012

Step 2: run HATCH command in ZWCAD+, open Hatch Pattern Palette dialog box and go to Custom tag, there you can find the customized hatch pattern you just add.

load custom hatch



Note: you can also add the path where the pattern is saved in your computer to the Hatch Pattern File Search Path, in this way you don’t need to copy the pattern into ZWCAD+.


search hatch pattern


----------------------------------------------------------------------------

You may like more threads about “hatch pattern” on CAD forum: 

How to Create Custom Linetype for CAD?



One of the commonly encountered problems is that the linetypes provided by CAD software can’t satisfy various demands in CAD Design. In order to make the design work easier, I will talk about how to create custom linetype in ZWCAD in today’sCAD topic,
To create the custom linetype, let’s start with the rules in customization.
In the ZWCAD, we can find a zwcad.lin file in C:\Users\[username]\AppData\Roaming\ZWSoft\ZWCAD\2012\en-US\Support . Open the file by Notepad, and the linetypes provided by CAD have been listed.




 *BORDER,Border __ __ . __ __ . __ __ . __ __ . __ __ .
A, 12.700, -6.350, 12.700, -6.350, 0, -6.350

The linetype definition is composed of two parts. The first part is name and description for the particular line. Start the definition with “*”, then we could name the line. Leave a simple description after the comma. Specify the codes of lines in the second part. “A “ stands for alignment. The first parameter value should be equal to or more than “0”. The second parameter value should be less than “0”. Positive value means drawing a straight line with certain length. “0” means draw a point. Negative value means space. The punctuation after codes should be input with half-width.
Let’s take the center line as an example. The source code for which is A,1.250,-0.25,0.25,-0.25,According to the definition rules stated above, it means drawing a line with length of 1.25, ‘-0.25’ means a space with length of 0.25, ‘0.25’ means a line with length of 0.25.

If you are still not so clear about how to customize the linetype, you could draw the line first. Here is an example for double dot dash line. Let’s see how it’s defined.

Open the file zwcad.lin in ZWCAD installation path. And enter the name of this linetype as “double dots”. The source code for the line should be
 *DOUBLE_DOT,double_dot  ______..______..______
A,1.0,-0.1,0,-0.1,0,-0.1

Save the file after we add the source code.


With the same method, we could customize the linetype in design.

Related Questions