CN110555260B - Cable working well model data processing method, device and computer equipment - Google Patents

Cable working well model data processing method, device and computer equipment Download PDF

Info

Publication number
CN110555260B
CN110555260B CN201910808885.0A CN201910808885A CN110555260B CN 110555260 B CN110555260 B CN 110555260B CN 201910808885 A CN201910808885 A CN 201910808885A CN 110555260 B CN110555260 B CN 110555260B
Authority
CN
China
Prior art keywords
cable
well
model
working well
dimensional view
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
CN201910808885.0A
Other languages
Chinese (zh)
Other versions
CN110555260A (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.)
China Southern Power Grid Digital Grid Technology Guangdong Co ltd
China Southern Power Grid Co Ltd
Southern Power Grid Digital Grid Research Institute Co Ltd
Original Assignee
China Southern Power Grid Co Ltd
Southern Power Grid Digital Grid Research Institute 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 China Southern Power Grid Co Ltd, Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical China Southern Power Grid Co Ltd
Priority to CN201910808885.0A priority Critical patent/CN110555260B/en
Publication of CN110555260A publication Critical patent/CN110555260A/en
Application granted granted Critical
Publication of CN110555260B publication Critical patent/CN110555260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T3/08

Abstract

The application provides a cable working well model data processing method, a device and computer equipment, which are characterized in that a stretching algorithm is adopted to carry out parameterization modeling on a cable working well contour and a cable well body part to obtain a cable working well contour solid model and a cable well body part solid model, then the validity of the cable working well contour solid model and the cable well body part solid model is checked according to a physical validity checking algorithm, and finally the effective cable well body part solid model and the cable working well contour solid model are assembled to obtain cable working well three-dimensional model data. The whole process is based on the two-dimensional view of the cable working well, and the two-dimensional view of the cable working well is reversely converted into a three-dimensional entity model by adopting a stretching algorithm, so that important entity basis and reference are provided for construction, the construction accuracy is improved, the construction time is shortened, and the construction efficiency is improved.

Description

