CN107480380A - A kind of engineering drawing generation method based on template - Google Patents

A kind of engineering drawing generation method based on template Download PDF

Info

Publication number
CN107480380A
CN107480380A CN201710707216.5A CN201710707216A CN107480380A CN 107480380 A CN107480380 A CN 107480380A CN 201710707216 A CN201710707216 A CN 201710707216A CN 107480380 A CN107480380 A CN 107480380A
Authority
CN
China
Prior art keywords
cad
file
data
built
model
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.)
Granted
Application number
CN201710707216.5A
Other languages
Chinese (zh)
Other versions
CN107480380B (en
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.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
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 Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201710707216.5A priority Critical patent/CN107480380B/en
Publication of CN107480380A publication Critical patent/CN107480380A/en
Application granted granted Critical
Publication of CN107480380B publication Critical patent/CN107480380B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • General Factory Administration (AREA)

Abstract

A kind of engineering drawing generation method based on template;Include the construction 2 of 1) CAD diagram paper matrix plate) whole entities are modeled on rhinoceros software,Frame choosing is carried out to whole entities that modeling is completed again and classified,Then the representative model of each Type model is selected automatically and is arranged,And the representative model picked up after arrangement is input in system the 3) opening 4 of cad file) transfer file will be converted into rhinoceros software modeling and the file arranged in step 2),And its file path is input in system,System inserts it into the 5) insertion 6 of picture frame built-in block in the model space of the newly-built cad file of step 3)) insertion 7 of drawing frame data) CAD diagram paper matrix plate insertion 8) insertions of subordinate list data each major class acquired when step (4 1) center selected into whole entities workpiece parameter data,Inputted with tree data mode,Data form corresponding with this drawing is generated below drawing.Worker's working strength is reduced, breaks the constraint degree of production time.

Description

