CN102360395B - Method for batch drawing unfolded drawing of trapezoid decorating plate in batch for curtain wall - Google Patents

Method for batch drawing unfolded drawing of trapezoid decorating plate in batch for curtain wall Download PDF

Info

Publication number
CN102360395B
CN102360395B CN201110295138.5A CN201110295138A CN102360395B CN 102360395 B CN102360395 B CN 102360395B CN 201110295138 A CN201110295138 A CN 201110295138A CN 102360395 B CN102360395 B CN 102360395B
Authority
CN
China
Prior art keywords
definition
point
data
parameter
variable
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.)
Active
Application number
CN201110295138.5A
Other languages
Chinese (zh)
Other versions
CN102360395A (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.)
Shenyang Yuanda Aluminium Industry Group Co Ltd
Original Assignee
Shenyang Yuanda Aluminium Industry Group Co Ltd
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 Shenyang Yuanda Aluminium Industry Group Co Ltd filed Critical Shenyang Yuanda Aluminium Industry Group Co Ltd
Priority to CN201110295138.5A priority Critical patent/CN102360395B/en
Publication of CN102360395A publication Critical patent/CN102360395A/en
Application granted granted Critical
Publication of CN102360395B publication Critical patent/CN102360395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a method for batch drawing an unfolded drawing of a trapezoid decorating plate for a curtain wall. Primary data is directly introduced into an EXCEL, the parametric forms of a corresponding drawing are four side lengths, a diagonal length, a corresponding plate number and a drawing number, the data are required to be arranged sequentially, each row is a data, the first row is parameter sign row, and the method adopts a dialog box mode to carry out parameter adjustment. In a parameter adjustment process, a mode of drag is adopted in a window of a software program, the data is directly introduced into the EXCEL, a graph paper is output in CAD (Computer-Aided Design), a parameter drawing and an electronic drawing with the proportion of 1 to 1 are automatically generated, and parameters corresponding to a technological parameter drawing are returned to the right side of data selected in the EXCEL and are attached with parameter name rows. Compared with other existing methods, according to the invention, a process of converting forming parameters to a technological unfolded drawing is simplified, the manual operation in an operation process is greatly reduced, the influence caused by human error can be relatively reduced, and the efficiency for batch converting the parameters to the unfolded drawing is improved.

Description