Cable working well model data processing method, device and computer equipment
Technical Field
The application relates to the technical field of power grids, in particular to a cable working well model data processing method, a device, computer equipment and a storage medium.
Background
The cable work well is an indispensable part in important components of an electric power facility, is a structure for turning transitional cables, arranging cable joints and placing laying tools, and is also a place for daily operation and maintenance of the cables. The interior of the work well comprises: cable support, manhole, catchment, embedded part, vent, electric power facilities, etc. Because the interior content of the working well is more, the organization structure is more complex, the two-dimensional view of the cable working well cannot intuitively express the structure of the cable working well, and the construction is affected to a certain extent.
However, at present, in the field of cable working wells in power transmission lines, most construction sites still follow the site construction by referring to two-dimensional engineering drawings, the built objects can only be defined by stereoscopic imagination and completed entities, a large number of drawings need to be repeatedly researched in inspection engineering, the construction efficiency is reduced, and the uncertainty is high.
Disclosure of Invention
Based on the above, it is necessary to provide an efficient cable work well model data processing method, device, computer equipment and storage medium for the problem of low data loading and rendering efficiency of the traditional three-dimensional overhead cable hierarchical power grid.
A cable work well model data processing method comprises the following steps:
Acquiring a two-dimensional view of a cable working well, wherein the two-dimensional view of the cable working well comprises a two-dimensional view of a cable working well profile and a two-dimensional view of a cable well body part;
according to the two-dimensional view of the cable working well profile and the two-dimensional view of the cable well body part, carrying out parameterization modeling on the cable working well profile and the cable well body part by adopting a stretching algorithm to obtain a cable working well profile solid model and a cable well body part solid model;
according to the entity effectiveness checking algorithm, performing effectiveness checking on the cable working well outline entity model and the cable well body part entity model;
and assembling the effective cable well body part solid model and the cable working well outline solid model to obtain cable working well three-dimensional model data.
In one embodiment, according to the two-dimensional view of the cable working well profile and the two-dimensional view of the cable well body component, performing parametric modeling on the cable working well profile and the cable well body component by adopting a stretching algorithm, and obtaining the cable working well profile solid model and the cable well body component solid model includes:
based on the two-dimensional view of the cable working well profile and the coordinate information contained in the two-dimensional view of the cable well body part, a stretching algorithm is adopted to obtain stretching profile points;
And stretching the cable working well profile and the cable well body part along the direction perpendicular to the two-dimensional view plane according to the stretching profile points to obtain a cable working well profile solid model and a cable well body part solid model.
In one embodiment, performing the validity check on the wireline work well profile solid model and the wireline well body component solid model according to the physical validity check algorithm comprises:
and carrying out entity calculation and cutting on the cable working well contour entity model and the cable well body part entity model through an Euler formula.
In one embodiment, performing validity checking on the wireline work well profile solid model and the wireline well body component solid model according to a per-entity validity checking algorithm comprises:
and according to the entity regular set operation, checking whether the cable working well outline entity model and the cable well body part entity model meet the sealing requirement.
In one embodiment, the method includes assembling the effective cable well body part solid model and the cable working well outline solid model to obtain the cable working well three-dimensional model data, and then further includes:
and representing the three-dimensional model data of the cable working well by adopting a scanning representation method.
In one embodiment, the method includes assembling the effective cable well body part solid model and the cable working well outline solid model to obtain the cable working well three-dimensional model data, and then further includes:
and converting the three-dimensional model data of the cable working well into a two-dimensional view of the cable working well by adopting a projection algorithm.
A wireline work well model data processing device, the device comprising:
the data acquisition module is used for acquiring a two-dimensional view of the cable working well, wherein the two-dimensional view of the cable working well comprises a two-dimensional view of the cable working well outline and a two-dimensional view of a cable well body component;
the parameterized modeling module is used for parameterizing and modeling the cable working well profile and the cable well body part by adopting a stretching algorithm according to the two-dimensional view of the cable working well profile and the two-dimensional view of the cable well body part to obtain a cable working well profile solid model and a cable well body part solid model;
the model checking module is used for checking the validity of the cable working well outline solid model and the cable well body part solid model according to the entity validity checking algorithm;
and the model assembly module is used for assembling the effective cable well body part solid model and the cable working well outline solid model to obtain three-dimensional model data of the cable working well.
In one embodiment, the apparatus further comprises:
and the data conversion module is used for converting the three-dimensional model data of the cable working well into a two-dimensional view of the cable working well by adopting a projection algorithm.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
acquiring a two-dimensional view of a cable working well, wherein the two-dimensional view of the cable working well comprises a two-dimensional view of a cable working well profile and a two-dimensional view of a cable well body part;
according to the two-dimensional view of the cable working well profile and the two-dimensional view of the cable well body part, carrying out parameterization modeling on the cable working well profile and the cable well body part by adopting a stretching algorithm to obtain a cable working well profile solid model and a cable well body part solid model;
according to the entity effectiveness checking algorithm, performing effectiveness checking on the cable working well outline entity model and the cable well body part entity model;
and assembling the effective cable well body part solid model and the cable working well outline solid model to obtain cable working well three-dimensional model data.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
Acquiring a two-dimensional view of a cable working well, wherein the two-dimensional view of the cable working well comprises a two-dimensional view of a cable working well profile and a two-dimensional view of a cable well body part;
according to the two-dimensional view of the cable working well profile and the two-dimensional view of the cable well body part, carrying out parameterization modeling on the cable working well profile and the cable well body part by adopting a stretching algorithm to obtain a cable working well profile solid model and a cable well body part solid model;
according to the entity effectiveness checking algorithm, performing effectiveness checking on the cable working well outline entity model and the cable well body part entity model;
and assembling the effective cable well body part solid model and the cable working well outline solid model to obtain cable working well three-dimensional model data.
According to the cable working well model data processing method, the device, the computer equipment and the storage medium, the cable working well two-dimensional view is obtained, the cable working well outline two-dimensional view and the cable well body part two-dimensional view are subjected to parameterization modeling according to the coordinate information and the stretching algorithm contained in the cable working well outline two-dimensional view and the cable well body part two-dimensional view in the cable working well two-dimensional view, the cable working well outline entity model and the cable well body part entity model are obtained, then the cable working well outline entity model and the cable well body part entity model are checked for effectiveness according to the entity effectiveness checking algorithm, and finally the effective cable well body part entity model and the cable working well outline entity model are assembled, so that the cable working well three-dimensional model data is obtained. The whole process is based on the two-dimensional view of the cable working well, and the two-dimensional view of the cable working well is reversely converted into a three-dimensional entity model by adopting a stretching algorithm, so that important entity basis and reference are provided for construction, the construction accuracy is improved, the construction time is shortened, and the construction efficiency is improved.
Drawings
FIG. 1 is a diagram of an application environment for a method of data processing of a wireline work well model in one embodiment;
FIG. 2 is a flow diagram of a method of data processing of a wireline work well model in one embodiment;
FIG. 3 is a detailed flow chart of a method of data processing of a wireline work well model in another embodiment;
FIG. 4 is a block diagram of a wireline work well model data processing device in one embodiment;
FIG. 5 is a block diagram of a wireline work well model data processing device in another embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The cable working well model data processing method provided by the application can be applied to an application environment diagram shown in fig. 1, wherein an application scene can be that a user uploads related construction drawings into a terminal in advance, the construction drawings comprise two-dimensional views of the current cable working well and all components, and specifically, the two-dimensional views can comprise three views, a plan view and a cross-sectional view of the cable working well and all components. When a user sends a data cable working well data processing instruction to a terminal, a processor of the terminal acquires a cable working well two-dimensional view from a memory, wherein the cable working well two-dimensional view comprises a cable working well outline two-dimensional view and a cable well body part two-dimensional view, then, according to the cable working well outline two-dimensional view and the cable well body part two-dimensional view, a stretching algorithm is adopted to conduct parameterization modeling on a cable working well outline and a cable well body part to obtain a cable working well outline entity model and a cable well body part entity model, according to a entity validity checking algorithm, validity checking is conducted on the cable working well outline entity model and the cable well body part entity model, the sizes of the unqualified outline entity model and the unqualified cable well body part entity model are modified, relevant modification information is recorded, and then, the effective cable well body part entity model and the cable working well outline entity model are assembled to obtain cable working well three-dimensional model data. The terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
In one embodiment, as shown in fig. 2, a method for processing model data of a cable working well is provided, and the method is applied to a processor and comprises the following steps:
step S200, obtaining a two-dimensional view of the cable working well, wherein the two-dimensional view of the cable working well comprises a two-dimensional view of a cable working well profile and a two-dimensional view of a cable well body component.
In this embodiment, the cable work well is entirely divided into two parts, namely a cable well profile and a cable well body part. The two-dimensional view of the wireline work well includes a two-dimensional view of the wireline work well profile and the wireline well body component, and in particular, the two-dimensional view of the wireline work well profile and the wireline well body component includes a three-dimensional view, a plan view, and a cross-sectional view of the wireline work well profile and the wireline well body component. Further, the cable well body component comprises a cable bracket, a manhole, a water collecting ditch, a reserved hole, an embedded part, a ventilation opening, an electric power facility and the like. In practical application, a worker leads a construction drawing of the cable well (comprising a two-dimensional view of the cable working well) into a memory of the terminal in advance, and then builds three-dimensional model data of the cable working well in terminal operation. The construction drawings are mostly files in DXF format or DWG format, and specifically comprise three views of a cable working well and various well body components. And after the processor of the terminal receives the cable working well three-dimensional model data construction instruction, acquiring a two-dimensional view of the cable working well in the memory.
And step S400, carrying out parameterization modeling on the cable working well contour and the cable well body part by adopting a stretching algorithm according to the two-dimensional view of the cable working well contour and the two-dimensional view of the cable well body part to obtain a cable working well contour solid model and a cable well body part solid model.
The solid model is a perfect model definition, and can express all shape information such as object position, area, length, volume, topological association and the like, and meanwhile, the merging, intersection, difference set operation, euler operation and the like of the object are defined. The stretching algorithm in the embodiment refers to an algorithm for stretching a two-dimensional view of a cable working well profile and a two-dimensional view of a cable well body part into a three-dimensional view, and then constructing a cable working well profile solid model and a cable well body part solid model according to parameterized modeling. Specifically, the stretching algorithm may include reading the length and width of the profile of the cable working well in plan view and the height of the bottom plate of the cable working well in section from the top plate, then stretching a height H along the direction (n) perpendicular to the plane, reconstructing a solid profile, reading the length, width and height of the profile of the bottom plate and the closed profile line (water collecting channel) in the profile of the bottom plate, stretching a height along the direction opposite to the direction n, and stretching the cushion layer and the bottom plate in the same manner as described above; reading the length, width and height of the top plate profile and a closed profile line (manhole) in the top plate profile, and stretching the top plate profile by one height along the direction n; reading the length, width and wall thickness of a reserved hole in the section, stretching a height along the direction n, and converting the plane position information of the reserved hole section into three-dimensional space position information; reading size information of a manhole and a water collecting ditch, and stretching a height along the direction n; reading the size information of the angle steel upright post and the bracket, stretching a height along the angle steel outline, recording the position of the bracket on the upright post, converting the plane position information of the bracket and the upright post into space position information to obtain a three-dimensional bracket and upright post solid model, and carrying out parameterization modeling on the cable working well outline and the cable well body part by adopting a stretching algorithm according to the mode to obtain the cable working well outline solid model and the cable well body part solid model.
In one embodiment, according to the two-dimensional view of the cable working well profile and the two-dimensional view of the cable well body component, performing parametric modeling on the cable working well profile and the cable well body component by adopting a stretching algorithm, and obtaining the cable working well profile solid model and the cable well body component solid model includes: and S420, based on the two-dimensional view of the cable working well profile and the coordinate information contained in the two-dimensional view of the cable well body component, adopting a stretching algorithm to obtain stretching profile points, and stretching the cable working well profile and the cable well body component along the direction perpendicular to the two-dimensional view plane according to the stretching profile points to obtain a cable working well profile solid model and a cable well body component solid model.
In this embodiment, a plane equation and a linear parameter equation may be established according to the two-dimensional view of the cable working well profile and the coordinate information of each component and the profile in the two-dimensional view of the cable well body component, and the stretching profile point may be obtained according to the plane equation and the linear parameter equation. Specifically, the plane equation and the linear parameter equation may be:
plane equation: a (x-x 0) +B (y-y 0) +C (z-z 0) =0 (1)
Linear parameter equation: x=x1+mt; y=y1+nt; z=z1+pt (2)
The method comprises the steps of obtaining a straight line parameter equation t, obtaining each node of a specified stretching contour, performing stretching calculation, wherein x0, y0 and z0 represent one point on a plane, A, B and C represent plane normal vectors, x1, y1 and z1 represent one point on a straight line, m, n and p represent straight line normal vectors, and t represents parameters. And (3) simultaneous equations (1) and (2), solving t of a straight line parameter equation, then acquiring each node of the designated stretching profile, and carrying out later stretching calculation to solve stretching profile points. In this embodiment, by adopting the above stretching calculation, the stretching contour points can be simply and rapidly found, so as to accelerate the construction of the cable working well contour solid model and the cable well body component solid model.
And step S600, carrying out validity check on the cable working well outline solid model and the cable well body part solid model according to a physical validity check algorithm.
Determining whether an entity is valid may be accomplished by checking whether it has the properties that a valid entity should have, as follows: rigid, has a closed boundary, and can divide space into an inner part and an outer part according to the boundary, the inner part is communicated, occupies limited space, and is still an effective entity after geometric transformation and aggregation operation. As described in the above embodiment, after the cable working well profile solid model and the cable well body part solid model are obtained, in order to verify whether the constructed solid model is standard and valid, the solid model needs to be checked for validity, specifically, the entity validity check may be performed according to the euler formula.
In one embodiment, performing the validity check on the wireline work well profile solid model and the wireline well body component solid model according to the physical validity check algorithm comprises: and S620, performing entity calculation and cutting on the cable working well contour entity model and the cable well body part entity model through an Euler formula.
The euler formula, also known as the euler theorem, also known as the You La formula, is a formula used in the field of complex analysis that relates trigonometric functions to complex exponential functions. Specifically, the euler theorem is defined in that on any regular spherical map, R denotes the number of regions, V denotes the number of vertices, and E denotes the number of boundaries, and r+v-e=2. In computer graphics, the euler formula is often used to check entity validity. In this embodiment, when a polyhedron without through-polyhedron holes is inspected, the euler formula V-e+f=2 is used, where V is the number of top points, E is the number of sides, and F is the number of faces; when inspecting a polyhedron with holes through the polyhedron, the generalized euler formula V-e+f-h=2 (C-G) is used, where V is the number of vertices, E is the number of edges), F is the number of faces, H is the number of holes on the surface of the body, G is the number of holes through the polyhedron, and C is the number of independent unconnected polyhedrons. When a part is detected to be out of the definition of the Euler formula, the part is proved to be invalid, and at the moment, the parameter reconstruction design of the part needs to be adjusted to perform corresponding calculation and clipping. In the embodiment, the Euler formula is adopted to perform entity validity check, so that the standardization and validity of the three-dimensional model of the cable working well can be ensured.
In one embodiment, performing validity checking on the wireline work well profile solid model and the wireline well body component solid model according to a per-entity validity checking algorithm comprises: step S640, checking whether the cable working well outline solid model and the cable well body part solid model meet the sealing requirement according to the entity regular set operation.
The regular set operation is mainly used for checking whether an entity has a closed state, and the fact that an effective entity has a closed state means that the effective entity is still an effective entity after a series of set operations, and general set operations cannot meet the requirement. Specifically, the regular set operation includes regular union, regular intersection and regular difference operation, and the result of the set operation can be ensured to be a regular body through the regular set operation. In this embodiment, the regular set operation is adopted to avoid the phenomena of edge suspension, surface suspension, edge deficiency, surface deficiency and the like on the surface of the body.
And step S800, assembling the effective cable well body part solid model and the cable working well outline solid model to obtain cable working well three-dimensional model data.
After checking the validity of the entity, the cable well body part entity model and the cable working well outline entity model can be assembled according to the space position information and the relative space position of each cable well body part entity model and the cable working well outline entity model to obtain three-dimensional model data of the cable working well. Specifically, the method comprises the steps of assembling a reserved hole entity model, a manhole entity model, a water collecting ditch entity model and a well profile entity model, assembling a stand column entity model and a bracket entity model, and then assembling the stand column entity model and the bracket entity model into the well profile entity model to obtain three-dimensional model data of the cable working well.
According to the cable working well model data processing method, the cable working well two-dimensional view is obtained, the cable working well outline and the cable well body part are subjected to parameterization modeling according to the coordinate information and the stretching algorithm contained in the cable working well outline two-dimensional view and the cable well body part two-dimensional view in the cable working well two-dimensional view, the cable working well outline entity model and the cable well body part entity model are obtained, then the validity of the cable working well outline entity model and the cable well body part entity model is checked according to the entity validity checking algorithm, and finally the valid cable well body part entity model and the cable working well outline entity model are assembled to obtain the cable working well three-dimensional model data. The whole process is based on the two-dimensional view of the cable working well, and the two-dimensional view of the cable working well is reversely converted into a three-dimensional entity model by adopting a stretching algorithm, so that important entity basis and reference are provided for construction, the construction accuracy is improved, the construction time is shortened, and the construction efficiency is improved.
In one embodiment, the method includes assembling the effective cable well body part solid model and the cable working well outline solid model to obtain the cable working well three-dimensional model data, and then further includes: step S850, using a scan representation, represents the three-dimensional model data of the cable work well.
The basic principle of the scan representation is to scan a point, an edge or a surface in space along a certain path, and to represent a three-dimensional object by using the obtained scan trajectory. Scan representation requires defining the trajectory of the scanned object and the scanned motion. The scanning method mainly comprises the following steps: translation scanning, rotation scanning and generalized scanning. In this embodiment, the three-dimensional model data of the cable working well may be represented by a rotational scanning method.
In one embodiment, the method includes assembling the effective cable well body part solid model and the cable working well outline solid model to obtain the cable working well three-dimensional model data, and then further includes: and step S900, converting the three-dimensional model data of the cable working well into a two-dimensional view of the cable working well by adopting a projection algorithm.
In practical application, in order to facilitate the observation of parameters and details of the components from different visual angles, the three-dimensional model of the cable working well can be converted into a two-dimensional view of the cable working well after the three-dimensional model of the cable working well is generated, so that the three-dimensional view is switched to the two-dimensional view, and the three-dimensional view is convenient to view. Specifically, a projection algorithm is adopted to convert the three-dimensional model data of the cable working well into a two-dimensional view of the cable working well. The projection algorithm is to project the shadow of the graph onto a plane ohm line, in this embodiment, the adopted projection algorithm is an oblique projection algorithm, and specifically, the adopted write projection algorithm may be:
tan(α)=(zk-z)/L;
L1=ctgα;
xp=x+L1*(zk-z)*cos(β);
yp=y+L1*(zk-z)*sin(β)
Wherein, alpha represents the included angle between the oblique parallel projection line and the connecting line on the projection plane, beta represents the included angle between the projection line of the observation plane and the horizontal direction of the projection plane, L represents the projection line length of the observation plane, zk represents the orthographic projection point Z, x to the projection plane, Z represents the three-dimensional coordinates, xp, yp and zK represent the projection coordinates. The three-dimensional view is converted into the two-dimensional view through the oblique projection algorithm, so that the conversion between the three-dimensional view and the two-dimensional view is realized, the views can be conveniently switched, and the observation of parameters and details of the cable working well component from multiple view angles is realized.
It should be understood that, although the steps in the flowcharts of fig. 2 to 3 are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with at least a portion of other steps or sub-steps or stages of other steps.
In one embodiment, as shown in FIG. 4, there is provided a wireline work well model data processing device comprising: a data acquisition module 410, a parameterized modeling module 420, a model inspection module 430, and a model assembly module 440, wherein:
the data acquisition module 410 is configured to acquire a two-dimensional view of the cable work well, where the two-dimensional view of the cable work well includes a two-dimensional view of a cable work well profile and a two-dimensional view of a cable well body component.
The parameterized modeling module 420 is configured to perform parameterized modeling on the cable working well profile and the cable well body component by adopting a stretching algorithm according to the two-dimensional view of the cable working well profile and the two-dimensional view of the cable well body component, so as to obtain a cable working well profile solid model and a cable well body component solid model.
The model checking module 430 is configured to perform validity checking on the cable work well contour solid model and the cable well body component solid model according to a physical validity checking algorithm.
The model assembling module 440 is configured to assemble the effective cable well body part solid model and the cable working well contour solid model to obtain three-dimensional model data of the cable working well.
As shown in FIG. 5, in one embodiment, the wireline work well model data processing device further comprises a model representation module 450 for representing the wireline work well three-dimensional model data using a scan representation.
In one embodiment, as shown in FIG. 5, the wireline work well model data processing device further comprises a data conversion module 460 for converting the wireline work well three-dimensional model data into a wireline work well two-dimensional view using a projection algorithm.
In one embodiment, the parameterized modeling module 420 is further configured to determine a stretching contour point by using a stretching algorithm based on the two-dimensional view of the cable working well contour and the coordinate information included in the two-dimensional view of the cable well body component, and stretch the cable working well contour and the cable well body component along a direction perpendicular to the plane of the two-dimensional view according to the stretching contour point, so as to obtain a cable working well contour solid model and a cable well body component solid model.
In one embodiment, the model checking module 430 is further configured to perform physical computation and clipping on the cable working well profile physical model and the cable well body part physical model through euler formulas.
In one embodiment, the model checking module 430 is further configured to check whether the cable work well profile solid model and the cable well body component solid model satisfy the sealing requirement according to the entity canonical set operation.
Specific limitations regarding the wireline work well model data processing device may be found in the above description of the wireline work well model data processing method, and will not be described in detail herein. The various modules in the above-described wireline work well model data processing device may be implemented in whole or in part in software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a wireline work well model data processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program: the method comprises the steps of obtaining a two-dimensional view of a cable working well, wherein the two-dimensional view of the cable working well comprises a two-dimensional view of a cable working well outline and a two-dimensional view of a cable well body component, carrying out parameterization modeling on the cable working well outline and the cable well body component by adopting a stretching algorithm according to the two-dimensional view of the cable working well outline and the two-dimensional view of the cable well body component, obtaining a cable working well outline solid model and a cable well body component solid model, carrying out validity check on the cable working well outline solid model and the cable well body component solid model according to a physical validity check algorithm, and assembling the effective cable well body component solid model and the cable working well outline solid model to obtain cable working well three-dimensional model data.
In one embodiment, the processor when executing the computer program further performs the steps of: based on the two-dimensional view of the cable working well profile and the coordinate information contained in the two-dimensional view of the cable well body component, a stretching algorithm is adopted to obtain stretching profile points, and according to the stretching profile points, the cable working well profile and the cable well body component are stretched along the direction perpendicular to the plane of the two-dimensional view, so that a cable working well profile solid model and a cable well body component solid model are obtained.
In one embodiment, the processor when executing the computer program further performs the steps of: and carrying out entity calculation and cutting on the cable working well contour entity model and the cable well body part entity model through an Euler formula.
In one embodiment, the processor when executing the computer program further performs the steps of: and according to the entity regular set operation, checking whether the cable working well outline entity model and the cable well body part entity model meet the sealing requirement.
In one embodiment, the processor when executing the computer program further performs the steps of: and representing the three-dimensional model data of the cable working well by adopting a scanning representation method.
In one embodiment, the processor when executing the computer program further performs the steps of: and converting the three-dimensional model data of the cable working well into a two-dimensional view of the cable working well by adopting a projection algorithm.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: the method comprises the steps of obtaining a two-dimensional view of a cable working well, wherein the two-dimensional view of the cable working well comprises a two-dimensional view of a cable working well outline and a two-dimensional view of a cable well body component, carrying out parameterization modeling on the cable working well outline and the cable well body component by adopting a stretching algorithm according to the two-dimensional view of the cable working well outline and the two-dimensional view of the cable well body component, obtaining a cable working well outline solid model and a cable well body component solid model, carrying out validity check on the cable working well outline solid model and the cable well body component solid model according to a physical validity check algorithm, and assembling the effective cable well body component solid model and the cable working well outline solid model to obtain cable working well three-dimensional model data.
In one embodiment, the computer program when executed by the processor further performs the steps of: based on the two-dimensional view of the cable working well profile and the coordinate information contained in the two-dimensional view of the cable well body component, a stretching algorithm is adopted to obtain stretching profile points, and according to the stretching profile points, the cable working well profile and the cable well body component are stretched along the direction perpendicular to the plane of the two-dimensional view, so that a cable working well profile solid model and a cable well body component solid model are obtained.
In one embodiment, the computer program when executed by the processor further performs the steps of: and carrying out entity calculation and cutting on the cable working well contour entity model and the cable well body part entity model through an Euler formula.
In one embodiment, the computer program when executed by the processor further performs the steps of: and according to the entity regular set operation, checking whether the cable working well outline entity model and the cable well body part entity model meet the sealing requirement.
In one embodiment, the computer program when executed by the processor further performs the steps of: and representing the three-dimensional model data of the cable working well by adopting a scanning representation method.
In one embodiment, the computer program when executed by the processor further performs the steps of: and converting the three-dimensional model data of the cable working well into a two-dimensional view of the cable working well by adopting a projection algorithm.
Those skilled in the art will appreciate that implementing all or part of the above-described embodiment methods may be accomplished by way of a computer program that instructs associated hardware to perform the method, and that the computer program may be stored on a non-volatile computer readable storage medium, which when executed, may comprise the embodiment flows of the above-described methods. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A method of cable work well model data processing, the method comprising:
acquiring a two-dimensional view of a cable working well, wherein the two-dimensional view of the cable working well comprises a two-dimensional view of a cable working well profile and a two-dimensional view of a cable well body component;
based on the two-dimensional view of the cable working well profile and the coordinate information contained in the two-dimensional view of the cable well body component, a plane equation and a linear parameter equation are established, a stretching profile point is obtained according to the plane equation and the linear parameter equation, and the cable working well profile and the cable well body component are stretched along the direction perpendicular to the two-dimensional view plane according to the stretching profile point, so that the cable working well profile solid model and the cable well body component solid model are obtained;
According to an entity effectiveness checking algorithm, performing effectiveness checking on the cable working well outline entity model and the cable well body part entity model, wherein the effectiveness checking comprises rigidity checking, closed boundary checking and internal communication checking;
assembling the effective cable well body part solid model and the cable working well outline solid model to obtain cable working well three-dimensional model data;
representing the three-dimensional model data of the cable working well by adopting a scanning representation method, wherein the scanning representation method comprises any one of a translation scanning representation method, a rotation scanning representation method and a generalized scanning representation method;
converting the three-dimensional model data of the cable working well into a two-dimensional view of the cable working well by adopting a projection algorithm;
wherein the two-dimensional view of the wireline work well profile comprises a three-dimensional view, a plan view, and a cross-sectional view of the wireline work well profile, and the two-dimensional view of the wireline well body component comprises a three-dimensional view, a plan view, and a cross-sectional view of the wireline well body component;
the plane equation includes: a (x-x) 0 )+B(y-y 0 )+C(z-z 0 )=0
The straight line parameter equation includes: x=x 1 +mt;y=y 1 +nt;z=z 1 +pt
Wherein x is 0 ,y 0 Z 0 Points on the plane are represented, A, B and C represent normal vectors of the plane, x 1 ,y 1 Z 1 Points on a straight line are represented, m, n and p represent normal vectors of the straight line, and t represents a parameter;
the step of calculating the stretching contour point according to the plane equation and the linear parameter equation comprises the following steps: and (3) combining the plane equation and the linear parameter equation, solving t of the linear parameter equation, acquiring each node of the appointed tensile profile, performing tensile calculation on each node of the appointed tensile profile, and solving the tensile profile point.
2. The method for processing the data of the cable working well model according to claim 1, wherein the step of checking the validity of the cable working well contour solid model and the cable well body part solid model according to the entity validity checking algorithm comprises the steps of:
and performing entity calculation and cutting on the cable working well contour entity model and the cable well body part entity model through an Euler formula.
3. The method for processing the data of the cable working well model according to claim 1, wherein the step of checking the validity of the cable working well contour solid model and the cable well body part solid model according to the entity validity checking algorithm comprises the steps of:
and according to the entity regular set operation, checking whether the cable working well contour entity model and the cable well body part entity model meet the sealing requirement.
4. The method of claim 1, wherein converting the three-dimensional model data of the wireline work well into a two-dimensional view of the wireline work well using a projection algorithm comprises:
and converting the three-dimensional model data of the cable working well into a two-dimensional view of the cable working well by adopting an oblique projection algorithm.
5. A wireline work well model data processing device, the device comprising:
the data acquisition module is used for acquiring a two-dimensional view of the cable working well, wherein the two-dimensional view of the cable working well comprises a two-dimensional view of the cable working well outline and a two-dimensional view of a cable well body part;
the parameterization modeling module is used for establishing a plane equation and a linear parameter equation based on the two-dimensional view of the cable working well profile and the coordinate information contained in the two-dimensional view of the cable well body component, solving a stretching profile point according to the plane equation and the linear parameter equation, and stretching the cable working well profile and the cable well body component along the direction perpendicular to the two-dimensional view plane according to the stretching profile point to obtain the cable working well profile solid model and the cable well body component solid model;
The model checking module is used for checking the validity of the cable working well outline solid model and the cable well body part solid model according to a solid validity checking algorithm, wherein the validity checking comprises a rigidity checking, a closed boundary checking and an internal communication checking;
the model assembly module is used for assembling the effective cable well body part solid model and the cable working well outline solid model to obtain cable working well three-dimensional model data;
the model representation module is used for representing the three-dimensional model data of the cable working well by adopting a scanning representation method, wherein the scanning representation method comprises any one of a translation scanning representation method, a rotation scanning representation method and a generalized scanning representation method;
the data conversion module is used for converting the three-dimensional model data of the cable working well into a two-dimensional view of the cable working well by adopting a projection algorithm;
wherein the two-dimensional view of the wireline work well profile comprises a three-dimensional view, a plan view, and a cross-sectional view of the wireline work well profile, and the two-dimensional view of the wireline well body component comprises a three-dimensional view, a plan view, and a cross-sectional view of the wireline well body component;
the plane equation includes: a (x-x) 0 )+B(y-y 0 )+C(z-z 0 )=0
The straight line parameter equation includes: x=x 1 +mt;y=y 1 +nt;z=z 1 +pt
Wherein x is 0 ,y 0 Z 0 Points on the plane are represented, A, B and C represent normal vectors of the plane, x 1 ,y 1 Z 1 Points on a straight line are represented, m, n and p represent normal vectors of the straight line, and t represents a parameter;
the step of calculating the stretching contour point according to the plane equation and the linear parameter equation comprises the following steps: and (3) combining the plane equation and the linear parameter equation, solving t of the linear parameter equation, acquiring each node of the appointed tensile profile, performing tensile calculation on each node of the appointed tensile profile, and solving the tensile profile point.
6. The apparatus of claim 5, wherein the model checking module is further configured to perform physical computation and clipping on the cable working well profile solid model and the cable well body component solid model by using an euler formula.
7. The wireline work well model data processing device of claim 5, wherein the model checking module is further configured to check whether the wireline work well profile solid model and the wireline well body component solid model satisfy a closure requirement according to a physical canonical set operation.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor when executing the computer program performs the steps of:
Acquiring a two-dimensional view of a cable working well, wherein the two-dimensional view of the cable working well comprises a two-dimensional view of a cable working well profile and a two-dimensional view of a cable well body component;
based on the two-dimensional view of the cable working well profile and the coordinate information contained in the two-dimensional view of the cable well body component, a plane equation and a linear parameter equation are established, a stretching profile point is obtained according to the plane equation and the linear parameter equation, and the cable working well profile and the cable well body component are stretched along the direction perpendicular to the two-dimensional view plane according to the stretching profile point, so that the cable working well profile solid model and the cable well body component solid model are obtained;
according to an entity effectiveness checking algorithm, performing effectiveness checking on the cable working well outline entity model and the cable well body part entity model, wherein the effectiveness checking comprises rigidity checking, closed boundary checking and internal communication checking;
assembling the effective cable well body part solid model and the cable working well outline solid model to obtain cable working well three-dimensional model data;
representing the three-dimensional model data of the cable working well by adopting a scanning representation method, wherein the scanning representation method comprises any one of a translation scanning representation method, a rotation scanning representation method and a generalized scanning representation method;
Converting the three-dimensional model data of the cable working well into a two-dimensional view of the cable working well by adopting a projection algorithm;
wherein the two-dimensional view of the wireline work well profile comprises a three-dimensional view, a plan view, and a cross-sectional view of the wireline work well profile, and the two-dimensional view of the wireline well body component comprises a three-dimensional view, a plan view, and a cross-sectional view of the wireline well body component;
the plane equation includes: a (x-x) 0 )+B(y-y 0 )+C(z-z 0 )=0
The straight line parameter equation includes: x=x 1 +mt;y=y 1 +nt;z=z 1 +pt
Wherein x is 0 ,y 0 Z 0 Points on the plane are represented, A, B and C represent normal vectors of the plane, x 1 ,y 1 Z 1 Points on a straight line are represented, m, n and p represent normal vectors of the straight line, and t represents a parameter;
the step of calculating the stretching contour point according to the plane equation and the linear parameter equation comprises the following steps: and (3) combining the plane equation and the linear parameter equation, solving t of the linear parameter equation, acquiring each node of the appointed tensile profile, performing tensile calculation on each node of the appointed tensile profile, and solving the tensile profile point.
9. The computer device according to claim 8, wherein the processor when executing the computer program further performs the steps of:
and performing entity calculation and cutting on the cable working well contour entity model and the cable well body part entity model through an Euler formula.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN201910808885.0A 2019-08-29 2019-08-29 Cable working well model data processing method, device and computer equipment Active CN110555260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910808885.0A CN110555260B (en) 2019-08-29 2019-08-29 Cable working well model data processing method, device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910808885.0A CN110555260B (en) 2019-08-29 2019-08-29 Cable working well model data processing method, device and computer equipment