A kind of engineering drawing generation method based on template
Technical field
The present invention relates to the method field of parameter model, particularly a kind of engineering drawing generation method based on template.
Background technology
In manufacturing industry, engineering drawing is that worker carries out the necessary making link of work piece production, the matter of engineering drawing generation Amount and speed often determine the efficiency and benefit of production.Traditional engineering drawing generation is mainly artificial first in CAD software The model space carries out three-dimensional modeling to production workpiece and marked, and is then switched to CAD arrangement spaces construction picture frame and constructs viewport, Viewport is hinted obliquely at corresponding model space model, finally arrangement space engineering drawing is printed.It is but manually soft using CAD Part builds model and is labeled in when being produced and occurs that workload is big, and occurs the engineering drawing accumulated can not be weighed It is multiple to utilize, it is less efficient, and workload redundancy can be caused.
The content of the invention
For drawbacks described above, it is an object of the invention to propose a kind of engineering drawing generation method based on template.
To use following technical scheme up to this purpose, the present invention:
A kind of engineering drawing generation method based on template;Comprise the following steps:
1) construction of CAD diagram paper matrix plate
By CAD layout softwares, sketched out with basic patterning unit order and represent the graphics of single type and to three Dimension figure is labeled, then is saved in the form of cad file as CAD diagram paper matrix plate in disk;
Or the conventional used CAD diagram paper file of project of selection, and by these drawing files in the form of CAD diagram paper matrix plate It is saved in disk;
2) whole entities are modeled on rhinoceros software, then frame choosing is carried out to whole entities that modeling is completed and divided Class, the representative model of each Type model is then selected automatically and is arranged, and the representative model picked up after arrangement is input to In system;
3) opening of cad file
Using CAD software newly-built one empty cad file and opening, to carry out CAD templates, list data and picture frame number According to write-in;
4) with rhinoceros software modeling and the file arranged transfer file will be converted into step 2), and by its file path It is input in system, system is inserted it into the model space of the newly-built cad file of step 3), is comprised the following steps that:
The cad file that saves File As that (4-1) will be completed with rhinoceros software modeling and mark and arrangement;
The path for the file that (4-2) generates step (4-1) is input in system;
Each representative model in (4-3) pickup step 2) seeks minimum bounding box, and solves the central point of minimum package box, The target point built in the newly-built cad file of step 2) pointed by viewport is used as using central point;
5) insertion of picture frame built-in block, is comprised the following steps that:
(5-1) selects whole entities with grasshopper plug-in units frame, and whole entities are classified and extracted every a kind of Type name;
The default interval that the original position and each picture frame that (5-2) gives tacit consent to when setting picture frame built-in block to insert are sequentially inserted into, The type name of the whole entities selected according to institute's frame in step (5-1) is compared with the title of the drawing file of step 1), such as The type name for the entity that institute's frame selects is all different from the title for the drawing file that step 1) generates in fruit step (5-1), then in step 3) the empty picture frame of respective amount is inserted in the arrangement space of newly-built cad files, is otherwise stayed between the size of corresponding picture frame position Gap;
6) insertion of drawing frame data
The attribute data of acquired each major class during by the whole entity of step (4-1) center choosing, with tree data Form inputs, and is input to the correspondence position of the picture frame inserted in step 4);
7) insertion of CAD diagram paper matrix plate
The filename of already present CAD diagram paper matrix plate is defined as real to a kind of geometry of the engineering drawing in requisition for production The type name of body, system are sieved according to the filename of the CAD diagram paper matrix plate inputted compared with per a kind of attribute type name Choosing, the interstitial site insertion CAD diagram paper matrix plate then optionally reserved in (4-2) i.e. construction complete drawing;
8) insertion of subordinate list data
The workpiece parameter data of acquired each major class during by the whole entity of step (4-1) center choosing, with tree's Data mode is inputted, and data form corresponding with this drawing is generated below drawing.
Preferably, the attribute data of each major class refers to same type of attribute data in step 6), comparatively Each group, refer to that same model includes multiple the same models.
Beneficial effects of the present invention:A kind of CAD engineering drawing generation methods based on template of the present invention, can solve artificial Operate the inconvenience that brings, moreover it is possible to using the accumulation of conventional project engineering drawing so that effectively improve production efficiency.Touched using software The method control high-volume part model of hair automatically generates batch drawing, and the template drawing that will build up on or create is inserted, The precision and availability of produced drawing are effectively raised, realizes serialization and automation.It utilizes computer generation batch ENGINEERING CAD drawing, and parameterize output, effectively save human resources are simple to operate, using reliable, reduce worker's working strength, Break the constraint of production time, effectively improve speed of production.
Brief description of the drawings
Fig. 1 is the flow chart of one embodiment of the present of invention.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.
A kind of as shown in figure 1, engineering drawing generation method based on template;Comprise the following steps:
1) construction of drawing management
By CAD layout softwares, sketched out with basic patterning unit order and represent the graphics of single type and to three Dimension figure is labeled, single type here, such as triangle, rectangle, one arc-shaped edges rectangle of band etc., then with cad file Form is saved in disk as CAD diagram paper matrix plate in case calling;
Or the conventional used drawing file of project of selection, and these drawing files are protected in the form of CAD diagram paper matrix plate It is stored in disk;One drawing file represents the engineering drawing needed for a kind of type of workpiece, typically with the required work using template Part type name definition template filename, can be when generating the engineering drawing of whole project, and match-type name is inserted into arrangement space;
2) whole entities are modeled on rhinoceros software, then frame choosing is carried out to whole entities that modeling is completed and divided Class, the representative model of each Type model is then selected automatically and is arranged, and the representative model picked up after arrangement is input to In system;Because a part of drawing uses CAD structure of transvers plate (i.e. step 1), and a part of then select generation by the model of each class Table solid carries out the file that map construction obtains having modeled respectively in rhinoceros software, and now needs these are soft with rhinoceros The file that part has modeled is converted into transfer file and is called in the cad file for being inserted into step 2);
3) opening of cad file
Using CAD software newly-built one empty cad file and opening, to carry out CAD templates, list data and picture frame number According to write-in;
4) with rhinoceros software modeling and the file arranged transfer file will be converted into step 2), and by its file path It is input in system, system is inserted it into the model space of the newly-built cad file of step 3), is comprised the following steps that:
(4-1) will be standby with the cad file that saves File As of rhinoceros software modeling and the completion that marks and arrange, and this is Template, the system using the inventive method are exactly by having the form of this model I data message just in the insertion of these templates An engineering drawing can be completed, meaning is, hundreds of or even more workpiece, institute are there may be in some types of project one With production what is desired is that the data of form, and be not this figure, user can oneself structure, and these template drawings exist Later project, which runs into mutually similar model, to be used;
The path for the file that (4-2) generates step (4-1) is input in system;
Each representative model in (4-3) pickup step 2) seeks minimum bounding box, and solves the central point of minimum package box, The target point built in the newly-built cad file of step 2) pointed by viewport is used as using central point;
5) insertion of picture frame built-in block, is comprised the following steps that:
(5-1) selects whole entities with grasshopper plug-in units frame, and whole entities are classified and extracted every a kind of Type name;
The default interval that the original position and each picture frame that (5-2) gives tacit consent to when setting picture frame built-in block to insert are sequentially inserted into, The type name of the whole entities selected according to institute's frame in step (5-1) is compared with the title of the drawing file of step 1), such as The type name for the entity that institute's frame selects is all different from the title for the drawing file that step 1) generates in fruit step (5-1), then in step 3) the empty picture frame of respective amount is inserted in the arrangement space of newly-built cad files, is otherwise stayed between the size of corresponding picture frame position Gap;
6) insertion of drawing frame data
(major class refers to same type to acquired each major class, and group refers to during by the whole entity of step (4-2) center choosing Same model has multiple the same, represents the quantity of each model) attribute data, it is defeated with tree data mode Enter, and insert the correspondence position for being mapped to the picture frame inserted in step 4);
7) insertion of CAD diagram paper matrix plate
Model in some drawings is higher to some details due to having, i.e., model mark or tolerance etc. are all relatively more multiple It is miscellaneous, specific criteria model can not be constructed well with software, thereby increases and it is possible to this class template was used in conventional project, Both it can directly use, so as to remove unnecessary workload from, comprise the following steps that:
The filename of already present CAD diagram paper matrix plate is defined as real to a kind of geometry of the engineering drawing in requisition for production The type name of body, system are sieved according to the filename of the CAD diagram paper matrix plate inputted compared with per a kind of attribute type name Choosing, the interstitial site insertion CAD diagram paper matrix plate then optionally reserved in (4-2) i.e. construction complete drawing;
8) insertion of subordinate list data
The workpiece parameter data of acquired each major class during by the whole entity of step (4-1) center choosing, with tree's Data mode is inputted, and data form corresponding with this drawing is generated below drawing.
A kind of CAD engineering drawing generation methods based on template of the present invention, can solve the inconvenience that manual operation is brought, also The engineering drawing of conventional project accumulation can be utilized and then effectively improve production efficiency.High-volume is controlled using the method for software triggering Part model automatically generates batch drawing, and the template drawing that will build up on or create is inserted, and is effectively raised and is produced The precision and availability of drawing, realize serialization and automation.It generates batch ENGINEERING CAD drawing, and parameter using computer Change output, effectively save human resources are simple to operate, using reliable, reduce worker's working strength, broken the pact of production time Beam, effectively improve speed of production.
The technical principle of the present invention is described above in association with specific embodiment.These descriptions are intended merely to explain the present invention's Principle, and limiting the scope of the invention can not be construed in any way.Based on explanation herein, the technology of this area Personnel would not require any inventive effort the other embodiments that can associate the present invention, and these modes are fallen within Within protection scope of the present invention.