A kind of method for drafting for curtain wall irregular quadrilateral decorative panel batch stretch-out view
Technical field
The invention belongs to panel beating technology and computer drawing technology field, particularly a kind of method for drafting for curtain wall irregular quadrilateral decorative panel batch stretch-out view.
Background technology
For the sheet-metal unfolding of irregular quadrilateral plate in enormous quantities, the method for using is generally the driving parameter function adopting in mapping software and realizes at present, and required step greatly most copies to original number mapping software and drives in parameter list; By data with in mapping software, drive size corresponding; In same engineering drawing, insert a plurality of views; The corresponding part name of each view is driven to the part name in parameter list instead; Engineering drawing is converted into CAD form; Editor drives parameter, and the technological parameter of generation is copied out from drive parameter.This method step in operating process is more, has increased the possibility of maloperation, long and easily appearance omission consuming time when generation figure is more.
Summary of the invention
The problem existing for prior art, the invention provides a kind of method for drafting for curtain wall irregular quadrilateral decorative panel batch stretch-out view.The method comprises the following steps:
1. define four vertex data arrays of case plate;
2. be box plate apex coordinate assignment;
3. definition deposits box plate four limit side-play amount arrays in;
4. side-play amount array value is pressed to bias internal in box plate four limits, the apex coordinate after skew is put back to box plate vertical array again;
5. definition deposits the array on flange summit in;
6. be each summit assignment of flange;
7. define mirror point;
8. be mirror point assignment;
9. pair flange is respectively pressed mirror point and is carried out mirror to operation;
10. check whether flange point has new extreme value variable, if put into extreme point variable;
Rate variable the initialize of 11. definition Y-directions;
Rate variable the initialize of 12. definition directions Xs;
13. definition global proportionality variable initializes;
14. definition insertion point, the figure lower left corner assignment;
15. each point coordinate of flange move on to position, figure insertion point;
16. definition deposit the variable of extreme point in;
17. is extreme point variable initialize;
18. definition are deposited the array on four summits of bending line and four apex coordinates in flange inner side are assigned to this array;
19. each point coordinate of flange in CAD to specify linear color to draw closed line;
20. definition bending line each limit side-play amount assignment;
21. arrive physical location by existing bending line coordinate offset;
22. draw bending line in CAD;
23. add length and width size marking;
24. add " backboard face " word
25. add A3 standard picture frame;
Increment is added in 26. figure insertion points, realizes figure and upwards arranges successively;
27. definition deposit variable the assignment of return parameters in;
28. return to rreturn value;
29. exit base box plate plotter program HB.
The present invention adopts computing machine Microsoft VBA and LISP, under Windows operating system, in CAD2007 version, moves.Wherein LISP exploitation part is mainly used in loading VBA module and the order of definition CAD order line, and VBA exploitation part has been responsible for all the other operation parts in program.Method of the present invention by directly introducing raw data in EXCEL, the parametric form of corresponding figure is four edges and diagonal line length, respective panels number, figure number, requirement data are arranged in order, data of each behavior, and the first behavioral parameters label are capable, method of the present invention adopts dialog box form to carry out parameter adjustment.In parameter adjustment process, adopt the form pulling in the window of software program, to tackle the uncertain situation of graph parameter title that is shaped in actual use, direct reference data in EXCEL, in CAD, export drawing, automatically generate Parameter Map and 1:1 electronic chart, and realized insert picture frame and conversion picture frame ratio typesetting operation (as without picture frame corresponding blocks, do not insert picture frame), finally the corresponding parameter of technological parameter figure is turned back to selected data right side in EXCEL, and with parameter name row, avoided to the full extent by forming parameter to the mistake that may occur in technique stretch-out view conversion process.Provided by the present invention a kind of for curtain wall irregular quadrilateral decorative panel in batches the method for drafting of stretch-out view and existing additive method simplified in comparison by forming parameter to technique stretch-out view conversion process, when operating, greatly reduced manually-operated part, can relatively reduce the impact that human error produces, improve the batch transformation efficiency to stretch-out view by parameter.
Accompanying drawing explanation
Fig. 1 the inventive method process flow diagram;
Fig. 2 the inventive method operational flowchart;
Fig. 3 the inventive method window operation process flow diagram;
Fig. 4 is used the input data forms figure of the embodiment of the inventive method;
Fig. 5 is used the stretch-out view generating of the embodiment of the inventive method;
Fig. 6 is used the technological parameter figure generating of the embodiment of the inventive method.
Embodiment
The inventive method directly unzips to Software Compression bag under computing machine D packing catalogue while using.Selection tool/AutoLisp/ loading application programs in CAD menu, in " box plate " file of selecting previous step solution to extrude, " load " the file loading backed off after random with .lsp, input HB order in CAD order line after, eject dialog box, first in EXCEL, select raw data, every data are a line, data content is the plate number of box plate, figure number, four edges is long amounts to 7 parameters with a diagonal line length, and the first behavior row of labels, after choosing data, switch back CAD, in dialog box, click " loading data label " button, the bookmark name that is about to corresponding data is loaded in list box, with mouse, label is dragged in corresponding size, after adding on demand all the other contents, click " generation " button exits dialog box, prompting " picking up insertion point " in CAD order line, after pickup point, in relevant position, generate stretch-out view and upwards arrange successively.
Below in conjunction with accompanying drawing, content of the present invention is done into specific descriptions.
The method of spreading sheet metal of the batch irregular quadrilateral plate that this software program is realized mainly completes by following four key steps, load, show user interface windows and complete parameter input and sequentially adjust and call base box plate plotter program and draw by user interface windows, close user interface windows and exit.Program overview flow chart of the present invention as shown in Figure 1.
Step 1: load.Load " loading .lsp " file, by program file
(vl-vbaload " D :/box plate/box plate module .dvb ")
Statement is by D :/box plate/box plate module .dvb module loading is in current C AD.
Step 2: show user interface windows.By in program file
(defun?c:HB()
(vl-vbarun"HB1")
)
" HB1 " process in load-on module is called in a statement definition CAD order " HB " in this order.The entry process that box plate drawing function calls in " D :/box plate/box plate module .dvb " is HB1 (), and its content is
Sub?HB1()
UserForm1.Show
Unload?UserForm1
End?Sub
Wherein UserForm1.Show is for the dialog box having loaded is shown, and Unload UserForm1 unloads dialog box for after having operated.
Step 3: complete parameter input and sequentially adjust and call base box plate plotter program HB and draw by user interface windows UserForm1.Fig. 2 is user window operational flowchart.
Concrete operations are as follows: in Excel, select data, data by rows, are with header line during selection; Point " loading data label " button can will choose the header line data of data to be loaded in list box in Excel; Data label in drag and drop list box is to parameter tags corresponding in picture; Depending on moulding figure situation, select mirror to radio button; After clicking " generation " button, at CAD command-line prompt, select figure insertion point, the data that point be take in Excel after getting are drawn as input parameter calls base box plate plotter program, at correspondence position, generate figure, and Fig. 3 is the process flow diagram of base box plate plotter program HB; Input all the other engineering names, half extends, and flange is high, expects the parameters such as thick, material.
The operating process of base box plate plotter program HB is specific as follows:
1. define case four vertex data array Dim Myloop1 of plate (1To4) As My_Point, wherein My_Point is for depositing the X of a point, Y, tri-coordinates of Z;
2. be the defined box plate of step 1 apex coordinate assignment;
3. definition deposits box plate four limit side-play amount array Dim Myoff1 (1to4) As Double in.
Box plate four limits by side-play amount by array value Myloop1 to bias internal, the apex coordinate after skew is put back in box plate vertical array Myoff1 again, invoked procedure Off_Loop (Myloop1, Myoff1);
5. definition deposits array Dim FanBian1 (1To12) the As My_Point on flange summit in.
6. be flange each summit assignment FanBian1 (1)=Myloop1 (1)
7. define mirror point Dim Mirr_p1As My_Point.
8. be mirror point assignment Mirr_p1=My_mid_Point (FanBian1 (2), FanBian1 (3)).Wherein function My_mid_Point returns to 2 FanBian1 (2), the mid point of FanBian1 (3);
9. pair flange is respectively pressed mirror point and is carried out mirror to operation Call mirr_loop (FanBian1, Mirr_p1, Mirr_p2).
Process mirr_loop is for will represent that polygonal some array FanBian1 prolongs mirror to line Mirr_p1, Mirr_p2 point mirror to;
10. check whether flange point has new extreme value variable, if put into extreme point variable, invoked procedure Call GetMax_min(), process GetMax_min is placed in MyXL for the polygon myloop () of an array representation being had to the point of extreme value;
Rate variable the initialize of 11. definition Y-directions;
Rate variable the initialize of 12. definition directions Xs;
13. definition global proportionality variable initializes;
14. definition insertion point, the figure lower left corner assignment;
15. each point coordinate of flange move on to position, figure insertion point, invoked procedure mov_loop_vector.
Call?mov_loop_vector(FanBian1,MYINSERT_POITN1)。This process, for X, the Y of point each point coordinates of array myloop () and vector M YINSERT_POITN1, Building Z mark are added, realizes the translation of some array;
16. definition deposit the variables D im L_H_Point As My_X1_Point of extreme point in;
17. is extreme point variable initialize;
18. definition four summits of bending line are also assigned to this array four apex coordinates in flange inner side;
19. each point coordinate of flange in CAD to specify linear color to draw closed line, invoked procedure line_loop,
Call line_loop (FanBian1, 〞 continuous 〞, acGreen, 1, True), this process is the line style continuous with appointment by the polygon FanBian1 of an array representation, face look acGreen, linetype scale 1 draws;
20. definition bending line each limit side-play amount assignment;
21. arrive physical location by existing bending line coordinate offset;
22. draw bending line in CAD;
23. add length and width size marking, and Call My_AddDimRotated is used for adding corner by specified point and marks,
Process My_AddDimRotated adds corner mark between a First_Point and some Second_Point, and locationP is mark text point, and angle is corner label direction angle, and myfactor is mark ratio;
24. add " backboard face " word, by Call My_AddText assigned address point of addition in CAD,
Process My_AddText is the middle text that adds in CAD current active document, and DrawingNo is content of text, and DrawingNo is word height, and W_Factor is spread factor.
25. add A3 standard picture frame, invoked procedure My_Add_A3, process My_Add_A3 is for adding A3 picture frame at CAD current active document, My_insertPoint is insertion point, My_Factor is picture frame ratio, GCMC is title block engineering name, TM is title block designation of drawing, DrawNo is figure number, the drawing ratio that BL title block is added, CAILIAO is the material that title block is added, SHULIAN is the quantity that title block is added, GJY is the interior page altogether that title block is added, and DJY is which page that title block is added;
Increment is added in 26. figure insertion points, realizes figure and upwards arranges successively;
27. definition deposit variable the assignment of return parameters in;
28. return to rreturn value to HB=My_X1 and exit base box plate plotter program HB.
Step 4: the Unload UserForm1 order in the process HB1 () in invocation step two is closed user interface windows and exits.
Embodiment
Below by for example the present invention being applied to one group of concrete parameter, generate figure and return to process parameter value in EXCEL table, carry out more detailed explanation application process of the present invention.
1. in EXCEL table, select the parameter that will input, as table 1;
Plate number Figure number AL1 BL2 CL3 DL4 EL5
B25 PJG25 101 105 103 104 121
B26 PJG26 108 102 110 104 125
B27 PJG27 101 108 104 107 105
B28 PJG28 106 102 103 107 105
B29 PJG29 101 100 103 120 105
Table 1
2. after choosing data, switch back CAD, in dialog box, click " loading data label " button, the bookmark name that is about to corresponding data is loaded in list box, with mouse, label is dragged to input data with in the corresponding size in forms, input data with forms as shown in Figure 4, are added all the other contents on demand;
3. click " generation " button and exit dialog box, prompting " picking up insertion point " in CAD order line, generates stretch-out view a, b, c, d, e, f and upwards arranges successively in relevant position after pickup point, and the figure generating as shown in Figure 5; Fig. 6 is generated technological parameter figure;
4. finally the corresponding parameter of technological parameter figure is turned back to selected data right side in EXCEL, and with parameter name row, as shown in table 2.
Table 2

