CN113688454A - Modeling method and device for protective cover seat, electronic equipment and readable storage medium - Google Patents
Modeling method and device for protective cover seat, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN113688454A CN113688454A CN202110974780.XA CN202110974780A CN113688454A CN 113688454 A CN113688454 A CN 113688454A CN 202110974780 A CN202110974780 A CN 202110974780A CN 113688454 A CN113688454 A CN 113688454A
- Authority
- CN
- China
- Prior art keywords
- protective cover
- cover seat
- parameters
- model
- target well
- 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
Links
- 230000001681 protective effect Effects 0.000 title claims abstract description 159
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000015654 memory Effects 0.000 claims description 30
- 238000012790 confirmation Methods 0.000 claims description 7
- 238000004458 analytical method Methods 0.000 claims description 3
- 238000007689 inspection Methods 0.000 abstract description 42
- 229920003023 plastic Polymers 0.000 abstract description 33
- 239000004033 plastic Substances 0.000 abstract description 33
- 238000013461 design Methods 0.000 abstract description 3
- 238000010276 construction Methods 0.000 description 15
- 239000011449 brick Substances 0.000 description 8
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 239000000243 solution Substances 0.000 description 4
- 230000000007 visual effect Effects 0.000 description 3
- 238000012800 visualization Methods 0.000 description 3
- 101100509468 Arabidopsis thaliana JASON gene Proteins 0.000 description 2
- 238000001746 injection moulding Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000002952 polymeric resin Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000002994 raw material Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000007789 sealing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 229920003002 synthetic resin Polymers 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Civil Engineering (AREA)
- Architecture (AREA)
- Software Systems (AREA)
- Computer Graphics (AREA)
- Structural Engineering (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention relates to the technical field of track layout engineering design and discloses a modeling method and device of a protective cover seat, electronic equipment and a readable storage medium. Wherein, the method comprises the following steps: acquiring attribute information of a target well graphic element; determining modeling parameters of the protective cover seat from the attribute information of the target well graphic element; and generating a protective cover seat model by adopting the modeling parameters of the protective cover seat. By implementing the method, the protective cover seat model can be accurately constructed according to the modeling parameters of the protective cover seat, so that the protective cover seat model conforming to the plastic inspection well can be constructed, and the calculation amount of the plastic inspection well and the protective cover seat thereof can be conveniently determined.
Description
Technical Field
The invention relates to the technical field of track layout engineering design, in particular to a modeling method and device of a protective cover seat, electronic equipment and a readable storage medium.
Background
Inspection shafts, such as brick inspection shafts and plastic inspection shafts, are often required in road drainage. Compared with a brick inspection well, the plastic inspection well usually uses polymer resin as a raw material, is environment-friendly in use, good in sealing performance and easy to construct, and therefore is more and more widely applied to drainage engineering. At present, a plastic inspection well is generally formed by combining a well seat, a shaft, a well cover, a cover seat, a concrete supporting plate and the like, the relatively critical well seat is formed by one-time injection molding, and the plastic inspection well is mainly applied to motor vehicle lanes and non-motor vehicles, but the pressure bearing of the plastic inspection well is very insufficient compared with that of a brick inspection well. In order to solve the problem, a protective cover seat is additionally arranged for the plastic inspection well in the actual drainage engineering construction. However, can only draw brick inspection well model sign plastics inspection well model by technical staff at present, however this brick inspection well can not install the protection lid seat additional to the brick inspection well model is difficult to the plastics inspection well model of accurate sign installation protection lid seat additional to the brick inspection well model, and the structure of protection lid seat model is comparatively complicated, is difficult to construct in the lump with plastics inspection well model, consequently, how to accurately construct the protection lid seat model and become the technical problem who awaits the solution urgently.
Disclosure of Invention
In view of this, embodiments of the present invention provide a modeling method and apparatus for a protective cover seat, an electronic device, and a readable storage medium, so as to solve the problem that a protective cover seat model is difficult to accurately construct.
According to a first aspect, an embodiment of the present invention provides a modeling method for a protective cover seat, including: acquiring attribute information of a target well graphic element; determining modeling parameters of the protective cover seat from the attribute information of the target well graphic element; and generating a protective cover seat model by adopting the modeling parameters of the protective cover seat.
According to the modeling method of the protective cover seat, provided by the embodiment of the invention, the modeling parameters of the protective cover seat are determined from the attribute information of the target well graphic elements by acquiring the attribute information of the target well graphic elements, and the modeling parameters of the protective cover seat are adopted to generate the protective cover seat model. The method can accurately construct the protective cover seat model according to the modeling parameters of the protective cover seat, and further can construct the protective cover seat model conforming to the plastic inspection well, so that the calculation amount of the plastic inspection well and the protective cover seat thereof can be conveniently determined.
With reference to the first aspect, in a first implementation manner of the first aspect, the generating a protective cover seat model using the modeling parameters of the protective cover seat includes: determining at least one sub-model parameter corresponding to the protective cover seat based on the modeling parameter of the protective cover seat; constructing at least one sub-model corresponding to the at least one sub-model parameter; and combining the at least one sub-model to obtain the protective cover seat model.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the constructing at least one sub-model corresponding to the at least one sub-model parameter includes: acquiring a shape parameter, a width parameter and a height parameter in the at least one sub-model parameter; generating a polygon corresponding to the at least one sub-model parameter based on the at least one shape parameter and the width parameter; and stretching at least one polygon according to at least one height parameter to obtain a stretched body model corresponding to at least one sub-model parameter.
According to the modeling method of the protective cover seat provided by the embodiment of the invention, the sub-model parameters forming the protective cover seat are respectively obtained, the corresponding polygon is generated according to the sub-model parameters, the polygon is stretched based on the sub-model parameters to obtain each sub-model corresponding to each sub-model parameter, and each sub-model is combined to obtain the protective cover seat model, so that the accuracy of the constructed protective cover seat model can be further ensured.
With reference to the first aspect, in a third implementation manner of the first aspect, the acquiring attribute information of the target well primitive includes: acquiring a setting instruction of the target well graphic element to obtain an attribute parameter corresponding to the target well graphic element; and storing the attribute parameters in a preset format to generate the attribute information of the target well graphic element.
With reference to the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the obtaining a setting instruction for the target well primitive to obtain an attribute parameter corresponding to the target well primitive includes: acquiring a basic setting instruction of the target well graphic primitive, and displaying basic parameters corresponding to the target well graphic primitive, wherein the basic parameters comprise one or more of bearing capacity, lanes and shape; adjusting attribute parameters of the target well graphical element based on the base parameters.
According to the modeling method of the protective cover seat, provided by the embodiment of the invention, the basic parameters corresponding to the target well graphic elements are displayed by acquiring the basic setting instructions of the target well graphic elements, and the attribute parameters corresponding to the basic parameters are displayed. After determining the attribute parameters of the target well graphic elements, storing the attribute parameters in a preset format to generate the attribute information of the target well graphic elements. According to the method, through the setting of the visual attribute parameters, the protection cover seat model corresponding to the target well graphic element can be accurately constructed according to the attribute parameters corresponding to the target well graphic element.
With reference to the third implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the saving the attribute parameters in a preset format to generate the attribute information of the target well primitive includes: acquiring a confirmation instruction of the attribute parameters, and carrying out validity check on the attribute parameters; and when the attribute parameters pass the validity check, storing the attribute parameters in a preset format to generate the attribute information of the target well graphic element.
According to the modeling method of the protective cover seat, provided by the embodiment of the invention, the validity of the attribute parameters is verified by acquiring the confirmation instruction of the attribute parameters, so that the accuracy of the generated attribute information of the target well graphic primitive is ensured, the problem that a protective cover seat mold needs to be repeatedly constructed due to the error of the attribute information is avoided, and the construction efficiency of the protective cover seat model is ensured.
With reference to the first aspect, in a sixth implementation manner of the first aspect, the determining modeling parameters of a protective cover seat from attribute information of the target well element includes: analyzing the attribute information of the target well graphic element, and determining attribute parameter information corresponding to the protective cover seat; and extracting the modeling parameters of the protective cover seat from the attribute parameter information.
According to the modeling method of the protective cover seat, provided by the embodiment of the invention, the attribute parameter information corresponding to the protective cover seat is determined by analyzing the attribute information of the target well graphic element, so that the related modeling parameters of the protective cover seat are extracted from the attribute parameter information, and the protective cover seat model is constructed based on the related modeling parameters, so that the influence of redundant attribute parameter information on the construction of the protective cover seat model is avoided, and the construction efficiency of the protective cover seat model is further improved.
According to a second aspect, an embodiment of the present invention provides a modeling apparatus for a protective cover seat, including: the acquisition module is used for acquiring the attribute information of the target well graphic primitive; the analysis module is used for determining the modeling parameters of the protective cover seat from the attribute information of the target well graphic element; and the generating module is used for generating a protective cover seat model by adopting the modeling parameters of the protective cover seat.
According to the modeling device of the protective cover seat, which is provided by the embodiment of the invention, the modeling parameters of the protective cover seat are determined from the attribute information of the target well graphic elements by acquiring the attribute information of the target well graphic elements, and the modeling parameters of the protective cover seat are adopted to generate the protective cover seat model. The device can accurately construct a protective cover seat model according to the modeling parameters of the protective cover seat, and then can construct a protective cover seat model which accords with the plastic inspection well, so that the calculation amount of the plastic inspection well and the protective cover seat thereof can be conveniently determined.
According to a third aspect, an embodiment of the present invention provides an electronic device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing therein computer instructions, and the processor executing the computer instructions to perform the method of modeling a protective cover seat according to the first aspect or any embodiment of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the method for modeling a protective cover seat according to the first aspect or any of the embodiments of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a method of modeling a protective cover seat according to an embodiment of the invention;
FIG. 2 is another flow chart of a method of modeling a protective cover seat according to an embodiment of the invention;
FIG. 3 is another flow chart of a method of modeling a protective cover seat according to an embodiment of the invention;
FIG. 4 is a schematic diagram of a setting page of attribute parameters according to an embodiment of the invention;
FIG. 5 is a schematic view of a foundation/shim polygon according to an embodiment of the present invention;
FIG. 6 is a schematic view of a cover seat polygon according to an embodiment of the present invention;
FIG. 7 is a schematic flow chart of the construction of a protective cover and seat model according to an embodiment of the invention;
FIG. 8 is a schematic view of a protective cover seat model according to an embodiment of the invention;
FIG. 9 is a block diagram of a modeling apparatus of a protective cover seat according to an embodiment of the invention;
fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The plastic inspection well is generally formed by combining a well seat, a shaft, a well cover, a cover seat, a concrete supporting plate and the like, the relatively critical well seat is formed by one-time injection molding, and the plastic inspection well is mainly applied to motor vehicle lanes and non-motor vehicles, but the pressure bearing of the plastic inspection well is very insufficient compared with a brick inspection well. In order to solve the problem, a protective cover seat is additionally arranged for the plastic inspection well in the actual drainage engineering construction. However, the construction of the protection cover base model is complex, the protection cover base model and the plastic inspection well model are difficult to construct, and a construction method of the protection cover base model is not provided at present.
Based on the technical scheme, the modeling parameters of the protection cover base model corresponding to the plastic inspection well are obtained, and the modeling parameters are adopted for model construction, so that the construction of the protection cover base model corresponding to the plastic inspection well is realized.
In accordance with an embodiment of the present invention, there is provided an embodiment of a method of modeling a protective cover seat, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system, such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
In this embodiment, a modeling method of a protective cover seat is provided, which may be used for electronic devices, such as a mobile phone, a computer, a tablet computer, and the like, fig. 1 is a flowchart of the modeling method of the protective cover seat according to the embodiment of the present invention, and as shown in fig. 1, the flowchart includes the following steps:
and S11, acquiring the attribute information of the target well primitive.
The target well graphic elements are plastic inspection well graphic elements needing to construct the protective cover seat, and the attribute information of the target well graphic elements is used for representing various parameter information of the current plastic inspection well model, such as well seat parameters, shaft parameters, well cover parameters and other accessory parameters of the plastic inspection well. The attribute information of the target well primitive may be obtained by analyzing the target well primitive model, or may be generated by the electronic device in response to an input instruction of a user, where the obtaining manner of the attribute information is not specifically limited.
And S12, determining modeling parameters of the protective cover seat from the attribute information of the target well graphic element.
The modeling parameters of the protective cover seat are the key modeling parameters of the protective cover seat. The attribute information of the target well graphic element comprises related modeling parameters for constructing the protective cover seat, and the electronic equipment can analyze the modeling parameters of the protective cover seat from the attribute information of the target well graphic element. Specifically, if the attribute information of the target well primitive is stored in the JASON format, the electronic device may analyze the attribute information of the qjson document target well primitive provided by QT, and extract the relevant key parameters of the protection cover seat from the attribute information.
And S13, generating a protective cover seat model by adopting the modeling parameters of the protective cover seat.
The electronic equipment respectively constructs sub models corresponding to the protective cover seats based on the modeling parameters of the protective cover seats, and then combines all the sub models to obtain a final protective cover seat model. Specifically, the electronic device may generate a cushion layer model, a base model, and a cover seat model corresponding to the protective cover seat, respectively, and combine the cushion layer model, the base model, and the cover seat model to generate the protective cover seat model.
According to the modeling method of the protective cover seat, the attribute information of the target well graphic element is obtained, the modeling parameters of the protective cover seat are determined from the attribute information of the target well graphic element, and the modeling parameters of the protective cover seat are adopted to generate the protective cover seat model. The method can accurately construct the protective cover seat model according to the modeling parameters of the protective cover seat, and further can construct the protective cover seat model conforming to the plastic inspection well, so that the calculation amount of the plastic inspection well and the protective cover seat thereof can be conveniently determined.
In this embodiment, a modeling method of a protective cover seat is provided, which can be used for electronic devices, such as a mobile phone, a computer, a tablet computer, and the like, fig. 2 is a flowchart of the modeling method of the protective cover seat according to the embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
and S21, acquiring the attribute information of the target well primitive. For a detailed description, refer to the related description of step S11 corresponding to the above embodiment, and the detailed description is omitted here.
And S22, determining modeling parameters of the protective cover seat from the attribute information of the target well graphic element.
Specifically, the step S22 may include:
and S221, analyzing the attribute information of the target well graphic element, and determining the attribute parameter information corresponding to the protective cover seat.
The electronic equipment can analyze the attribute information of the target well graphic element, analyze the attribute parameter information of the plastic inspection well from the attribute information of the target well graphic element, and determine the attribute parameter information of the protective cover seat from the attribute parameter information of the plastic inspection well.
S222, extracting modeling parameters of the protective cover seat from the attribute parameter information.
The method includes the steps that key parameters required for building a protective cover seat model are extracted from attribute parameter information of the protective cover seat, namely modeling parameters of the protective cover seat, specifically, the modeling parameters can include a cover seat shape, a basic shape, a cushion layer thickness, a basic width, a basic height, a well cover cushion layer width, a well seat inner diameter and a cover seat height, and other parameters can be included, the parameters are not specifically limited, and a person skilled in the art can determine the required modeling parameters according to actual needs.
And S23, generating a protective cover seat model by adopting the modeling parameters of the protective cover seat.
Specifically, the step S23 may include:
s231, determining at least one sub-model parameter corresponding to the protective cover seat based on the modeling parameter of the protective cover seat.
The protection cover seat model can be composed of at least one sub-model, and after the modeling parameters of the protection cover seat are determined, sub-model parameters corresponding to each sub-model can be extracted and constructed respectively. Specifically, the protection cover base model can be composed of a basic sub-model, a cushion layer sub-model and a cover base sub-model, correspondingly, sub-model parameters corresponding to the basic sub-model can comprise a basic shape, a basic width and a basic height, sub-model parameters corresponding to the cushion layer sub-model can comprise a cushion layer shape, a basic width and a cushion layer thickness, and sub-model parameters corresponding to the cover base sub-model can comprise a cover base shape, a well cover cushion layer width, a well base inner diameter and a cover base height.
It should be noted that: the protective cover seat model sequentially comprises a basic sub-model, a cushion layer sub-model and a cover seat sub-model from bottom to top, wherein the basic shape is consistent with the cushion layer shape, and the width or the diameter of the basic shape is equal to that of the cushion layer shape.
S232, constructing at least one sub model corresponding to at least one sub model parameter.
And performing sub-model modeling based on the acquired sub-model parameters corresponding to the sub-models to obtain the sub-models corresponding to the protection cover seats.
Specifically, the step S232 may include:
(1) and acquiring a shape parameter, a width parameter and a height parameter in at least one sub-model parameter.
The shape parameter and the width parameter are used for constructing a polygon corresponding to the sub-model, and the height parameter is used for stretching the polygon to generate a polygon stretching body. The electronic equipment can respectively extract and construct the shape parameter, the width parameter and the height parameter corresponding to each sub-model from the modeling parameters of the protective cover seat.
(2) Based on the at least one shape parameter and the width parameter, a polygon corresponding to the at least one sub-model parameter is generated.
The electronic device may construct polygons corresponding to the respective submodels according to the respective shape parameters and the width parameters. Specifically, the electronic device determines a polygonal shape (square or circular) corresponding to the basic submodel according to the basic shape, and constructs a basic polygon corresponding to the basic submodel by using the basic width as the side length or diameter of the polygon, where the cushion polygon corresponding to the cushion submodel is consistent with the basic polygon, as shown in fig. 5; the electronic device determines the polygonal shape (square or circular) corresponding to the cover-base sub-model according to the shape of the cover base, and constructs a cover-base polygon corresponding to the cover-base sub-model by using the width of the well cover cushion layer and the inner diameter of the well base as the side length or diameter of the polygon, as shown in fig. 6.
(3) And stretching at least one polygon according to at least one height parameter to obtain a stretched body model corresponding to at least one sub-model parameter.
The electronic device may stretch the polygons to obtain stretched body models corresponding to the respective polygons, respectively. The stretching body model is a model formed by stretching the electronic device by a certain height along a certain direction based on a polygon, and the stretching direction is not limited here. Specifically, the electronic device may construct the tensile body model corresponding to the cushion polygon according to the cushion polygon and the cushion height corresponding thereto, construct the tensile body model corresponding to the base polygon according to the base polygon and the base height corresponding thereto, and construct the tensile body model corresponding to the cover base polygon according to the cover base polygon and the cover base height corresponding thereto.
And S233, combining at least one sub-model to obtain a protective cover seat model.
As shown in fig. 7, after obtaining a plurality of submodels corresponding to the protective cover seat, the electronic device may superimpose the plurality of submodels corresponding to the protective cover seat, so as to merge the plurality of submodels, i.e., integrate the plurality of submodels into a complete model, and output the protective cover seat model, as shown in fig. 8.
According to the modeling method of the protective cover seat, the attribute parameter information corresponding to the protective cover seat is determined by analyzing the attribute information of the target well primitive, the related modeling parameters of the protective cover seat are extracted from the attribute parameter information, and the protective cover seat model is constructed based on the related modeling parameters, so that the influence of redundant attribute parameter information on the construction of the protective cover seat model is avoided, and the construction efficiency of the protective cover seat model is improved. The method comprises the steps of respectively obtaining parameters of sub models forming the protective cover seat, generating corresponding polygons according to the parameters of the sub models, stretching the polygons based on the parameters of the sub models to obtain the sub models corresponding to the parameters of the sub models, and combining the sub models to obtain the protective cover seat model, so that the accuracy of the constructed protective cover seat model can be further ensured.
In this embodiment, a modeling method of a protective cover seat is provided, which can be used for electronic devices, such as a mobile phone, a computer, a tablet computer, and the like, fig. 3 is a flowchart of the modeling method of the protective cover seat according to the embodiment of the present invention, and as shown in fig. 3, the flowchart includes the following steps:
and S31, acquiring the attribute information of the target well primitive.
Specifically, the step S31 may include:
s311, obtaining a setting instruction of the target well primitive, and obtaining an attribute parameter corresponding to the target well primitive.
The setting instruction is an instruction input by a user for setting a parameter, and the setting instruction may be acquired through an input device such as a keyboard and a mouse connected to the electronic device, or may be acquired through a touch screen of the electronic device itself, where an acquisition manner of the setting instruction is not particularly limited. After the electronic device obtains the setting instruction for the target well primitive, the electronic device can respond to the setting instruction to generate the attribute parameter corresponding to the setting instruction.
Specifically, the step S311 may include:
(1) and acquiring a basic setting instruction of the target well graphic element, and displaying basic parameters corresponding to the target well graphic element, wherein the basic parameters comprise one or more of bearing capacity, lane and shape.
The basic setting instruction is a setting instruction of the basic parameters, and the electronic equipment can display setting options of the basic parameters after acquiring the basic setting instruction so that a user can set the basic parameters according to requirements, wherein the basic parameters can include bearing capacity, lanes and shapes. The bearing capacity refers to the pressure which can be borne by the protective cover seat and is divided into 80kpa, 100kpa and 120 kpa; the lane refers to the type of the lane where the plastic inspection well is located and is divided into a fire-fighting lane, a non-fire-fighting lane and the like; the cover seat is divided into a square shape and a round shape; the foundation/pad shapes are divided into square and circular.
Specifically, as shown in fig. 4, the basic parameters are the bearing capacity, the lane, the shape of the cover seat, and the shape of the base/cushion layer, the user can input a basic setting instruction through a pull-down selection box corresponding to the basic parameters, and the electronic device can respond to the basic setting instruction input by the user to set the basic parameters, for example, setting the bearing capacity to 80kPa, setting the lane to be a non-fire-fighting lane, setting the shape of the cover seat to be square, and setting the shape of the base/cushion layer to be square. The plastic inspection well comprises an inner cover directly covered on the plastic inspection well and a protective well cover covered on a cover seat, wherein the position of the inner cover is flush with the top of a foundation; the position of protection well lid and road surface parallel and level.
(2) And adjusting the attribute parameters of the target well graphical elements based on the basic parameters.
The attribute parameter of the protection cover seat that basic parameter corresponds can be according to industry standard data automatic generation, selects different bearing capacity or lane, and to protection cover seat width or diameter and basic height have certain influence, and basic parameter and attribute parameter's setting is as shown in table 1, and wherein B represents protection cover seat width or diameter, and H represents the basic height of protection cover seat, and the numerical value in the 315/450/630 protection cover seat represents the pit shaft external diameter of plastics inspection shaft, and this numerical value represents certain range screening, if: wellbore outside diameter 315, 315< wellbore outside diameter 450, 450< wellbore outside diameter 630.
Table 1 table for setting and selecting basic parameters and attribute parameters of protective cover seat
Specifically, the attribute parameters of the target well primitive may be automatically adjusted according to the setting of the basic parameters, for example, as shown in the visualization parameter page in fig. 4, when the basic parameters are set, the visualization parameter page may generate corresponding attribute parameters according to the basic parameters. If the user considers that the current attribute parameters of the target well graphic primitive do not meet the requirements, the attribute parameters can be modified or adjusted through the visual parameter page so as to enable the attribute parameters to meet the requirements of construction design.
And S312, storing the attribute parameters in a preset format, and generating the attribute information of the target well primitive.
After the setting of the attribute parameters of the target well primitive is completed, the electronic device may save the attribute parameters. Specifically, the electronic device may store the attribute parameters in a preset format, and generate the attribute information of the target well primitive in the preset format. Taking the JASON format as an example, after the attribute parameter setting is completed, the storage format is as follows:
specifically, the step S312 may include:
(1) and acquiring a confirmation instruction of the attribute parameters, and carrying out validity check on the attribute parameters.
After determining the attribute parameters of the target well primitive, the user may input a confirmation instruction to the electronic device, for example, click a "confirm" tag displayed on a visualization parameter page, and accordingly, the electronic device may perform validity check on the current attribute parameters after receiving the confirmation instruction. The validity check rule is as follows: the width of the cover seat is more than 0 and less than or equal to 5000; the remaining parameters are greater than 0 and equal to or less than 1000. And (3) if the attribute parameters pass the validity check, executing the step (2), otherwise, sending out a reminding message to enable the user to readjust the attribute parameters.
(2) And storing the attribute parameters in a preset format to generate the attribute information of the target well primitive.
When the attribute parameters pass the validity check, the electronic device may store the attribute parameters in a preset format to generate the attribute information of the target well primitive, for detailed description, refer to the related description of the above embodiments, which is not described herein again.
And S32, determining modeling parameters of the protective cover seat from the attribute information of the target well graphic element. For a detailed description, refer to the related description of step S12 corresponding to the above embodiment, and the detailed description is omitted here.
And S33, generating a protective cover seat model by adopting the modeling parameters of the protective cover seat. For a detailed description, refer to the related description of step S13 corresponding to the above embodiment, and the detailed description is omitted here.
According to the modeling method of the protective cover seat, basic parameters corresponding to the target well graphic elements are displayed by acquiring basic setting instructions of the target well graphic elements, and attribute parameters corresponding to the basic parameters are displayed. After determining the attribute parameters of the target well graphic elements, storing the attribute parameters in a preset format to generate the attribute information of the target well graphic elements. According to the method, through the setting of the visual attribute parameters, the protection cover seat model corresponding to the target well graphic element can be accurately constructed according to the attribute parameters corresponding to the target well graphic element. By obtaining the confirmation instruction of the attribute parameters and carrying out validity check on the attribute parameters, the accuracy of the generated attribute information of the target well graphic elements is ensured, repeated construction of a protective cover seat model caused by error of the attribute information is avoided, and the construction efficiency of the protective cover seat model is ensured.
In this embodiment, a modeling apparatus for a protective cover seat is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, which have already been described and will not be described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
The present embodiment provides a modeling apparatus for a protective cover seat, as shown in fig. 9, including:
and the obtaining module 41 is used for obtaining the attribute information of the target well primitive. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
And the analysis module 42 is used for determining the modeling parameters of the protective cover seat from the attribute information of the target well graphic element. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
And the generating module 43 is configured to generate a protective cover seat model by using the modeling parameters of the protective cover seat. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
The modeling means of the protective cover holder in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory executing one or more software or fixed programs, and/or other devices that can provide the above-described functionality.
Further functional descriptions of the modules are the same as those of the corresponding embodiments, and are not repeated herein.
The embodiment of the invention also provides electronic equipment which is provided with the modeling device of the protective cover seat shown in the figure 9.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device according to an alternative embodiment of the present invention, as shown in fig. 10, the electronic device may include: at least one processor 501, such as a CPU (Central Processing Unit), at least one communication interface 503, memory 504, and at least one communication bus 502. Wherein a communication bus 502 is used to enable connective communication between these components. The communication interface 503 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 503 may also include a standard wired interface and a standard wireless interface. The Memory 504 may be a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 504 may optionally be at least one storage device located remotely from the processor 501. Wherein the processor 501 may be in connection with the apparatus described in fig. 9, an application program is stored in the memory 504, and the processor 501 calls the program code stored in the memory 504 for performing any of the above-mentioned method steps.
The communication bus 502 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 502 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus.
The memory 504 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviated: HDD) or a solid-state drive (english: SSD); the memory 504 may also comprise a combination of the above types of memory.
The processor 501 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of CPU and NP.
The processor 501 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 504 is also used to store program instructions. The processor 501 may call program instructions to implement the modeling method of the protective cover seat as shown in the embodiments of fig. 1 to 3 of the present application.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the processing method of the modeling method of the protective cover seat in any method embodiment. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.
Claims (10)
1. A modeling method for a protective cover seat, comprising:
acquiring attribute information of a target well graphic element;
determining modeling parameters of the protective cover seat from the attribute information of the target well graphic element;
and generating a protective cover seat model by adopting the modeling parameters of the protective cover seat.
2. The method of claim 1, wherein generating a protective cover seat model using the modeling parameters of the protective cover seat comprises:
determining at least one sub-model parameter corresponding to the protective cover seat based on the modeling parameter of the protective cover seat;
constructing at least one sub-model corresponding to the at least one sub-model parameter;
and combining the at least one sub-model to obtain the protective cover seat model.
3. The method of claim 2, wherein constructing at least one sub-model corresponding to the at least one sub-model parameter comprises:
acquiring a shape parameter, a width parameter and a height parameter in the at least one sub-model parameter;
generating a polygon corresponding to the at least one sub-model parameter based on the at least one shape parameter and the width parameter;
and stretching at least one polygon according to at least one height parameter to obtain a stretched body model corresponding to at least one sub-model parameter.
4. The method of claim 1, wherein the obtaining attribute information for the target well element comprises:
acquiring a setting instruction of the target well graphic element to obtain an attribute parameter corresponding to the target well graphic element;
and storing the attribute parameters in a preset format to generate the attribute information of the target well graphic element.
5. The method according to claim 4, wherein the obtaining of the setting instruction for the target well primitive to obtain the attribute parameter corresponding to the target well primitive comprises:
acquiring a basic setting instruction of the target well graphic primitive, and displaying basic parameters corresponding to the target well graphic primitive, wherein the basic parameters comprise one or more of bearing capacity, lanes and shape;
adjusting attribute parameters of the target well graphical element based on the base parameters.
6. The method of claim 4, wherein saving the attribute parameters in a predetermined format generates attribute information for the target well element, comprising:
acquiring a confirmation instruction of the attribute parameters, and carrying out validity check on the attribute parameters;
and when the attribute parameters pass the validity check, storing the attribute parameters in a preset format to generate the attribute information of the target well graphic element.
7. The method of claim 1, wherein determining modeling parameters for a protective cover seat from attribute information for the target well element comprises:
analyzing the attribute information of the target well graphic element, and determining attribute parameter information corresponding to the protective cover seat;
and extracting the modeling parameters of the protective cover seat from the attribute parameter information.
8. A modeling apparatus for a protective cover holder, comprising:
the acquisition module is used for acquiring the attribute information of the target well graphic primitive;
the analysis module is used for determining the modeling parameters of the protective cover seat from the attribute information of the target well graphic element;
and the generating module is used for generating a protective cover seat model by adopting the modeling parameters of the protective cover seat.
9. An electronic device, comprising:
a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method of modeling a protective cover seat according to any of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a computer to perform the method of modeling a protective cover seat of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110974780.XA CN113688454B (en) | 2021-08-24 | 2021-08-24 | Modeling method and device for protective housing, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110974780.XA CN113688454B (en) | 2021-08-24 | 2021-08-24 | Modeling method and device for protective housing, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113688454A true CN113688454A (en) | 2021-11-23 |
CN113688454B CN113688454B (en) | 2024-03-08 |
Family
ID=78581867
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110974780.XA Active CN113688454B (en) | 2021-08-24 | 2021-08-24 | Modeling method and device for protective housing, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113688454B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108074283A (en) * | 2016-11-18 | 2018-05-25 | 国家测绘地理信息局第六地形测量队 | A kind of underground utilities three-dimensional automation modeling method |
WO2018201314A1 (en) * | 2017-05-03 | 2018-11-08 | Schlumberger Technology Corporation | Drillstring assembly framework |
CN108920785A (en) * | 2018-06-19 | 2018-11-30 | 北京农业信息技术研究中心 | A kind of monomeric complex model regularization modeling method and system |
US20190251209A1 (en) * | 2018-02-09 | 2019-08-15 | Guangzhou University | Method for Automatic Modeling of an Architecture Based on an Architectural Drawing |
CN110347974A (en) * | 2019-05-30 | 2019-10-18 | 重庆金融资产交易所有限责任公司 | Data processing method, device, computer equipment and storage medium |
CN111597622A (en) * | 2020-05-26 | 2020-08-28 | 同济大学建筑设计研究院(集团)有限公司 | Three-dimensional model construction method and device, computer equipment and storage medium |
CN111985014A (en) * | 2020-08-11 | 2020-11-24 | 广联达科技股份有限公司 | Modeling method and system based on standard atlas |
CN113010944A (en) * | 2021-02-26 | 2021-06-22 | 万翼科技有限公司 | Model checking method, electronic equipment and related product |
CN113158292A (en) * | 2021-03-02 | 2021-07-23 | 广联达科技股份有限公司 | Component matching method, engineering quantity calculation method, device and electronic equipment |
CN113221297A (en) * | 2021-03-29 | 2021-08-06 | 湘潭大学 | Method for converting power grid information model into FBX three-dimensional model and storing attributes |
-
2021
- 2021-08-24 CN CN202110974780.XA patent/CN113688454B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108074283A (en) * | 2016-11-18 | 2018-05-25 | 国家测绘地理信息局第六地形测量队 | A kind of underground utilities three-dimensional automation modeling method |
WO2018201314A1 (en) * | 2017-05-03 | 2018-11-08 | Schlumberger Technology Corporation | Drillstring assembly framework |
US20190251209A1 (en) * | 2018-02-09 | 2019-08-15 | Guangzhou University | Method for Automatic Modeling of an Architecture Based on an Architectural Drawing |
CN108920785A (en) * | 2018-06-19 | 2018-11-30 | 北京农业信息技术研究中心 | A kind of monomeric complex model regularization modeling method and system |
CN110347974A (en) * | 2019-05-30 | 2019-10-18 | 重庆金融资产交易所有限责任公司 | Data processing method, device, computer equipment and storage medium |
CN111597622A (en) * | 2020-05-26 | 2020-08-28 | 同济大学建筑设计研究院(集团)有限公司 | Three-dimensional model construction method and device, computer equipment and storage medium |
CN111985014A (en) * | 2020-08-11 | 2020-11-24 | 广联达科技股份有限公司 | Modeling method and system based on standard atlas |
CN113010944A (en) * | 2021-02-26 | 2021-06-22 | 万翼科技有限公司 | Model checking method, electronic equipment and related product |
CN113158292A (en) * | 2021-03-02 | 2021-07-23 | 广联达科技股份有限公司 | Component matching method, engineering quantity calculation method, device and electronic equipment |
CN113221297A (en) * | 2021-03-29 | 2021-08-06 | 湘潭大学 | Method for converting power grid information model into FBX three-dimensional model and storing attributes |
Also Published As
Publication number | Publication date |
---|---|
CN113688454B (en) | 2024-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9141746B1 (en) | System and method to drag instance master physical shell | |
CN111597622A (en) | Three-dimensional model construction method and device, computer equipment and storage medium | |
CN107220438B (en) | CAE mechanical simulation method based on BIM information model | |
CN113553453B (en) | Two-dimensional drawing labeling method and device and electronic equipment | |
CN113158292A (en) | Component matching method, engineering quantity calculation method, device and electronic equipment | |
CN113420355B (en) | Floor processing method and device and electronic equipment | |
CN113420353A (en) | Steel bar arrangement method and device and electronic equipment | |
CN113191671B (en) | Engineering amount calculating method and device and electronic equipment | |
CN113688454B (en) | Modeling method and device for protective housing, electronic equipment and readable storage medium | |
CN106126809A (en) | A kind of hot runner system structure automatic design device and method | |
CN113553454B (en) | Primitive data processing method and device and electronic equipment | |
CN111753346B (en) | Linear member profile generating method, revit platform and storage medium | |
CN112765715A (en) | Parameter adjusting method and device for building frame, electronic equipment and storage medium | |
CN112057868B (en) | Batch processing method and device for game model and electronic equipment | |
CN115729503A (en) | Interface display method and device, computer equipment and storage medium | |
CN114444185A (en) | In-situ labeling identification method and device and electronic equipment | |
CN114444172A (en) | BIM model component display method and device, electronic equipment and storage medium | |
CN107808050B (en) | Weak current panel design system, design method and electronic equipment | |
CN111898183A (en) | Overhead power line aided design method and device based on three-dimensional scene | |
CN101452498B (en) | Footpad auto-adding system and method for punching mold | |
CN113688457B (en) | Modeling method, device and equipment for well Zhou Jiagu model and readable storage medium | |
CN110750817B (en) | Connecting piece placement method, adjacent relation determination method, device, equipment and medium | |
CN116385652B (en) | Parameterized geometric multithreading discrete method and system | |
CN114444168B (en) | Method and device for identifying wall column in building drawing, electronic equipment and storage medium | |
CN116956386A (en) | Method, device, equipment and medium for generating three-dimensional model in CAD drawing |
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 |