CN113688454B - Modeling method and device for protective housing, electronic equipment and readable storage medium - Google Patents

Modeling method and device for protective housing, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113688454B
CN113688454B CN202110974780.XA CN202110974780A CN113688454B CN 113688454 B CN113688454 B CN 113688454B CN 202110974780 A CN202110974780 A CN 202110974780A CN 113688454 B CN113688454 B CN 113688454B
Authority
CN
China
Prior art keywords
parameters
protective cover
model
cover seat
attribute
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
CN202110974780.XA
Other languages
Chinese (zh)
Other versions
CN113688454A (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.)
Glodon Co Ltd
Original Assignee
Glodon 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 Glodon Co Ltd filed Critical Glodon Co Ltd
Priority to CN202110974780.XA priority Critical patent/CN113688454B/en
Publication of CN113688454A publication Critical patent/CN113688454A/en
Application granted granted Critical
Publication of CN113688454B publication Critical patent/CN113688454B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three 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)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Civil Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to the technical field of road bank 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 housing 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 invention, 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

Modeling method and device for protective housing, electronic equipment and readable storage medium
Technical Field
The invention relates to the technical field of road bank engineering design, in particular to a modeling method and device for a protective cover seat, electronic equipment and a readable storage medium.
Background
In road drainage engineering it is often necessary to provide manholes, such as bricked manholes and plastic manholes. Compared with a bricked inspection well, the plastic inspection well usually uses high polymer resin as a raw material, and is environment-friendly, good in sealing performance and easy to construct, so that the plastic inspection well is 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 more critical well seat is formed by one-time injection molding, and the plastic inspection well is mainly applied to motor vehicles and non-motor vehicles, but has a great defect in bearing pressure compared with a bricked 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, at present, only a technician can draw a bricked manhole model to represent the plastic manhole model, however, the bricked manhole is not provided with a protective cover seat, the bricked manhole model is difficult to accurately represent the plastic manhole model provided with the protective cover seat, the construction of the protective cover seat model is complex, and the construction of the protective cover seat model and the plastic manhole model are difficult to be carried out together, so how to accurately construct the protective cover seat model becomes a technical problem to be solved.
Disclosure of Invention
In view of the above, the embodiments of the present invention provide a method and apparatus for modeling 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 construct accurately.
According to a first aspect, an embodiment of the present invention provides a modeling method for a protective cover base, including: acquiring attribute information of a target well graphic element; determining modeling parameters of the protective housing 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 for the protective housing, provided by the embodiment of the invention, the modeling parameters of the protective housing are determined from the attribute information of the target well graphic element by acquiring the attribute information of the target well graphic element, and the protective housing model is generated by adopting the modeling parameters of the protective housing. According to the method, the protective housing model can be accurately constructed according to the modeling parameters of the protective housing, so that the protective housing model conforming to the plastic inspection well can be constructed, and the calculation amount of the plastic inspection well and the protective housing 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 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, constructing at least one sub-model corresponding to the at least one sub-model parameter includes: acquiring shape parameters, width parameters and height parameters in the at least one sub-model parameter; generating a polygon corresponding to the at least one sub-model parameter based on at least one of the 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 for the protective cover seat, provided by the embodiment of the invention, the corresponding polygons are generated according to the sub-model parameters by respectively acquiring the sub-model parameters forming the protective cover seat, the polygons are stretched based on the sub-model parameters to obtain the sub-models corresponding to the sub-model parameters, and the sub-models are 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 attribute parameters corresponding to the target well graphic element; and storing the attribute parameters in a preset format, and generating 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 for 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, lanes and shapes; and adjusting attribute parameters of the target well graphic element based on the basic parameters.
According to the modeling method for the protective housing, provided by the embodiment of the invention, the basic setting instruction of the target well graphic element is obtained, the basic parameters corresponding to the target well graphic element are displayed, and the attribute parameters corresponding to the basic parameters are displayed. After determining the attribute parameters of the target well graphic element, storing the attribute parameters in a preset format to generate the attribute information of the target well graphic element. According to the method, through the setting of the visual attribute parameters, a protective cover seat model corresponding to the target well graphic element is conveniently and 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 storing the attribute parameters in a preset format, and generating attribute information of the target well primitive includes: acquiring a confirmation instruction for the attribute parameters, and performing 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 attribute information of the target well graphic element.
According to the modeling method for the protective housing, provided by the embodiment of the invention, the validity of the attribute parameters is checked by acquiring the confirmation instruction of the attribute parameters, so that the accuracy of the attribute information of the generated target well graphic element is ensured, the condition that the protective housing model needs to be repeatedly constructed due to the fact that the attribute information is wrong is avoided, and the construction efficiency of the protective housing model is ensured.
With reference to the first aspect, in a sixth implementation manner of the first aspect, the determining, from attribute information of the target well primitive, a modeling parameter of a protection housing includes: analyzing the attribute information of the target well graphic element, and determining the attribute parameter information corresponding to the protective cover seat; and extracting modeling parameters of the protective cover seat from the attribute parameter information.
According to the modeling method for the protective cover seat, provided by the embodiment of the invention, the attribute information of the target well graphic element is analyzed, the attribute parameter information corresponding to the protective cover seat is determined, the related modeling parameters of the protective cover seat are extracted from the attribute parameter information, the protective cover seat model is constructed based on the related modeling parameters, 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 base, including: the acquisition module is used for acquiring attribute information of the target well graphic element; the analysis module is used for determining modeling parameters of the protective housing from the attribute information of the target well graphic element; and the generation 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 for 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 element by acquiring the attribute information of the target well graphic element, and the protective cover seat model is generated by adopting the modeling parameters of the protective cover seat. The device can accurately construct the protective housing model according to the modeling parameters of the protective housing, and then can construct the protective housing model which accords with the plastic inspection well, so that the calculation amount of the plastic inspection well and the protective housing can be conveniently determined.
According to a third aspect, an embodiment of the present invention provides an electronic device, including: the modeling method for the protective cover seat according to the first aspect or any implementation manner of the first aspect is implemented by the processor through executing the computer instructions.
According to a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where computer instructions are stored, where the computer instructions are configured to cause a computer to perform the method for modeling a protective cover base according to the first aspect or any embodiment 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 that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of modeling a protective cover base in accordance with an embodiment of the present invention;
FIG. 2 is another flow chart of a method of modeling a protective cover base in accordance with an embodiment of the present invention;
FIG. 3 is another flow chart of a method of modeling a protective cover base in accordance with an embodiment of the present invention;
FIG. 4 is a schematic diagram of a setup page for attribute parameters according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a base/shim polygon according to an embodiment of the present invention;
FIG. 6 is a schematic view of a cover base polygon according to an embodiment of the present invention;
FIG. 7 is a schematic view of a construction flow of a protective cover seat model according to an embodiment of the present invention;
FIG. 8 is a schematic view of a protective cover base model according to an embodiment of the present invention;
FIG. 9 is a block diagram of a modeling apparatus of a protective cover base according to an embodiment of the present 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
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The plastic inspection well is usually formed by combining a well seat, a shaft, a well cover, a cover seat, a concrete supporting plate and the like, the more critical well seat is formed by one-time injection molding, and the plastic inspection well is mainly applied to motor vehicles and non-motor vehicles, but has a great defect of bearing pressure relative to a bricked 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 protective cover seat model is complex, and is difficult to construct together with the plastic inspection well model, and no construction method of the protective cover seat model exists at present.
Based on the modeling parameters, the modeling parameters are obtained for the protective cover seat model corresponding to the plastic inspection well, and the modeling parameters are adopted for model construction, so that the construction of the protective cover seat model corresponding to the plastic inspection well is realized.
According to an embodiment of the present invention, there is provided an embodiment of a modeling method of a protective cover base, it should be noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that herein.
In this embodiment, a modeling method of a protective cover seat is provided, which may be used in an electronic device, such as a mobile phone, a computer, a tablet pc, etc., fig. 1 is a flowchart of a modeling method of a protective cover seat according to an embodiment of the present invention, and as shown in fig. 1, the flowchart includes the following steps:
s11, acquiring attribute information of the target well graphic element.
The target well graphic element is a plastic inspection well graphic element of which the protective cover seat needs to be constructed, and the attribute information of the target well graphic element is used for representing various parameter information of the current plastic inspection well model, such as well seat parameters, shaft parameters, well cover parameters, other spare and accessory part parameters and the like of the plastic inspection well. The attribute information of the target well graphic element may be obtained by analyzing the target well graphic element model by an electron, or may be generated by an electronic device in response to an input instruction of a user, and the obtaining mode of the attribute information is not particularly limited.
S12, determining modeling parameters of the protective housing from attribute information of the target well graphic element.
The modeling parameters of the protective cover seat are the modeling key parameters of the protective cover seat. The attribute information of the target well graphic element comprises related modeling parameters for constructing the protective housing, and the electronic equipment can analyze the modeling parameters of the protective housing by analyzing the attribute information of the target well graphic element. Specifically, if the attribute information of the target well graphic element is stored in the JASON format, the electronic device may analyze the attribute information of the qjson document target well graphic element provided by QT, and extract the relevant key parameters of the protection cover from the analyzed attribute information.
S13, adopting modeling parameters of the protective cover seat to generate a protective cover seat model.
The electronic equipment respectively builds sub-models corresponding to the protective cover seat based on modeling parameters of the protective cover seat, and then combines the sub-models to obtain a final protective cover seat model. Specifically, the electronic device may generate the cushion model, the base model, and the cover seat model corresponding to the protective cover seat, and combine the cushion model, the base model, and the cover seat model to generate the protective cover seat model.
According to the modeling method for the protective housing, the modeling parameters of the protective housing are determined from the attribute information of the target well graphic element by acquiring the attribute information of the target well graphic element, and the protective housing model is generated by adopting the modeling parameters of the protective housing. According to the method, the protective housing model can be accurately constructed according to the modeling parameters of the protective housing, so that the protective housing model conforming to the plastic inspection well can be constructed, and the calculation amount of the plastic inspection well and the protective housing can be conveniently determined.
In this embodiment, a modeling method of a protective cover seat is provided, which may be used in an electronic device, such as a mobile phone, a computer, a tablet pc, etc., fig. 2 is a flowchart of a modeling method of a protective cover seat according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
s21, acquiring attribute information of the target well graphic element. The detailed description is referred to the related description of the step S11 corresponding to the above embodiment, and will not be repeated here.
S22, determining modeling parameters of the protective housing from the attribute information of the target well graphic element.
Specifically, the step S22 may include:
s221, analyzing the attribute information of the target well graphic element, and determining the attribute parameter information corresponding to the protection housing.
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 key parameters required for constructing the protective cover seat model, namely the modeling parameters of the protective cover seat, are extracted from the attribute parameter information of the protective cover seat, specifically, the modeling parameters can comprise the cover seat shape, the basic shape, the cushion layer thickness, the basic width, the basic height, the well cover cushion layer width, the well seat inner diameter and the cover seat height, and other parameters can be included, and the modeling parameters required by the person skilled in the art can be determined according to actual needs without specific limitation.
S23, adopting modeling parameters of the protective cover seat to generate a protective cover seat model.
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 protective cover seat model can be composed of at least one sub-model, and after the modeling parameters of the protective cover seat are determined, the sub-model parameters corresponding to the sub-models can be respectively extracted. Specifically, the protection cover seat model may be composed of a base sub-model, a cushion layer sub-model and a cover seat sub-model, and correspondingly, sub-model parameters corresponding to the base sub-model may include a base shape, a base width and a base height, sub-model parameters corresponding to the cushion layer sub-model may include a cushion layer shape, a base width and a cushion layer thickness, and sub-model parameters corresponding to the cover seat sub-model may include a cover seat shape, a cover lid cushion layer width, a well seat inner diameter and a cover seat height.
It should be noted that: the protective cover seat model sequentially comprises a basic sub-model, a cushion sub-model and a cover seat sub-model from bottom to top, wherein the basic shape is consistent with the cushion shape, and the width or the diameter of the basic shape is equal to that of the cushion shape.
S232, constructing at least one sub-model corresponding to the at least one sub-model parameter.
And carrying out sub-model modeling based on the obtained sub-model parameters corresponding to the sub-models to obtain the sub-models corresponding to the protection seats.
Specifically, the step S232 may include:
(1) And acquiring the shape parameter, the width parameter and the height parameter in the at least one sub-model parameter.
The shape parameters and the width parameters are used for constructing polygons corresponding to the submodels, and the height parameters are used for stretching the polygons to generate polygon stretching bodies. The electronic equipment can respectively extract the shape parameters, the width parameters and the height parameters 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 can construct polygons corresponding to the submodels according to the shape parameters and the width parameters. Specifically, the electronic device determines the shape (square or circular) of the polygon corresponding to the basic sub-model through the basic shape, and constructs the basic polygon corresponding to the basic sub-model by taking the basic width as the side length or diameter of the polygon, and the cushion polygon corresponding to the cushion sub-model is consistent with the basic polygon, as shown in fig. 5; the electronic device determines the polygon shape (square or round) corresponding to the cover base model through the shape of the cover base, and constructs the cover base polygon corresponding to the cover base model by taking the width of the well cover cushion layer and the inner diameter of the well base as the side length or the diameter of the polygon, as shown in fig. 6.
(3) 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 perform stretching processing on 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 a tensile body model corresponding to the cushion layer polygon according to the cushion layer polygon and the cushion layer height corresponding thereto, construct a tensile body model corresponding to the foundation polygon according to the foundation polygon and the foundation height corresponding thereto, and construct a tensile body model corresponding to the cover seat polygon according to the cover seat polygon and the cover seat height corresponding thereto.
S233, combining at least one sub-model to obtain the protective cover seat model.
After obtaining the multiple sub-models corresponding to the protective cover seat, the electronic device may superimpose the multiple sub-models corresponding to the protective cover seat to realize the combination of the multiple sub-models, that is, integrate the multiple sub-models into a complete model, and output the protective cover seat model, as shown in fig. 8.
According to the modeling method for the protective cover seat, the attribute 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, the protective cover seat model is built based on the related modeling parameters, 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 all sub-model parameters forming the protective cover seat, generating corresponding polygons according to the sub-model parameters, stretching the polygons based on the sub-model parameters to obtain all sub-models corresponding to all the sub-model parameters, and combining all 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 may be used in an electronic device, such as a mobile phone, a computer, a tablet pc, etc., and fig. 3 is a flowchart of a modeling method of a protective cover seat according to an embodiment of the present invention, as shown in fig. 3, where the flowchart includes the following steps:
s31, acquiring attribute information of the target well graphic element.
Specifically, the step S31 may include:
s311, acquiring a setting instruction for the target well graphic element to obtain attribute parameters corresponding to the target well graphic element.
The setting instruction is an instruction for setting parameters, which is input by a user, and the setting instruction may be obtained through an input device such as a keyboard and a mouse connected to the electronic device, or may be obtained through a touch screen of the electronic device, where a manner of obtaining the setting instruction is not specifically limited. After the electronic device obtains the setting instruction for the target well graphic element, 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 for 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, lanes and shapes.
The basic setting instruction is a setting instruction of a basic parameter, and the electronic equipment can display setting options of the basic parameter after acquiring the basic setting instruction so that a user can set the basic parameter according to requirements, wherein the basic parameter can comprise bearing capacity, a lane and a shape. The bearing capacity refers to the pressure which can be borne by the protective cover seat and is divided into 80kpa, 100kpa and 120kpa; the lanes refer to the types of lanes where the plastic inspection well is located and are divided into fire-fighting lanes, non-fire-fighting lanes and the like; the shape of the cover seat is divided into square and round; the base/pad shape is divided into square and circular.
Specifically, as shown in fig. 4, the basic parameters are a bearing capacity, a lane, a cover seat shape and a base/cushion layer shape, a user can input a basic setting instruction through a pull-down selection box corresponding to the basic parameters, the electronic device can set the basic parameters in response to the basic setting instruction input by the user, for example, the bearing capacity is set to 80kPa, the lane is set to a non-fire-fighting lane, the cover seat shape is set to a square, and the base/cushion layer shape is set to a square. The plastic inspection well is provided with an inner cover directly covered on the plastic inspection well and a protective well cover covered on the cover seat, and the position of the inner cover is level with the foundation roof; the position of the protection well cover is flush with the road surface.
(2) And adjusting attribute parameters of the target well graphic element based on the basic parameters.
The attribute parameters of the protective cover seat corresponding to the basic parameters can be automatically generated according to industry standard data, different bearing capacities or lanes are selected, certain influence is brought to the width or diameter of the protective cover seat and the basic height, the basic parameters and the attribute parameters are set as shown in table 1, wherein B represents the width or diameter of the protective cover seat, H represents the basic height of the protective cover seat, the numerical value in the 315/450/630 protective cover seat represents the shaft outer diameter of the plastic inspection shaft, and the numerical value represents a certain range of screening, such as: wellbore outside diameter < = 315, 315< wellbore outside diameter < = 450, 450< wellbore outside diameter < = 630.
Table 1 table for setting basic parameters and attribute parameters of protective cover
Specifically, the attribute parameters of the target well graphic element can be automatically adjusted according to the setting of the basic parameters, such as the visual parameter page shown in fig. 4, and when the setting of the basic parameters is completed, the visual parameter page generates corresponding attribute parameters according to the basic parameters. If the user considers that the current attribute parameters of the target well graphic element do not meet the requirements, the attribute parameters can be modified or adjusted through the visual parameter page so as to meet the construction design requirements.
And S312, storing the attribute parameters in a preset format, and generating attribute information of the target well graphic element.
After the setting of the attribute parameters of the target well graphic element is completed, the electronic device can save the attribute parameters. Specifically, the electronic device may store the attribute parameters in a preset format, and generate attribute information of the target well graphic element in the preset format. Taking the case of saving in the JASON format, when the attribute parameter is set, the save format is as follows:
specifically, the step S312 may include:
(1) And acquiring a confirmation instruction for the attribute parameters, and carrying out validity check on the attribute parameters.
After the user determines the attribute parameters of the target well graphic element, a confirmation instruction can be input to the electronic device, for example, a confirmation label is displayed on a visual parameter page by clicking, and correspondingly, the electronic device performs 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 less than or equal to 1000. And (3) if the attribute parameters pass the validity check, executing the step (2), otherwise, sending out a reminding message so as to enable the user to readjust the attribute parameters.
(2) And storing the attribute parameters in a preset format to generate attribute information of the target well graphic element.
When the attribute parameters pass the validity check, the electronic device may store the attribute parameters in a preset format to generate attribute information of the target well graphic element, and detailed description is referred to the related description of the above embodiment, which is not repeated here.
S32, determining modeling parameters of the protective housing from the attribute information of the target well graphic element. The detailed description is referred to the related description of the step S12 corresponding to the above embodiment, and will not be repeated here.
S33, adopting modeling parameters of the protective cover seat to generate a protective cover seat model. The detailed description is referred to the related description of the step S13 corresponding to the above embodiment, and will not be repeated here.
According to the modeling method for the protective housing, basic setting instructions for the target well graphic elements are obtained, basic parameters corresponding to the target well graphic elements are displayed, and attribute parameters corresponding to the basic parameters are displayed. After determining the attribute parameters of the target well graphic element, storing the attribute parameters in a preset format to generate the attribute information of the target well graphic element. According to the method, through the setting of the visual attribute parameters, a protective cover seat model corresponding to the target well graphic element is conveniently and accurately constructed according to the attribute parameters corresponding to the target well graphic element. And the validity of the attribute parameters is checked by acquiring the confirmation instruction of the attribute parameters, so that the accuracy of the attribute information of the generated target well graphic element is ensured, the repeated construction of the protective housing mould caused by attribute information errors is avoided, and the construction efficiency of the protective housing mould is ensured.
The embodiment also provides a modeling device for the protective cover seat, which is used for realizing the embodiment and the preferred implementation manner, and the description is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, 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 base, as shown in fig. 9, including:
and an acquisition module 41, configured to obtain attribute information of the target well graphic element. The detailed description refers to the corresponding related description of the above method embodiments, and will not be repeated here.
The parsing module 42 is configured to determine modeling parameters of the protection housing from attribute information of the target well graphic element. The detailed description refers to the corresponding related description of the above method embodiments, and will not be repeated here.
The generating module 43 is configured to generate a protection housing model by using the modeling parameters of the protection housing. The detailed description refers to the corresponding related description of the above method embodiments, and will not be repeated here.
The modeling means of the protective cover base in this embodiment are presented in the form of functional units, where the units refer to ASIC circuits, processors and memories executing one or more software or fixed programs, and/or other devices that can provide the above-described functionality.
Further functional descriptions of the above modules are the same as those of the above corresponding embodiments, and are not repeated here.
The embodiment of the invention also provides an electronic device, 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, and 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, a memory 504, at least one communication bus 502. Wherein a communication bus 502 is used to enable connected communications between these components. The communication interface 503 may include a Display screen (Display), a Keyboard (Keyboard), and the optional communication interface 503 may further include a standard wired interface, and a wireless interface. The memory 504 may be a high-speed RAM memory (Random Access Memory, volatile random access memory) or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 504 may also optionally be at least one storage device located remotely from the aforementioned processor 501. Wherein the processor 501 may have stored in the memory 504 an application program in the apparatus described in connection with fig. 9 and the processor 501 invokes 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 standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. 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 not only one bus or one type of bus.
Wherein the memory 504 may include volatile memory (english) such as random-access memory (RAM); the memory may also include a nonvolatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviated as HDD) or a solid state disk (english: solid-state drive, abbreviated as SSD); memory 504 may also include a combination of the types of memory described above.
The processor 501 may be a central processor (English: central processing unit, abbreviated: CPU), a network processor (English: network processor, abbreviated: NP) or a combination of CPU and NP.
The processor 501 may further include a hardware chip, among others. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof (English: programmable logic device). The PLD may be a complex programmable logic device (English: complex programmable logic device, abbreviated: CPLD), a field programmable gate array (English: field-programmable gate array, abbreviated: FPGA), a general-purpose array logic (English: generic array logic, abbreviated: GAL), or any combination thereof.
Optionally, the memory 504 is also used for storing program instructions. The processor 501 may invoke program instructions to implement the modeling method of the protective cover base as shown in the embodiments of fig. 1-3 of the present application.
The embodiment of the invention also provides a non-transitory computer storage medium, which stores computer executable instructions capable of executing the processing method of the modeling method of the protection housing in any of the method embodiments. Wherein the storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (7)