Claims (1)

1. for a method for drafting for curtain wall irregular quadrilateral decorative panel batch stretch-out view, the method adopts EXCEL and CAD software to carry out, and by directly input data in EXCEL, exports drawing in CAD, it is characterized in that carrying out according to the following steps:
Step 1, selection parameter also load, in EXCEL, select raw data, every data are a line, data content be plate number, figure number, the four edges of box plate long with 7 parameters of a diagonal line length, and the first behavior row of labels, loads the above-mentioned raw data of selecting by EXCEL by CAD;
Step 2, the parameter of carrying out are inputted with order and are adjusted
By user interface windows UserForml, completing parameter input adjusts with order;
Step 3, call base box plate plotter program HB and draw;
Comprise the following steps:
(1) four vertex data arrays of definition case plate;
(2) be box plate apex coordinate assignment;
(3) definition deposits box plate four limit side-play amount arrays in;
(4) side-play amount array value is pressed to bias internal in box plate four limits, the apex coordinate after skew is put back to box plate vertical array again;
(5) definition deposits the array on flange summit in;
(6) be each summit assignment of flange;
(7) definition mirror point;
(8) be mirror point assignment;
(9) flange is respectively pressed to mirror point and carry out mirror to operation;
(10) check whether flange point has new extreme value variable, if put into extreme point variable;
(11) rate variable the initialize of definition Y-direction;
(12) rate variable the initialize of definition directions X;
(13) definition global proportionality variable initialize;
(14) definition insertion point, the figure lower left corner assignment;
(15) each point coordinate of flange is moved on to position, figure insertion point;
(16) definition deposits the variable of extreme point in;
(17) be extreme point variable initialize;
(18) definition is deposited the array on four summits of bending line and four apex coordinates in flange inner side is assigned to this array;
(19) each point coordinate of flange in CAD to specify linear color to draw closed line;
(20) each limit side-play amount assignment of definition bending line;
(21) existing bending line coordinate offset is arrived to physical location;
(22) in CAD, draw bending line;
(23) add length and width size marking;
(24) add " backboard face " word;
(25) add A3 standard picture frame;
(26) increment is added in figure insertion point, realize figure and upwards arrange successively;
(27) definition deposits variable the assignment of return parameters in;
(28) rreturn value is returned;
(29) exit base box plate plotter program HB;
Step 4, close user interface windows and exit.
CN201110295138.5A 2011-09-29 2011-09-29 Method for batch drawing unfolded drawing of trapezoid decorating plate in batch for curtain wall Active CN102360395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110295138.5A CN102360395B (en) 2011-09-29 2011-09-29 Method for batch drawing unfolded drawing of trapezoid decorating plate in batch for curtain wall

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110295138.5A CN102360395B (en) 2011-09-29 2011-09-29 Method for batch drawing unfolded drawing of trapezoid decorating plate in batch for curtain wall

Publications (2)

Publication Number Publication Date
CN102360395A CN102360395A (en) 2012-02-22
CN102360395B true CN102360395B (en) 2014-03-26

Family

ID=45585723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110295138.5A Active CN102360395B (en) 2011-09-29 2011-09-29 Method for batch drawing unfolded drawing of trapezoid decorating plate in batch for curtain wall

Country Status (1)

Country Link
CN (1) CN102360395B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103400387B (en) * 2013-08-06 2018-10-09 上海合合信息科技发展有限公司 The method and device of line segment absorption in the picture, constructs the method and device of polygon
CN110210063B (en) * 2019-04-29 2023-05-02 广东工业大学建筑设计研究院 Method for quickly generating building elevation based on CAD
CN111796868B (en) * 2020-07-07 2023-10-27 无锡中粮工程科技有限公司 Method for realizing interaction of CAD enhanced attribute block and Excel data
CN113051885B (en) * 2021-04-08 2022-06-21 上海市城市建设设计研究总院(集团)有限公司 AutoCAD-based design drawing rapid typesetting method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024077A (en) * 2010-11-26 2011-04-20 江苏省交通科学研究院股份有限公司 Engineering drawing processing method
CN102194242A (en) * 2011-05-12 2011-09-21 镇江科大船苑计算机网络工程有限公司 Multi-object modification computer-aided drawing method of mechanical brand watch labels

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024077A (en) * 2010-11-26 2011-04-20 江苏省交通科学研究院股份有限公司 Engineering drawing processing method
CN102194242A (en) * 2011-05-12 2011-09-21 镇江科大船苑计算机网络工程有限公司 Multi-object modification computer-aided drawing method of mechanical brand watch labels

