CN101620432A - Nce data storage format - Google Patents

Nce data storage format Download PDF

Info

Publication number
CN101620432A
CN101620432A CN200910055479A CN200910055479A CN101620432A CN 101620432 A CN101620432 A CN 101620432A CN 200910055479 A CN200910055479 A CN 200910055479A CN 200910055479 A CN200910055479 A CN 200910055479A CN 101620432 A CN101620432 A CN 101620432A
Authority
CN
China
Prior art keywords
data
container object
cam
cad
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910055479A
Other languages
Chinese (zh)
Inventor
牟凤林
贺显良
付清泉
汤同奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI WEIHONG TECHNOLOGYCO Ltd
Shanghai Naikai Electronic Science and Technology Co Ltd
Original Assignee
SHANGHAI WEIHONG TECHNOLOGYCO Ltd
Shanghai Naikai Electronic Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI WEIHONG TECHNOLOGYCO Ltd, Shanghai Naikai Electronic Science and Technology Co Ltd filed Critical SHANGHAI WEIHONG TECHNOLOGYCO Ltd
Priority to CN200910055479A priority Critical patent/CN101620432A/en
Publication of CN101620432A publication Critical patent/CN101620432A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention provides an Nce data storage format which comprises three sets of vector containers used for storing all object data, namely a CAD container object, a CAM container object and a parameter container object, wherein the CAD container object is used for storing graphic edition data; the CAM container object is used for storing data directly processed by processing software and finishing graphic display and on-line edition; the parameter container object is used for storing attribute information shared by object data in the CAD container objects and the CAM container object; and the three sets of vector containers use a pointer linked list form to store. Data stored by the data storage format can be directly identified by graphic software and numerical control processing software in the field of numerical control system and can be directly used for the analysis and processing of numerical control software without secondary conversion. The invention enhances processing efficiency and avoids the error rate of data in transmission.

Description

