Unlock instant, AI-driven research and patent intelligence for your innovation.

DWG format file-based translation data processing method

A format file and data processing technology, applied in the field of document translation, can solve the problems of heavy user adjustment workload, multiple layer switching, etc., and achieve the effect of reducing equipment requirements, less data processing times, and reducing workload

Inactive Publication Date: 2017-05-10
成都优译信息技术股份有限公司
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, using this method of translation has the following problems: when there are multiple layers in the DWG format file, the user needs to find the layer where the translation is located in the manual adjustment process to adjust this part. When there are many translations that need to be adjusted , there is a problem of multiple layer switching, and the workload of user adjustment is heavy

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] A translation data processing method based on a DWG format file, comprising the following steps:

[0024] Parsing step, after the DWG format file is converted into the DXF format file, extract the information of the original text data in the DXF format file;

[0025] In the step of creating a new translation layer, a new translation layer is created on the DXF format file;

[0026] The translation layer relationship establishment step is to determine the location information of the translation data in the translation layer according to the location information of the original text data, including data information and location information;

[0027] The translation step is to call the original text data into the predetermined translation device to generate the translated text data;

[0028] The translation writing step is to write the translation data into the corresponding position of the translation layer according to the position information;

[0029] In the exportin...

Embodiment 2

[0031] In the step of establishing the relationship between the translation layers, the location information of the translation data of each layer is determined according to the location information of the original text data; Mapping of translation data.

[0032] In order to reduce the file compilation process and facilitate the editing of translations of each layer, the coordinates of the original text on the layer are the same as the coordinates of the corresponding translation on the translation layer. That is, the coordinates of the original text of each layer are the same as the coordinates of the corresponding translation in the translation layer, and the adjustment of the coordinates of the translation layer is the adjustment of the coordinates of the translation of each layer, making the adjustment process more intuitive.

[0033] In order to better understand this solution, an example is used for illustration.

[0034] For example, layer 1 contains original data 1:A,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a DWG format file-based translation data processing method. The method comprises steps of an analyzing step, in which a DWG format file is converted into a DXF format file, and then original text data and position information of the original text of the DXF format file are extracted, a translation layer building step, in which a translation layer is built on the DXF format file, a translation layer relationship building step, in which position information of translation data in the translation layer is determined according to the position information of the original text data, a translation step, in which original text data is called to a preset translation device to generate translation data, a translation writing-into step, in which the translation data is written into the corresponding position of the translation layer according to the position relationship, and a leading-out step, in which the DXF format file having the translation data and the translation layer is converted into the DWG format file and led out. The position information of the translation data in the translation layer comprises data information and position information. Work load for postal adjustments can be effectively reduced for users.

Description

technical field [0001] The invention relates to the technical field of document translation, in particular to a translation data processing method based on DWG format files. Background technique [0002] DWG format file is a drawing storage format created by AutoCAD, which has become the standard format of 2D CAD. Many other CADs also directly use DWG as the default working file in order to be compatible with AutoCAD. When people make drawings, in addition to graphics, there are also many marked or explanatory text information in the drawings. When information is exchanged, often due to language differences, the text information in the DWG format file needs to be translated and re-exported. , the translation processing method of the DWG format file in the prior art is: convert the DWG format file into a DXF format file, use the coding characteristics of the DXF format file to automatically extract and store the text information in the DXF format file, and after the translati...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/50G06F17/22
CPCG06F30/20G06F40/151
Inventor 席斌李明王兴强张马成彭成超
Owner 成都优译信息技术股份有限公司