Claims (2)

  1. A kind of 1. engineering drawing generation method based on template, it is characterised in that:Comprise the following steps:
    1) construction of CAD diagram paper matrix plate
    By CAD layout softwares, sketched out with basic patterning unit order and represent the graphics of single type and to graphics It is labeled, then is saved in the form of cad file as CAD diagram paper matrix plate in disk;
    Or the conventional used CAD diagram paper file of project of selection, and these drawing files are preserved in the form of CAD diagram paper matrix plate To in disk;
    2) whole entities are modeled on rhinoceros software, then frame choosing is carried out to whole entities that modeling is completed and classified, so Select the representative model of each Type model automatically afterwards and arranged, and the representative model picked up after arrangement is input to system In;
    3) opening of cad file
    Using CAD software newly-built one empty cad file and opening, to carry out CAD templates, list data and drawing frame data Write-in;
    4) transfer file will be converted into rhinoceros software modeling and the file arranged in step 2), and its file path is inputted Into system, system is inserted it into the model space of the newly-built cad file of step 3), is comprised the following steps that:
    The cad file that saves File As that (4-1) will be completed with rhinoceros software modeling and mark and arrangement;
    The path for the file that (4-2) generates step (4-1) is input in system;
    Each representative model in (4-3) pickup step 2) seeks minimum bounding box, and solves the central point of minimum package box, in Heart point is as the target point built in the newly-built cad file of step 2) pointed by viewport;
    5) insertion of picture frame built-in block, is comprised the following steps that:
    (5-1) is classified to whole entities and is extracted every a kind of type with the whole entity of grasshopper plug-in units frame choosing Name;
    The default interval that the original position and each picture frame that (5-2) gives tacit consent to when setting picture frame built-in block to insert are sequentially inserted into, according to The type name for whole entities that institute's frame selects is compared with the title of the drawing file of step 1) in step (5-1), if step Suddenly the type name for the entity that institute's frame selects is all different from the title for the drawing file that step 1) generates in (5-1), then in step 3) institute The empty picture frame of respective amount is inserted in the arrangement space of newly-built cad files, otherwise stays the corresponding big small―gap suture in picture frame position;
    6) insertion of drawing frame data
    The attribute data of acquired each major class during by the whole entity of step (4-1) center choosing, with tree data mode Input, and it is input to the correspondence position of the picture frame inserted in step 4);
    7) insertion of CAD diagram paper matrix plate
    The filename of already present CAD diagram paper matrix plate is defined as to a kind of geometry entity of the engineering drawing in requisition for production Type name, system are screened according to the filename of the CAD diagram paper matrix plate inputted compared with per a kind of attribute type name, so The interstitial site insertion CAD diagram paper matrix plate optionally reserved afterwards in (4-2) i.e. construction complete drawing;
    8) insertion of subordinate list data
    The workpiece parameter data of acquired each major class during by the whole entity of step (4-1) center choosing, with tree data Form is inputted, and data form corresponding with this drawing is generated below drawing.
  2. 2. generation method according to claim 1, it is characterised in that:The attribute data of each major class refers in step 6) Same type of attribute data, each group comparatively, it is multiple the same to refer to that same model includes Model.