Also Published As

Publication number Publication date
CN102360395A (en) 2012-02-22

Similar Documents

Publication Publication Date Title
Satyanarayan et al. Critical reflections on visualization authoring systems
US7661071B2 (en) Creation of three-dimensional user interface
US10691883B2 (en) Infinite canvas
US8312367B2 (en) Technique for dynamically sizing columns in a table
US7685519B1 (en) Process and apparatus for providing a customizable content tooltip
US7984383B2 (en) Apparatus and method for using a panel layout to consolidate dynamic and interactive graphics representative of input and output data
US20220143859A1 (en) Device, system and method for making custom printed products
US20170039179A1 (en) Multiple object types on a canvas
US7600198B2 (en) Method of tracking data objects using related thumbnails in a palette window
CN102360395B (en) Method for batch drawing unfolded drawing of trapezoid decorating plate in batch for curtain wall
US9015631B2 (en) Animated icons to preview transformations related to 3D models
US20070208464A1 (en) System and method of interactively compiling a database for an in-vehicle display device
US7600193B2 (en) Method of tracking dual mode data objects using related thumbnails and tool icons in a palette window
CN102939612A (en) Merging modifications to user interface components while preserving user customizations
US10289671B2 (en) Graphically displaying selected data sources within a grid
WO1998011511A9 (en) Method and apparatus for producing a computer generated display that permits visualization of changes in the interior or exterior of a building structure shown in its actual environment
WO1998011511A1 (en) Method and apparatus for producing a computer generated display that permits visualization of changes in the interior or exterior of a building structure shown in its actual environment
US10083525B2 (en) Multi-dimensional color and opacity gradation tools, systems, methods and components
JP2009508227A (en) Browse mode designer
CN107562706A (en) Self-defined ticket templates method and system
CN1687966A (en) Method for extracting graph image data information
CN113760287A (en) Form creating method and device based on JSON structure
US20150042675A1 (en) Pattern Based Design Application
US8887073B2 (en) Reshaping interfaces using content-preserving warps
CN116452756A (en) Three-dimensional scene local automatic generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant