T-FLEX Parametric CAD. Fundamentals. 2D Design
T-FLEX Parametric CAD. Fundamentals. 2D Design T-FLEX Parametric CAD. Fundamentals. 2D Design
Hatches Creating Custom Lines and Hatches T-FLEX CAD allows creating custom hatch types along with custom graphic line types. To add a custom hatch type to the system, place the file with a hatch pattern in the folder …\Program\HatchPatterns. Upon restarting T-FLEX CAD, the new type will appear in the list of hatches “by pattern”. To remove a custom hatch type, simply delete its pattern file from …\Program\HatchPatterns and restart T-FLEX CAD. Creating Hatch Template A pattern file is a T-FLEX CAD drawing complying with certain rules. It must contain the image of the hatch pattern composed of nodes, graphic lines, text and hatches, as well as construction elements. The start point of the hatch is defined by a special node named “Center”. This node is mandatory in the hatch pattern. To make a given pattern repeat multiple times when filling the hatch contour, additional named nodes must be defined in the pattern that would define the direction and step of the pattern repetition. The node defining the first hatch direction must be named «StepX»; the node defining the second direction – «StepY». The direction-defining nodes are optional. In the case either of them is not defined, the pattern will be drawn just once in the respective direction. Working with Custom Hatches When using a custom hatch type in a document, the hatch pattern is saved with that document. Relation with the source file is lost at this point. Therefore, when porting a document file to a computer without the given hatch type, the image does not get lost. When porting a document containing custom hatch types to a computer with existing hatch type pattern under the same name, the hatch image stays unchanged in the form of the image saved in the document. To update a hatch image, you would need to redefine its type over again. To make an update, all you need is to bring up the parameters dialog box for one of the hatches and confirm the existing value. New hatches of the same type that will be created in this document will take on the current pattern. Examples of Creating Simple Hatches To create a custom hatch pattern, let’s open a new document (the command “FN: Create New Model”). 705
Fundamentals. Two-Dimensional Design 706 In the opened document, create the image of a hatch pattern as shown on the figure. Make sure to put an additional node on the drawing, named “Center”, which must be present on a hatch pattern. The drawing created in this way can already be identified by the system as a custom hatch template. All that needs to be done is saving the file in the folder …\Program\HatchPatterns (for example, under the name “Custom hatch sample.grb”) and restart T-FLEX CAD. However, since no direction nodes are defined in the pattern, an actual hatch created from this pattern will contain just a single instance of the hatch. To make the sample defined in the hatch pattern repeat in one direction, you would need to create the respective named node in the pattern, as, for example, “StepX”. The position and step of the node will define the step and repetition direction of the pattern sample. Two named nodes – “StepX” and “StepY” − would allow defining repetition of the pattern sample in both directions. By varying the position of the direction nodes with respect to the “Center” node, one can obtain various hatch appearances all based on the same pattern.
- Page 655 and 656: Fundamentals. Two-Dimensional Desig
- Page 657 and 658: Fundamentals. Two-Dimensional Desig
- Page 659 and 660: Fundamentals. Two-Dimensional Desig
- Page 661 and 662: Fundamentals. Two-Dimensional Desig
- Page 663 and 664: Fundamentals. Two-Dimensional Desig
- Page 665 and 666: Fundamentals. Two-Dimensional Desig
- Page 667 and 668: Fundamentals. Two-Dimensional Desig
- Page 669 and 670: Fundamentals. Two-Dimensional Desig
- Page 671 and 672: Fundamentals. Two-Dimensional Desig
- Page 673 and 674: Fundamentals. Two-Dimensional Desig
- Page 675 and 676: Fundamentals. Two-Dimensional Desig
- Page 677 and 678: Fundamentals. Two-Dimensional Desig
- Page 679 and 680: Fundamentals. Two-Dimensional Desig
- Page 681 and 682: Fundamentals. Two-Dimensional Desig
- Page 683 and 684: Fundamentals. Two-Dimensional Desig
- Page 685 and 686: Fundamentals. Two-Dimensional Desig
- Page 687 and 688: Fundamentals. Two-Dimensional Desig
- Page 689 and 690: Fundamentals. Two-Dimensional Desig
- Page 691 and 692: Fundamentals. Two-Dimensional Desig
- Page 693 and 694: Fundamentals. Two-Dimensional Desig
- Page 695 and 696: Fundamentals. Two-Dimensional Desig
- Page 697 and 698: Fundamentals. Two-Dimensional Desig
- Page 699 and 700: Fundamentals. Two-Dimensional Desig
- Page 701 and 702: Fundamentals. Two-Dimensional Desig
- Page 703 and 704: Fundamentals. Two-Dimensional Desig
- Page 705: Fundamentals. Two-Dimensional Desig
- Page 709 and 710: Fundamentals. Two-Dimensional Desig
- Page 711 and 712: Fundamentals. Two-Dimensional Desig
- Page 713 and 714: Fundamentals. Two-Dimensional Desig
- Page 715 and 716: Fundamentals. Two-Dimensional Desig
- Page 717 and 718: Fundamentals. Two-Dimensional Desig
- Page 719 and 720: Fundamentals. Two-Dimensional Desig
- Page 721 and 722: Fundamentals. Two-Dimensional Desig
- Page 723 and 724: Fundamentals. Two-Dimensional Desig
- Page 725 and 726: Fundamentals. Two-Dimensional Desig
- Page 727 and 728: Fundamentals. Two-Dimensional Desig
- Page 729 and 730: Fundamentals. Two-Dimensional Desig
- Page 731 and 732: Fundamentals. Two-Dimensional Desig
- Page 733 and 734: Fundamentals. Two-Dimensional Desig
- Page 735 and 736: Fundamentals. Two-Dimensional Desig
- Page 737 and 738: Fundamentals. Two-Dimensional Desig
- Page 739 and 740: Fundamentals. Two-Dimensional Desig
- Page 741 and 742: Fundamentals. Two-Dimensional Desig
- Page 743 and 744: Fundamentals. Two-Dimensional Desig
- Page 745 and 746: Fundamentals. Two-Dimensional Desig
- Page 747 and 748: Fundamentals. Two-Dimensional Desig
- Page 749 and 750: Fundamentals. Two-Dimensional Desig
- Page 751 and 752: Fundamentals. Two-Dimensional Desig
- Page 753 and 754: Fundamentals. Two-Dimensional Desig
- Page 755 and 756: Fundamentals. Two-Dimensional Desig
Hatches<br />
Creating Custom Lines and Hatches<br />
T-<strong>FLEX</strong> <strong>CAD</strong> allows creating custom hatch types along with custom graphic line types. To add a custom<br />
hatch type to the system, place the file with a hatch pattern in the folder …\Program\HatchPatterns.<br />
Upon restarting T-<strong>FLEX</strong> <strong>CAD</strong>, the new type will appear in the list of hatches “by pattern”. To remove a<br />
custom hatch type, simply delete its pattern file from …\Program\HatchPatterns and restart T-<strong>FLEX</strong><br />
<strong>CAD</strong>.<br />
Creating Hatch Template<br />
A pattern file is a T-<strong>FLEX</strong> <strong>CAD</strong> drawing complying with certain rules. It must contain the image of the<br />
hatch pattern composed of nodes, graphic lines, text and hatches, as well as construction elements. The start<br />
point of the hatch is defined by a special node named “Center”. This node is mandatory in the hatch pattern.<br />
To make a given pattern repeat multiple times when filling the hatch contour, additional named nodes must<br />
be defined in the pattern that would define the direction and step of the pattern repetition. The node defining<br />
the first hatch direction must be named «StepX»; the node defining the second direction – «StepY». The<br />
direction-defining nodes are optional. In the case either of them is not defined, the pattern will be drawn just<br />
once in the respective direction.<br />
Working with Custom Hatches<br />
When using a custom hatch type in a document, the hatch pattern is saved with that document. Relation with<br />
the source file is lost at this point. Therefore, when porting a document file to a computer without the given<br />
hatch type, the image does not get lost.<br />
When porting a document containing custom hatch types to a computer with existing hatch type pattern<br />
under the same name, the hatch image stays unchanged in the form of the image saved in the document. To<br />
update a hatch image, you would need to redefine its type over again. To make an update, all you need is to<br />
bring up the parameters dialog box for one of the hatches and confirm the existing value. New hatches of the<br />
same type that will be created in this document will take on the current pattern.<br />
Examples of Creating Simple Hatches<br />
To create a custom hatch pattern, let’s open a new document (the command “FN: Create New Model”).<br />
705