ASTM D6959-2003 Standard Practice for Data Exchange Format for Sewn Product Plotting Devices《装订产品制图设备用数据交换格式的标准规程》.pdf

上传人:bonesoil321 文档编号:524091 上传时间:2018-12-04 格式:PDF 页数:4 大小:34.69KB
下载 相关 举报
ASTM D6959-2003 Standard Practice for Data Exchange Format for Sewn Product Plotting Devices《装订产品制图设备用数据交换格式的标准规程》.pdf_第1页
第1页 / 共4页
ASTM D6959-2003 Standard Practice for Data Exchange Format for Sewn Product Plotting Devices《装订产品制图设备用数据交换格式的标准规程》.pdf_第2页
第2页 / 共4页
ASTM D6959-2003 Standard Practice for Data Exchange Format for Sewn Product Plotting Devices《装订产品制图设备用数据交换格式的标准规程》.pdf_第3页
第3页 / 共4页
ASTM D6959-2003 Standard Practice for Data Exchange Format for Sewn Product Plotting Devices《装订产品制图设备用数据交换格式的标准规程》.pdf_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
资源描述

1、Designation: D 6959 03Standard Practice forData Exchange Format for Sewn Product Plotting Devices1This standard is issued under the fixed designation D 6959; the number immediately following the designation indicates the year oforiginal adoption or, in the case of revision, the year of last revision

2、. A number 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 practice describes a data format for transferringinformation from a sewn product computer aided designsoftware program to a d

3、evice that produces physical output,typically in the form of a printed or drawn image on paper.1.2 This practice is based on a subset of the Hewlett PackardGraphics Language HPGL/2. Supported syntax and limitationsare listed in 7.2. Unsupported syntax is listed in X1.1.1.3 This practice only support

4、s X-Y vector data and a limitedset of additional functions. No provision is made to supportbitmap/raster data used in applications like inkjet printing.1.4 This practice supports a single system of units, an imagefixed at 100 % scale and 1:1 aspect ratio. Scaling and customunit systems are not suppo

5、rted.1.5 This practice does not support curve interpolation ordefinitions. All curves are represented by discrete vectors(stroked) and are dependent on the resolution of the CADsoftware.1.6 This practice requires that all coordinates are absolute,not relative, as defined in the HPGL/2 reference.1.7

6、This practice only supports positive coordinates that aremeasured from a single X-Y origin point with coordinates 0,0.1.8 This practice only supports fixed width fonts. Variablewidth fonts are not supported.1.9 This practice intends to transfer a static image with noprovision for editing.1.10 This p

7、ractice assumes monochromatic output. It doesnot support implied output colors.1.11 This practice imposes no limits on the width or lengthof the plot data. Physical limitations imposed by the hardwareand their effects on the output are the responsibility of thehardware manufacturer.1.12 This practic

8、e does not support frame advance com-mands or any methods that insert multiple origin points orfloating coordinate systems.1.13 This practice limits the plot file to contain a singleblock of data demarked by a compatible header and terminator.Multiple blocks of data in a single file are not allowed.

9、1.14 The intended application of this practice is limited tothe class of output devices found in the sewn product industriesthat produce apparel, textiles, upholstery, and others that usesoft or semi-rigid materials.1.15 This standard does not purport to address all of thesafety concerns, if any, as

10、sociated with its use. It is theresponsibility of the user of this standard to establish appro-priate safety and health practices and determine the applica-bility of regulatory limitations prior to use.2. Referenced Documents2.1 ASTM Standards:D 6672 Practice for Formatting Cutting Data to DriveNume

11、rically Controlled Fabric Cutting Machines2D 13.66 Terminology of Sewn Products23. Terminology3.1 Definitions:3.1.1 command, na two letter sequence, always written incapital letters, that governs interpretation of formatted data.Also known as a syntax command.3.1.2 data block, nan organized group of

12、 commands andparameters preceded by a header and followed by a terminator.3.1.3 header, na specific group of commands required atthe beginning of a data block.3.1.4 parameters, nvalues that modify the action of acommand.3.1.5 plot file, ninstructions organized in formatted blocksof ASCII characters

