Method for newly adding translation in DWG format file
A format file and translation technology, applied in the field of document translation, can solve the problems of inconvenient translation of DWG drawings, increase of errors, occupation of human resources, etc., and achieve the effect of reducing translation costs, avoiding errors, and improving translation efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] The method of adding translation in DWG format file includes the following steps:
[0055] Obtain the DXF format file converted from the DWG format file;
[0056] Parse the DXF format file, obtain the text box position coordinate group code value of the text data to be translated in the DXF format file, obtain the text box height group code value of the text data to be translated in the DXF format file, and the text box position coordinate group of the text data to be translated The code value is: (X, Y), and the code value of the height group of the text box of the text data to be translated is: H;
[0057] Calculate the code value of the text box coordinates of the translation data: (X, Y-H) or (X, Y+H); because the original text or translation can only be achieved visually by adding or subtracting heights on the Y coordinate It is a relationship between top and bottom.
[0058] Write the group code and group code value set of the translated text into the DXF format...
Embodiment 2
[0068] Embodiment 2: implement the processing system of DWG format file translation data on the basis of embodiment 1,
[0069] Comprising: means for receiving files in DWG format,
[0070] means for converting DWG format files into DXF format files,
[0071] means for identifying and extracting text data to be translated in a DXF format file,
[0072] means for identifying and extracting location information of text data to be translated in a DXF file,
[0073] means for storing text data to be translated and location information of the text data to be translated,
[0074] Also comprising: means for invoking the text data to be translated to the translation means,
[0075] A translation device for translation, the translation device generates translation data corresponding to the text data to be translated through manual translation or machine translation after receiving the text data to be translated,
[0076] means for storing translation data,
[0077] Also includes: ...
Embodiment 3
[0089] Such as Figure 1-Figure 4 As shown, the processing method for the translation data of the DWG format file includes the following steps:
[0090] Analyzing step: after converting the DWG format file into a DXF format file, extract the text data to be translated and the positional information of the text data to be translated in the DXF format file;
[0091] Translating step: call the text data to be translated into a predetermined translation device, and generate translation data corresponding to the text data to be translated through manual translation or machine translation;
[0092] Translation writing step: writing the translation data into the corresponding position in the DXF format file according to the position information of the corresponding text data to be translated, so that the DXF format file is a DXF format file with translation data;
[0093] Steps for exporting the translated DWG format file: converting the DXF format file with translation data into a ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com