The disposal route that three-dimensional rebar model is hidden and shown
Technical field
The present invention relates to for three-dimensional reinforcing bar models show and hiding disposal route.
Background technology
Reinforcement drawing is the arrangement of reinforcement situation of description scheme, is the foundation that unit in charge of construction carries out reinforcement construction, and it is very big that skill executes design phase reinforcement drawing workload.But in three-dimensional rebar model, when all being shown by all reinforcing bars, model is too intensive cannot differentiate the information such as the quantity shape of reinforcing bar group, examines work bring very large difficulty to model school.And common hidden function is by all reinforcing bar object Hide Alls of whole reinforcing bar group, do not examine custom with rebar model school and combine, designer cannot be judged, and whether the result of reinforcing bar cloth muscle meets the demands.
From disclosed document and data, not yet find the method for spatially rebar model being carried out to aobvious recessive management at three-dimensional model.And along with the continuous increase of number of steel bars and kind, the workload that its model school is examined and managed is huge, add engineering structure and the continuous redjustment and modification of rebar model, no matter be to the restriction of calculating internal memory, display speed, or workload is examined in model school and difficulty is examined in school, is all huge challenge.Thus exploitation efficiently can process the display of three-dimensional rebar model and hide, and the method realizing showing for the rebar model of multiple requirement recessive management is particularly important.
Summary of the invention
The object of the invention is to solve the problem that there is no the method for spatially rebar model being carried out to aobvious recessive process at three-dimensional model at present.
For achieving the above object, the invention provides the disposal route that a kind of three-dimensional rebar model is hidden and shown, comprising the steps:
A. select to need to carry out reinforcing bar group that is hiding and Graphics Processing according to numbering, determine that type is hidden in reinforcing bar display Stealth Modus and reinforcing bar display;
B. set up reinforcing bar display and hide array, to go forward side by side line ordering according to numbering search reinforcing bar, aobvious recessive according to difference display Stealth Modus determination reinforcing bar object;
C. aobvious hidden mark is carried out to the reinforcing bar object in reinforcing bar group, and the aobvious hidden mark of reinforcing bar object is stored in the hiding array of display;
D. hide the corresponding relation of array and reinforcing bar object according to reality, reinforcing bar is shown and hides process.
Particularly, in steps A, described reinforcing bar display Stealth Modus comprises following five kinds:
(1) by the three-dimensional reinforcing bar object of first and last end radical show or hide, user can arrange the radical of head end or end display, and it is hiding to carry out display to appointment reinforcing bar group;
(2) by the three-dimensional reinforcing bar object of radical spacing show or hide, user can setting space radical, and it is hiding to carry out display to appointment reinforcing bar group;
(3) by the three-dimensional reinforcing bar object of designated root number show or hide, user can arrange the reinforcing bar radical of show or hide, and it is hiding to carry out display to appointment reinforcing bar group;
(4) by the three-dimensional reinforcing bar object of arrangement of reinforcement scope show or hide, user can select the reinforcing bar scope of show or hide, and this function is only carried out display to appointment reinforcing bar group and hidden;
(5) all in show or hide reinforcing bar group three-dimensional reinforcing bar objects, can carry out display to appointment reinforcing bar group and hide.
Particularly, in steps A, described reinforcing bar display is hidden type and is comprised reinforcing bar axis, reinforcing bar entity and reinforcing bar axis and reinforcing bar entity and arrange simultaneously and to show and hiding.
Particularly, to determine that reinforcing bar object shows recessive concrete grammar as follows for step B:
(1) as follows by the step of the hiding reinforcing bar of first and last end radical display:
A. set up reinforcing bar display and hide array;
B. from three-dimensional rebar model, search for the three-dimensional reinforcing bar object in this cloth muscle interval, add display and hide array and sort according to locus and rise time, set up the corresponding relation of array and three-dimensional reinforcing bar object;
C. the aobvious hidden status indicator of three-dimensional reinforcing bar object: suppose a total K root reinforcing bar in selected reinforcing bar group, head end need hide a root reinforcing bar, and end need hide b root reinforcing bar.So according to arrangement of bar order, the first to a root reinforcing bar and K-b+1 will be designated hiding reinforcing bar to K root reinforcing bar, join hiding array, and residue (K-a-b) root reinforcing bar is designated display reinforcing bar, joins display array;
D. according to the corresponding relation of array and three-dimensional reinforcing bar object, traversal array, shows three-dimensional reinforcing bar object and hides process;
E. the process of step a to steps d is carried out to the reinforcing bar object in all cloth muscle intervals;
(2) as follows by the step of the hiding reinforcing bar of radical spacing display:
A. set up reinforcing bar display and hide array;
B. from three-dimensional rebar model, search for the three-dimensional reinforcing bar object in this cloth muscle interval, add display and hide array and sort according to locus and rise time, set up the corresponding relation of array and three-dimensional reinforcing bar object;
C. the aobvious hidden status indicator of three-dimensional reinforcing bar object: suppose a total K root reinforcing bar in selected reinforcing bar group, arrange and hide three-dimensional reinforcing bar object according to every d root reinforcing bar as spacing.So according to arrangement of bar order, first, [1+ (1+d)] root, [1+2* (1+d)] root ... .. [1+n* (1+d)] will be designated hiding reinforcing bar and join hiding array, residue (K-n-1) root reinforcing bar is designated display reinforcing bar, join display array, wherein, n is positive integer, and [1+n* (1+d)] <=K;
D. according to the corresponding relation of array and three-dimensional reinforcing bar object, traversal array, shows three-dimensional reinforcing bar object and hides process;
E. the process of step a to steps d is carried out to the reinforcing bar object in all cloth muscle intervals;
(3) show that the step of hiding reinforcing bar is as follows by designated root digital display,
A. set up reinforcing bar display and hide array;
B. from three-dimensional rebar model, search for the three-dimensional reinforcing bar object in this cloth muscle interval, add display and hide array and sort according to locus and rise time, set up the corresponding relation of array and three-dimensional reinforcing bar object;
C. the aobvious hidden status indicator of three-dimensional reinforcing bar object: suppose a total K root reinforcing bar in selected reinforcing bar group, the three-dimensional reinforcing bar object radical that arranging needs altogether to hide is n root, round if a is K/n, c is K/n remainder, b is that c/2 rounds, so according to arrangement of bar order, (b+1) root, (a+b+1) root ... [(n-1) a+b+1] root reinforcing bar will be designated hiding reinforcing bar, join hiding array, residue (K-n) root reinforcing bar is designated display reinforcing bar, joins display array;
D. according to the corresponding relation of array and three-dimensional reinforcing bar object, traversal array, shows three-dimensional reinforcing bar object and hides process;
E. the process of step a to steps d is carried out to the reinforcing bar object in all cloth muscle intervals;
(4) as follows by the step of the hiding reinforcing bar of arrangement of reinforcement scope display:
A. set up reinforcing bar display and hide array;
B. from three-dimensional rebar model, search for the three-dimensional reinforcing bar object in this cloth muscle interval, add display and hide array and sort according to locus and rise time, set up the corresponding relation of array and three-dimensional reinforcing bar object.
C. the aobvious hidden status indicator of three-dimensional reinforcing bar object: suppose a total K root reinforcing bar in selected reinforcing bar group, hidden object is needed to be the three-dimensional reinforcing bar object of this reinforcing bar group between a root and b root, so according to arrangement of bar order, a root, (a+1) root ... b root will be designated hiding reinforcing bar, join hiding array, residue [K-(b-a+1)] root reinforcing bar is designated display reinforcing bar, joins display array, wherein a<b;
D. according to the corresponding relation of array and three-dimensional reinforcing bar object, traversal array, shows three-dimensional reinforcing bar object and hides process;
E. the process of step a to steps d is carried out to the reinforcing bar object in all cloth muscle intervals;
(5) step of all in the hiding reinforcing bar group of display reinforcing bars is as follows:
A. set up reinforcing bar display and hide array;
B. from three-dimensional rebar model, search for the three-dimensional reinforcing bar object in this cloth muscle interval, add display and hide array and sort according to locus and rise time, set up the corresponding relation of array and three-dimensional reinforcing bar object.
C. the aobvious hidden status indicator of three-dimensional reinforcing bar object: in selected reinforcing bar group, all reinforcing bars will be designated hiding reinforcing bar, join hiding array;
D. according to the corresponding relation of array and three-dimensional reinforcing bar object, traversal array, shows three-dimensional reinforcing bar object and hides process;
E. the process of step a to steps d is carried out to the reinforcing bar object in all cloth muscle intervals.
The present invention determines according to the specification of civil engineering structure to show the form hidden and arrange, and carry out the aobvious recessive setting of reinforcing bar fast, the three-dimensional rebar model of display directly perceived more, improves the knowledge figure of three-dimensional reinforcing bar, school is examined and the efficiency of management.
Below in conjunction with drawings and Examples, technical scheme of the present invention is further described, it should be noted that embodiment is only used to help reader to understand technical conceive of the present invention better, not in order to limit right of the present invention protection domain on request.
Accompanying drawing explanation
Fig. 1 is that the three-dimensional reinforcing bar models show of the embodiment of the present invention hides setting procedure figure.
Embodiment
The present invention is directed in current work progress, the problem causing model school to examine operational difficulties because reinforcing bar cloth muscle is intensive, the disposal route that a kind of three-dimensional rebar model is hidden and shown is provided, first the method comprises the steps:, select to need to carry out reinforcing bar group that is hiding and Graphics Processing according to numbering, determine that type is hidden in reinforcing bar display Stealth Modus and reinforcing bar display.Secondly, set up reinforcing bar display and hide array, to go forward side by side line ordering according to numbering search reinforcing bar, aobvious recessive according to difference display Stealth Modus determination reinforcing bar object.Then, aobvious hidden mark is carried out to the reinforcing bar object in reinforcing bar group, and the aobvious hidden mark of reinforcing bar object is stored in the hiding array of display.Finally, hide the corresponding relation of array and reinforcing bar object according to reality, reinforcing bar is shown and hides process.
Embodiment
Display in arrangement of reinforcement process is hidden to arrange mainly to comprise and is determined reinforcing bar group, display Stealth Modus and reinforcing bar type.According to the above difference traversal reinforcement parameter arranged, by the aobvious recessiveness of algorithm determination reinforcing bar object, queue is hidden in corresponding for reinforcing bar object classification display, realize aobvious hidden setting.Below in conjunction with Fig. 1, the flow process of the disposal route that three-dimensional reinforcing bar of the present invention is hidden and shown is described in detail.
Step one: determine reinforcing bar group
All reinforcing bar groups or particular number reinforcing bar group can be selected as required.
Step 2: determine aobvious implicit mode
According to the convenience that reinforcing bar specification and model use, mainly contain the mode that 5 kinds of reinforcing bar displays are hidden:
(1) by the three-dimensional reinforcing bar object of first and last end radical show or hide, user can arrange the radical of head end or end display, and it is hiding to carry out display to appointment reinforcing bar group;
(2) by the three-dimensional reinforcing bar object of radical spacing show or hide, user can setting space radical, and it is hiding to carry out display to appointment reinforcing bar group.
(3) by the three-dimensional reinforcing bar object of designated root number show or hide, user can arrange the reinforcing bar radical of show or hide, and it is hiding to carry out display to appointment reinforcing bar group.
(4) by the three-dimensional reinforcing bar object of arrangement of reinforcement scope show or hide, user can select the reinforcing bar scope of show or hide, and this function is only carried out display to appointment reinforcing bar group and hidden.
(5) all in show or hide reinforcing bar group three-dimensional reinforcing bar objects, can carry out display to appointment reinforcing bar group and hide
Step 3: determine the reinforcing bar object type needing aobvious hidden process
Can select as required respectively or aobvious hidden setting be carried out to axis reinforcing bar and entity reinforcing bar simultaneously.
Step 4: the reinforcing bar group retrieving this numbering, line ordering of going forward side by side, shows implicit mode determination reinforcing bar object according to difference aobvious recessive.
The number information stored in selected reinforcing bar group is searched out, and according to the arrangement of reinforcing bar order, shows according to difference the aobvious hidden state that implicit mode determines different reinforcing bar object.
(1) as follows by the step of the hiding reinforcing bar of first and last end radical display:
A. set up reinforcing bar display and hide array;
B. from three-dimensional rebar model, search for the three-dimensional reinforcing bar object in this cloth muscle interval, add display and hide array and sort according to locus and rise time, set up the corresponding relation of array and three-dimensional reinforcing bar object;
C. the aobvious hidden status indicator of three-dimensional reinforcing bar object: suppose a total K root reinforcing bar in selected reinforcing bar group, head end need hide a root reinforcing bar, and end need hide b root reinforcing bar.So according to arrangement of bar order, the first to a root reinforcing bar and K-b+1 will be designated hiding reinforcing bar to K root reinforcing bar, join hiding array, and residue (K-a-b) root reinforcing bar is designated display reinforcing bar, joins display array;
D. according to the corresponding relation of array and three-dimensional reinforcing bar object, traversal array, shows three-dimensional reinforcing bar object and hides process;
E. the process of step a to steps d is carried out to the reinforcing bar object in all cloth muscle intervals;
(2) as follows by the step of the hiding reinforcing bar of radical spacing display:
A. set up reinforcing bar display and hide array;
B. from three-dimensional rebar model, search for the three-dimensional reinforcing bar object in this cloth muscle interval, add display and hide array and sort according to locus and rise time, set up the corresponding relation of array and three-dimensional reinforcing bar object;
C. the aobvious hidden status indicator of three-dimensional reinforcing bar object: suppose a total K root reinforcing bar in selected reinforcing bar group, arrange and hide three-dimensional reinforcing bar object according to every d root reinforcing bar as spacing.So according to arrangement of bar order, first, [1+ (1+d)] root, [1+2* (1+d)] root ... .. [1+n* (1+d)] will be designated hiding reinforcing bar and join hiding array, residue (K-n-1) root reinforcing bar is designated display reinforcing bar, join display array, wherein, n is positive integer, and [1+n* (1+d)] <=K;
D. according to the corresponding relation of array and three-dimensional reinforcing bar object, traversal array, shows three-dimensional reinforcing bar object and hides process;
E. the process of step a to steps d is carried out to the reinforcing bar object in all cloth muscle intervals;
(3) show that the step of hiding reinforcing bar is as follows by designated root digital display,
A. set up reinforcing bar display and hide array;
B. from three-dimensional rebar model, search for the three-dimensional reinforcing bar object in this cloth muscle interval, add display and hide array and sort according to locus and rise time, set up the corresponding relation of array and three-dimensional reinforcing bar object;
C. the aobvious hidden status indicator of three-dimensional reinforcing bar object: suppose a total K root reinforcing bar in selected reinforcing bar group, the three-dimensional reinforcing bar object radical that arranging needs altogether to hide is n root, round if a is K/n, c is K/n remainder, b is that c/2 rounds, so according to arrangement of bar order, (b+1) root, (a+b+1) root ... [(n-1) a+b+1] root reinforcing bar will be designated hiding reinforcing bar, join hiding array, residue (K-n) root reinforcing bar is designated display reinforcing bar, joins display array;
D. according to the corresponding relation of array and three-dimensional reinforcing bar object, traversal array, shows three-dimensional reinforcing bar object and hides process;
E. the process of step a to steps d is carried out to the reinforcing bar object in all cloth muscle intervals;
(4) as follows by the step of the hiding reinforcing bar of arrangement of reinforcement scope display:
A. set up reinforcing bar display and hide array;
B. from three-dimensional rebar model, search for the three-dimensional reinforcing bar object in this cloth muscle interval, add display and hide array and sort according to locus and rise time, set up the corresponding relation of array and three-dimensional reinforcing bar object.
C. the aobvious hidden status indicator of three-dimensional reinforcing bar object: suppose a total K root reinforcing bar in selected reinforcing bar group, hidden object is needed to be the three-dimensional reinforcing bar object of this reinforcing bar group between a root and b root, so according to arrangement of bar order, a root, (a+1) root ... b root will be designated hiding reinforcing bar, join hiding array, residue [K-(b-a+1)] root reinforcing bar is designated display reinforcing bar, joins display array, wherein a<b;
D. according to the corresponding relation of array and three-dimensional reinforcing bar object, traversal array, shows three-dimensional reinforcing bar object and hides process;
E. the process of step a to steps d is carried out to the reinforcing bar object in all cloth muscle intervals;
(5) step of all in the hiding reinforcing bar group of display reinforcing bars is as follows:
A. set up reinforcing bar display and hide array;
B. from three-dimensional rebar model, search for the three-dimensional reinforcing bar object in this cloth muscle interval, add display and hide array and sort according to locus and rise time, set up the corresponding relation of array and three-dimensional reinforcing bar object.
C. the aobvious hidden status indicator of three-dimensional reinforcing bar object: in selected reinforcing bar group, all reinforcing bars will be designated hiding reinforcing bar, join hiding array;
D. according to the corresponding relation of array and three-dimensional reinforcing bar object, traversal array, shows three-dimensional reinforcing bar object and hides process;
E. the process of step a to steps d is carried out to the reinforcing bar object in all cloth muscle intervals.
Step 5: aobvious hidden reinforcing bar packet queue, the management realizing display and hide
According to the result that step 4 is classified, reinforcing bar in selected reinforcing bar group is categorized as display queue and hiding queue, and is recorded in reinforcing bar object, setting is hidden in the display realizing user interface reinforcing bar.