1、Designation: D 6673 04Standard Practice forSewn Products Pattern Data InterchangeData Format1This standard is issued under the fixed designation D 6673; the number immediately following the designation indicates the year oforiginal adoption or, in the case of revision, the year of last revision. A n
2、umber in parentheses indicates the year of last reapproval. Asuperscript epsilon (e) indicates an editorial change since the last revision or reapproval.1. Scope1.1 This standard is designed to facilitate communicationbetween CAD/CAM systems that represent two-dimensionalflat pattern pieces. This st
3、andard also provides conventions forrepresenting related information such as grade rule tables. Thisstandard is not intended to represent the relationships betweenpattern pieces or the correspondence between 2D or 3D sewnproduct pattern piece geometries.1.2 The file format for the pattern data excha
4、nge file definedby this standard (Practice D 6673) complies with the DrawingInterchange File (DXF) format. Autodesk, Inc. developed theDXF format for transferring data between their AutoCAD(r)product and other software applications. This standard docu-ments the manner in which pattern data should be
5、 representedwithin the DXF format. Users of this standard should haveAutodesk, Inc.s documentation on Drawing Interchange Files,found in the AutoCAD Reference Manual, in order to assurecompatibility to all DXF format specifications. The AutoCADVersion 13 DXF specification is to be used. The file for
6、mat forthe grade rule table exchange file is an ASCII text file.1.3 This standard does not purport to address all of thesafety concerns, if any, associated with its use. It is theresponsibility of the user of this standard to establish appro-priate safety and health practices and determine the appli
7、ca-bility of regulatory limitations prior to use.2. Referenced Documents2.1 ANSI/AAMA Standard:ANSI/AAMA-292A3. Terminology3.1 Definitions of Terms Specific to This Standard:3.1.1 alternate grade reference line, nan optional internalline whose orientation is used for the x axis of a grade rule.3.1.1
8、.1 DiscussionThe application of a grade rule will beoriented to the grade reference line unless an alternate gradereference line is specified. (See grade reference line.)3.1.2 annotation text, noptional user defined text that canbe displayed when the pattern piece is plotted.3.1.3 base size, nthe di
9、gitized or created size of a style.3.1.3.1 DiscussionBase size is a synonym of sample size.(See sample size.)3.1.4 block, na DXF keyword that is used to identify asection of the file that has information about one object.3.1.4.1 Discussiona block keyword should be used toidentify the start of inform
10、ation for a pattern piece and thesection should be ended with an endblk keyword.3.1.5 curve interpolation point, npoints generated be-tween curve points by a curve interpolation algorithm in aCAD vendors system to create a curve which represents acontour.3.1.6 curve point, na user defined point on a
11、 contour.3.1.6.1 DiscussionWhen a curve interpolation algorithmis used to generate a curve, the resulting curve must passthrough all user defined curve points. (See curve interpolationpoints, validation curve)3.1.7 curve tolerance, nthe maximum perpendicular dis-tance that the resulting curve can de
12、viate from the originalcurve after transferring the data for the first time.3.1.7.1 DiscussionSufficient points should be added bythe originating system to keep the shape of the curve within theuser defined curve tolerance.3.1.8 cut lines, nthe outside edges of a pattern piece usedas a guide for cut
13、ting out the pattern piece. (See pieceboundary.)3.1.9 drill hole, na point that is part of a pattern piece thatis not part of any line.3.1.9.1 DiscussionDrill holes may be used to denotepocket or buttonhole placement.3.1.10 entities, na DXF keyword that is used to identifythe section of the DXF file
14、 describing file identificationinformation.3.1.10.1 DiscussionStyle system text must be placed inthe entities section of the DXF file.1This practice is under the jurisdiction ofASTM Committee D13 on Textiles andis the direct responsibility of Subcommittee D13.63 on Sewn Product Automation.Current ed
15、ition approved March 1, 2004. Published March 2004. Originallyapproved in 2001. Last previous edition approved in 2001 as D 667301.1Copyright ASTM International, 100 Barr Harbor Drive, PO Box C700, West Conshohocken, PA 19428-2959, United States.3.1.11 graded nest, na collection of pieces that repre
16、sentevery size in the size line for a particular pattern piece.3.1.11.1 DiscussionThe CAD vendors system will applythe grade rules from the grade rule table to the base size of apiece to create the graded nest.3.1.12 grade reference line, nthe horizontal line thatdefines the x axis for the pattern p
17、iece.3.1.12.1 DiscussionThe position of all other graded linesand points on the piece are determined in reference to gradereference line(s). a piece must have a grade reference line andmay have one or more alternate grade reference lines. (Seealternate grade reference line.)3.1.13 grade rule, na nam
18、ed set of grade rule valuesconsisting of one grade rule value for each size in the size list.(See grade rule values.)3.1.13.1 Discussiona grade rule is named by the graderule identifier.3.1.14 grade rule identifier, na user defined numericname given to a grade rule.3.1.15 grade rules values, nvalues
19、 that define how anassociated data point on a pattern piece moves from one size toanother expressed in delta XY units.3.1.16 grade rule table, na collection of grade rules.3.1.17 grade rule table name, na user defined name givento a grade rule table.3.1.18 grade rule table data exchange file, na tex
20、t file tocommunicate grade rule values between different CAD/CAMsystems.3.1.19 grainline, nline used to define the horizontal ori-entation, normally the X-axis, of a piece in a marker.3.1.19.1 DiscussionThe grainline is always parallel to theselvage (edge) of the material.3.1.20 internal cut outs, n
21、lines, part of a pattern piece, notpart of the piece boundary, which are cut during the cuttingprocess.3.1.21 internal lines, nlines, part of a pattern piece, not apart of the piece boundary, which are not cut.3.1.21.1 DiscussionInternal lines are not cut but may bedrawn during the cutting process.3
22、.1.22 line, na collection of points that define part of apattern piece.3.1.23 mirror line, na line, part of a pattern piece, thatdivides two symmetrical parts.3.1.23.1 DiscussionSince the pattern piece is symmetri-cal, only half of the piece needs to be digitized or created in thesystem. The other h
23、alf is reflected across the mirror line.3.1.24 notch, na shape used to mark a location.3.1.24.1 DiscussionNotches are often used to line up twopieces of material to be sewn together.3.1.25 piece boundary, na collection of lines that definethe shape of a piece.3.1.26 piece information, ninformation t
24、hat is piece spe-cific.3.1.27 piece system text, ninformation provided in thetransfer file that is piece specific.3.1.28 plaid reference line(s), nused for alignment ofpattern pieces on plaid material during marker making.3.1.29 sample size, nthe base size from which grade rulevalues are established
25、.3.1.30 sew lines, ninternal lines that indicate where stitch-ing of pattern pieces is to be done.3.1.31 size list, na list of all size names, in order fromsmallest to largest, for a particular style.3.1.32 size name, na user defined name for a graded size.3.1.32.1 DiscussionThe size names can be al
26、phabetical,numerical, or alphanumerical.3.1.33 smoothing, na process in a CAD vendors systemthat adds curve interpolation points to a curve. (See curveinterpolation point.)3.1.34 stripe reference line, nline used for alignment ofpattern pieces on stripe material during marker making.3.1.34.1 Discuss
27、ionThe stripe reference line can be eitherinside or outside the piece.3.1.35 style, na collection of pattern pieces and relatedinformation that defines a sewn product.3.1.36 system text, ninformation related to either the styleand/or pattern pieces in the DXF file.3.1.37 system text identifier, nkey
28、words used in DXF fileto construct syntax and associate values with specific systemtext.3.1.38 turn point, npoint where a contour makes a suddenchange in direction.3.1.38.1 DiscussionIf either line coming into the turnpoint is being smoothed, the turn point marks the end ofsmoothing.3.1.39 validatio
29、n curve, na set of points that represent theoriginal curve in the exporting CAD system within curvetolerance of the original curve.3.1.40 validation vertex, nvertex that is inserted into apolyline in order to guarantee that the resulting polylinerepresents the original curve in the exporting CAD sys
30、temswithin a given curve tolerance4. Summary of Practice4.1 Pattern Piece Transfer File FormatThe file formatdefined by this standard complies with the DXF format.ADXFfile is a specially formatted ASCII text file. It consists of anoptional header as well as tables, blocks and entities sections.The t
31、ables section allows for user-defined functional layeringof a CAD drawing. Using this provision, this standard orga-nizes the CAD data representing a pattern piece into a numberof layers.This standard currently can incorporate the following patternpiece information:annotation (plotted) text;alternat
32、e grade reference line(s);cut line;drill holes;graded nests;grade reference line;grade rule identifiers;grade rule table name;grainline;internal cutouts;internal lines;mirror line;notches;piece boundary, including turn points and curve points;plaid reference lines;D6673042sew lines;stripe reference
33、lines;style information: style name; creation date and time,author, sample size, grade rule table name, units,standard version.piece information: piece name, quantity, category, ro-tation, flip, tilt, fold.4.2 HeaderAn optional header may precede the informa-tion in the file defined by this standard
34、. However, becausemany CAD programs on the market today are unable togenerate or accept a header, it is recommended that the use ofthe optional header be minimized.4.3 LayersThe ASTM D13 proposed standard utilizes alayered file format. Information contained in the file defined bythis standard is sep
35、arated into distinct layers, each layerproviding a specific type of information. Layer numbers areused to identify each layer and indicate which information isfound in the layer.Numbers are used, rather that text, since many programs thatsupport the DXF format are unable to generate or acceptnon-num
36、eric layer designations. Layer 1 is required. Informa-tion about each layer is described in 4.3.1 through 4.3.15.The following four restrictions are placed on layer informa-tion:(1) On Layer 1 the piece boundary line will be represented asone or more polylines that form a closed polygon.(2) Layer 2
37、will contain all the turn points in the piece asfound on layers 1, 8, 11, and 14.(3) Layer 3 will contain all the curve points in the piece asfound on layers 1, 8, 11, and 14.(4) Layers 5, 6, 7, 9, 10 and 13 cannot contain polylines.The following list for layer numbers are provided:Layer 1 piece bou
38、ndaryLayer 2 turn pointsLayer 3 curve pointsLayer 4 V-notch and slit notchLayer 5 grade reference and alternate grade reference line(s)Layer 6 mirror lineLayer 7 grainlineLayer 8 internal line(s)Layer 9 stripe reference line(s)Layer 10 plaid reference line(s)Layer 11 internal cutout(s)Layer 12 inten
39、tionally left blankLayer 13 drill holesLayer 14 sew line(s)Layer 15 annotation textLayer 80 T-notchLayer 81 castle notchLayer 82 check notchLayer 83 U-notchLayer 84 piece boundary quality validation curvesLayer 85 internal lines quality validation curvesLayer 86 internal cutouts quality validation c
40、urvesLayer 87 sew lines quality validation curves4.3.1 Layer 1Piece Boundary LayerThe piece boundarylayer contains the boundary lines for each piece in the file. Aseparate BLOCK is used for each piece. Within each BLOCKare one or more polylines that constitute the piece boundary.Each polyline within
41、 the BLOCK corresponds to an individualpattern element.The Piece Boundary BLOCK includes Turn Points, CurvePoints, Notch Base Points, Grade Points and Mirror LinePoints. The piece boundary is a continuous, closed line, withpoints ordered in either the clockwise or counter clockwisedirection. This la
42、yer is required.DXF example of a piece boundary polyline containingvectorized curves:0POLYLINE81 layer 1boundary line661 closed-polyline flag0VERTEX81 layer 1boundary line10450.369 X coordinate20338.697 Y coordinate0VERTEX81 layer 1boundary line10459.322 X coordinate20338.316 Y coordinate0VERTEX81 l
43、ayer 1boundary line10457.195 X coordinate20327.486 Y coordinate0SEQENDDXF example of a piece boundary polyline containingcircular-interpolated curves:0POLYLINE81 layer 1boundary line6617010VERTEX81 layer 1boundary line100.0 X coordinate200.0 Y coordinate420.014743 bulge value0VERTEX81 layer 1boundar
44、y line1045.900000 X coordinate2053.800000 Y coordinate420.005465 bulge value0VERTEX811034.200000 X coordinate2038.600000 Y coordinate42D66730430.018913 bulge value0VERTEX81 layer 1boundary line1019.100000 X coordinate2020.200000 Y coordinate0SEQEND4.3.1.1 Style System TextIn addition to the piece bo
45、und-ary, this layer contains information referred to as required stylesystem text. It only occurs once on this layer in ENTITIES andis assumed to be valid for all pieces in the DXF file.Style information is known as system text. This text standsin contrast to annotation text, which is plotted out an
46、d isdefined as Layer 15 in the DXF file. System text is informationabout the style and/or pieces in the DXF file.The correct syntax for system text is the system textidentifier followed directly by a colon (:) character followeddirectly by a string of text representing the actual value of theidentif
47、ier. Identifiers can be formed from upper or lower casecharacters but must appear as specified in this standard. Thevalue of the identifier is case sensitive and can includecharacters from the following ASCII 7-bit character subset,including the space character ( ) as well:! 9 #$%?ABCDEFGHIJKLMNOPQR
48、STUVWXYZ_8abcdefghijklmnopqrstuvwxyz|In some cases, the values of identifiers must have a specificformat or value.To avoid a loss of information, all values of identifiers mustappear in the DXF file as they appeared in the exporting CADsystem. Importing CAD systems should warn the user if thevalue o
49、f an identifier is being truncated on importing, resultingin a loss of information.Style System Text Correct Syntax (Identifier:)style name Style Name:creation date Creation Date:creation time Creation Time:author Author:;sample size Sample Size:grade rule table Grade Rule Table:units Units:Standard Version ASTM/D13Proposal 1 Version: XXcurve tolerance Curve Tolerance:If the style being transferred has no sample size or grade ruletable (as is the case in non-apparel sewn products), then thev