CN201710707216.5A 2017-08-17 2017-08-17 A kind of engineering drawing generation method based on template Expired - Fee Related CN107480380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710707216.5A CN107480380B (en) 2017-08-17 2017-08-17 A kind of engineering drawing generation method based on template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710707216.5A CN107480380B (en) 2017-08-17 2017-08-17 A kind of engineering drawing generation method based on template

Publications (2)

Publication Number Publication Date
CN107480380A true CN107480380A (en) 2017-12-15
CN107480380B CN107480380B (en) 2018-06-05

Family

ID=60600882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710707216.5A Expired - Fee Related CN107480380B (en) 2017-08-17 2017-08-17 A kind of engineering drawing generation method based on template

Country Status (1)

Country Link
CN (1) CN107480380B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510563A (en) * 2018-03-12 2018-09-07 天津大学 A kind of pattern rapid generation for imitating Art Deco Style Art-Deco and carrying out
CN109492251A (en) * 2018-09-30 2019-03-19 上海宝冶集团有限公司 The BIM parametric modeling method of sled sled racing track
CN109740202A (en) * 2018-12-17 2019-05-10 广州天越电子科技有限公司 A method of realizing that transmission plan digitalized drawing generates
CN110569626A (en) * 2019-10-28 2019-12-13 云南瀚哲科技有限公司 CAD house type graph batch plotting method based on data sheet
CN110851899A (en) * 2019-10-31 2020-02-28 上海宝冶集团有限公司 Application method of parametric modeling in special-shaped structural member design
CN116451324A (en) * 2023-04-17 2023-07-18 中国建筑装饰集团有限公司 Three-dimensional typesetting system suitable for basic structure block veneers and use method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034765A (en) * 2012-12-14 2013-04-10 天津大学 Goaf grouting dynamic overall process simulation method based on numerical simulation
US20130283228A1 (en) * 2010-12-21 2013-10-24 Mingke Sun SOA-based Integration Method and System for 3D Design System

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130283228A1 (en) * 2010-12-21 2013-10-24 Mingke Sun SOA-based Integration Method and System for 3D Design System
CN103034765A (en) * 2012-12-14 2013-04-10 天津大学 Goaf grouting dynamic overall process simulation method based on numerical simulation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘鹏: "基于AutoCAD绘制机械装配图的方法", 《软件应用》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510563A (en) * 2018-03-12 2018-09-07 天津大学 A kind of pattern rapid generation for imitating Art Deco Style Art-Deco and carrying out
CN108510563B (en) * 2018-03-12 2022-03-15 天津大学 Method for rapidly generating pattern by imitating decorative artistic style Art-Deco
CN109492251A (en) * 2018-09-30 2019-03-19 上海宝冶集团有限公司 The BIM parametric modeling method of sled sled racing track
CN109740202A (en) * 2018-12-17 2019-05-10 广州天越电子科技有限公司 A method of realizing that transmission plan digitalized drawing generates
CN109740202B (en) * 2018-12-17 2023-01-17 广州天越电子科技有限公司 Method for realizing digital generation of transmission planning drawing
CN110569626A (en) * 2019-10-28 2019-12-13 云南瀚哲科技有限公司 CAD house type graph batch plotting method based on data sheet
CN110569626B (en) * 2019-10-28 2023-04-07 云南瀚哲科技有限公司 CAD house type graph batch plotting method based on data sheet
CN110851899A (en) * 2019-10-31 2020-02-28 上海宝冶集团有限公司 Application method of parametric modeling in special-shaped structural member design
CN116451324A (en) * 2023-04-17 2023-07-18 中国建筑装饰集团有限公司 Three-dimensional typesetting system suitable for basic structure block veneers and use method

Also Published As

Publication number Publication date
CN107480380B (en) 2018-06-05

Similar Documents

Publication Publication Date Title
CN107480380B (en) A kind of engineering drawing generation method based on template
CN110362927B (en) Multilayer step-by-step optimized BIM model lightweight processing method and system
CN111079244B (en) Distributed simulation platform based on behavior tree
CN103578137A (en) Three-dimensional modeling system and method for prefabricated parts
CN103440357A (en) Virtual reality roaming scene generation method and system
CN106408170A (en) Electronic worksheet processing method, workflow engine and electronic worksheet system
CN101398860B (en) Cooperating design method of aircraft control system in different areas based on PDM//matlab
CN109885626A (en) Urban construction digital archives intelligent management system based on structural data and BIM model
CN106528514A (en) Report generation system and method
CN102611576B (en) Method and device for generating network management configuration model file
CN105447253A (en) Integration method of three-dimensional process data
CN103870623A (en) Preprocessing template for vehicle model
US6885367B1 (en) Three-dimensional model management system
CN103353866A (en) Three-dimensional model file format conversion method supporting XNA technology
CN104463355A (en) Mini-satellite testing and planning system based on testing model
CN104573184A (en) Construction method and construction device for high speed train product meta-model
CN108829653A (en) A kind of generation method of report, device, equipment and medium
CN105653255A (en) Method arranging report template to automatically generate report files in office frame
CN114201793B (en) Sketchup-based BIM model lightweight method and system
CN106709985A (en) Generation method and device for virtual three-dimensional sacrifice scene
CN115495069A (en) Model-driven coal industry software flow implementation method, device and equipment
CN105095599A (en) DWG format drawing automatic generation method
CN102147825A (en) Method for rapidly making drawing of beam structural part and optimizing drawing
CN109063223A (en) The light weight method and device of BIM model and the processing method and system of BIM model
CN110321596A (en) A kind of rolling stock structure simulation method based on finite element analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180605

Termination date: 20200817