Search

CN-121999187-A - Three-dimensional drawing method and system for single building of water delivery system

CN121999187ACN 121999187 ACN121999187 ACN 121999187ACN-121999187-A

Abstract

The invention relates to the technical field of three-dimensional drawing, in particular to a three-dimensional drawing method and system for a single building of a water delivery system; the method comprises the following steps of S1, constructing a standardized engineering drawing template, simultaneously constructing a mapping relation between a three-dimensional model and the standardized engineering drawing template, S2, determining the standardized engineering drawing template matched with the three-dimensional model according to the generated three-dimensional model of a building and related parameters from a database and the mapping relation between the three-dimensional model and the standardized engineering drawing template, S3, developing a drawing by using the standardized engineering drawing template to generate a two-dimensional engineering drawing comprising all views, wherein the two-dimensional engineering drawing comprises six views, a view plane drawing, a cross-sectional view drawing and a large sample drawing, S4, finishing linear marking, angle marking, pile number marking and elevation marking in the two-dimensional engineering drawing, S5, automatically adding a design description and an engineering information table, S6, performing consistency verification on the model and the drawing, improving design efficiency and standardization degree, and guaranteeing data consistency.

Inventors

  • NIU SHUAI
  • SONG KAI
  • WANG YONGYI
  • LI WENJING
  • LIU PENG
  • ZHU YINGZI
  • HE CHENGBO
  • JIA HONGFEI
  • LI BINYU
  • REN YUTING
  • ZHAO FUGUI
  • WANG CHAO
  • SONG RUIXIANG
  • REN TIANWEI
  • XU GUIBIN

Assignees

  • 中国电建集团北京勘测设计研究院有限公司

Dates

Publication Date
20260508
Application Date
20260129

Claims (10)

  1. 1. The three-dimensional drawing method of the water delivery system monomer building is characterized by comprising the following steps of: S1, constructing a standardized engineering drawing template, and simultaneously constructing a mapping relation between a three-dimensional model and the standardized engineering drawing template; s2, determining a standardized engineering drawing template matched with the three-dimensional model according to the three-dimensional model of the building and related parameters from a database and according to the mapping relation between the three-dimensional model and the standardized engineering drawing template; s3, developing a drawing by using the standardized engineering drawing template to generate a two-dimensional engineering drawing containing all views, wherein the two-dimensional engineering drawing comprises six views, a view plane drawing, a cross-sectional view and a large sample drawing; S4, finishing linear marking, angle marking, pile number marking and elevation marking in the two-dimensional engineering drawing; s5, automatically adding a design description and an engineering information table; and S6, carrying out consistency verification on the model and the drawing.
  2. 2. The three-dimensional drawing method for a single building of a water delivery system according to claim 1, wherein S1 specifically comprises the following steps: s11, a standardized engineering drawing template is manufactured in a drawing template library in advance according to engineering specification definition, wherein the standardized engineering drawing template comprises a drawing frame size, a title bar format, a drawing layer naming standard, a line style, a line width style and an annotation style, and is used as a standard component for storage and management; S12, pre-storing the standardized engineering drawing template in a designated position of a server, establishing a mapping relation between the three-dimensional model and the standardized engineering drawing template, and storing the mapping relation in a database, wherein when a new drawing is generated, the system automatically downloads the corresponding standardized engineering drawing template into a storage path of the three-dimensional model, and ensures that the corresponding three-dimensional model and the standardized engineering drawing are bound, so that a linked model-drawing file set is formed.
  3. 3. The three-dimensional drawing method for a single building of a water delivery system according to claim 1, wherein S3 comprises the following steps: S31, generating six views according to set positions and sequences, wherein the six views comprise a front view, a top view, a left view, a right view, a bottom view and a rear view; S32, programming by means of an API interface to generate a view plane diagram; s33, programming by means of an API interface to generate a cross-sectional view; s34, programming by means of an API interface to generate a large sample graph; S35, adding a central line to the symmetrical structural features in the six views, the front view, the cross-sectional view and the large sample view obtained in the steps.
  4. 4. A method for three-dimensional drawing of a water delivery system single building according to claim 3, wherein S32 comprises the steps of: s321, calling an API to generate a main view; S322, by accessing a model database and calculating the relative relation between geometric parameters, calculating the positions of two ends of the cut line, and drawing the cut line in the front view; The coordinates of two ends of the cutting line are (xc-L/2-1, yc) and (xc+L/2+1, yc), wherein (xc, yc) is the position coordinate of the center point C of the cutting line, and L represents the maximum outline size of the cutting position required by the model; S323, obtaining the cutting depth, calling an API to generate a view surface diagram, wherein the cutting depth is obtained by (1) obtaining the default cutting depth, preferably 6.88mm, (2) covering all models, and (3) obtaining the distance from the cutting line to the nearest structural line.
  5. 5. A method for three-dimensional drawing of a water delivery system single building according to claim 3, wherein S33 comprises the steps of: s331, calling an API to generate a main view; s332, calculating a placement point P1 through the offset vector n1 and the rotation matrix m1, wherein the placement point P1 is specifically: the original point of the drawing is O (x 0, y 0), the center point of the drawing, where the cross section is required to be placed, is P2 (x 1, y 1), the offset vector n1=O-P2, the original angle of the cross section is A, the angle of the drawing, where the cross section is required to be placed, is B, the matrix m1=B-A is rotated, then the cross section is moved n1, and the m1 is rotated, so that the cross section can be moved from the original point of the drawing to the place P2; s333, calculating the cutting depth or the cutting line position, calling API (AddSectionView), and generating a cross-sectional view.
  6. 6. The three-dimensional drawing method of a water delivery system monomer building according to claim 1, wherein the linear marking in the step S4 is realized by the following steps: 1) The system obtains key parameters of the model from an associated database according to the specific position and the size range of the view in the drawing, and calculates a set of offset vectors and a set of labeling values of the labeling points by utilizing the key parameters and according to the relative position relation with the center of the cross section; 2) Automatically calculating the placement position of each label through the geometric relationship; 3) And calling the packaged labeling API and the labeling value, and generating the linear labeling at the calculated position.
  7. 7. The three-dimensional drawing method of a water delivery system monomer building according to claim 1, wherein the angle marking in the step S4 is realized by the following steps: 1) The system acquires key parameters of the model from the associated database according to the specific position and the size range of the sectional view in the drawing; 2) Calculating the offset vector of the marking point by utilizing the key parameters according to the relative position relation with the center of the cross section, and automatically calculating the placement position of each marking by the geometric relation; 3) And calculating an angle value, calling the packaged labeling API, and generating a labeling entity at the calculated position.
  8. 8. The three-dimensional drawing method of the water delivery system monomer building according to claim 1, wherein the pile number is marked in the step S4, specifically realized by the following steps: 1) Finding a specific position of a view center point in a drawing by using centor attributes in an API; 2) Acquiring input parameters of a model from an associated engineering database by calling SQLSugar interfaces, and calculating offset vector sets and relative distance sets of all pile numbers; 3) Calculating all pile number positions and pile number values; 4) And calling a graphic API to draw the numerical characters of the stake marks on the stake mark layer in batches.
  9. 9. The three-dimensional drawing method of a water delivery system monomer building according to claim 1, wherein the elevation marking in the step S4 is realized by the following steps: 1) Finding the specific position of the center point of the view by utilizing centor attributes in the API in the drawing; 2) Acquiring input parameters of a model from an associated engineering database by calling SQLSugar interfaces; 3) Calculating all elevation positions and elevation values; 4) And drawing elevation symbols in batches, calling a two-dimensional drawing API, and generating corresponding elevation values.
  10. 10. A three-dimensional drawing system of a water delivery system single building, characterized in that the three-dimensional drawing method of the water delivery system single building is carried out by using the three-dimensional drawing method of any one of claims 1-9, and comprises a first module, a second module, a third module, a fourth module, a fifth module and a sixth module, wherein the first module is used for executing the content in the step S1, the second module is used for executing the content in the step S2, the third module is used for executing the content in the step S3, the fourth module is used for executing the content in the step S4, the fifth module is used for executing the content in the step S5, and the sixth module is used for executing the content in the step S6.