1. A method of modeling a protective cover base, comprising:
acquiring attribute information of a target well graphic element, including: acquiring a setting instruction of the target well graphic element to obtain attribute parameters corresponding to the target well graphic element; storing the attribute parameters in a preset format, and generating attribute information of the target well graphic element;
determining modeling parameters of the protection housing from the attribute information of the target well graphic element, wherein the modeling parameters comprise: analyzing the attribute information of the target well graphic element, and determining the attribute parameter information corresponding to the protective cover seat; extracting modeling parameters of the protective cover seat from the attribute parameter information;
adopting the modeling parameters of the protective cover seat to generate a protective cover seat model, comprising: 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.
2. The method of claim 1, wherein constructing at least one sub-model corresponding to the at least one sub-model parameter comprises:
acquiring shape parameters, width parameters and height parameters in the at least one sub-model parameter;
generating a polygon corresponding to the at least one sub-model parameter based on at least one of the 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.
3. The method of claim 1, wherein the obtaining 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 for 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, lanes and shapes;
and adjusting attribute parameters of the target well graphic element based on the basic parameters.
4. The method of claim 1, wherein the storing the attribute parameters in a preset format to generate attribute information for the target well graphic element comprises:
acquiring a confirmation instruction for the attribute parameters, and performing 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 attribute information of the target well graphic element.
5. A modeling apparatus for a protective cover base, comprising:
the acquisition module is used for attribute information of the target well graphic element and comprises the following steps: acquiring a setting instruction of the target well graphic element to obtain attribute parameters corresponding to the target well graphic element; storing the attribute parameters in a preset format, and generating attribute information of the target well graphic element;
the analysis module is used for determining modeling parameters of the protection housing from the attribute information of the target well graphic element, and comprises the following steps: analyzing the attribute information of the target well graphic element, and determining the attribute parameter information corresponding to the protective cover seat; extracting modeling parameters of the protective cover seat from the attribute parameter information;
the generating module is configured to generate a protective cover seat model by using the modeling parameters of the protective cover seat, and 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.
6. 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 base according to any one of claims 1-4.
7. A computer-readable storage medium storing computer instructions for causing a computer to perform the modeling method of the shield seat according to any one of claims 1 to 4.
CN202110974780.XA 2021-08-24 2021-08-24 Modeling method and device for protective housing, electronic equipment and readable storage medium Active CN113688454B (en)

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 CN113688454A (en) 2021-11-23
CN113688454B true 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 (9)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108363867B (en) * 2018-02-09 2021-04-20 广州大学 Building automatic modeling method based on building drawing

