Module electrical equipment support manufacturing method
Technical field
The present invention relates to a kind of module electrical equipment support manufacturing method.
Background technology
In today of shipbuilding technology develop rapidly, how to increase work efficiency, the shortening cycle, guarantee the accuracy of workmanship and drawing to greatest extent, all be the target that each shipyard and Ship Design company are pursued all the time.
Summary of the invention
The object of the present invention is to provide a kind of quick and easy, the module electrical equipment support manufacturing method of good working effect.
Technical solution of the present invention is:
A kind of module electrical equipment support manufacturing method, comprise drawing generation, carry out manufacturing step according to the drawing that generates, it is characterized in that: the generation of described drawing comprises the following steps:
(1) obtains the outfititem of user's needs according to segmentation;
(2) obtain all component information of each outfititem;
(3) according to the component information of each outfititem identical outfititem is sorted out, and further sorted out according to user's wish;
(4) pass through the needed drawing of Software Create user according to user's classification.
Step (3) adopts computing machine to carry out, specifically comprise by choosing " outfititem type " and filling in " module title ", click " search " button, use the tribon database data to derive module, extraction meets the outfititem code name of user's initial conditions and derives the component information of each outfititem, the title of qualified each outfititem of search, be placed among the TreeView1, in program, create python " dictionary ", the outfititem information that derives is write " dictionary ", use these information with convenient after in this operational process, avoid repeatedly the process from tribon database extracted data;
By " adding all " button, with the component information of outfititems all among the Treeview1 according to each outfititem, the identical outfititem of all parts information is categorized in together and adds among the Treeview2, empty simultaneously Treeview1, the user edits the grouping situation of Treeview2 by " interpolation ", " removing ", " removing all ", " newly-built group ", " deletion group ", " rename group ", " acquiescence is set " button, makes the realistic needs of publishing picture of grouping situation.
The concrete steps of step (4) are: the typical figure that will make in advance is kept in " SBD_PICT " database of tribon, the typical figure packet name is used the title of typical figure subpicture, directly call this subpicture by program, be placed in the drawing of generation and with the code name of outfititem, the title of outfititem and be added on the drawing of generation; All component information and grouping situation according to each fitting-out parts code name, outfititem title, each outfititem, application program inserts the view of model in drawing, fill in outfititem code name, outfititem title and component information in the position of appointment, generate drawing.
The present invention is quick and easy, good working effect.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 is the process flow diagram of one embodiment of the invention.
Fig. 2, Fig. 3, Fig. 4 are the surface charts of software different conditions.
Embodiment
A kind of module electrical equipment support manufacturing method, comprise drawing generation, carry out manufacturing step according to the drawing that generates, the generation of described drawing comprises the following steps:
(1) obtains the outfititem of user's needs according to segmentation;
(2) obtain all component information of each outfititem;
(3) according to the component information of each outfititem identical outfititem is sorted out, and further sorted out according to user's wish;
(4) pass through the needed drawing of Software Create user according to user's classification.
Step (3) adopts computing machine to carry out, and specifically comprises according to process flow diagram, needs first to use wxpython to make an interface in order to allow the user input the tribon model of publishing picture and the relevant drawing information of their needs, and the interface as shown in Figure 2; By choosing " outfititem type " and filling in " module title ", click " search " button, use the tribon database data to derive module, extraction meets the outfititem code name of user's initial conditions and derives the component information of each outfititem, the title of qualified each outfititem of search, be placed among the TreeView1, in program, create python " dictionary ", the outfititem information that derives is write " dictionary ", with convenient these information that in this operational process, uses later, avoid repeatedly from the process of tribon database extracted data, this step operation result as shown in Figure 3;
By " adding all " button, with the component information of outfititems all among the Treeview1 according to each outfititem, the identical outfititem of all parts information is categorized in together and adds among the Treeview2, empty simultaneously Treeview1, the user edits the grouping situation of Treeview2 by " interpolation ", " removing ", " removing all ", " newly-built group ", " deletion group ", " rename group ", " acquiescence is set " button, makes the realistic needs of publishing picture of grouping situation.
The concrete steps of step (4) are: the typical figure that will make in advance is kept in " SBD_PICT " database of tribon, the typical figure packet name is used the title of typical figure subpicture, directly call this subpicture by program, be placed in the drawing of generation and with the code name of outfititem, the title of outfititem and be added on the drawing of generation; Process editor's packet interface as shown in Figure 4; All component information and grouping situation according to each fitting-out parts code name, outfititem title, each outfititem, application program inserts the view of model in drawing, fill in outfititem code name, outfititem title and component information in the position of appointment, generate drawing.