Publications (2)

Publication Number Publication Date
CN110555260A CN110555260A (en) 2019-12-10
CN110555260B true CN110555260B (en) 2023-10-24

Family

ID=68738417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910808885.0A Active CN110555260B (en) 2019-08-29 2019-08-29 Cable working well model data processing method, device and computer equipment

Country Status (1)

Country Link
CN (1) CN110555260B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656880A (en) * 2021-08-26 2021-11-16 焦爱丽 Three-dimensional modeling method for special-shaped electric power tunnel well

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006005044A1 (en) * 2006-02-03 2007-08-16 Metaio Gmbh Virtual information`s data model determining method, involves transforming extracted edge extracted from respective view to three-dimensional contour model corresponding to data model
CN104112028A (en) * 2013-04-17 2014-10-22 建德市供电局 Method and device for displaying cable underground pipe network
CN104695481A (en) * 2015-04-03 2015-06-10 昆山巴城水泥制品有限公司 Electric telecommunication cable working well
CN109033693A (en) * 2018-08-17 2018-12-18 北京道亨时代科技有限公司 A kind of method that power cable well parametric modeling and solid modelling blend

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006005044A1 (en) * 2006-02-03 2007-08-16 Metaio Gmbh Virtual information`s data model determining method, involves transforming extracted edge extracted from respective view to three-dimensional contour model corresponding to data model
CN104112028A (en) * 2013-04-17 2014-10-22 建德市供电局 Method and device for displaying cable underground pipe network
CN104695481A (en) * 2015-04-03 2015-06-10 昆山巴城水泥制品有限公司 Electric telecommunication cable working well
CN109033693A (en) * 2018-08-17 2018-12-18 北京道亨时代科技有限公司 A kind of method that power cable well parametric modeling and solid modelling blend

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于AutoCAD的管线三维建模方法研究;张弓;郑文青;李玉芳;卢云萍;;地理空间信息(第06期);第153-157页 *

Also Published As

Publication number Publication date
CN110555260A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
Krone et al. Visual analysis of biomolecular cavities: State of the art
Alsadik et al. Automated camera network design for 3D modeling of cultural heritage objects
Kim et al. Precise gouging-free tool orientations for 5-axis CNC machining
Truong-Hong et al. Flying voxel method with Delaunay triangulation criterion for façade/feature detection for computation
Sieger et al. On shape deformation techniques for simulation-based design optimization
US7620528B2 (en) Method and program for labeling multi material data
CN110675440B (en) Confidence evaluation method and device for three-dimensional depth data and computer equipment
Feng et al. Multiscale geometric modeling of macromolecules II: Lagrangian representation
CN113724401A (en) Three-dimensional model cutting method and device, computer equipment and storage medium
Zhou et al. OutDet: an algorithm for extracting the outer surfaces of building information models for integration with geographic information systems
CN111325663A (en) Three-dimensional point cloud matching method and device based on parallel architecture and computer equipment
Huhnt Reconstruction of edges in digital building models
CN110555260B (en) Cable working well model data processing method, device and computer equipment
Ruan et al. Closed-form Minkowski sums of convex bodies with smooth positively curved boundaries
Elber et al. A unified approach to verification in 5-axis freeform milling environments
Hashemi Beni et al. Toward 3D spatial dynamic field simulation within GIS using kinetic Voronoi diagram and Delaunay tetrahedralization
Zhu et al. Analytical solutions for sketch-based convolution surface modeling on the GPU
CN112906092B (en) Mapping method and mapping system
Nelaturi et al. Solving inverse configuration space problems by adaptive sampling
Ćurković et al. Enhanced 3D parameterization for integrated shape synthesis by fitting parameter values to point sets
Kim et al. Automated two-dimensional geometric model reconstruction from point cloud data for construction quality inspection and maintenance
US20170371982A1 (en) Global optimization of networks of locally fitted objects
CN115239784A (en) Point cloud generation method and device, computer equipment and storage medium
CN114708397A (en) Ground three-dimensional model data processing method and system for photovoltaic system installation
Hu et al. Voronoi cells of non-general position spheres using the GPU

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
CP03 Change of name, title or address

Address after: 510000 No. 11 Kexiang Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Patentee after: CHINA SOUTHERN POWER GRID Co.,Ltd.

Country or region after: Zhong Guo

Patentee after: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

Address before: 510000 No. 11 Kexiang Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Patentee before: CHINA SOUTHERN POWER GRID Co.,Ltd.

Country or region before: Zhong Guo

Patentee before: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20240320

Address after: Full Floor 14, Unit 3, Building 2, No. 11, Middle Spectra Road, Huangpu District, Guangzhou, Guangdong 510700

Patentee after: China Southern Power Grid Digital Grid Technology (Guangdong) Co.,Ltd.

Country or region after: Zhong Guo

Address before: 510000 No. 11 Kexiang Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Patentee before: CHINA SOUTHERN POWER GRID Co.,Ltd.

Country or region before: Zhong Guo

Patentee before: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

TR01 Transfer of patent right