Patent Citations (9)

* Cited by examiner, † Cited by third party
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
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
CN113688454A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN106934855B (en) Building 3D model construction method and device
CN113094770A (en) Drawing generation method and device, computer equipment and storage medium
CN109683858B (en) Data processing method and device
CN114169065B (en) Method and apparatus for generating fabricated steel structure, electronic device, and storage medium
CN113420355B (en) Floor processing method and device and electronic equipment
CN114494274A (en) Building construction evaluation method, building construction evaluation device, electronic equipment and storage medium
CN113420353B (en) Method and device for arranging reinforcing steel bars and electronic equipment
CN113191671B (en) Engineering amount calculating method and device and electronic equipment
CN113656883B (en) Tire finite element simulation analysis data post-processing method
CN113158292B (en) Component matching method, engineering amount calculating device and electronic equipment
CN113688454B (en) Modeling method and device for protective housing, electronic equipment and readable storage medium
CN114429640A (en) Drawing segmentation method and device and electronic equipment
CN111985014B (en) Modeling method and system based on standard atlas
CN113139371A (en) Visual chart construction method, device and system and storage medium
McLaurin et al. Repairing unstructured triangular mesh intersections
CN112381773B (en) Key cross section data analysis method, device, equipment and storage medium
CN112580123B (en) Liang Tuyuan editing method, liang Tuyuan editing device, electronic equipment and readable storage medium
CN111753346B (en) Linear member profile generating method, revit platform and storage medium
CN109522596B (en) Electric diagram generation method and electronic device
CN104021250B (en) FPGA ROM store the process mapping method of data
CN113870382A (en) Automatic drawing method of curve track directional drilling section diagram
CN113688457B (en) Modeling method, device and equipment for well Zhou Jiagu model and readable storage medium
CN112685871B (en) Lightning protection range simulation method, device, equipment and storage medium
CN113010946B (en) Data analysis method, electronic equipment and related products
Matin et al. Practical aspects of integration in the developed mold design system

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