CN116305695A - Object inspection method, device, equipment and storage medium in digital engineering modeling - Google Patents

Object inspection method, device, equipment and storage medium in digital engineering modeling Download PDF

Info

Publication number
CN116305695A
CN116305695A CN202310266159.7A CN202310266159A CN116305695A CN 116305695 A CN116305695 A CN 116305695A CN 202310266159 A CN202310266159 A CN 202310266159A CN 116305695 A CN116305695 A CN 116305695A
Authority
CN
China
Prior art keywords
curve
vector
target object
determining
intersection
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.)
Pending
Application number
CN202310266159.7A
Other languages
Chinese (zh)
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 Certification Beijing Evaluation Technology Service Co ltd
China Railway First Survey and Design Institute Group Ltd
Original Assignee
China Certification Beijing Evaluation Technology Service Co ltd
China Railway First Survey and Design Institute Group 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 Certification Beijing Evaluation Technology Service Co ltd, China Railway First Survey and Design Institute Group Ltd filed Critical China Certification Beijing Evaluation Technology Service Co ltd
Priority to CN202310266159.7A priority Critical patent/CN116305695A/en
Publication of CN116305695A publication Critical patent/CN116305695A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/16Cables, cable trees or wire harnesses
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an object inspection method, device, equipment and storage medium in digital engineering modeling. The method comprises the following steps: extracting a target object of a type to be inspected from a digital engineering modeling model based on model data information of the digital engineering modeling model, and acquiring a datamation curve and attribute information of each target object; determining a stretching curve set and a section curve set of each target object according to the datamation curve and the attribute information; and according to each stretching curve set and each section curve set, carrying out intersection inspection on every two target objects, and obtaining an intersection inspection result. According to the method, based on model data information, whether the target object is crossed or not is checked through the obtained stretching curve set and the cross section curve set, and an intersection check result is obtained, so that whether the digital engineering meets the delivery standard or not is judged, and the working efficiency and the accuracy of digital engineering detection are improved.

Description

Object inspection method, device, equipment and storage medium in digital engineering modeling
Technical Field
The present invention relates to the field of digital engineering detection technologies, and in particular, to a method, an apparatus, a device, and a storage medium for object inspection in digital engineering modeling.
Background
A large number of cables are used in the four-wire engineering, and the types of the cables are various, for example, the number of the cables in one medium-sized signal mechanical room can reach more than 10000. When the engineering design is carried out, the space relation of the cables needs to be fully considered, so that the cables can be reasonably laid and attractive. By creating the digital engineering of the rail transit, the digital engineering plays an important role in guiding engineering design, construction and operation and maintenance.
When the current digital engineering cable is created, a B spline curve is formed by stretching a circular section along the B spline curve, and a cable object is expressed through the B spline curve. Because of the uneven level of creator, creating digital engineering cables is severely crossed and results in a cable plan that does not match the actual project. In the guiding construction process, the communication quality with constructors is affected, and the using effect of digital engineering is poor. For a long time, digital engineering creators judge whether cables in the digital engineering cross through abundant experiences, so that the working efficiency is low, misjudgment is easy to occur, and the accuracy and reliability of a detection result are directly affected.
Disclosure of Invention
The invention provides an object inspection method, device, equipment and storage medium in digital engineering modeling, which are used for solving the problems that whether cables are crossed or not is judged in low efficiency and misjudgment occurs in digital engineering, and the accuracy and reliability of a detection result are directly affected.
In a first aspect, an embodiment of the present invention provides a method for inspecting an object in digital engineering modeling, where the method includes:
extracting a target object of a type to be inspected from a digital engineering modeling model based on model data information of the digital engineering modeling model, and acquiring a datamation curve and attribute information of each target object;
determining a stretching curve set and a section curve set of each target object according to the datamation curve and the attribute information;
and according to each stretching curve set and each section curve set, carrying out intersection inspection on every two target objects, and obtaining an intersection inspection result.
In a second aspect, an embodiment of the present invention provides an object inspection apparatus in digital engineering modeling, including:
the data information acquisition module is used for extracting a target object of a type to be inspected from the digital engineering modeling model based on model data information of the digital engineering modeling model, and acquiring a datamation curve and attribute information of each target object;
the curve set determining module is used for determining a stretching curve set and a section curve set of each target object according to the datamation curve and the attribute information;
and the intersection checking module is used for carrying out intersection checking on the object objects of every two targets according to each stretching curve set and each section curve set and obtaining an intersection checking result.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of object inspection in digital engineering modeling according to any one of the embodiments of the present invention.
In 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 processor to implement the method for object inspection in digital engineering modeling according to any embodiment of the present invention when executed.
The embodiment of the invention provides an object inspection method, device, equipment and storage medium in digital engineering modeling, which are based on model data information of a digital engineering modeling model, extract a target object of a type to be inspected from the digital engineering modeling model, and acquire a datamation curve and attribute information of each target object; determining a stretching curve set and a section curve set of each target object according to the datamation curve and the attribute information; and according to each stretching curve set and each section curve set, carrying out intersection inspection on every two target objects, and obtaining an intersection inspection result. According to the method, based on model data information, whether the target object is crossed or not is checked through the obtained stretching curve set and the cross section curve set, and an intersection check result is obtained, so that whether the digital engineering meets the delivery standard or not is judged, and the working efficiency and the accuracy of digital engineering detection are improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for object inspection in digital engineering modeling according to a first embodiment of the present invention;
FIG. 2 is a graph illustrating B-spline curves obtained by an object inspection method in digital engineering modeling according to an embodiment of the present invention;
FIG. 3 is a schematic diagram showing the results of intersection inspection of an object inspection method in digital engineering modeling according to a first embodiment of the present invention;
FIG. 4 is a flow chart of a method for object inspection in digital engineering modeling according to a first embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an object inspection device in digital engineering modeling according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of an object inspection method in digital engineering modeling according to an embodiment of the present invention, where the method may be applied to an object inspection in digital engineering modeling, and the method may be performed by an object inspection device in digital engineering modeling, where the object inspection device in digital engineering modeling may be implemented in a form of hardware and/or software, and optionally may be implemented by an electronic device as an execution terminal, where the electronic device may be a mobile terminal, a PC terminal, a server, or the like.
As shown in fig. 1, the method for inspecting an object in digital engineering modeling according to the embodiment of the present disclosure may specifically include the following steps:
s110, extracting target objects of the type to be inspected from the digital engineering modeling model based on model data information of the digital engineering modeling model, and acquiring a datamation curve and attribute information of each target object.
In this embodiment, the digital engineering modeling model may be a model that performs digital engineering modeling in combination with the engineering case project in a platform such as Microstation, autoCAD. The target object of the type to be inspected may be a cable object. The datamation curve may be a B-spline curve. The B-spline curve is a linear combination of B-spline basis functions. Wherein the B-spline basis function constitutes a linear spatial basis function for all spline functions over a given interval. The attribute information may include information such as vertex coordinates.
Specifically, all model objects and attribute information attached to the model objects in model data information of the digital engineering modeling model are obtained. The attribute information attached to the model object includes information such as the type of the object. And extracting the target object cable of the type to be inspected by acquiring the attribute information of the model object. And acquiring the B-spline surface object and the attached attribute information of the target object cable. The B-spline surface object and the attached attribute information may include information such as a cable starting point, a cable ending point, a cable position coordinate, and a feature point.
In view of the above description, the vector coordinate system used in the present technical solution is a UV coordinate system, which is suitable for describing the position of a point on a curved surface. The horizontal direction in the UV coordinates is the U direction and the vertical direction is the V direction, through this planar, two-dimensional UV coordinate system. We can locate the position of any one point on the surface. Node vector u= [ U ] given parameter axes U and v 0 ,u 1 ,...,u m+p ]Sum v= [ V 0 ,v 1 ,...,v n+q ]The definition of the B spline surface is as follows:
Figure BDA0004134374280000051
wherein P is ij A control network is formed, called a characteristic network of B-spline curves. N (N) i,p (u) and N j,q (v) Is a B-spline basis.
Fig. 2 is a diagram illustrating an example B-spline curve obtained by an object inspection method in digital engineering modeling according to a first embodiment of the present invention. As shown in fig. 2, the calculation formula of the B-spline curve is:
Figure BDA0004134374280000061
wherein d i (i=0, 1..n) is the vertex coordinates. And obtaining the B spline curve and attribute information of each target object from the B spline surface according to the B spline curve calculation formula. The extracted vertex coordinates are respectively stored into UPts and VPts point sets according to the directions of the U axis and the V axis to obtain the curved surfaceU-direction vertex coordinate set UPts and V-direction vertex coordinate set VPts. UPts and VPts are two-dimensional sets of array points.
S120, determining a stretching curve set and a section curve set of each target object according to the datamation curve and the attribute information.
In this embodiment, the stretching curve and the cross-section curve may be B-spline curves, which are distinguished according to different vector directions. All the B-spline curves are classified according to vector directions to form a stretching curve set and a section curve set. The arrangement of each target object cable in the digital engineering can be that the target object cable is extended according to the U direction or the V direction, firstly, the extending direction of the target object is judged, and a set formed by curves in the extending direction is used as a stretching curve set. The set of curves in the direction perpendicular to the extension direction is referred to as the interface curve set.
Specifically, for each target object, according to the obtained U-direction vertex coordinate set and V-direction vertex coordinate set in the data curve and attribute information, determining the vector length of the target object relative to the U-axis and the vector length relative to the vector axis V-axis in the directional quantity coordinate system UV coordinate system. And comparing the two vector lengths, and selecting a U-direction vertex coordinate set or a V-direction vertex coordinate set according to the comparison result to determine the coordinates of the stretching curve set and the cross section curve concentration point of the target object. And finally obtaining a stretching curve set and a section curve set of each target object.
S130, according to each stretching curve set and each section curve set, intersecting inspection of every two target objects is carried out, and intersecting inspection results are obtained.
Specifically, the number of cables in the digital engineering modeling model is very large, and the intersection test needs to be performed on all cables. For each two target objects in the digital engineering modeling model, determining corresponding stretching curve central lines based on the stretching curve sets of the two target objects respectively. The curves that can make up a circle are selected as section curve centerlines based on the section curve sets of the two target objects, respectively. The minimum distance between the two tensile curve centerlines is determined. And determining the section radius of the line of the two section curves, if the minimum distance between the target objects is larger than the sum of the radius of the two target objects, determining that the two target objects are disjoint, and taking the disjoint of the objects as an intersection test result of the two target objects. Otherwise, determining that the two target objects intersect, and taking the intersection of the objects as an intersection test result of the two target objects.
In practical application, considering the actual construction requirement, setting an error value can be considered to reduce the construction difficulty. The error value may be set according to the actual situation. When the set error value is considered, the sum of the radii of the two target objects and the set error value is determined. If the minimum distance between the target objects is larger than the sum of the radii of the two target objects and the set error value, determining that the two target objects do not intersect, and taking the object disjoint as an intersection test result of the two target objects. Otherwise, determining that the two target objects intersect, and taking the intersection of the objects as an intersection test result of the two target objects.
The embodiment of the disclosure provides an object inspection method in digital engineering modeling, which comprises the following steps: extracting a target object of a type to be inspected from the digital engineering modeling model based on model data information of the digital engineering modeling model, and acquiring a datamation curve and attribute information of each target object; determining a stretching curve set and a section curve set of each target object according to the datamation curve and the attribute information; and carrying out intersection inspection on every two target objects according to each stretching curve set and each section curve set, and obtaining an intersection inspection result. By using the method, based on model data information, whether the cables are crossed or not is judged through the obtained stretching curve set and the cross section curve set, and an intersection inspection result is obtained, so that whether the digital engineering meets the delivery standard or not is judged, and the working efficiency and the accuracy of the digital engineering detection are improved.
Further, an embodiment of the present disclosure may further include:
and obtaining the intersection inspection results of the target object relative to other target objects, and displaying the intersection inspection results in a set display form.
Specifically, the setting display form may be a form of a table. Fig. 3 is a schematic diagram showing an intersection test result of an object test method in digital engineering modeling according to a first embodiment of the present invention. As shown in fig. 3, the intersection test result is displayed when the intersection test result of the target object with respect to the rest of the target objects is obtained. Wherein information for all intersecting cables is shown in the results display. The information comprises the ID, the number, the radius, the minimum distance and the actual distance of the intersected target object.
According to the technical scheme, the result is displayed visually, and the intersecting position of the cables can be effectively and interactively positioned.
As a first preferred embodiment of the present embodiment, fig. 4 is a flowchart of a method for inspecting an object in digital engineering modeling according to a first embodiment of the present invention. As shown in fig. 4, the method specifically includes the following steps:
s210, extracting target objects of the type to be inspected from the digital engineering modeling model based on model data information of the digital engineering modeling model, and acquiring a datamation curve and attribute information of each target object.
S220, for each target object, determining a first vector length of the target object relative to a first vector axis and a second vector length of the target object relative to a second vector axis under a set vector coordinate system according to the datamation curve and the attribute information.
Specifically, a UV coordinate system is used in setting a vector coordinate system, which describes the position of a point on a curved surface. The first vector axis may be a horizontal direction vector axis U-axis in the UV coordinate system. The second vector axis may be a vertical direction vector axis V axis in the UV coordinate system. The first vector length may be a length of the target object in the direction of the U-axis vector. The second vector length may be a length of the target object in the V-axis vector direction.
Specifically, for each target object, the vector length of each vector axis is calculated by using the two-dimensional array point sets UPts and VPts according to the data curve and the attribute information. Using the data points of the first row in the UPts, the length ulongth of the line connected by the first row of point sets is calculated as a first vector length relative to the first vector axis. Using the data points of the first row in the two-dimensional array point set VPts, the length VLength of the line connected by the first row point set is calculated as the second vector length with respect to the second vector axis.
Based on the optimization, the embodiment of the disclosure may determine, according to the datamation curve and the attribute information, that the first vector length of the target object relative to the first vector axis and the second vector length relative to the second vector axis in the set vector coordinate system are specifically optimized as follows:
a1 B-spline curves are determined as databased curves.
b1 Based on the attribute information), a first set of vector vertices of the B-spline curve relative to the first vector axis and a second set of vector vertices relative to the second vector axis in the set vector coordinate system are determined.
c1 A first vector length is determined from the first vector vertex set and a second vector length is determined from the second vector vertex set.
Specifically, a B-spline curve serving as a data curve is determined according to the B-spline curve formula, and a vertex set of the B-spline curve relative to a U term in a UV coordinate system is determined as a first vector vertex set and a vertex set of the B-spline curve relative to a V term in the UV coordinate system is determined as a second vector vertex set based on vertex coordinate information. Wherein, both vector vertex sets are two-dimensional array vertex sets. For each target object, the length of the line connected by the first row of point sets is calculated as a first vector length relative to the first vector axis from the first row of data points in the first vector vertex set. Using the data points of the first row in the second vector vertex set, the lengths of the lines connected by the first row of point sets are calculated as second vector lengths relative to the second vector axis.
S230, determining a stretching curve set and a section curve set of the target object according to the first vector length and the second vector length.
Specifically, the first vector length ulongth and the second vector length VLength are compared, and whether the stretching curve set and the section curve set of the target object are formed by vertexes in the V-direction vector vertex set or formed by vertexes in the U-direction vector vertex set is determined according to the length relation between the first vector length ulongth and the second vector length VLength.
Based on the optimization, the embodiment of the disclosure may determine, according to the first vector length and the second vector length, a set of stretching curves and a set of cross-section curves of the target object, where the steps include:
a2 If the first vector length is greater than the second vector length, then constructing a set of stretched curves of the target object with vertices in the first vector vertex set and constructing a set of cross-sectional curves of the target object with vertices in the second vector vertex set.
b2 If the first vector length is less than or equal to the second vector length, then constructing a set of stretched curves of the target object using vertices in the second vector vertex set, and constructing a set of cross-sectional curves of the target object using vertices in the first vector vertex set.
Specifically, if the first vector length is greater than the second vector length, the extension direction of the target object may be considered as a U direction, and the vertices in the first vector vertex set are used to form a set of stretching curves of the target object, and the vertices in the second vector vertex set are used to form a set of cross-sectional curves of the target object. If the first vector length is less than or equal to the second vector length, the extension azimuth of the target object can be considered as V-direction, then the set of tensile curves of the target object is formed by adopting the vertexes in the second vector vertex set, and the set of cross-sectional curves of the target object is formed by adopting the vertexes in the first vector vertex set.
S240, determining corresponding stretching curve central lines according to the stretching curve sets of each two target objects in the digital engineering modeling model.
In particular, the centerline of the stretch curve may be a curve that is composed of the center points of the various locations in the stretch curve set. The number of cables in the digital engineering modeling model is large, and intersection inspection needs to be carried out between every two cables. Therefore, for every two target objects in the digital engineering modeling model, based on the two obtained target object stretching curve sets, key points of each position are taken for each target object stretching curve set, center points are calculated, and a curve formed by all calculated center points is taken as a stretching curve central line.
S250, determining corresponding section curve center lines based on the section curve sets of the two target objects respectively.
In particular, the cross-sectional curve centerline may be a circular curve. For each two target objects in the digital engineering modeling model, selecting one curve capable of forming a circle as a corresponding section curve center line based on section curve sets of the two target objects respectively.
And S260, according to the central line of each stretching curve and the central line of each section curve, carrying out intersection inspection on the two target objects, and obtaining an intersection inspection result.
Specifically, the distance between two target objects is calculated according to the central line of each stretching curve, and the respective radius of each target object is determined according to the central line of each section curve. According to the comparison result of the distance between two target objects and the sum of the section radius of the two target objects
The centerline minimum spacing is determined from the centerline of the two stretch curves. And determining the respective section radiuses according to the section curve central line, and respectively serving as the target object radiuses of the two target objects. In practical application, considering the actual construction requirement, an error value can be set, and the sum of the radius of the two target objects and the set error value is compared with the minimum distance between the central lines. And obtaining an intersection inspection result according to the comparison result.
Based on the optimization, the embodiment of the disclosure can perform intersection inspection on two target objects according to the centerline of each stretching curve and the centerline of each section curve, and obtain an intersection inspection result, which is specifically optimized as follows:
a3 A centerline minimum distance between the two tensile curve centerlines is determined as the target object distance for the two target objects.
In particular, the midline minimum distance may be the distance between the closest two points between the midlines. The target object spacing may be a mutual distance between the target objects. And (3) calculating the intersection point of the central line and the vertical plane of the obtained stretching curve, and calculating the distance between the intersection points of the two curves and the vertical plane as the target object distance of the two target objects.
b3 A cross-sectional radius of a centerline of the two cross-sectional curves is determined as a target object radius of the two target objects, respectively.
In particular, the cross-sectional radius may be a radius given to a centerline of the cross-sectional curve. And calculating a circle passing through the three characteristic points according to the three characteristic points of the central line of the section curve, wherein the radius of the circle is the radius of the target object.
c3 Determining the sum of the radii of the two target objects and the set error value to obtain the object radius sum.
Specifically, the setting error value is a set value, and can be set according to the actual situation on site. And taking the sum value of the two target object radiuses and the set error value as the object radius sum.
d3 If the target object distance is greater than the object radius sum, determining that the two target objects do not intersect, and taking the object disjoint as an intersection test result of the two target objects. Otherwise, determining that the two target objects intersect, and taking the intersection of the objects as an intersection test result of the two target objects.
Specifically, comparing the target object distance with the object radius sum, if the target object distance is larger than the object radius sum, determining that the two target objects are disjoint, and taking the object disjoint as an intersection test result of the two target objects. Otherwise, determining that the two target objects intersect, and taking the intersection of the objects as an intersection test result of the two target objects.
The embodiment of the disclosure provides an object inspection method in digital engineering modeling, which comprises the following steps: extracting a target object of a type to be inspected from the digital engineering modeling model based on model data information of the digital engineering modeling model, and acquiring a datamation curve and attribute information of each target object; determining a stretching curve set and a section curve set of each target object according to the datamation curve and the attribute information; and carrying out intersection inspection on every two target objects according to each stretching curve set and each section curve set, and obtaining an intersection inspection result. By using the method, based on model data information, whether the cables are crossed or not is judged through the obtained stretching curve set and the cross section curve set, and an intersection inspection result is obtained, so that whether the digital engineering meets the delivery standard or not is judged, and the working efficiency and the accuracy of the digital engineering detection are improved.
Example two
Fig. 5 is a schematic structural diagram of an object inspection device in enhanced digital engineering modeling according to a second embodiment of the present invention. As shown in fig. 5, the apparatus includes: a data information acquisition module 210, a curve set determination module 220, and an intersection verification module 230.
A data information obtaining module 210, configured to extract a target object of a type to be inspected from a digital engineering modeling model based on model data information of the digital engineering modeling model, and obtain a datamation curve and attribute information of each target object;
a curve set determining module 220, configured to determine a stretching curve set and a cross-section curve set of each target object according to the datamation curve and the attribute information;
the intersection checking module 230 is configured to perform intersection checking of the two-by-two target objects according to each of the set of tensile curves and the set of section curves, and obtain an intersection checking result.
According to the technical scheme provided by the embodiment of the disclosure, based on the model data information, whether the cables are crossed or not is judged through the obtained stretching curve set and the cross section curve set, and the crossing test result is obtained, so that whether the digital engineering meets the delivery standard or not is judged, and the working efficiency and the accuracy of the digital engineering detection are improved.
Further, the curve set determining module 220 may include:
a vector length determining unit, configured to determine, for each target object, a first vector length of the target object relative to a first vector axis and a second vector length of the target object relative to a second vector axis in a set vector coordinate system according to the datamation curve and the attribute information;
and the curve set determining unit is used for determining a stretching curve set and a section curve set of the target object according to the first vector length and the second vector length.
Further, the vector length determination unit may specifically include:
determining a B-spline curve as the datamation curve;
determining a first vector vertex set of the B-spline curve relative to a first vector axis and a second vector vertex set relative to a second vector axis under a set vector coordinate system based on the attribute information;
a first vector length is determined from the first set of vector vertices and a second vector length is determined from the second set of vector vertices.
Further, the curve set determining unit may be specifically configured to:
if the first vector length is greater than the second vector length, constructing a set of stretched curves of the target object with vertices in a first set of vector vertices, and constructing a set of cross-sectional curves of the target object with vertices in a second set of vector vertices;
if the first vector length is less than or equal to the second vector length, then constructing a set of stretched curves of the target object using vertices in a second set of vector vertices and constructing a set of cross-sectional curves of the target object using vertices in the first set of vector vertices.
Further, the intersection checking module 230 may include:
the stretching curve center line determining unit is used for determining corresponding stretching curve center lines for every two target objects in the digital engineering modeling model based on the stretching curve sets of the two target objects respectively;
a section curve center line determining unit, configured to determine a corresponding section curve center line based on the section curve sets of the two target objects, respectively;
and the intersection checking unit is used for performing intersection checking on the two target objects according to the stretching curve central line and the cross section curve central line and obtaining an intersection checking result.
Further, the intersection checking unit may be specifically configured to:
determining the minimum distance between the central lines of the two stretching curves as the target object distance of the two target objects;
determining the section radii of the two section curve center lines, and respectively serving as target object radii of two target objects;
determining the sum of the radii of the two target objects and the set error value to obtain the sum of the radii of the objects;
if the target object distance is larger than the object radius sum, determining that the two target objects are disjoint, and taking the disjoint of the objects as an intersection test result of the two target objects; otherwise the first set of parameters is selected,
and determining the intersection of the two target objects, and taking the intersection of the objects as an intersection test result of the two target objects.
Further, the apparatus may further include: and a result display module.
The result display module is used for obtaining the intersection inspection results of the target object relative to other target objects and displaying the intersection inspection results in a set display form.
According to the object inspection device structure in digital engineering modeling provided by the embodiment of the disclosure, the object inspection method in digital engineering modeling provided by any embodiment of the disclosure can be executed, and the object inspection device structure in digital engineering modeling has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that each unit and module included in the above apparatus are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for convenience of distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
Example III
Fig. 6 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the object inspection method in digital engineering modeling.
In some embodiments, the object inspection method in digital engineering modeling may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more of the steps of the object inspection method in digital engineering modeling described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the object verification method in digital engineering modeling in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. An object inspection method in digital engineering modeling, comprising:
extracting a target object of a type to be inspected from a digital engineering modeling model based on model data information of the digital engineering modeling model, and acquiring a datamation curve and attribute information of each target object;
determining a stretching curve set and a section curve set of each target object according to the datamation curve and the attribute information;
and according to each stretching curve set and each section curve set, carrying out intersection inspection on every two target objects, and obtaining an intersection inspection result.
2. The method of claim 1, wherein determining a set of stretch curves and a set of cross-section curves for each of the target objects based on the datamation curves and attribute information comprises:
for each target object, determining a first vector length of the target object relative to a first vector axis and a second vector length of the target object relative to a second vector axis under a set vector coordinate system according to the datamation curve and the attribute information;
and determining a set of stretching curves and a set of cross-section curves of the target object according to the first vector length and the second vector length.
3. The method of claim 2, wherein determining a first vector length of the target object relative to a first vector axis and a second vector length relative to a second vector axis in a set vector coordinate system based on the datamation curve and attribute information comprises:
determining a B-spline curve as the datamation curve;
determining a first vector vertex set of the B-spline curve relative to a first vector axis and a second vector vertex set relative to a second vector axis under a set vector coordinate system based on the attribute information;
a first vector length is determined from the first set of vector vertices and a second vector length is determined from the second set of vector vertices.
4. A method according to claim 3, wherein said determining a set of stretch curves and a set of cross-section curves of the target object from the first vector length and the second vector length comprises:
if the first vector length is greater than the second vector length, constructing a set of stretched curves of the target object with vertices in a first set of vector vertices, and constructing a set of cross-sectional curves of the target object with vertices in a second set of vector vertices;
if the first vector length is less than or equal to the second vector length, then constructing a set of stretched curves of the target object using vertices in a second set of vector vertices and constructing a set of cross-sectional curves of the target object using vertices in the first set of vector vertices.
5. The method according to claim 1, wherein the step of performing intersection inspection of the objects two by two according to each of the set of tensile curves and the set of section curves and obtaining intersection inspection results includes:
for each two target objects in the digital engineering modeling model, determining corresponding stretching curve center lines based on the stretching curve sets of the two target objects respectively;
determining corresponding section curve center lines based on the section curve sets of the two target objects respectively;
and according to the central line of each stretching curve and the central line of each section curve, carrying out intersection inspection on the two target objects, and obtaining an intersection inspection result.
6. The method of claim 5, wherein said intersecting the two target objects according to each of the tensile curve centerline and the section curve centerline and obtaining an intersection test result comprises:
determining the minimum distance between the central lines of the two stretching curves as the target object distance of the two target objects;
determining the section radii of the two section curve center lines, and respectively serving as target object radii of two target objects;
determining the sum of the radii of the two target objects and the set error value to obtain the sum of the radii of the objects;
if the target object distance is larger than the object radius sum, determining that the two target objects are disjoint, and taking the disjoint of the objects as an intersection test result of the two target objects; otherwise the first set of parameters is selected,
and determining the intersection of the two target objects, and taking the intersection of the objects as an intersection test result of the two target objects.
7. The method of any one of claims 1-6, further comprising:
and obtaining the intersection inspection results of the target object relative to other target objects, and displaying the intersection inspection results in a set display form.
8. An object inspection device in digital engineering modeling, comprising:
the data information acquisition module is used for extracting a target object of a type to be inspected from the digital engineering modeling model based on model data information of the digital engineering modeling model, and acquiring a datamation curve and attribute information of each target object;
the curve set determining module is used for determining a stretching curve set and a section curve set of each target object according to the datamation curve and the attribute information;
and the intersection checking module is used for carrying out intersection checking on the object objects of every two targets according to each stretching curve set and each section curve set and obtaining an intersection checking result.
9. An electronic device, the electronic device comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of object verification in digital engineering modeling as defined in any one of claims 1-7.
10. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the method of object inspection in digital engineering modeling as claimed in any of claims 1-7.
CN202310266159.7A 2023-03-13 2023-03-13 Object inspection method, device, equipment and storage medium in digital engineering modeling Pending CN116305695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310266159.7A CN116305695A (en) 2023-03-13 2023-03-13 Object inspection method, device, equipment and storage medium in digital engineering modeling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310266159.7A CN116305695A (en) 2023-03-13 2023-03-13 Object inspection method, device, equipment and storage medium in digital engineering modeling