13、and stored in a computer file which areused to control a plotter or printer.3.1.6 syntax command, nsee command.3.1.7 terminator, nASCII character(s) that signify the endof an instruction (with any associated parameters ),or a datablock.4. Summary of Practice4.1 Plot data are organized to allow a par

14、sing algorithm torecognize adherence to the ASTM format then are written as adata block into a computer file.4.1.1 A specific group of commands are required at thebeginning of the data block, called a header.4.2 Plot data follow a subset of the HPGL/2 ASCII lan-guage.1This practice is under the juri

15、sdiction of ASTM Committee D13 on Textiles andis the direct responsibility of Subcommittee D13.66 on Sewn Product Automation.Current edition approved Dec. 1, 2003. Published February 2004.2Annual Book of ASTM Standards, Vol 07.02.1Copyright ASTM International, 100 Barr Harbor Drive, PO Box C700, Wes

16、t Conshohocken, PA 19428-2959, United States.4.2.1 The practice specifies syntactical and parametric con-straints to limit ambiguity.4.2.2 Basic HPGL formatting is supported. AdvancedHPGL functions are beyond the scope of the practice.5. Significance and Use5.1 This practice provides a common format

17、 that allows acomputer design system to generate data that an output devicecan accurately reproduce independent of the hardware manu-facturer.6. Plot File6.1 Plot data are written in data blocks of ASCII characters,one data block per computer file.6.2 Data blocks are made up of commands.6.2.1 Each c

18、ommand is a two-letter sequence (see 7) alwayswritten in CAPITAL letters.6.2.2 An instruction and its associated ed parameters (ifrequired) are terminated by the semi-colon (;) terminator. Otherterminators are not supported that is mnemonic, , or.6.3 Some commands are followed by parameters.6.3.1 Pa

19、rameters immediately follow the command with noseparating space and come before the command terminator.6.3.2 Multiple parameters are separated by a comma (,).Other separators are not supported that is blank space, etc.Strings of coordinates are not allowed; that is, PDX,Y,X,Y,X,Y.6.4 Blocks of data

20、that adhere to this practice begin and endin a specific way.6.4.1 Blocks begin with specific commands in a definedorder, commonly called a header, as follows (information inbrackets, , are variable):IN; CO “ASTMXXXXX-XX”; CO “Author: AuthorName”; CO “Creation Date: DD-MM-YYYY”; CO “Cre-ation Time: H

21、H-MM on a 24 hour time scale”; PA;DTETX,1; LM0; All subsequent plot file data follow thisheader6.4.2 Blocks are terminated with the ASCII file separatorcharacter, FS (decimal 28).6.5 All coordinate data use the HPGL/2 default plotter-unitsystem.6.5.1 1 plotter-unit = 0.025 millimeter (mm)6.5.2 40 pl

22、otter-units=1mm6.5.3 1016 plotter-units = 1 inch (in.)6.5.4 3.39 plotter-units = 1 dot at 300 dots per in. (dpi)7. Syntax7.1 Syntax commands are used to govern interpretation offormatted data. The following is a list of the supported syntaxand a brief description. Detailed summaries of the commandsa

23、re outlined in 7.2. HPGL/2 commands not listed below are notsupported by the practice and are documented in Appendix X1.7.1.1 COComments,7.1.2 DIAbsolute Direction,7.1.3 DTDefine Label Terminator,7.1.4 INInitialize,7.1.5 LBLabel,7.1.6 LMLabel Mode,7.1.7 LTLine Type,7.1.8 PA Plot Absolute,7.1.9 PDPen

24、 Down,7.1.10 PUPen Up,7.1.11 SIAbsolute character Size, and7.1.12 SPSelect Pen.7.2 The following descriptions outline the implementationof HPGL/2 syntax commands allowed by this practice. Unlessotherwise noted, usage exactly follows the specification de-scribed in the agreed HPGL/2 reference.7.2.1 C

25、OComments. Parameters between quotes are ig-nored by the output device. This practice requires four sequen-tial CO commands containing specific text as header data.These must immediately follow the IN; and precede the PA;syntax at the beginning of the file and use the format thatfollows. Information

26、 in brackets, , are variable. Example:CO “ASTMXXXXX-XX”; CO “Author: Author Name”;CO “Creation Date: DD-MM-YYYY”; CO “Creation Time:HH-MM on a 24 hour time scale”;7.2.2 DIAbsolute Direction. Specifies the direction char-acters in a label are drawn. In this practice, DI syntax onlyaffects usage of LB