The Nce data memory format
Technical field
The present invention relates to field of data storage, particularly field of data storage in the digital control system specifically is meant in digital control system the preservation to graph data and process data.
Background technology
Manufacturing industry is the basic industry of national economy, and the height of manufacturing level is an important symbol of weighing an industrial development degree of country, and the height of numerically-controlled machine level is concerning the height of national manufacturing industry level.
Be accompanied by develop rapidly, for the development of the related software of numerical control service has also obtained big lifting in digital control system.According to the difference of function, numerical control software mainly divides big class, and a kind of is the graphics software of drawing the processing cutter track, and another kind is the machining software of processing according to cutter track.Actual process is, at first draw the cutter track figure by graphic plotting software, then by the digital control processing software processing, yet, the cutter track figure that graphic plotting software is drawn generally can't directly process with digital control processing software, this intermediate demand is the process of conversion together, therefore efficient is not very high just, so, the storage mode of today's numerical control manufacture field data needs the ability of two aspects, can allow on the one hand the easy identification extraction of numerical control software, directly processes, can allow graphics editing software discern on the other hand, easily editor.And current related data storage format does not possess above-mentioned this ability.
Summary of the invention
Technical matters to be solved by this invention provides a kind of data memory format, and digital control system field graphics software and digital control processing software can both Direct Recognition.
In order to address the above problem, technical scheme of the present invention is such:
A kind of Nce data memory format, it is characterized in that: comprise three groups of vector containers that are used to store all object datas, be respectively the CAD container object that is used for the graphics editing data, be used to store machining software directly processing data and finish the demonstration of figure and the CAM container object of online editing, be used to store the parameter container object of the total attribute information of the object data of CAD container object and CAM container object.
Described three groups of vector containers adopt the form storage of pointer chained list.
The invention has the beneficial effects as follows that the Nce data memory format can be directly used in the parsing processing of numerical control software,, do not need to carry out the secondary conversion by digital control system field graphics software and the identification of digital control processing software.Therefore improve working (machining) efficiency, avoided the error rate of data in transfer process.
Embodiment
In order to make technological means of the present invention, creation characteristic, to reach purpose and effect is easy to understand, below further set forth the present invention.
A kind of Nce data memory format, comprise three groups of vector containers that are used to store all object datas, be respectively the CAD container object that is used for the graphics editing data, be used to store machining software directly processing data and finish the demonstration of figure and the CAM container object of online editing, be used to store the parameter container object of the total attribute information of the object data of CAD container object and CAM container object.Described three groups of vector containers adopt the form storage of pointer chained list.
CAD container object objects stored type and concrete structure are described below:
1, point is described by writing down current point coordinate and vertex type;
2, straight line is described by record straight line first and last position coordinates and line-type;
3, boost line is by initial point, angle and boost line type specification;
4, rectangle, by first point coordinate, thirdly coordinate, whether fill the sign and the rectangle type specification;
5, justify, by justifying centre coordinate, radius, whether filling sign and circle type specification;
6, ellipse is by center point coordinate, directions X axial length, Y direction axial length and oval type specification;
7, circular arc is by center point coordinate, radius, starting point angle, termination point and circular arc type specification;
8, polyline, by the knot vector chained list, whether closed sign, whether fill sign and polyline type specification.Wherein preserve node coordinate and convexity in the node;
Whether 9, polygon the number by center point coordinate, radius, limit, justifies inscribe sign and polygon type specification;
10, star is by the number and the star type specification at center point coordinate, radius, angle;
11, abnormity, it is former thereby produce the figure that obtains after the deformation because of stretching, rotation etc. mainly to have described conventional figure.Whether fill sign and special-shaped type specification by initial form, node coordinate, the figure of figure;
12, all CAD objects are write down in the combination of object.By a vector pointer linked list array and object combination type specification;
13, take pictures a little, describe by the point coordinate and the vertex type of taking pictures;
14, text, by text box lower left corner coordinate, width, highly, font type, character pitch, character row spacing, line of text be rotated counterclockwise angle, text string and text and describe.
The described object of above CAD object type is all inherited the base class sub-object in CAD, that is to say that the structure of above CAD object should be described by comprising two class formations, and a class is itself structrual description, and another kind of is the structrual description of its base class.Above object type has only illustrated itself structrual description.Therefore if the structure of CAD object is done comprehensive explanation, must comprise top two class formations and describe.
Being described below of CAD object base class structure:
The base class structure by object ID, machine direction, parameter reference, when drawing cutter line, cutter path parameter, layering machined parameters, path layering the character string when the parameter group number of anterior layer, record CAD object and particular value, whether choose sign, viewdata pointer chained list to form.
Drawing the cutter line structure is described below: draw the cutter line by draw cutter point place segment number, draw the cutter point at the ratio of current location, draw cutter line type, draw the cutter line length, draw cutter line subtended angle, seal length (only be used to seal draw cutter line type) and form.Wherein guide line class shape has four types: nothing, wedge angle, tangent line arc, seal.
The cutter path argument structure is described below: the cutter path parameter is by sagitta error, compensation orientation type, interior inclined to one side value, outer value, the inside and outside inclined to one side sign partially of cutter compensation type, tool diameter size, switching type, straight line approximating curve.
Layering machined parameters structrual description is as follows: layering processing is made up of the processing number of plies, each working depth, ground floor ID, process sequence.
CAM container object objects stored type is as follows:
1, path, paths record the interconnective object set of one group node.Starting point coordinate, node number, node capacity, parameter reference value, node type pointer chained list, node pointer chained list, affine matrix and path type by three-dimensional are described;
2, hole, pointer chained list, affine matrix and the hole type specification in the number by three-dimensional starting point, hole, retracted position, parameter reference, hole;
3, the combination of object, the set of having write down all CAM objects.By affine matrix, CAM object vector containers and object combination type specification;
4, rectangle group combination, essence is the set of CAM object, only these produce liking by single matrix array.Describe by affine matrix, CAM object vector containers, matrix line number, matrix columns, line space, column pitch and matrix group composite type;
5, circular group combination, essence is the set of CAM object, only these produce liking by single circular array.Describe by affine matrix, CAM object vector containers, matrix center point coordinate, unit and circular group composite type;
6, take pictures a little, by affine matrix, three-dimensional take pictures point coordinate, parameter reference, a purposes sign of taking pictures, add operation number, the serial number in the group of taking pictures of taking pictures a little, set array that needs are revised the CAM object ID of transformation matrix, whether skip flag and the vertex type of taking pictures description;
7, position calculation notice is revised the set array and the description of position calculation notification type of the CAM object ID of transformation matrix by purposes sign, two ID that take pictures, needs;
8, close the glue notification indicia, by closing glue notification indicia type specification.
Similar with the CAD object factory, for the structrual description that description also will add its base class of finishing of CAM object.
CAM base class sub-object structrual description is as follows:
CAM base class sub-object structure by object ID, affiliated group ID, under the CAM object parameter group and particular parameter value character string, whether choose sign, viewdata pointer chained list to form.
The object structure of parameter container object is as follows:
Describe by processing mark, object processing number of times by, object Show Color, attribute information character stream, object for parameter object.
Store three groups of vector containers of all object datas, adopt the form storage of pointer chained list.By the description of above data structure, just set up a kind of storage specification of data, when data are preserved, will be according to the preservation of classifying of different structure types.All need to be placed in the corresponding object container for dissimilar objects, write in the file with binary mode at last.
The data that the Nce data memory format is preserved can be directly used in the parsing processing of numerical control software, do not need to carry out once more the secondary conversion, have improved working (machining) efficiency, avoid the error rate of data in transmission course.
More than show and described ultimate principle of the present invention, principal character and advantage of the present invention.The technician of the industry should understand; the present invention is not restricted to the described embodiments; that describes in the foregoing description and the instructions just illustrates principle of the present invention; the present invention also has various changes and modifications without departing from the spirit and scope of the present invention, and these changes and improvements all fall in the claimed scope of the invention.The protection domain that the present invention requires is defined by appending claims and equivalent thereof.

Claims (2)

1, a kind of Nce data memory format, it is characterized in that: comprise three groups of vector containers that are used to store all object datas, be respectively the CAD container object that is used for the graphics editing data, be used to store machining software directly processing data and finish the demonstration of figure and the CAM container object of online editing, be used to store the parameter container object of the total attribute information of the object data of CAD container object and CAM container object.
2, a kind of Nce data memory format according to claim 1 is characterized in that: described three groups of vector containers adopt the form storage of pointer chained list.
CN200910055479A 2009-07-28 2009-07-28 Nce data storage format Pending CN101620432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910055479A CN101620432A (en) 2009-07-28 2009-07-28 Nce data storage format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910055479A CN101620432A (en) 2009-07-28 2009-07-28 Nce data storage format

Publications (1)

Publication Number Publication Date
CN101620432A true CN101620432A (en) 2010-01-06

Family

ID=41513706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910055479A Pending CN101620432A (en) 2009-07-28 2009-07-28 Nce data storage format

Country Status (1)

Country Link
CN (1) CN101620432A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136000A (en) * 2011-03-24 2011-07-27 北京数码大方科技有限公司 Method and device for loading dynamic data based on cache
CN111026704A (en) * 2019-12-05 2020-04-17 上海维宏电子科技股份有限公司 Method for realizing generation and storage processing of machining tool path information in numerical control system and storage medium thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136000A (en) * 2011-03-24 2011-07-27 北京数码大方科技有限公司 Method and device for loading dynamic data based on cache
CN102136000B (en) * 2011-03-24 2013-09-04 北京数码大方科技股份有限公司 Method and device for loading dynamic data based on cache
CN111026704A (en) * 2019-12-05 2020-04-17 上海维宏电子科技股份有限公司 Method for realizing generation and storage processing of machining tool path information in numerical control system and storage medium thereof
CN111026704B (en) * 2019-12-05 2023-11-14 上海维宏电子科技股份有限公司 Method for generating and storing processing of processing tool path information in numerical control system and storage medium thereof

Similar Documents

Publication Publication Date Title
CN109636887B (en) Two-dimensional electronic technology drawing format conversion and vectorization interaction system
US7853869B2 (en) Creation of semantic objects for providing logical structure to markup language representations of documents
CN104915697B (en) One-dimensional number form figure code information technology
CN107145655B (en) Method for establishing power grid equipment vector primitive symbolic model containing topological information
CN112669434B (en) Collision detection method based on grid and bounding box
CN108710932B (en) A kind of two-dimensional code generation method, device, electronic equipment and storage medium
CN105279243A (en) Spatial data conversion method and system
CN108022273B (en) Picture number detachable picture making method
CN103164516A (en) Electronic chart data conversion device and electronic chart data conversion method
US11222463B2 (en) Three-dimensional object representation
CA2480653A1 (en) Revivifivation display method for outline fonts based on stroke centerlines technology
CN101620432A (en) Nce data storage format
CN110969625A (en) Sponge cutting graph display method based on Qt
CN103164864B (en) Polygonal Triangulation Algorithm and system thereof in Computer Image Processing
CN113962001A (en) Engineering BIM model lightweight method
Goodrich et al. Streamed graph drawing and the file maintenance problem
CN109086515B (en) Modeling method for primary equipment drawing information in SSD (solid State drive) of intelligent substation based on SVG (scalable vector graphics)
US20140136966A1 (en) Method and System for Generating Instructions According to Change of Font Outline
CN115147511B (en) Edge component detailed diagram generation method, device, equipment and readable medium
CN108986212B (en) Three-dimensional virtual terrain LOD model generation method based on crack elimination
CN101751683B (en) Figure element dot symbol and dot map symbol exchange method based on path
US20230394726A1 (en) Method for automatically arranging and matching graph onto figure, and computer-readable medium
CN112966318B (en) Method for displaying characters in CAD file and terminal equipment
CN101458734A (en) Spraying and drawing method based on character image grating and chain code technology on workpieces
Meijers et al. A storage and transfer efficient data structure for variable scale vector data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100106