Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for converting effective pixels of DXF file into JSON data

A graphic element and file technology, applied in the field of effective graphic element conversion of DXF files to JSON data, to achieve Internet-based and online preview, avoid interference, and facilitate integration

Inactive Publication Date: 2018-08-28
UNIV OF ELECTRONICS SCI & TECH OF CHINA ZHONGSHAN INST
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a method for converting JSON data from effective graphic elements in DXF files to solve the problem of extracting effective graphic elements in local DXF files and using them for network transmission

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for converting effective pixels of DXF file into JSON data
  • Method for converting effective pixels of DXF file into JSON data
  • Method for converting effective pixels of DXF file into JSON data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0020] Such as figure 1 As shown, a method for converting JSON data from effective primitives of a DXF file, the DXF file 101 is opened and read by the file reading module 102 and converted into DXF information 103 and stored in the memory, and the DXF information 103 is processed by the information block module 104 step by step Level block is converted into two-level block information 105, and block information 105 is discarded by graphic entity extraction module 106 to leave valid graphic entity 107, and valid graphic entity 107 is organized by storage module 108 according to three-layer key-value pair and linked list store 109, and finally directly generate JSON data 111 through a JSON conversion module 110.

[0021] Such as figure 2 As shown, the implementation process of the information block module is: DXF information 201 performs li...

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

For the problems of extraction of effective pixels in a local DXF file and network transmission, a method for converting the effective pixels of the DXF file into JSON data is realized. Original DXF information is subjected to block segmentation processing; a three-layer data structure is established by utilizing key value pairs and link tables; effective pixel information is stored; the effectivepixel information is directly converted to generate the JSON data; the effective pixel information is converted to be in a JSON data form clear in structure and definite in meaning from a complex group code form; and attribute values of the pixels are converted into actual attribute specifications from numerical group codes, so that the readability of the converted data is improved. Therefore, the method is suitable for internet data transmission.

Description

technical field [0001] The invention relates to various technical fields in which CAD engineering drawing and the Internet are integrated. This technology realizes the conversion of effective graphic elements of DXF files into JSON data, which is conducive to the Internetization of local DXF files and the online preview of CAD graphics. Background technique [0002] CAD engineering drawing is a traditional computer-aided design process, which is widely used in engineering construction, machinery manufacturing, product design and many other fields. CAD engineering drawing includes DXF, DWG, DWF, SXF and other file formats, among which DXF file format is the most commonly used local CAD file exchange format. After decades of development, the CAD field has accumulated a large amount of CAD metadata in the DXF file format. These file data can be previewed locally. However, with the rise of the Internet, especially the mobile Internet, the traditional CAD field has also Facing ...

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/30
CPCG06F16/258
Inventor 邓招奇郝亚茹
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA ZHONGSHAN INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products