27、 and SI. Default values are DI1,0. Example:DI1,0;.Result: defines label direction as horizontal, the default forthis practice.7.2.3 DTDefine Label Terminator (header only). Indicatesthe end of a text string associated with an LB command. Thispractice requires a single DT command near the end of theh

28、eader immediately following the PA syntax. The requiredarguments for DT are ETX (decimal 03) and mode 1. These arethe only allowed parameters. No other instances of DT areallowed. Example: PA;DTETX,1;Result: defines the label terminator as ETX (decimal 03).Mode “1” indicates that this character is n

29、ot printed.7.2.4 INInitialize (header only). Resets the configurationof the output device to defaults and raises the logical pen,equivalent to a PU; syntax command. Also indicates thebeginning of a plot file conforming to this practice and isalways the first syntax command in the header. No otherins

30、tances of IN are allowed.7.2.5 LBLabel. Prints the subsequent text string using thecurrently defined font. Requires the label terminator, ETX, atthe end of the text string, as defined by the DT commandincluded in the header. In this practice, LB syntax is onlyaffected by the DT, LM and SI syntax. Ex

31、ample:LBSM-FrontETX;Result: prints “SM-Front” at the current pen position.7.2.6 LMLabel Mode (header only). Determines whetherthe LB command interprets characters in 8 or 16 bit segments.This practice requires a single LM command at the end of theheader immediately following the DT syntax. The requi

32、redargument for LM is 0 (8-bit mode). This is the only allowedparameter. No other instances of LM are allowed. Example: DTETX,1;LM0;Result: 8-bit mode, each byte is a character.D69590327.2.7 LTLine Type. Determines the pattern of the drawnline. LT is allowed in two forms. LT; creates a solid line (t

33、hedefault line type). Non-solid line types are available only byusing LT with three required parameters; line_type, pattern-_length (always in millimeters), and mode (always 1).Thispractice only supports line types +2 through -2 (including 0) asspecified in the HPGL/2 reference. Unsupported line typ

34、esrequire stroked equivalents. The line type is used until asubsequent LT is encountered. In this practice, LT only affectsthe PD command. Examples:LT;Result: all subsequent lines drawn with the PD command aresolid. This is the default line type.LT2,3,1;Result: all subsequent lines drawn with the PD

35、 command usepattern #2, a dashed line comprised of segments 1.5 mm longseparated by 1.5 mm spaces (3 mm total). The line type is useduntil an IN or LT is encountered.7.2.8 PA Plot Absolute (header only). Establishes absoluteplotting. Do not use PA with parameters. This practice requiresa single PA c

36、ommand near the end of the header immediatelyfollowing the last CO and before the DI syntax. No otherinstances of PA are allowed. Example:”;PA;DT7.2.9 PDPen Down. Lowers the pen and/or begins a linesegment. Parameters are X and Y coordinate data, separated bya comma, that adhere to the unit system d

37、efined earlier in thispractice. Strings of coordinates are not allowed that is PDX-,Y,X,Y,X,Y;. In this practice, PD is affected by the LT syntax.Example:PD1016,2032;Result: Puts the logical pen down and moves from thecurrent position to X coordinate 1016 and Y coordinate 2032 ina straight line.7.2.

38、10 PUPen Up. Raises the logical pen and/or ends aline segment. Parameters are X and Y coordinate data, sepa-rated by a comma, that adhere to the unit system defined earlierin this practice. Strings of coordinates are not allowed that isPUX,Y,X,Y,X,Y;. Example:PU2032,1016;Result: Raises the logical p

39、en and moves from the currentposition to X coordinate 2032 and Y coordinate 1016 in astraight line.7.2.11 SIAbsolute character Size. Specifies the size ofcharacters in centimeters (cm). Accepts two parameters, widthand height, separated by a comma. Changes to SI remain ineffect until a subsequent SI

40、 is encountered. In this practice, SIaffects the DI and LB commands. Default values areSI0.285,0.375. Example:SI2,1;Result: subsequent characters are 2 cm wide and 1 cm high.7.2.12 SPSelect Pen. Defines which pen is used for allsubsequent commands. Changes to SP remain in effect until asubsequent SP