Description

Three-dimensional drawing method and system for single building of water delivery system Technical Field The invention relates to the technical field of three-dimensional drawing, in particular to a three-dimensional drawing method and system for a single building of a water delivery system. Background In the field of engineering design and drawing of single buildings of water delivery systems, the traditional technology mainly relies on two-dimensional CAD software for manual drawing or a semi-automatic workflow with three-dimensional modeling (such as Inventor) separated from two-dimensional drawing. The designer needs to manually construct a building model in three-dimensional modeling software, and then the two-dimensional engineering drawing is created through manual operation, including view projection, cutting position selection, local detail drawing, various dimension labeling and other works. When the three-dimensional model is changed, the corresponding two-dimensional engineering drawing cannot be automatically and synchronously updated, and a designer must repeatedly execute operations such as view updating, labeling correction and the like, so that the efficiency is low, and the drawing and the model are not consistent due to artificial omission. In addition, the effective hierarchical association between the labeling elements and the views in the drawing is lacking, the problem of label dislocation or loss often occurs when the layout of the drawing is adjusted, the standardization of the drawing is highly dependent on personal experience of a designer, and standardized output is difficult to realize. The technical defects commonly cause the outstanding problems of low design efficiency, difficult guarantee of data consistency, insufficient standardization degree and the like, and severely restrict the further improvement of engineering design quality and efficiency. Therefore, it is needed to provide a three-dimensional drawing method and system for a single building of a water delivery system, which, compared with the prior art, improves the design efficiency and standardization level, and ensures the data consistency. Disclosure of Invention The invention solves the technical problems existing in the prior art, and provides a three-dimensional drawing method and system for a single building of a water delivery system. In order to achieve the above purpose, the technical scheme adopted by the invention is as follows: A three-dimensional drawing method of a water delivery system monomer building comprises the following steps: S1, constructing a standardized engineering drawing template, and simultaneously constructing a mapping relation between a three-dimensional model and the standardized engineering drawing template; s2, determining a standardized engineering drawing template matched with the three-dimensional model according to the three-dimensional model of the building and related parameters from a database and according to the mapping relation between the three-dimensional model and the standardized engineering drawing template; s3, developing a drawing by using the standardized engineering drawing template to generate a two-dimensional engineering drawing containing all views, wherein the two-dimensional engineering drawing comprises six views, a view plane drawing, a cross-sectional view and a large sample drawing; S4, finishing linear marking, angle marking, pile number marking and elevation marking in the two-dimensional engineering drawing; s5, automatically adding a design description and an engineering information table; and S6, carrying out consistency verification on the model and the drawing. Further, S1 specifically includes the following steps: s11, a standardized engineering drawing template is manufactured in a drawing template library in advance according to engineering specification definition, wherein the standardized engineering drawing template comprises a drawing frame size, a title bar format, a drawing layer naming standard, a line style, a line width style and an annotation style, and is used as a standard component for storage and management; S12, pre-storing the standardized engineering drawing template in a designated position of a server, establishing a mapping relation between the three-dimensional model and the standardized engineering drawing template, and storing the mapping relation in a database, wherein when a new drawing is generated, the system automatically downloads the corresponding standardized engineering drawing template into a storage path of the three-dimensional model, and ensures that the corresponding three-dimensional model and the standardized engineering drawing are bound, so that a linked model-drawing file set is formed. Further, S3 specifically includes the following steps: S31, generating six views according to set positions and sequences, wherein the six views comprise a front view, a top view, a left view, a right view, a bottom v