Publications (1)

Publication Number Publication Date
CN116305695A true CN116305695A (en) 2023-06-23

Family

ID=86823734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310266159.7A Pending CN116305695A (en) 2023-03-13 2023-03-13 Object inspection method, device, equipment and storage medium in digital engineering modeling

Country Status (1)

Country Link
CN (1) CN116305695A (en)

Similar Documents

Publication Publication Date Title
CN112652036B (en) Road data processing method, device, equipment and storage medium
CN112233240B (en) Three-dimensional vector data slicing method and device of three-dimensional vector map and electronic equipment
CN112560862B (en) Text recognition method and device and electronic equipment
CN115830010B (en) Method and device for detecting crossing distance of transmission wires and computer equipment
CN116305695A (en) Object inspection method, device, equipment and storage medium in digital engineering modeling
CN115511999A (en) Line measurement segmentation method, device, equipment and medium
CN113959400B (en) Intersection vertex height value acquisition method and device, electronic equipment and storage medium
CN114812576A (en) Map matching method and device and electronic equipment
CN113593046B (en) Panorama switching method and device, electronic equipment and storage medium
CN114596196A (en) Method and device for filtering point cloud data, equipment and storage medium
CN109471161B (en) Method and device for establishing geological structure attribute profile
CN116883488B (en) Method, device, equipment and medium for determining center position of circular pipe
CN114694138B (en) Road surface detection method, device and equipment applied to intelligent driving
CN115653635B (en) Method, device, equipment and storage medium for determining segment attitude of shield tunneling machine
CN116151168B (en) Method, device, equipment and storage medium for determining equivalent conductor of grounding grid
CN115525995A (en) Method, device, equipment and medium for deformation of measuring line
CN117745970A (en) Model generation method, device, equipment and medium for three-dimensional roadway
CN113051470B (en) Position accuracy evaluation method and device, electronic equipment and computer readable medium
CN117742243A (en) Equipment action collision prediction method and device, electronic equipment and storage medium
CN115880510A (en) Battery detection method and device, electronic equipment and storage medium
CN116128857A (en) Main transformer monitoring method and device, electronic equipment and storage medium
CN117350995A (en) Product defect detection method, device, equipment and storage medium
CN117648745A (en) Data processing method, device, equipment and storage medium
CN117333595A (en) Method and device for displaying defects of water-cooled wall of boiler, electronic equipment and storage medium
CN117570991A (en) Path planning method and device, electronic equipment and storage medium

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