41、 is encountered. In this practice, SP affects PDand LB. Different tools are also supported. Only the parameterslisted below are accepted. If a specified tool is not supported bythe output device, the default tool is used.SP0 (equivalent to SP;) No PenSP1Pen (default)SP9KnifeSP17DrillSP25PunchExample

42、:SP1;Result: Selects a pen for all subsequent drawing.8. Keywords8.1 apparel; HPGL; marker; plot file; plotter; printer; sewngoods; sewn product; upholstery; vector dataAPPENDIXES(Nonmandatory Information)X1. UNSUPPORTED HPGL/2 SYNTAXX1.1 This appendix describes standard HPGL/2 syntax thatis not sup

43、ported by this practice.X1.1.1 AAArc Absolute,X1.1.2 ACAnchor Corner,X1.1.3 ADAlternate Font Definition,X1.1.4 ARArc Relative,X1.1.5 ATAbsolute Arc Three Point,X1.1.6 BPBegin Plot,X1.1.7 BRBezier Relative,X1.1.8 BZBezier Absolute,X1.1.9 CFCharacter Fill Mode,X1.1.10 CICircle,X1.1.11 CPCharacter Plot

44、,X1.1.12 CRSet Color Range for Relative Data,X1.1.13 CTChord Tolerance,X1.1.14 DCDigitize Clear,X1.1.15 DFDefaults,X1.1.16 DLDownload character,X1.1.17 DPDigitize Point,X1.1.18 DRRelative Direction,X1.1.19 DVDefine Variable Text Path,X1.1.20 EAEdge rectangle Absolute,X1.1.21 ECEnable Cutter,X1.1.22

45、EPEdge Polygon,X1.1.23 EREdge Rectangle Relative,X1.1.24 ESExtra Space,X1.1.25 EWEdge Wedge,X1.1.26 FIPrimary Font Selection by ID,X1.1.27 FNSecondary Font Selection by ID,X1.1.28 FPFill Polygon,D6959033X1.1.29 FRFrame advance,X1.1.30 FTFill Type,X1.1.31 IPInput Points,X1.1.32 IRInput relative,X1.1.

46、33 IWInput Window,X1.1.34 LALine Attributes,X1.1.35 LOLabel Origin,X1.1.36 MCMerge Control,X1.1.37 MGMessage,X1.1.38 MTMedia Type,X1.1.39 NPNumber of Pens,X1.1.40 NRNot Ready,X1.1.41 ODOutput Digitized point,X1.1.42 OEOutput Error,X1.1.43 OHOutput Hard Clip Limits,X1.1.44 OIOutput Identification,X1.

47、1.45 OPOutput P1, P2,X1.1.46 OSOutput Status,X1.1.47 PCPen Color Assignment,X1.1.48 PEPolyline Encoded,X1.1.49 PGPage advance,X1.1.50 PMPolygon Mode,X1.1.51 PPPixel Placement,X1.1.52 PRPlot Relative,X1.1.53 PSPlot Size,X1.1.54 PWPen Width,X1.1.55 QLQuality Level,X1.1.56 RAFill Rectangle Absolute,X1.

48、1.57 RFRaster Fill Definition,X1.1.58 RORotate Coordinate System,X1.1.59 RPReplot,X1.1.60 RRFill Rectangle Relative,X1.1.61 RTRelative Arc Three Point,X1.1.62 SASelect Alternate font,X1.1.63 SBScalable or Bitmap Fonts,X1.1.64 SCScale,X1.1.65 SDStandard Font Definition,X1.1.66 SLCharacter Slant,X1.1.

49、67 SMSymbol Mode,X1.1.68 SRRelative character Size,X1.1.69 SSSelect Standard font,X1.1.70 STSort,X1.1.71 SVScreened Vectors,X1.1.72 TDTransparent Data,X1.1.73 TRTransparency Mode,X1.1.74 ULUser Defined Line Type,X1.1.75 VSVelocity Select,X1.1.76 WGFill Wedge, andX1.1.77 WUPen Width Unit Selection.X2. SAMPLE PLOT FILE COMPLIANT WITH ASTM XXXXX-XXX2.1 The following example is a plot file in compliancewith the ASTM XXXXX-XX practice. It wi

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > ASTM

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1