WO2019127361A1 - Circuit model implementation method and apparatus, and computer-readable storage medium - Google Patents

Circuit model implementation method and apparatus, and computer-readable storage medium Download PDF

Info

Publication number
WO2019127361A1
WO2019127361A1 PCT/CN2017/119813 CN2017119813W WO2019127361A1 WO 2019127361 A1 WO2019127361 A1 WO 2019127361A1 CN 2017119813 W CN2017119813 W CN 2017119813W WO 2019127361 A1 WO2019127361 A1 WO 2019127361A1
Authority
WO
WIPO (PCT)
Prior art keywords
line
points
model
smooth curve
circle
Prior art date
Application number
PCT/CN2017/119813
Other languages
French (fr)
Chinese (zh)
Inventor
殷俊
张勉
张玉堂
Original Assignee
深圳中兴力维技术有限公司
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 深圳中兴力维技术有限公司 filed Critical 深圳中兴力维技术有限公司
Priority to CN201780030655.5A priority Critical patent/CN109313819B/en
Priority to PCT/CN2017/119813 priority patent/WO2019127361A1/en
Publication of WO2019127361A1 publication Critical patent/WO2019127361A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • 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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a circuit model implementation method, apparatus, and computer readable storage medium.
  • the main object of the present invention is to provide a circuit model implementation method, apparatus and computer readable storage medium, which aims to provide a flexible and easy to implement technical solution for automatically generating a line model according to a small number of critical path points.
  • the present invention provides a method for implementing a line model, the method for implementing a line model includes: acquiring a critical path point of a line; determining, according to a critical path point of the line, a smooth curve corresponding to the line a set of points; determining a set of cross-section circles of the line according to a set of points on the smooth curve and a radius of the preset line; and generating a model of the line according to the set of cross-section circles.
  • the foregoing line model implementation method the determining, according to a critical path point of the line, determining a set of points on a smooth curve corresponding to the line, specifically: according to consecutive multiple points in the critical path point Determining a line segment, and performing smooth sampling processing on the line segment to obtain a plurality of points of the smooth curve.
  • the foregoing line model implementation method the determining a cross-sectional circle set of the line according to a set of points on the smooth curve and a radius of the preset line, specifically including: a point from the smooth curve Collecting a plurality of consecutive points, determining a center of a section circle of the line and at least two vectors passing the section circle according to the plurality of points, determining the center according to the center, the vector, and the radius
  • the cross section is round.
  • the foregoing line model implementation method further includes: after determining the cross-sectional circle set of the line according to the set of points on the smooth curve and the radius of the preset line, Coordinate deflection correction is performed on adjacent cross-section circles in the set.
  • the generating a model of the line according to the cross-section circle set further comprising: acquiring a spatial positioning parameter equation of a point on the line model, according to the spatial positioning parameter equation Position the coordinates of the point.
  • the present invention provides a line model implementing apparatus including a processor, a memory, and a communication bus; the communication bus is configured to implement connection communication between the processor and the memory;
  • the processor is configured to execute a line model implementation program stored in the memory to implement the following steps: acquiring a critical path point of the line; determining, according to the critical path point of the line, a set of points on the smooth curve corresponding to the line; A set of points on the smooth curve and a radius of the predetermined line are determined to determine a set of cross-section circles of the line; and a model of the line is generated according to the set of cross-section circles.
  • the foregoing line model implementation device is configured to determine, according to a critical path point of the line, a set of points on a smooth curve corresponding to the line, where the processor executes the line model implementation program to implement The following steps: determining a polygonal line segment according to consecutive multiple points in the critical path point, and performing smooth sampling processing on the polygonal line segment to obtain multiple points of the smooth curve.
  • the foregoing line model implementation device determines, according to a set of points on the smooth curve and a radius of the preset line, a cross-sectional circle set of the line, where the processor executes the line model Implementing a program to implement the steps of: selecting a plurality of consecutive points from the set of points of the smoothed curve, determining a center of a section circle of the line and at least two vectors passing the section circle according to the plurality of points Determining the cross-sectional circle according to the center of the circle, the vector, and the radius.
  • the processor executes the line
  • the model implements a program to implement the following steps: coordinate deflection correction of adjacent cross-section circles in the set of cross-section circles.
  • the processor executes the line model implementation program to implement the following steps: acquiring the line model
  • the spatial positioning parameter equation of the previous point locates the coordinates of the point according to the spatial positioning parameter equation.
  • the present invention also provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors, To implement the steps of the foregoing line model implementation method.
  • the line model implementing method, apparatus and computer readable storage medium of the present invention have at least the following advantages:
  • the technical solution of the present invention can simplify the line.
  • the work of model building can reduce the cost of modeling and greatly improve the efficiency of building a line model.
  • FIG. 1 is a flow chart of an embodiment of a method for implementing a line model according to the present invention
  • FIG. 2 is a flow chart of another embodiment of a method for implementing a line model according to the present invention.
  • FIG. 3 is a block diagram of an embodiment of a line model implementation apparatus of the present invention.
  • FIG. 4 is a schematic diagram of an embodiment of an apparatus for implementing a line model according to the present invention.
  • FIG. 5 is a schematic diagram of the principle of an embodiment of a circuit model implementation apparatus according to the present invention.
  • FIG. 6 is a schematic diagram of an embodiment of an apparatus for implementing a line model according to the present invention.
  • FIG. 7 is a schematic diagram of an embodiment of an apparatus for implementing a line model according to the present invention.
  • FIG. 8 is a schematic diagram of the principle of an embodiment of a line model implementation apparatus according to the present invention.
  • an embodiment of the present invention provides a method for implementing a line model, and the method for implementing a line model includes:
  • Step S110 acquiring a critical path point of the line.
  • the lines include, but are not limited to, cables, pipes, and the like.
  • the critical path point of the line can be set by the user. After the user sets the critical path point, the subsequent process of implementing the line model can be completed automatically, which greatly improves the efficiency of establishing the line model and reduces the workload of the user.
  • Step S120 determining a set of points on the smooth curve corresponding to the line according to the critical path point of the line.
  • the turning condition of the line can be determined, and then the smooth curve formed by the line can be calculated.
  • the smooth curve can be the curve of the center of each cross-section circle of the line.
  • Step S130 determining a cross-sectional circle set of the line according to the set of points on the smooth curve and the radius of the preset line.
  • each section circle of the line can be calculated, and each section circle is located on the surface of the line, so it is advantageous to calculate the line. s surface.
  • Step S140 generating a model of the line according to the set of cross-section circles.
  • the technical solution of the embodiment only the user needs to set several critical path points, and the smooth curve formed by the line can be determined according to the path point, and the cross-section circle of the line is determined, and the line model is finally determined. It can be seen that the technical solution of the present invention can be simplified. The work of establishing the line model can reduce the modeling cost and greatly improve the efficiency of establishing the line model.
  • a method for implementing a line model includes:
  • Step S210 acquiring a critical path point of the line.
  • a line critical path point is set, and an ordered set 1 of path points is obtained.
  • Step S220 Determine a line segment according to consecutive points in the key path point, and perform smooth sampling processing on the line segment to obtain a plurality of points of the smooth curve corresponding to the line, and form a point set on the smooth curve.
  • the first three points a1, a2, and a3 in the ordered set 1 are sequentially taken, and the a2 point is the inflection point of the a1a2a3 fold line segment, and the second-order Bezier curve is used to smoothly sample the fold line segment a1a2a3, and the obtained line segment is processed.
  • Smooth curve sample point set 11 replace point a2 position into set 1 to obtain a new ordered set 2. Repeatedly taking three points from the ordered set 1, repeating the above calculation process, and obtaining the final version of the set 2, that is, the set of points of the smooth curve.
  • Step S230 selecting consecutive points from a set of points of the smooth curve, determining a center of a section circle of the line and a vector of at least two cross-section circles according to the plurality of points, and determining a section circle according to a radius of the center, the vector, and the line, A summary of the section circle is obtained.
  • the first three points b1, b2, and b3 in the ordered set 2 are sequentially taken, and the vector b1b2 is used as the normal vector of the plane where the line sampling section c1 is located, and the point b1 is the center of the c1, the radius of the section circle. r According to the actual situation of the project site. Based on the points b1, b2, and b3, the cross product of the vector b1b2 and the vector b2b3 is taken to obtain the normal vector bb1 of the plane where b1b2 and b2b3 are located, and bb1 is a vector of the plane where c1 is located, and is orthogonal to b1b2.
  • bb12 is a vector of the plane where c1 is located, and is orthogonal to bb1 and b1b2.
  • the vector bb12, the vector bb1, the radius r, the center b1, and the sampling interval angle ⁇ are brought into the space coordinate equation of the circle, and the coordinate points on the circle c1 are acquired and stored in the set 3. Repeatedly taking three points from the ordered set 2, repeating the above calculation process to obtain a set of coordinate sets on all sampling section circles.
  • step S240 coordinate deflection correction is performed on adjacent cross-section circles in the cross-section circle set.
  • the coordinate deflection correction processing is performed on each sampling section circle in the set 3 and the previous adjacent sampling section circle, and the deflection corrected set 4 is obtained.
  • Step S250 according to the cross-section circle set, generate a model of the line, obtain a spatial positioning parameter equation of a point on the line model, and locate the coordinates of the point according to the spatial positioning parameter equation.
  • the set 4 is used as the vertex parameter of the line model mesh, and the line model is generated by the model engine, and the spatial positioning parameter equation of any point on the line model is acquired, and the point coordinates of any percentage line are located.
  • the work of establishing the line model can be simplified, the main parameters of the line model can be conveniently obtained, the spatial position of any point on the line can be conveniently located, the modeling cost can be reduced, and the space quadrant can be restricted. Automatically implement model correction.
  • a circuit model implementation apparatus includes a processor 310, a memory 320, and a communication bus 330.
  • the communication bus 330 is used to implement a processor. Connection communication between 310 and memory 320; processor 310 is operative to execute a line model implementation program stored in memory 320 to implement the following steps:
  • the critical path point of the line can be set by the user. After the user sets the critical path point, the subsequent process of implementing the line model can be completed automatically, which greatly improves the efficiency of establishing the line model and reduces the workload of the user.
  • the turning condition of the line can be determined, and then the smooth curve formed by the line can be calculated.
  • the smooth curve can be the curve of the center of each cross-section circle of the line.
  • the set of cross-section circles of the line is determined based on the set of points on the smooth curve and the radius of the preset line.
  • each section circle of the line can be calculated, and each section circle is located on the surface of the line, so it is advantageous to calculate the line. s surface.
  • a model of the line is generated based on the set of section circles.
  • the technical solution of the embodiment only the user needs to set several critical path points, and the smooth curve formed by the line can be determined according to the path point, and the cross-section circle of the line is determined, and the line model is finally determined. It can be seen that the technical solution of the present invention can be simplified. The work of establishing the line model can reduce the modeling cost and greatly improve the efficiency of establishing the line model.
  • a circuit model implementation apparatus includes a processor 310, a memory 320, and a communication bus 330.
  • the communication bus 330 is used to implement a processor. Connection communication between 310 and memory 320; processor 310 is operative to execute a line model implementation program stored in memory 320 to implement the following steps:
  • the n critical path points of the cable need to be set, and the n points are regarded as sampling points of the cable model, n
  • the space for acquiring n points is marked as OriginalPath[n].
  • the polyline segment is determined according to consecutive points in the critical path point, and the polyline segment is smoothly sampled to obtain a plurality of points of the smooth curve corresponding to the cable, and the points set on the smooth curve are collectively formed.
  • the original path sampling point OriginalPath[n] is subjected to interpolation curve smoothing, and the points other than the first and last points in the OriginalPath[n] are regarded as potential turning path points, from these potential turning path points.
  • T Take a point of T, then the original line composed of three points of OriginalPath[T-1], OriginalPath[T], and OriginalPath[T+1] is used as the path reference of the curve, and the line segment of the broken line is smoothly sampled by using the second-order Bezier curve.
  • These three points are obtained as the control points of the Bezier curve to obtain a curve equation related to the time parameter t(t ⁇ (0, 1)). According to the different values of t, the equation can be used to determine the curvature.
  • a point P in the CenterPath[m] is taken as the center sampling point of the cross-sectional profile of the obtained cable model, and the next point P1 of the sequence P point in the CenterPath[m] is taken.
  • the space vector PP1 composed of P and P1 is used as the normal vector of the plane of the space circle with P as the center, and the cable radius r is determined according to the demand of the cable diameter in practical applications.
  • the spatial position of the circle can be determined by three values of the center coordinate P, the circular plane normal vector PP1, and the cable radius r, as shown in FIG.
  • the sequence takes the point P2 after P1 in CenterPath[m].
  • the normal vector r1 of the plane determined by the vector PP1 and the vector PP2 must be orthogonal to the circular plane normal vector PP1, so the vector r1 can be used as a vector on the plane of the circle.
  • the vector cross product property shows that r2 must be orthogonal to PP1 and r1, so the vector r2 can be used as another vector on the plane of the circle.
  • the determined parameters are: the center coordinate P, the two vectors r1 and r2 on the plane of the circle, and the radius r of the circle.
  • the coordinate parameter equation of the space circle can be obtained:
  • (X, Y, Z) is the coordinates of a point on the space circle, and P, r1, and r2 take their respective (x, y, z) space coordinates.
  • A is the angle of the required offset for each sampling, that is, the sampling interval angle, that is, the sampling interval at a point on the circle, which can be set according to the requirements of the model accuracy. The shorter the interval, the larger the sampling density, and the resulting circle is more Smoothing, as shown in Fig. 6, where the offset angle A is 60 degrees, it is possible to collect 6 points on the section circle.
  • Vertices[p] can be used as the vertex information of the mesh surface in the description information of the 3D model.
  • the principle of forming a surface according to three points and enclosing a space object by multiple faces According to the order of the vertices in Vertices[p], the three points are sorted. As shown in the example of Fig. 7, the three points (1, 2, 4) constitute a face, and by adding the spatial coordinate information of the three points 1, 2, and 4, a specific object plane can be drawn.
  • the continuous faces in FIG. 7 can be described as (1, 2, 4), (2, 5, 4), (2, 3, 5), (3, 5, 6).
  • Coordinate deflection correction is performed on adjacent cross-section circles in the cross-section circle set.
  • Vertices[p] sorts the points on all sampling circles in turn, taking the first point of each sampling circle, and the vector formed by the center of the circle corresponding to the circle in CenterPath[m] is denoted as rm.
  • rm the vector formed by the center of the circle corresponding to the circle in CenterPath[m]
  • the model of the cable is generated, and the spatial positioning parameter equation of the point on the cable model is obtained, and the coordinates of the positioning point according to the spatial positioning parameter equation are obtained.
  • the smoothed cable model can be obtained by re-importing the Vertices[p] corrected by the axial offset into the engine. It can be seen from the above that CenterPath[m] is the center sampling path point of the cable model. Then, the segment length can be calculated for the points two and two, and the total length of the cable model is accumulated, and the percentage of each point in the total length of the cable model can also be known. At this time, the condition for positioning the marker point on the cable model is satisfied. If the positioning requirement is a percentage, the coordinates of the center of the corresponding percentage are directly regarded as the coordinates of the positioning point. If the positioning data is more accurate, the above steps may be adopted to correspond The percentage center coordinates are used to find the cross-section circle, and the coordinates of the points are precisely positioned on the circular surface.
  • the technical solution of the embodiment can be applied not only to realize the cable model, but also to realize the pipeline model.
  • the pipeline needs to exhibit the effect of the inner and outer diameters more than the cable, and the implementation is to implement the path for the pipeline.
  • Sub-operation once the pipe outer diameter is used as the radius parameter of the algorithm, and the inner diameter of the other pipe is used as the radius parameter of the algorithm.
  • the sequence generation of the sampling points needs to be different, the outer diameter Take a clockwise sequence, the inner diameter takes a counterclockwise sequence, which ensures that the normal of the outer diameter material points to the outside of the pipe, while the material normal of the inner diameter points to the pipe.
  • the work of establishing the cable model can be simplified, the main parameters of the cable model can be conveniently obtained, the spatial position of any point on the cable can be conveniently located, the modeling cost can be reduced, and the space can be avoided.
  • the quadrant limits automatically automate model rectification. 2.
  • the data types of the elements in the collection OriginalPath[n], CenterPath[m], Vertices[p], and Surface[s] are all (x, y, z) three-coordinate data.
  • Also provided in an embodiment of the present invention is a computer readable storage medium storing one or more programs, one or more programs executable by one or more processors to implement the following steps :
  • the lines include, but are not limited to, cables, pipes, and the like.
  • the critical path point of the line can be set by the user. After the user sets the critical path point, the subsequent process of implementing the line model can be completed automatically, which greatly improves the efficiency of establishing the line model and reduces the workload of the user.
  • the turning condition of the line can be determined, and then the smooth curve formed by the line can be calculated.
  • the smooth curve can be the curve of the center of each cross-section circle of the line.
  • the set of cross-section circles of the line is determined based on the set of points on the smooth curve and the radius of the preset line.
  • each section circle of the line can be calculated, and each section circle is located on the surface of the line, so it is advantageous to calculate the line. s surface.
  • a model of the line is generated based on the set of section circles.
  • the technical solution of the embodiment only the user needs to set several critical path points, and the smooth curve formed by the line can be determined according to the path point, and the cross-section circle of the line is determined, and the line model is finally determined. It can be seen that the technical solution of the present invention can be simplified. The work of establishing the line model can reduce the modeling cost and greatly improve the efficiency of establishing the line model.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the line model implementing method, apparatus and computer readable storage medium of the present invention have at least the following advantages:
  • the technical solution of the present invention can simplify the line.
  • the work of model building can reduce the cost of modeling and greatly improve the efficiency of building a line model. Therefore, it has industrial applicability.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Generation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

A circuit model implementation method and apparatus, and a computer-readable storage medium. The circuit model implementation method comprises: obtaining key path points of a circuit (S110); determining, according to the key path points of the circuit, a collection of points on a smooth curve corresponding to the circuit (S120); determining a collection of sectional circles of the circuit according to the collection of the points on the smooth curve and a preset radius of the circuit (S130); and generating a circuit model according to the collection of sectional circles (S140). A user provides several key path points, a smooth curve formed by a circuit can be determined according to the path points, the sectional circles of the circuit are determined, a circuit model is finally determined, so that the work of circuit model building can be simplified, modeling costs can be reduced, and efficiency can be improved.

Description

线路模型实现方法、装置和计算机可读存储介质Line model implementation method, device and computer readable storage medium 技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种线路模型实现方法、装置和计算机可读存储介质。The present invention relates to the field of computer technologies, and in particular, to a circuit model implementation method, apparatus, and computer readable storage medium.
背景技术Background technique
在三维虚拟仿真应用***中,特别是与楼宇、通讯、电力等相关设备,对各种线缆、管道的仿真监控需求较为常见。In the three-dimensional virtual simulation application system, especially for buildings, communications, power and other related equipment, the simulation monitoring requirements for various cables and pipelines are more common.
针对这一需求传统的解决方式是采用三维建模软件工具按照具体需求的对象进行等比例人工建模。这种方式在建模对象造型较为统一或者数量较少的情况下没有问题,但在实际项目当中,线缆、管道的现实状况却是数量庞大、走向各异,若再采用人工建模方式处理,必然带来巨大的工作量,徒增项目成本。在日后项目推进过程中若要对线缆、管道走向做修改,则只能重新更换模型解决,可控性、灵活性均不佳。The traditional solution to this demand is to use 3D modeling software tools to perform proportional artificial modeling according to the specific needs of the object. In this way, there is no problem in the case where the modeling object is more uniform or the number is small. However, in actual projects, the actual situation of cables and pipes is huge and different, and if artificial modeling is used It will inevitably bring huge workload and increase project costs. In the future, if the cable and pipeline orientation are to be modified during the project promotion process, the model can only be replaced again, and the controllability and flexibility are not good.
因此,需要提供一种新的技术方案,可以快速高效地生成线路模型,以替代人工建模的过程。Therefore, there is a need to provide a new technical solution that can quickly and efficiently generate a line model to replace the manual modeling process.
技术问题technical problem
本发明的主要目的在于提出一种线路模型实现方法、装置和计算机可读存储介质,旨在提供一种灵活而且容易实施的根据设定少量的关键路径点自动生成线路模型的技术方案。The main object of the present invention is to provide a circuit model implementation method, apparatus and computer readable storage medium, which aims to provide a flexible and easy to implement technical solution for automatically generating a line model according to a small number of critical path points.
技术解决方案Technical solution
为实现上述目的,本发明提供了一种线路模型实现方法,所述线路模型实现方法包括:获取线路的关键路径点;根据所述线路的关键路径点,确定所述线路对应的平滑曲线上的点集合;根据所述平滑曲线上的点集合以及预设所述线路的半径,确定所述线路的截面圆集合;根据所述截面圆集合,生成所述线路的模型。To achieve the above object, the present invention provides a method for implementing a line model, the method for implementing a line model includes: acquiring a critical path point of a line; determining, according to a critical path point of the line, a smooth curve corresponding to the line a set of points; determining a set of cross-section circles of the line according to a set of points on the smooth curve and a radius of the preset line; and generating a model of the line according to the set of cross-section circles.
可选地,前述的线路模型实现方法,所述根据所述线路的关键路径点,确定所述线路对应的平滑曲线上的点集合,具体包括:根据所述关键路径点中的连续多个点确定折线线段,对所述折线线段进行平滑采样处理得到所述平滑曲线的多个点。Optionally, the foregoing line model implementation method, the determining, according to a critical path point of the line, determining a set of points on a smooth curve corresponding to the line, specifically: according to consecutive multiple points in the critical path point Determining a line segment, and performing smooth sampling processing on the line segment to obtain a plurality of points of the smooth curve.
可选地,前述的线路模型实现方法,所述根据所述平滑曲线上的点集合以及预设所述线路的半径,确定所述线路的截面圆集合,具体包括:从所述平滑曲线的点集合选择连续的多个点,根据所述多个点确定所述线路的一个截面圆的圆心以及至少两个过所述截面圆的向量,根据所述圆心、所述向量、所述半径确定所述截面圆。Optionally, the foregoing line model implementation method, the determining a cross-sectional circle set of the line according to a set of points on the smooth curve and a radius of the preset line, specifically including: a point from the smooth curve Collecting a plurality of consecutive points, determining a center of a section circle of the line and at least two vectors passing the section circle according to the plurality of points, determining the center according to the center, the vector, and the radius The cross section is round.
可选地,前述的线路模型实现方法,在所述根据所述平滑曲线上的点集合以及预设所述线路的半径,确定所述线路的截面圆集合之后,还包括:对所述截面圆集合中相邻的截面圆进行坐标偏转纠正。Optionally, the foregoing line model implementation method further includes: after determining the cross-sectional circle set of the line according to the set of points on the smooth curve and the radius of the preset line, Coordinate deflection correction is performed on adjacent cross-section circles in the set.
可选地,前述的线路模型实现方法,所述根据所述截面圆集合,生成所述线路的模型,还包括:获取所述线路模型上一点的空间定位参数方程,根据所述空间定位参数方程定位所述点的坐标。Optionally, the foregoing line model implementation method, the generating a model of the line according to the cross-section circle set, further comprising: acquiring a spatial positioning parameter equation of a point on the line model, according to the spatial positioning parameter equation Position the coordinates of the point.
为实现上述目的,本发明提供了一种线路模型实现装置,所述线路模型实现装置包括处理器、存储器及通信总线;所述通信总线用于实现处理器和存储器之间的连接通信;所述处理器用于执行存储器中存储的线路模型实现程序,以实现以下步骤:获取线路的关键路径点;根据所述线路的关键路径点,确定所述线路对应的平滑曲线上的点集合;根据所述平滑曲线上的点集合以及预设所述线路的半径,确定所述线路的截面圆集合;根据所述截面圆集合,生成所述线路的模型。To achieve the above object, the present invention provides a line model implementing apparatus including a processor, a memory, and a communication bus; the communication bus is configured to implement connection communication between the processor and the memory; The processor is configured to execute a line model implementation program stored in the memory to implement the following steps: acquiring a critical path point of the line; determining, according to the critical path point of the line, a set of points on the smooth curve corresponding to the line; A set of points on the smooth curve and a radius of the predetermined line are determined to determine a set of cross-section circles of the line; and a model of the line is generated according to the set of cross-section circles.
可选地,前述的线路模型实现装置,所述根据所述线路的关键路径点,确定所述线路对应的平滑曲线上的点集合中,所述处理器执行所述线路模型实现程序,以实现以下步骤:根据所述关键路径点中的连续多个点确定折线线段,对所述折线线段进行平滑采样处理得到所述平滑曲线的多个点。Optionally, the foregoing line model implementation device is configured to determine, according to a critical path point of the line, a set of points on a smooth curve corresponding to the line, where the processor executes the line model implementation program to implement The following steps: determining a polygonal line segment according to consecutive multiple points in the critical path point, and performing smooth sampling processing on the polygonal line segment to obtain multiple points of the smooth curve.
可选地,前述的线路模型实现装置,所述根据所述平滑曲线上的点集合以及预设所述线路的半径,确定所述线路的截面圆集合中,所述处理器执行所述线路模型实现程序,以实现以下步骤:从所述平滑曲线的点集合选择连续的多个点,根据所述多个点确定所述线路的一个截面圆的圆心以及至少两个过所述截面圆的向量,根据所述圆心、所述向量、所述半径确定所述截面圆。Optionally, the foregoing line model implementation device determines, according to a set of points on the smooth curve and a radius of the preset line, a cross-sectional circle set of the line, where the processor executes the line model Implementing a program to implement the steps of: selecting a plurality of consecutive points from the set of points of the smoothed curve, determining a center of a section circle of the line and at least two vectors passing the section circle according to the plurality of points Determining the cross-sectional circle according to the center of the circle, the vector, and the radius.
可选地,前述的线路模型实现装置,在所述根据所述平滑曲线上的点集合以及预设所述线路的半径,确定所述线路的截面圆集合之后,所述处理器执行所述线路模型实现程序,以实现以下步骤:对所述截面圆集合中相邻的截面圆进行坐标偏转纠正。Optionally, the foregoing line model implementation device, after determining the cross-sectional circle set of the line according to the set of points on the smooth curve and the radius of the preset line, the processor executes the line The model implements a program to implement the following steps: coordinate deflection correction of adjacent cross-section circles in the set of cross-section circles.
可选地,前述的线路模型实现装置,所述根据所述截面圆集合,生成所述线路的模型中,所述处理器执行所述线路模型实现程序,以实现以下步骤:获取所述线路模型上一点的空间定位参数方程,根据所述空间定位参数方程定位所述点的坐标。Optionally, in the foregoing line model implementation device, in the model for generating the line according to the cross-sectional circle set, the processor executes the line model implementation program to implement the following steps: acquiring the line model The spatial positioning parameter equation of the previous point locates the coordinates of the point according to the spatial positioning parameter equation.
为实现上述目的,本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现前述线路模型实现方法的步骤。To achieve the above object, the present invention also provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors, To implement the steps of the foregoing line model implementation method.
有益效果Beneficial effect
根据以上技术方案,可知本发明的线路模型实现方法、装置和计算机可读存储介质至少具有以下优点:According to the above technical solution, it is known that the line model implementing method, apparatus and computer readable storage medium of the present invention have at least the following advantages:
根据本发明的技术方案,只需要用户设置几个关键路径点,即可根据路径点确定线路形成的平滑曲线以及确定线路的截面圆,并最终确定线路模型,可见本发明的技术方案能够简化线路模型建立的工作,能够降低建模成本,极大提高了建立线路模型的效率。According to the technical solution of the present invention, only a few critical path points need to be set by the user, the smooth curve formed by the line can be determined according to the path point, and the section circle of the line can be determined, and the line model can be finally determined. It can be seen that the technical solution of the present invention can simplify the line. The work of model building can reduce the cost of modeling and greatly improve the efficiency of building a line model.
附图说明DRAWINGS
图1为本发明线路模型实现方法一个实施例的流程图;1 is a flow chart of an embodiment of a method for implementing a line model according to the present invention;
图2为本发明线路模型实现方法另一个实施例的流程图;2 is a flow chart of another embodiment of a method for implementing a line model according to the present invention;
图3为本发明线路模型实现装置一个实施例的框图;3 is a block diagram of an embodiment of a line model implementation apparatus of the present invention;
图4为本发明线路模型实现装置一个实施例的原理示意图;4 is a schematic diagram of an embodiment of an apparatus for implementing a line model according to the present invention;
图5为本发明线路模型实现装置一个实施例的原理示意图;FIG. 5 is a schematic diagram of the principle of an embodiment of a circuit model implementation apparatus according to the present invention; FIG.
图6为本发明线路模型实现装置一个实施例的原理示意图;6 is a schematic diagram of an embodiment of an apparatus for implementing a line model according to the present invention;
图7为本发明线路模型实现装置一个实施例的原理示意图;7 is a schematic diagram of an embodiment of an apparatus for implementing a line model according to the present invention;
图8为本发明线路模型实现装置一个实施例的原理示意图。FIG. 8 is a schematic diagram of the principle of an embodiment of a line model implementation apparatus according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
本发明的实施方式Embodiments of the invention
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身没有特有的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and has no specific meaning per se. Therefore, "module", "component" or "unit" can be used in combination.
如图1所示,本发明的一个实施例中提供了一种线路模型实现方法,线路模型实现方法包括:As shown in FIG. 1 , an embodiment of the present invention provides a method for implementing a line model, and the method for implementing a line model includes:
步骤S110,获取线路的关键路径点。Step S110, acquiring a critical path point of the line.
在本实施例中,线路包括但不限于线缆、管道等。线路的关键路径点可以由用户设置。在用户设置了关键路径点之后,后续的实现线路模型的过程可以自动完成,极大提高了建立线路模型的效率,并减少了用户的工作量。In this embodiment, the lines include, but are not limited to, cables, pipes, and the like. The critical path point of the line can be set by the user. After the user sets the critical path point, the subsequent process of implementing the line model can be completed automatically, which greatly improves the efficiency of establishing the line model and reduces the workload of the user.
步骤S120,根据线路的关键路径点,确定线路对应的平滑曲线上的点集合。Step S120, determining a set of points on the smooth curve corresponding to the line according to the critical path point of the line.
在本实施例中,基于线路的关键路径点,可以确定线路的转折情况,进而可以计算出线路形成的平滑曲线。该平滑曲线可以是线路的各个截面圆的圆心所在的曲线。In this embodiment, based on the critical path points of the line, the turning condition of the line can be determined, and then the smooth curve formed by the line can be calculated. The smooth curve can be the curve of the center of each cross-section circle of the line.
步骤S130,根据平滑曲线上的点集合以及预设线路的半径,确定线路的截面圆集合。Step S130, determining a cross-sectional circle set of the line according to the set of points on the smooth curve and the radius of the preset line.
在本实施例中,结合计算得到的线路的各个截面圆的圆心所在的曲线,以及线路的半径,可以计算出线路的各个截面圆,每个截面圆位于线路的表面,所以有利于计算出线路的表面。In this embodiment, combined with the calculated curve of the center of each section circle of the line and the radius of the line, each section circle of the line can be calculated, and each section circle is located on the surface of the line, so it is advantageous to calculate the line. s surface.
步骤S140,根据截面圆集合,生成线路的模型。Step S140, generating a model of the line according to the set of cross-section circles.
根据本实施例的技术方案,只需要用户设置几个关键路径点,即可根据路径点确定线路形成的平滑曲线以及确定线路的截面圆,并最终确定线路模型,可见本发明的技术方案能够简化线路模型建立的工作,能够降低建模成本,极大提高了建立线路模型的效率。According to the technical solution of the embodiment, only the user needs to set several critical path points, and the smooth curve formed by the line can be determined according to the path point, and the cross-section circle of the line is determined, and the line model is finally determined. It can be seen that the technical solution of the present invention can be simplified. The work of establishing the line model can reduce the modeling cost and greatly improve the efficiency of establishing the line model.
如图2所示,本发明的一个实施例中提供了一种线路模型实现方法,本实施例的线路模型实现方法包括:As shown in FIG. 2, in an embodiment of the present invention, a method for implementing a line model is provided. The method for implementing a line model in this embodiment includes:
步骤S210,获取线路的关键路径点。Step S210, acquiring a critical path point of the line.
在本实施例中,设置线路关键路径点,获取路径点有序集合1。In this embodiment, a line critical path point is set, and an ordered set 1 of path points is obtained.
步骤S220,根据关键路径点中的连续多个点确定折线线段,对折线线段进行平滑采样处理得到线路对应的平滑曲线的多个点,汇总形成平滑曲线上的点集合。Step S220: Determine a line segment according to consecutive points in the key path point, and perform smooth sampling processing on the line segment to obtain a plurality of points of the smooth curve corresponding to the line, and form a point set on the smooth curve.
在本实施例中,顺序取有序集合1中前三点a1、a2、a3,视a2点为a1a2a3折线段拐点,采用二阶Bezier曲线对折线段a1a2a3做平滑采样处理,获得对折线段处理后的平滑曲线采样点集合11,替换点a2位置***集合1中获得新的有序集合2。反复从有序集合1中取三点,重复上述计算过程,获得集合2的最终版本,即平滑曲线的点集合。In this embodiment, the first three points a1, a2, and a3 in the ordered set 1 are sequentially taken, and the a2 point is the inflection point of the a1a2a3 fold line segment, and the second-order Bezier curve is used to smoothly sample the fold line segment a1a2a3, and the obtained line segment is processed. Smooth curve sample point set 11, replace point a2 position into set 1 to obtain a new ordered set 2. Repeatedly taking three points from the ordered set 1, repeating the above calculation process, and obtaining the final version of the set 2, that is, the set of points of the smooth curve.
步骤S230,从平滑曲线的点集合选择连续的多个点,根据多个点确定线路的一个截面圆的圆心以及至少两个过截面圆的向量,根据圆心、向量、线路的半径确定截面圆,汇总得到截面圆集合。Step S230, selecting consecutive points from a set of points of the smooth curve, determining a center of a section circle of the line and a vector of at least two cross-section circles according to the plurality of points, and determining a section circle according to a radius of the center, the vector, and the line, A summary of the section circle is obtained.
在本实施例中,顺序取有序集合2中前三点b1、b2、b3,则以向量b1b2作为线路采样截面圆c1所在平面的法向量,以点b1为c1的圆心,截面圆的半径r根据项目现场实际情况设定。基于点b1、b2、b3,取向量b1b2、向量b2b3的叉积,获得b1b2、b2b3所在平面的法向量bb1,则bb1即为过c1所在平面的向量,且与b1b2正交。取向量bb1与b1b2的叉积bb12,则bb12即为过c1所在平面的向量,且与bb1、b1b2正交。将向量bb12、向量bb1、半径r、圆心b1、采样间隔角α带入圆的空间坐标方程,获取圆c1上坐标点有序存入集合3。反复从有序集合2中取三点,重复上述计算过程,获取所有采样截面圆上坐标集形成集合3。In this embodiment, the first three points b1, b2, and b3 in the ordered set 2 are sequentially taken, and the vector b1b2 is used as the normal vector of the plane where the line sampling section c1 is located, and the point b1 is the center of the c1, the radius of the section circle. r According to the actual situation of the project site. Based on the points b1, b2, and b3, the cross product of the vector b1b2 and the vector b2b3 is taken to obtain the normal vector bb1 of the plane where b1b2 and b2b3 are located, and bb1 is a vector of the plane where c1 is located, and is orthogonal to b1b2. Taking the cross product bb12 of the vector bb1 and b1b2, bb12 is a vector of the plane where c1 is located, and is orthogonal to bb1 and b1b2. The vector bb12, the vector bb1, the radius r, the center b1, and the sampling interval angle α are brought into the space coordinate equation of the circle, and the coordinate points on the circle c1 are acquired and stored in the set 3. Repeatedly taking three points from the ordered set 2, repeating the above calculation process to obtain a set of coordinate sets on all sampling section circles.
步骤S240,对截面圆集合中相邻的截面圆进行坐标偏转纠正。In step S240, coordinate deflection correction is performed on adjacent cross-section circles in the cross-section circle set.
在本实施例中,对集合3中每个采样截面圆与其前一个相邻采样截面圆做坐标偏转纠正处理,获取偏转纠正后集合4。In the present embodiment, the coordinate deflection correction processing is performed on each sampling section circle in the set 3 and the previous adjacent sampling section circle, and the deflection corrected set 4 is obtained.
步骤S250,根据截面圆集合,生成线路的模型,获取线路模型上一点的空间定位参数方程,根据空间定位参数方程定位点的坐标。Step S250, according to the cross-section circle set, generate a model of the line, obtain a spatial positioning parameter equation of a point on the line model, and locate the coordinates of the point according to the spatial positioning parameter equation.
在本实施例中,将集合4作为线路模型网格顶点参数,通过模型引擎生成线路模型,同时获取线路模型上任意点空间定位参数方程,定位任意百分比线路上点坐标。In this embodiment, the set 4 is used as the vertex parameter of the line model mesh, and the line model is generated by the model engine, and the spatial positioning parameter equation of any point on the line model is acquired, and the point coordinates of any percentage line are located.
根据本实施例的技术方案,能够简化线路模型建立的工作,能够方便的获取线路模型的主要参数,能够便捷的定位线路上任意点的空间位置,降低建模成本,能够不受空间象限的限制,自动实现模型纠偏。According to the technical solution of the embodiment, the work of establishing the line model can be simplified, the main parameters of the line model can be conveniently obtained, the spatial position of any point on the line can be conveniently located, the modeling cost can be reduced, and the space quadrant can be restricted. Automatically implement model correction.
如图3所示,本发明的一个实施例中提供了一种线路模型实现装置,本实施例的线路模型实现装置包括处理器310、存储器320及通信总线330;通信总线330用于实现处理器310和存储器320之间的连接通信;处理器310用于执行存储器320中存储的线路模型实现程序,以实现以下步骤:As shown in FIG. 3, in an embodiment of the present invention, a circuit model implementation apparatus is provided. The circuit model implementation apparatus of this embodiment includes a processor 310, a memory 320, and a communication bus 330. The communication bus 330 is used to implement a processor. Connection communication between 310 and memory 320; processor 310 is operative to execute a line model implementation program stored in memory 320 to implement the following steps:
获取线路的关键路径点。Get the critical path point of the line.
在本实施例中,线路的关键路径点可以由用户设置。在用户设置了关键路径点之后,后续的实现线路模型的过程可以自动完成,极大提高了建立线路模型的效率,并减少了用户的工作量。In this embodiment, the critical path point of the line can be set by the user. After the user sets the critical path point, the subsequent process of implementing the line model can be completed automatically, which greatly improves the efficiency of establishing the line model and reduces the workload of the user.
根据线路的关键路径点,确定线路对应的平滑曲线上的点集合。According to the critical path point of the line, determine the set of points on the smooth curve corresponding to the line.
在本实施例中,基于线路的关键路径点,可以确定线路的转折情况,进而可以计算出线路形成的平滑曲线。该平滑曲线可以是线路的各个截面圆的圆心所在的曲线。In this embodiment, based on the critical path points of the line, the turning condition of the line can be determined, and then the smooth curve formed by the line can be calculated. The smooth curve can be the curve of the center of each cross-section circle of the line.
根据平滑曲线上的点集合以及预设线路的半径,确定线路的截面圆集合。The set of cross-section circles of the line is determined based on the set of points on the smooth curve and the radius of the preset line.
在本实施例中,结合计算得到的线路的各个截面圆的圆心所在的曲线,以及线路的半径,可以计算出线路的各个截面圆,每个截面圆位于线路的表面,所以有利于计算出线路的表面。In this embodiment, combined with the calculated curve of the center of each section circle of the line and the radius of the line, each section circle of the line can be calculated, and each section circle is located on the surface of the line, so it is advantageous to calculate the line. s surface.
根据截面圆集合,生成线路的模型。A model of the line is generated based on the set of section circles.
根据本实施例的技术方案,只需要用户设置几个关键路径点,即可根据路径点确定线路形成的平滑曲线以及确定线路的截面圆,并最终确定线路模型,可见本发明的技术方案能够简化线路模型建立的工作,能够降低建模成本,极大提高了建立线路模型的效率。According to the technical solution of the embodiment, only the user needs to set several critical path points, and the smooth curve formed by the line can be determined according to the path point, and the cross-section circle of the line is determined, and the line model is finally determined. It can be seen that the technical solution of the present invention can be simplified. The work of establishing the line model can reduce the modeling cost and greatly improve the efficiency of establishing the line model.
如图3所示,本发明的一个实施例中提供了一种线路模型实现装置,本实施例的线路模型实现装置包括处理器310、存储器320及通信总线330;通信总线330用于实现处理器310和存储器320之间的连接通信;处理器310用于执行存储器320中存储的线路模型实现程序,以实现以下步骤:As shown in FIG. 3, in an embodiment of the present invention, a circuit model implementation apparatus is provided. The circuit model implementation apparatus of this embodiment includes a processor 310, a memory 320, and a communication bus 330. The communication bus 330 is used to implement a processor. Connection communication between 310 and memory 320; processor 310 is operative to execute a line model implementation program stored in memory 320 to implement the following steps:
获取线缆的关键路径点。Get the critical path point of the cable.
在本实施例中,以实现线缆模型为例,在指定的三维空间中,设定线缆需要途径的n个关键路径点,将这n个点视作线缆模型的采样点,n的大小即采样点的密度决定线缆模型的精确度,获取n个点的空间坐标记为OriginalPath[n]。In this embodiment, taking the cable model as an example, in the specified three-dimensional space, the n critical path points of the cable need to be set, and the n points are regarded as sampling points of the cable model, n The size, ie the density of the sampling points, determines the accuracy of the cable model. The space for acquiring n points is marked as OriginalPath[n].
根据关键路径点中的连续多个点确定折线线段,对折线线段进行平滑采样处理得到线缆对应的平滑曲线的多个点,汇总形成平滑曲线上的点集合。The polyline segment is determined according to consecutive points in the critical path point, and the polyline segment is smoothly sampled to obtain a plurality of points of the smooth curve corresponding to the cable, and the points set on the smooth curve are collectively formed.
在本实施例中,对原始路径采样点OriginalPath[n]做插值曲线平滑处理,将OriginalPath[n]中除首尾两点外的点均视为潜在转向路径点,从这些潜在的转向路径点中取出一点记为T,则OriginalPath[T-1]、OriginalPath[T]、OriginalPath[T+1]三点构成的折线作为曲线的路径基准,通过采用二阶Bezier曲线对折线线段做平滑采样处理,此三点作为Bezier曲线的控制点获得与时间参数t(t∈(0,1))相关的曲线方程。根据t的不同取值可以得到过该方程确定曲量,t的取值采样个数越多,曲线越平滑。对OriginalPath[n]中除首尾外的每一点做如上的平滑采样处理,获取每点对应的平滑后的曲线上点的空间坐标集合。将OriginalPath[n]中的全部潜在转向路径点坐标替换为其各自对应的BezierPath[t]坐标集,即平滑采样点集后,得到平滑转向的新路径点集合,记作CenterPath[m]。如图4所示,其中,白色的点为关键路径点,连续黑色点即为与之最为靠近的关键路径点经平滑转向处理后的平滑曲线上的点。In this embodiment, the original path sampling point OriginalPath[n] is subjected to interpolation curve smoothing, and the points other than the first and last points in the OriginalPath[n] are regarded as potential turning path points, from these potential turning path points. Take a point of T, then the original line composed of three points of OriginalPath[T-1], OriginalPath[T], and OriginalPath[T+1] is used as the path reference of the curve, and the line segment of the broken line is smoothly sampled by using the second-order Bezier curve. These three points are obtained as the control points of the Bezier curve to obtain a curve equation related to the time parameter t(t ∈ (0, 1)). According to the different values of t, the equation can be used to determine the curvature. The more samples of t, the smoother the curve. For each point except the first and last ends of the OriginalPath[n], the above-described smooth sampling processing is performed, and the spatial coordinate set of the points on the smoothed curve corresponding to each point is obtained. Replace all the potential steering path point coordinates in OriginalPath[n] with their corresponding BezierPath[t] coordinate sets, that is, after smoothing the sampling point set, obtain a new set of path points that are smoothly turned, and record it as CenterPath[m]. As shown in FIG. 4, the white point is a critical path point, and the continuous black point is the point on the smooth curve after the smooth path processing of the closest critical path point.
从平滑曲线的点集合选择连续的多个点,根据多个点确定线缆的一个截面圆的圆心以及至少两个过截面圆的向量,根据圆心、向量、线缆的半径确定截面圆,汇总得到截面圆集合。Selecting a plurality of consecutive points from a set of points of the smooth curve, determining a center of a section circle of the cable and a vector of at least two cross-section circles according to the plurality of points, and determining a section circle according to the center of the circle, the vector, and the radius of the cable, and summarizing A set of cross-section circles is obtained.
在本实施例中,取CenterPath[m]中一点P,作为所求线缆模型的横截剖面的圆心采样点,取CenterPath[m]中顺序P点的下一个点P1。P与P1构成的空间向量PP1,作为以P为圆心的空间圆所在平面的法向量,根据实际应用中线缆直径的需求,确定线缆半径r。由圆心坐标P、圆平面法向量PP1、线缆半径r三个数值可以确定圆的空间位置,如图5所示。In this embodiment, a point P in the CenterPath[m] is taken as the center sampling point of the cross-sectional profile of the obtained cable model, and the next point P1 of the sequence P point in the CenterPath[m] is taken. The space vector PP1 composed of P and P1 is used as the normal vector of the plane of the space circle with P as the center, and the cable radius r is determined according to the demand of the cable diameter in practical applications. The spatial position of the circle can be determined by three values of the center coordinate P, the circular plane normal vector PP1, and the cable radius r, as shown in FIG.
顺序取CenterPath[m]中P1后一点P2,由向量PP1与向量PP2所确定的平面的法向量r1必与圆平面法向量PP1正交,因此可以将向量r1作为圆所在平面上的一条向量。取向量r1与PP1的叉积得到新的向量r2,由向量叉积性质可知,r2必与PP1及r1正交,因此可以将向量r2作为圆所在平面上的另一条向量。The sequence takes the point P2 after P1 in CenterPath[m]. The normal vector r1 of the plane determined by the vector PP1 and the vector PP2 must be orthogonal to the circular plane normal vector PP1, so the vector r1 can be used as a vector on the plane of the circle. Taking the cross product of the vector r1 and PP1 to obtain a new vector r2, the vector cross product property shows that r2 must be orthogonal to PP1 and r1, so the vector r2 can be used as another vector on the plane of the circle.
经过以上计算,已确定参数为:圆心坐标P,圆所在平面上的两条向量r1、r2,圆的半径r,此时可得到空间圆的坐标参数方程:After the above calculation, the determined parameters are: the center coordinate P, the two vectors r1 and r2 on the plane of the circle, and the radius r of the circle. At this time, the coordinate parameter equation of the space circle can be obtained:
X = P.x + r * (r1.x * cosA + r2.x * sinA);X = P.x + r * (r1.x * cosA + r2.x * sinA);
Y = P.y + r * (r1.y * cosA + r2.y * sinA);Y = P.y + r * (r1.y * cosA + r2.y * sinA);
Z = P.z + r * (r1.z * cosA + r2.z * sinA);Z = P.z + r * (r1.z * cosA + r2.z * sinA);
公式中(X,Y,Z)为所求空间圆上一点坐标,P、r1、r2取其各自(x,y,z)空间坐标。A为每次采样计算所需偏移的角度,即采样间隔角,即圆上一点的采样间隔,可根据模型精度的要求进行设定,间隔越短,采样密度越大,最终得到的圆越平滑,如图6所示,其中的偏移角度A为60度,所以可以在截面圆上采集6个点。In the formula (X, Y, Z) is the coordinates of a point on the space circle, and P, r1, and r2 take their respective (x, y, z) space coordinates. A is the angle of the required offset for each sampling, that is, the sampling interval angle, that is, the sampling interval at a point on the circle, which can be set according to the requirements of the model accuracy. The shorter the interval, the larger the sampling density, and the resulting circle is more Smoothing, as shown in Fig. 6, where the offset angle A is 60 degrees, it is possible to collect 6 points on the section circle.
对CenterPath[m]中剩余坐标点都重复以上的计算过程,则可以得到所有以关键路径点为圆心所建立的空间圆上采样点的坐标,记做Vertices[p]。Repeat the above calculation process for the remaining coordinate points in CenterPath[m], then you can get the coordinates of all the spatial circle upsampled points established by the critical path point as the center of the circle, and write it as Vertices[p].
根据Unity图像引擎(一种图像引擎)的特性,Vertices[p]即可做为三维模型描述信息中的网格面顶点信息,按照三点构成一个面,多个面围成一个空间物体的原则,以Vertices[p]中顶点的顺序为基准,三点一组进行排序。如图7所示样例,(1,2,4)这三个点构成了一个面,加上1、2、4这三个点的空间坐标信息,就能绘制出一个具体的物体面,如此,图7中的连续面可以描述为(1,2,4),(2,5,4),(2,3,5),(3,5,6)。According to the characteristics of the Unity image engine (an image engine), Vertices[p] can be used as the vertex information of the mesh surface in the description information of the 3D model. The principle of forming a surface according to three points and enclosing a space object by multiple faces According to the order of the vertices in Vertices[p], the three points are sorted. As shown in the example of Fig. 7, the three points (1, 2, 4) constitute a face, and by adding the spatial coordinate information of the three points 1, 2, and 4, a specific object plane can be drawn. Thus, the continuous faces in FIG. 7 can be described as (1, 2, 4), (2, 5, 4), (2, 3, 5), (3, 5, 6).
分析Vertices[p]数据的生成过程可知,从起始点Vertices[0]开始,每n个点就代表了一个采样圆的数据,则对顶点的排序即每两个相邻采样圆上的点按照本步骤上文所述方法进行排序,获得顶点排序集合Surface[s]。将此信息与顶点信息Vertices[p]一同写入模型网格描述信息中,就可以得到模型,具体如图8所示。Analysis of the generation process of Vertices[p] data shows that starting from the starting point Vertices[0], every n points represents the data of one sampling circle, then the ordering of the vertices is the point on every two adjacent sampling circles. The method described above is sorted to obtain a vertex sorting set Surface[s]. This information is written into the model mesh description information together with the vertex information Vertices[p], and the model can be obtained, as shown in FIG. 8.
对截面圆集合中相邻的截面圆进行坐标偏转纠正。Coordinate deflection correction is performed on adjacent cross-section circles in the cross-section circle set.
在本实施例中,若直接使用顶点Vertices[p],生成的模型会发生扭曲。由前文可知,Vertices[p]为所有采样圆上的点依次排序,取每个采样圆的第一个点,与CenterPath[m]中与圆对应的圆心构成的向量记作rm。当CenterPath[m]中取出的圆心坐标分别位于不同象限时,会导致用于计算圆上采样点坐标的圆上的两个向量r1,r2的基准平面各不相同,由此就会在计算圆上采样点坐标的空间圆参数方程获取起始坐标点时,有发生轴向偏转的可能。模型扭曲部分,与其对应的采样点与正常段的采样点位对比,起始点位置发生了轴向偏转,由此导致了模型的扭转。In this embodiment, if the vertex Vertices[p] is directly used, the generated model will be distorted. As can be seen from the foregoing, Vertices[p] sorts the points on all sampling circles in turn, taking the first point of each sampling circle, and the vector formed by the center of the circle corresponding to the circle in CenterPath[m] is denoted as rm. When the coordinates of the center circle taken out in CenterPath[m] are respectively in different quadrants, the two vectors r1 on the circle used to calculate the coordinates of the sample points on the circle are different. The reference planes of r2 are different, and thus the circle is calculated. When the spatial coordinate equation of the upper sampling point coordinates obtains the starting coordinate point, there is a possibility of axial deflection. The twisted part of the model, compared with the corresponding sampling point and the sampling point of the normal section, the axial displacement of the starting point position, which leads to the torsion of the model.
这里采用轴向偏移纠正的方法来处理。根据相邻采样圆起始轴(向量rm)夹角最小原则,依次取CenterPath[m]中的圆心及Vertices[p]中对应采样圆上点构成的向量与CenterPath[m]中前一顺位圆的起始轴计算夹角,重新取构成最小夹角的点为起始点,该圆上的其余点依次排序顺移。根据此顺移顺序重新调整Vertices[p]中对应点的顺位。顺位调整后的采样圆再与下一顺位的圆重复以上步骤。当全部点位处理完成,则获得新的Vertices[p]。This is handled by the method of axial offset correction. According to the minimum principle of the initial angle of the adjacent sampling circle (vector rm), the center of the CenterPath[m] and the vector of the corresponding sampling circle in Vertices[p] are sequentially taken and the previous position in CenterPath[m] The initial axis of the circle calculates the angle, and the point that constitutes the smallest angle is taken as the starting point, and the remaining points on the circle are sequentially sorted and shifted. The order of the corresponding points in Vertices[p] is re-adjusted according to this order of shift. The sequenced circle after the adjustment is repeated with the next step of the circle. When all point processing is completed, a new Vertices[p] is obtained.
根据截面圆集合,生成线缆的模型,获取线缆模型上一点的空间定位参数方程,根据空间定位参数方程定位点的坐标。According to the circular circle set, the model of the cable is generated, and the spatial positioning parameter equation of the point on the cable model is obtained, and the coordinates of the positioning point according to the spatial positioning parameter equation are obtained.
在本实施例中,将经过轴向偏移纠正后的Vertices[p]重新导入引擎,就可以得到平滑的线缆模型。由上文可知CenterPath[m]即为线缆模型的圆心采样路径点。则可以对其中的点两两计算分段长度,累加获得线缆模型的总长,同时每点在线缆模型总长中所占百分比亦可得知。此时满足在线缆模型上进行标记点定位的条件,若定位需求为百分比,则直接以对应百分比的圆心坐标视为定位点坐标,若定位数据更为精确,则可以采用上述步骤,以对应百分比圆心坐标求得横截面圆,在圆面上精确定位点坐标。In this embodiment, the smoothed cable model can be obtained by re-importing the Vertices[p] corrected by the axial offset into the engine. It can be seen from the above that CenterPath[m] is the center sampling path point of the cable model. Then, the segment length can be calculated for the points two and two, and the total length of the cable model is accumulated, and the percentage of each point in the total length of the cable model can also be known. At this time, the condition for positioning the marker point on the cable model is satisfied. If the positioning requirement is a percentage, the coordinates of the center of the corresponding percentage are directly regarded as the coordinates of the positioning point. If the positioning data is more accurate, the above steps may be adopted to correspond The percentage center coordinates are used to find the cross-section circle, and the coordinates of the points are precisely positioned on the circular surface.
本实施例的技术方案不但可以应用于实现线缆模型,也可以实现管道模型,管道相比于线缆,需要多呈现出内外径的效果,具体到实现上,就是针对管道的路径,进行两次运算,一次以管道外径作为算法的半径参数,另一次一管道的内径作为算法的半径参数,除此之外,在构建模型网格时,采样点的序列生成需要有所区别,外径采取顺时针序列,内径采取逆时针序列,这样可以保证外径的材质的法线指向管道外侧,而内径的材质法线指向管道内测。The technical solution of the embodiment can be applied not only to realize the cable model, but also to realize the pipeline model. The pipeline needs to exhibit the effect of the inner and outer diameters more than the cable, and the implementation is to implement the path for the pipeline. Sub-operation, once the pipe outer diameter is used as the radius parameter of the algorithm, and the inner diameter of the other pipe is used as the radius parameter of the algorithm. In addition, when constructing the model mesh, the sequence generation of the sampling points needs to be different, the outer diameter Take a clockwise sequence, the inner diameter takes a counterclockwise sequence, which ensures that the normal of the outer diameter material points to the outside of the pipe, while the material normal of the inner diameter points to the pipe.
根据本实施例的技术方案,能够简化线缆模型建立的工作,能够方便的获取线缆模型的主要参数,能够便捷的定位线缆上任意点的空间位置,降低建模成本,能够不受空间象限的限制,自动实现模型纠偏。2、文中集合OriginalPath[n]、CenterPath[m]、Vertices[p],Surface[s]中元素的数据类型均为(x,y,z)三坐标数据。According to the technical solution of the embodiment, the work of establishing the cable model can be simplified, the main parameters of the cable model can be conveniently obtained, the spatial position of any point on the cable can be conveniently located, the modeling cost can be reduced, and the space can be avoided. The quadrant limits automatically automate model rectification. 2. The data types of the elements in the collection OriginalPath[n], CenterPath[m], Vertices[p], and Surface[s] are all (x, y, z) three-coordinate data.
本发明的一个实施例中还提供了一种计算机可读存储介质,计算机可读存储介质存储有一个或者多个程序,一个或者多个程序可被一个或者多个处理器执行,以实现以下步骤:Also provided in an embodiment of the present invention is a computer readable storage medium storing one or more programs, one or more programs executable by one or more processors to implement the following steps :
获取线路的关键路径点。Get the critical path point of the line.
在本实施例中,线路包括但不限于线缆、管道等。线路的关键路径点可以由用户设置。在用户设置了关键路径点之后,后续的实现线路模型的过程可以自动完成,极大提高了建立线路模型的效率,并减少了用户的工作量。In this embodiment, the lines include, but are not limited to, cables, pipes, and the like. The critical path point of the line can be set by the user. After the user sets the critical path point, the subsequent process of implementing the line model can be completed automatically, which greatly improves the efficiency of establishing the line model and reduces the workload of the user.
根据线路的关键路径点,确定线路对应的平滑曲线上的点集合。According to the critical path point of the line, determine the set of points on the smooth curve corresponding to the line.
在本实施例中,基于线路的关键路径点,可以确定线路的转折情况,进而可以计算出线路形成的平滑曲线。该平滑曲线可以是线路的各个截面圆的圆心所在的曲线。In this embodiment, based on the critical path points of the line, the turning condition of the line can be determined, and then the smooth curve formed by the line can be calculated. The smooth curve can be the curve of the center of each cross-section circle of the line.
根据平滑曲线上的点集合以及预设线路的半径,确定线路的截面圆集合。The set of cross-section circles of the line is determined based on the set of points on the smooth curve and the radius of the preset line.
在本实施例中,结合计算得到的线路的各个截面圆的圆心所在的曲线,以及线路的半径,可以计算出线路的各个截面圆,每个截面圆位于线路的表面,所以有利于计算出线路的表面。In this embodiment, combined with the calculated curve of the center of each section circle of the line and the radius of the line, each section circle of the line can be calculated, and each section circle is located on the surface of the line, so it is advantageous to calculate the line. s surface.
根据截面圆集合,生成线路的模型。A model of the line is generated based on the set of section circles.
根据本实施例的技术方案,只需要用户设置几个关键路径点,即可根据路径点确定线路形成的平滑曲线以及确定线路的截面圆,并最终确定线路模型,可见本发明的技术方案能够简化线路模型建立的工作,能够降低建模成本,极大提高了建立线路模型的效率。According to the technical solution of the embodiment, only the user needs to set several critical path points, and the smooth curve formed by the line can be determined according to the path point, and the cross-section circle of the line is determined, and the line model is finally determined. It can be seen that the technical solution of the present invention can be simplified. The work of establishing the line model can reduce the modeling cost and greatly improve the efficiency of establishing the line model.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。The embodiments of the present invention have been described above with reference to the drawings, but the present invention is not limited to the specific embodiments described above, and the specific embodiments described above are merely illustrative and not restrictive, and those skilled in the art In the light of the present invention, many forms may be made without departing from the spirit and scope of the invention as claimed.
工业实用性Industrial applicability
根据以上技术方案,可知本发明的线路模型实现方法、装置和计算机可读存储介质至少具有以下优点:According to the above technical solution, it is known that the line model implementing method, apparatus and computer readable storage medium of the present invention have at least the following advantages:
根据本发明的技术方案,只需要用户设置几个关键路径点,即可根据路径点确定线路形成的平滑曲线以及确定线路的截面圆,并最终确定线路模型,可见本发明的技术方案能够简化线路模型建立的工作,能够降低建模成本,极大提高了建立线路模型的效率。因此,具有工业实用性。According to the technical solution of the present invention, only a few critical path points need to be set by the user, the smooth curve formed by the line can be determined according to the path point, and the section circle of the line can be determined, and the line model can be finally determined. It can be seen that the technical solution of the present invention can simplify the line. The work of model building can reduce the cost of modeling and greatly improve the efficiency of building a line model. Therefore, it has industrial applicability.

Claims (10)

  1. 一种线路模型实现方法,所述线路模型实现方法包括:A circuit model implementation method, the line model implementation method includes:
    获取线路的关键路径点;Obtain the critical path point of the line;
    根据所述线路的关键路径点,确定所述线路对应的平滑曲线上的点集合;Determining, according to a critical path point of the line, a set of points on a smooth curve corresponding to the line;
    根据所述平滑曲线上的点集合以及预设所述线路的半径,确定所述线路的截面圆集合;Determining a cross-sectional circle set of the line according to a set of points on the smooth curve and a radius of the preset line;
    根据所述截面圆集合,生成所述线路的模型。A model of the line is generated based on the set of section circles.
  2. 根据权利要求1所述的线路模型实现方法,其中,所述根据所述线路的关键路径点,确定所述线路对应的平滑曲线上的点集合,具体包括:The method for implementing a line model according to claim 1, wherein the determining a set of points on the smooth curve corresponding to the line according to the critical path point of the line includes:
    根据所述关键路径点中的连续多个点确定折线线段,对所述折线线段进行平滑采样处理得到所述平滑曲线的多个点。Defining a line segment according to a plurality of consecutive points in the critical path point, and performing smooth sampling processing on the line segment to obtain a plurality of points of the smooth curve.
  3. 根据权利要求1所述的线路模型实现方法,其中,所述根据所述平滑曲线上的点集合以及预设所述线路的半径,确定所述线路的截面圆集合,具体包括:The method for implementing a line model according to claim 1, wherein the determining the cross-sectional circle set of the line according to the set of points on the smooth curve and the radius of the preset line includes:
    从所述平滑曲线的点集合选择连续的多个点,根据所述多个点确定所述线路的一个截面圆的圆心以及至少两个过所述截面圆的向量,根据所述圆心、所述向量、所述半径确定所述截面圆。Selecting a plurality of consecutive points from the set of points of the smooth curve, determining a center of a section circle of the line and at least two vectors passing the section circle according to the plurality of points, according to the center of the circle A vector, the radius determines the cross-section circle.
  4. 根据权利要求1所述的线路模型实现方法,其中,在所述根据所述平滑曲线上的点集合以及预设所述线路的半径,确定所述线路的截面圆集合之后,还包括:The method for implementing a line model according to claim 1, wherein after determining the cross-sectional circle set of the line according to the set of points on the smooth curve and the radius of the preset line, the method further includes:
    对所述截面圆集合中相邻的截面圆进行坐标偏转纠正。Coordinate deflection correction is performed on adjacent cross-section circles in the set of cross-section circles.
  5. 根据权利要求1所述的线路模型实现方法,其中,所述根据所述截面圆集合,生成所述线路的模型,还包括:The method for implementing a line model according to claim 1, wherein the generating the model of the line according to the set of section circles further comprises:
    获取所述线路模型上一点的空间定位参数方程,根据所述空间定位参数方程定位所述点的坐标。Obtaining a spatial positioning parameter equation of a point on the line model, and positioning the coordinates of the point according to the spatial positioning parameter equation.
  6. 一种线路模型实现装置,其中,所述线路模型实现装置包括处理器、存储器及通信总线;所述通信总线用于实现处理器和存储器之间的连接通信;所述处理器用于执行存储器中存储的线路模型实现程序,以实现以下步骤:A line model implementing apparatus, wherein the line model implementing apparatus includes a processor, a memory, and a communication bus; the communication bus is used to implement connection communication between the processor and the memory; and the processor is configured to perform storage in the memory The line model implementation program implements the following steps:
    获取线路的关键路径点;Obtain the critical path point of the line;
    根据所述线路的关键路径点,确定所述线路对应的平滑曲线上的点集合;Determining, according to a critical path point of the line, a set of points on a smooth curve corresponding to the line;
    根据所述平滑曲线上的点集合以及预设所述线路的半径,确定所述线路的截面圆集合;Determining a cross-sectional circle set of the line according to a set of points on the smooth curve and a radius of the preset line;
    根据所述截面圆集合,生成所述线路的模型。A model of the line is generated based on the set of section circles.
  7. 根据权利要求6所述的线路模型实现装置,其中,所述根据所述线路的关键路径点,确定所述线路对应的平滑曲线上的点集合中,所述处理器执行所述线路模型实现程序,以实现以下步骤:The line model implementing apparatus according to claim 6, wherein said determining, according to a critical path point of said line, a set of points on a smooth curve corresponding to said line, said processor executing said line model implementing program To achieve the following steps:
    根据所述关键路径点中的连续多个点确定折线线段,对所述折线线段进行平滑采样处理得到所述平滑曲线的多个点。Defining a line segment according to a plurality of consecutive points in the critical path point, and performing smooth sampling processing on the line segment to obtain a plurality of points of the smooth curve.
  8. 根据权利要求6所述的线路模型实现装置,其中,所述根据所述平滑曲线上的点集合以及预设所述线路的半径,确定所述线路的截面圆集合中,所述处理器执行所述线路模型实现程序,以实现以下步骤:The line model implementing apparatus according to claim 6, wherein said determining a section circle of said line is performed according to a set of points on said smooth curve and a radius of said line is preset, said processor executing said The line model implementation program implements the following steps:
    从所述平滑曲线的点集合选择连续的多个点,根据所述多个点确定所述线路的一个截面圆的圆心以及至少两个过所述截面圆的向量,根据所述圆心、所述向量、所述半径确定所述截面圆。Selecting a plurality of consecutive points from the set of points of the smooth curve, determining a center of a section circle of the line and at least two vectors passing the section circle according to the plurality of points, according to the center of the circle A vector, the radius determines the cross-section circle.
  9. 根据权利要求6所述的线路模型实现装置,其中,在所述根据所述平滑曲线上的点集合以及预设所述线路的半径,确定所述线路的截面圆集合之后,所述处理器执行所述线路模型实现程序,以实现以下步骤:The line model implementing apparatus according to claim 6, wherein said processor executes after said determining a sectional circle set of said line according to a set of points on said smooth curve and a radius of said preset line The line model implements the program to implement the following steps:
    对所述截面圆集合中相邻的截面圆进行坐标偏转纠正。Coordinate deflection correction is performed on adjacent cross-section circles in the set of cross-section circles.
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现权利要求1至5中任一项所述线路模型实现方法的步骤。A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement any one of claims 1 to 5 The steps of the line model implementation method described in the item.
PCT/CN2017/119813 2017-12-29 2017-12-29 Circuit model implementation method and apparatus, and computer-readable storage medium WO2019127361A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780030655.5A CN109313819B (en) 2017-12-29 2017-12-29 Line model implementation method, device and computer readable storage medium
PCT/CN2017/119813 WO2019127361A1 (en) 2017-12-29 2017-12-29 Circuit model implementation method and apparatus, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/119813 WO2019127361A1 (en) 2017-12-29 2017-12-29 Circuit model implementation method and apparatus, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2019127361A1 true WO2019127361A1 (en) 2019-07-04

Family

ID=65207637

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/119813 WO2019127361A1 (en) 2017-12-29 2017-12-29 Circuit model implementation method and apparatus, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN109313819B (en)
WO (1) WO2019127361A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110006429A (en) * 2019-03-20 2019-07-12 智慧航海(青岛)科技有限公司 A kind of unmanned boat path planning method based on depth optimization
CN112685869B (en) * 2019-10-17 2023-09-05 北京博超时代软件有限公司 Split conductor path line drawing method and device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727523A (en) * 2009-12-17 2010-06-09 北京理工大学 Mobile cable modeling and motion simulation method and device based on physical characteristics
US20120024605A1 (en) * 2009-04-17 2012-02-02 Elinas Pantelis Drill hole planning
CN104484510A (en) * 2014-11-28 2015-04-01 大连理工大学 Novel hoisting action planning method for crane
CN104493120A (en) * 2014-12-30 2015-04-08 中冶连铸技术工程有限责任公司 Continuous casting machine roller array curve design device and method
CN107053176A (en) * 2017-04-09 2017-08-18 北京工业大学 A kind of error modeling method of six-DOF robot end spaces curvilinear path
CN107330169A (en) * 2017-06-15 2017-11-07 新奥泛能网络科技股份有限公司 A kind of regional cold supply system pipe network route planning method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04117572A (en) * 1990-09-07 1992-04-17 Ricoh Co Ltd Three-dimensional solid form generating device
US7518606B2 (en) * 2006-04-04 2009-04-14 Autodesk, Inc. System and method for generating curved pipe objects for computer aided design models
US20140192050A1 (en) * 2012-10-05 2014-07-10 University Of Southern California Three-dimensional point processing and model generation
CN104574505A (en) * 2014-12-30 2015-04-29 华东师范大学 Automatic three-dimensional pipeline communication modeling method
CN106055794A (en) * 2016-05-31 2016-10-26 浙江科澜信息技术有限公司 Method for building three-dimensional pipeline model in parametric manner
CN106649817B (en) * 2016-12-29 2020-09-11 北京超图软件股份有限公司 Method and device for constructing and lofting three-dimensional pipe model of geographic information system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120024605A1 (en) * 2009-04-17 2012-02-02 Elinas Pantelis Drill hole planning
CN101727523A (en) * 2009-12-17 2010-06-09 北京理工大学 Mobile cable modeling and motion simulation method and device based on physical characteristics
CN104484510A (en) * 2014-11-28 2015-04-01 大连理工大学 Novel hoisting action planning method for crane
CN104493120A (en) * 2014-12-30 2015-04-08 中冶连铸技术工程有限责任公司 Continuous casting machine roller array curve design device and method
CN107053176A (en) * 2017-04-09 2017-08-18 北京工业大学 A kind of error modeling method of six-DOF robot end spaces curvilinear path
CN107330169A (en) * 2017-06-15 2017-11-07 新奥泛能网络科技股份有限公司 A kind of regional cold supply system pipe network route planning method and system

Also Published As

Publication number Publication date
CN109313819B (en) 2023-05-26
CN109313819A (en) 2019-02-05

Similar Documents

Publication Publication Date Title
Larsson et al. Beyond grobner bases: Basis selection for minimal solvers
Aleksandrov et al. Approximation algorithms for geometric shortest path problems
Rosten et al. Camera distortion self-calibration using the plumb-line constraint and minimal Hough entropy
CN106649817B (en) Method and device for constructing and lofting three-dimensional pipe model of geographic information system
US7825925B2 (en) Method and system for repairing triangulated surface meshes
CN104346830A (en) Design of a path connecting a first point to a second point in a three-dimensional scene
WO2019127361A1 (en) Circuit model implementation method and apparatus, and computer-readable storage medium
CN111868738B (en) Cross-device monitoring computer vision system
CN109215118B (en) Incremental motion structure recovery optimization method based on image sequence
CN112184830A (en) Camera internal parameter and external parameter calibration method and device, computer equipment and storage medium
CN109344294B (en) Feature generation method and device, electronic equipment and computer-readable storage medium
CN102622461B (en) Method for generating three-dimensional pipeline according to three-dimensional feasible path
CN114429534A (en) Three-dimensional model processing method and device, electronic equipment and storage medium
CN110930482B (en) Method and device for determining bone parameters of human hand, electronic equipment and storage medium
CN114781233B (en) Method, equipment and medium for identifying outline of geometric structure of finite element grid
CN113205086B (en) Method for identifying characteristic parameters of circular-section bent pipe type part based on ellipse fitting
TWI406189B (en) Method for constructing triangular grids of point clouds
CN114676490A (en) Mine intelligent ventilation network resolving method
CN107063218B (en) Data processing method and device
CN112685935A (en) Two-dimensional multi-block structured grid topological partitioning method
CN107808034B (en) Steel bar rapid modeling method based on sketchup dynamic component
CN111325854A (en) Shape model correction device, shape model correction method, and storage medium
CN116229005B (en) Geodesic determining method and device for three-dimensional roadway model
CN115048825B (en) Thin shell curved surface simulation method, device, equipment and medium
CN111167900B (en) Method and device for determining parameters of bent pipe machining process

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17936436

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17936436

Country of ref document: EP

Kind code of ref document: A1