CN111710026B - Method for analyzing internal structure of three-dimensional model - Google Patents
Method for analyzing internal structure of three-dimensional model Download PDFInfo
- Publication number
- CN111710026B CN111710026B CN202010391206.7A CN202010391206A CN111710026B CN 111710026 B CN111710026 B CN 111710026B CN 202010391206 A CN202010391206 A CN 202010391206A CN 111710026 B CN111710026 B CN 111710026B
- Authority
- CN
- China
- Prior art keywords
- model
- straight line
- sectioning
- internal structure
- mouse
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2200/00—Indexing scheme for image data processing or generation, in general
- G06T2200/04—Indexing scheme for image data processing or generation, in general involving 3D image data
Abstract
The invention discloses a method for analyzing the internal structure of a three-dimensional model, which is implemented according to the following steps: step 1, importing a model; step 2, calculating the distance between the mouse and the straight line in the model; step 3, setting a threshold value, and selecting any straight line of which the distance between the mouse and the straight line in the model is smaller than the threshold value; step 4, creating a normal plane according to the normal vector of the selected straight line and the central point of the selected straight line; and 5, sectioning the model according to the normal plane to obtain an internal structure section diagram of the model, and solving the problem that the sectioning surface needs to be adjusted repeatedly for sectioning the model with the model arrangement trend being not due to south and north in the prior art.
Description
Technical Field
The invention belongs to the technical field of three-dimensional model sectioning, and relates to a method for analyzing an internal structure of a three-dimensional model.
Background
In the process of designing, reporting and displaying a three-dimensional model, in order to further understand the detailed structure of the model, the model needs to be sectioned, the traditional method is to section the model by taking XY, XZ and YZ planes as sectioning surfaces and a hexahedron sectioning box, the sectioning effect of the model arranged to be the south-north-south is better, but the sectioning effect of the model arranged to be the non-south-north-south model is not ideal, and the expected effect can be achieved by repeatedly adjusting the sectioning surfaces.
Disclosure of Invention
The invention aims to provide a method beneficial to analyzing the internal structure of a three-dimensional model, and solves the problem that the sectioning of a model with a model layout which is not true south, true north and south in the prior model sectioning technology needs to be adjusted repeatedly.
The technical scheme adopted by the invention is that the method for analyzing the internal structure of the three-dimensional model is implemented according to the following steps:
step 1, importing a model;
step 2, moving the mouse on the model, and calculating the distance between the mouse and the straight line in the model;
step 3, setting a threshold value, and selecting any straight line of which the distance between the mouse and the straight line in the model is smaller than the threshold value;
step 4, creating a normal plane according to the normal vector of the selected straight line and the central point of the selected straight line;
and 5, sectioning the model according to a normal plane to obtain an internal structure section diagram of the model.
The invention is also characterized in that:
and 2, the distance between the mouse and the straight line in the model is the distance between the center points of the straight lines in the mouse model.
The threshold in step 3 is the screen resolution 0.02 0.5 pixels.
Step 4 specifically, after any selected straight line is selected, a straight line which is the same as the selected straight line is redrawn along the selected straight line, and a normal plane is created by the drawn straight line.
And 5, specifically, sectioning the model according to a normal plane, and hiding the normal plane after sectioning to obtain a sectional view of the internal structure of the model.
And 4, the normal vector in the step 4 is the vector of the selected straight line.
The invention has the beneficial effects that: the method for analyzing the internal structure of the three-dimensional model is favorable for solving the problem that the sectioning of the model with the model layout being not true south, true north and south in the prior art needs to be adjusted repeatedly, is suitable for sectioning any model layout, and is used for sectioning the model according to the straight-line vertical normal plane, so that the sectioning efficiency and the sectioning accuracy are improved, and the convenience of digital application work is improved.
Detailed Description
The present invention will be described in detail with reference to the following embodiments.
The invention relates to a method for analyzing the internal structure of a three-dimensional model, which is implemented according to the following steps:
step 1, importing a model;
step 2, moving the mouse on the model, and calculating the distance between the mouse and the straight line in the model;
in the step 2, the distance between the mouse and the straight line in the model is the distance between the center points of the straight lines in the mouse model;
step 3, setting a threshold value, and selecting any straight line of which the distance between the mouse and the straight line in the model is smaller than the threshold value;
the threshold value in the step 3 is the resolution of the display screen 0.02 pixels 0.5 pixels;
step 4, creating a normal plane according to the normal vector of the selected straight line and the central point of the selected straight line;
step 4, after any selected straight line is selected, a straight line which is the same as the selected straight line is redrawn along the selected straight line, a normal plane is created by the drawn straight line, and the normal vector in the step 4 is the vector of the selected straight line;
and 5, sectioning the model according to the normal plane to obtain a sectioning picture of the internal structure of the model.
And 5, specifically, sectioning the model according to the normal plane, and hiding the normal plane after sectioning to obtain a sectioning picture of the internal structure of the model.
According to the method for analyzing the internal structure of the three-dimensional model, the model is cut by taking the straight-line vertical normal plane as the cutting plane, so that the model in any arrangement direction can be accurately and efficiently cut. The traditional XY, XZ, YZ sectioning surfaces and hexahedron sectioning boxes are used for sectioning a model with a non-true north-south position only by repeatedly adjusting the sectioning surfaces, and the expected sectioning effect can be achieved.
According to the method for analyzing the internal structure of the three-dimensional model, the straight line is captured and selected on the model and then sectioning is carried out, so that the problem that the conventional sectioning method cannot achieve the expected sectioning effect once when a non-true north-south model is arranged for sectioning is solved, and the sectioning is more efficient and accurate.
The method for analyzing the internal structure of the three-dimensional model is favorable for solving the problem that the sectioning surface needs to be adjusted repeatedly in the existing model sectioning technology for sectioning the model with the model arrangement trend being not true south, true north and south, is suitable for sectioning the model with any model arrangement trend, and is used for sectioning the model according to the straight-line vertical normal plane, so that the sectioning efficiency and the accuracy are improved, and the convenience of digital application work is improved.
Claims (4)
1. A method for facilitating analysis of the internal structure of a three-dimensional model is characterized by being implemented according to the following steps:
step 1, importing a model;
step 2, moving the mouse on the model, and calculating the distance between the mouse and a straight line in the model;
step 3, setting a threshold value, and selecting any straight line of which the distance between the mouse and the straight line in the model is smaller than the threshold value;
step 4, creating a normal plane according to the normal vector of the selected straight line and the central point of the selected straight line; the normal vector is the vector of the selected straight line;
step 5, sectioning the model according to a normal plane to obtain an internal structure section diagram of the model; specifically, the model is cut according to a normal plane, and the normal plane is hidden after cutting to obtain a sectional view of the internal structure of the model.
2. The method of claim 1, wherein the distance between the mouse and the straight line in the model in step 2 is the distance between the mouse and the center point of the straight line in the selected model.
3. The method of claim 1, wherein the threshold in step 3 is a screen resolution of 0.02 pixels by 0.5 pixels.
4. The method for facilitating the analysis of the internal structure of the three-dimensional model according to claim 1, wherein the step 4 is implemented by re-drawing a straight line identical to the selected straight line along the selected straight line after any one of the selected straight lines is selected, so as to create the normal plane by the drawn straight line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010391206.7A CN111710026B (en) | 2020-05-11 | 2020-05-11 | Method for analyzing internal structure of three-dimensional model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010391206.7A CN111710026B (en) | 2020-05-11 | 2020-05-11 | Method for analyzing internal structure of three-dimensional model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111710026A CN111710026A (en) | 2020-09-25 |
CN111710026B true CN111710026B (en) | 2022-06-21 |
Family
ID=72537390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010391206.7A Active CN111710026B (en) | 2020-05-11 | 2020-05-11 | Method for analyzing internal structure of three-dimensional model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111710026B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005329099A (en) * | 2004-05-21 | 2005-12-02 | Hitachi Medical Corp | Simulation method for excision of lumen internal organ |
CN103631993A (en) * | 2013-11-13 | 2014-03-12 | 浙江工业大学 | Three-dimensional model boundary line extraction method based on VRML technique |
CN110580376A (en) * | 2019-07-30 | 2019-12-17 | 浙江大学 | revit and Dynamo-based pile foundation model creation method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0549183B1 (en) * | 1991-12-23 | 2003-05-14 | General Electric Company | System for displaying solid cuts for surfaces of solid models |
EP1881458B1 (en) * | 2006-07-21 | 2011-06-08 | Dassault Systèmes | Computer-implemented process for creating a parametric surface |
CN104318618B (en) * | 2014-10-20 | 2017-05-10 | 南京师范大学 | Three-dimensional sectioning method of generalized tri-prism spatial data model |
WO2017043503A1 (en) * | 2015-09-11 | 2017-03-16 | 国立研究開発法人科学技術振興機構 | Structure estimation device, structure estimation method, and program |
CN105574932A (en) * | 2015-12-17 | 2016-05-11 | 北京科技大学 | Geological three-dimensional model random sectioning method capable of reflecting stratigraphic structure |
CN109427106A (en) * | 2017-09-01 | 2019-03-05 | 三纬国际立体列印科技股份有限公司 | Threedimensional model cutting method and electronic device |
CN108171804B (en) * | 2017-12-14 | 2021-10-19 | 深圳市毕美科技有限公司 | Method and device for determining three-dimensional model sectioning plane |
-
2020
- 2020-05-11 CN CN202010391206.7A patent/CN111710026B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005329099A (en) * | 2004-05-21 | 2005-12-02 | Hitachi Medical Corp | Simulation method for excision of lumen internal organ |
CN103631993A (en) * | 2013-11-13 | 2014-03-12 | 浙江工业大学 | Three-dimensional model boundary line extraction method based on VRML technique |
CN110580376A (en) * | 2019-07-30 | 2019-12-17 | 浙江大学 | revit and Dynamo-based pile foundation model creation method |
Non-Patent Citations (1)
Title |
---|
Web based 3D analysis and visualization using HTML5 and WebGL;Kanishk C.;《proceedings of science》;20140331;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111710026A (en) | 2020-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7948488B2 (en) | Shape preserving mappings to a surface | |
CN104898947B (en) | A kind of method that GDI electronics map vector scaling and translation are realized based on mouse position | |
CN104299269A (en) | Geological section output method of three-dimensional geological model | |
CN104819874A (en) | Manufacturing method for rock-surface-morphology-similar model structural plane | |
CN106802924A (en) | The cautious data of magnanimity observation system big gun based on multi-threaded parallel draw display methods | |
CN108256126A (en) | Visualize the data configuration method of data large-size screen monitors | |
CN111710026B (en) | Method for analyzing internal structure of three-dimensional model | |
CN104008566A (en) | Method for high-efficiency rendering of mass high-precision three-dimensional electric power equipment models in GIS | |
CN104637075A (en) | Automatic rapid mapping method for sand body | |
CN103729190A (en) | Method for displaying unified parsing of multiple media on mobile terminal | |
CN102521431A (en) | Method for processing lead wire in PCB (Printed Circuit Board) design data | |
CN103810310B (en) | The parametrization equipped towards the asphalt foaming module of bituminous mixing plant determines method | |
CN101937577A (en) | Method capable of generating shadow with boundary pixel oversampling effect | |
CN102073768A (en) | Automatic arch dam pouring block plotting device and plotting method | |
CN108416729A (en) | A kind of realization device and method of line segment anti-aliasing in GPU | |
CN102436673A (en) | Shadow drafting method of large-scale outdoor scene | |
CN104702935A (en) | Glasses-free 3D display method based on parallax compensation | |
CN103942819A (en) | Method and device for drawing geologic symbols | |
CN115858710A (en) | Method for thinning scene surface of electronic map according to map scale | |
CN109598785A (en) | A kind of three-dimensional grid model view conversion method | |
CN109509234B (en) | Urban building group high-definition grid map vectorization-based method | |
CN204622978U (en) | A kind of two-sided erosion line multiple layer metal texture intertexture decorative panel | |
CN203292373U (en) | Multi-angle line bending tool | |
CN112487124A (en) | Method for converting dot-shaped elements in CorelDraw map into SuperMap by using VBA | |
CN113486416A (en) | Method for realizing 3D building floor layering |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |