A method and platform for automatically generating ship outfitting area profile diagrams for SPD systems
By constructing modules for model data filtering, drawing configuration determination, outfitting model data generation, hull background data generation, and annotation data generation, the automated generation of ship outfitting area sectional views in the SPD system was realized, solving the problem of low generation efficiency in existing technologies, improving design efficiency, and shortening the design cycle.
Patent Information
- Application Number
- CN202210991016.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-18
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2042-08-18
AI Technical Summary
In the existing technology, the generation of cross-sectional drawings of ship outfitting areas is not highly automated, which makes the design process time-consuming and labor-intensive, especially when generating a large number of cross-sectional drawings, which requires a lot of manual operation.
A method and platform for automatically generating cross-sectional views of ship outfitting area for SPD system is provided. By constructing a model data filtering module, a drawing configuration determination module, an outfitting model data generation module, a hull background data generation module, and a labeling data generation module, the method can generate all cross-sectional views of the entire ship at one time. This includes determining the cross-sectional reference position, generating the model of the cross-sectional reference position, drawing configuration, background drawings, and labeling data, and finally automatically generating cross-sectional views of ship outfitting area.
It enabled the one-time generation of all sectional views of the entire ship, improving the efficiency of outfitting design and drawing production, and shortening the design cycle.
Smart Images

Figure CN115659482B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of ship digital design, specifically relating to a method and platform for automatically generating cross-sectional views of ship outfitting areas for SPD systems. Background Technology
[0002] The Ship Product Design (SPD) system is a design software system with independent intellectual property rights designed to enhance the innovation capabilities of ship design and construction in my country. Based on OpenGL, this system is a 3D CAD graphics platform with independent intellectual property rights, featuring functions such as hull structure design, piping system design, duct design, electrical design, steel outfitting design, and painting production design. It provides a powerful means to establish ship product models with complete topological relationships through solid and parametric modeling technologies, and achieves data and information integration with heterogeneous CAD systems through data interfaces with other systems, creating technical conditions for collaborative design between factories and research institutes.
[0003] In the shipbuilding industry, the generation of sectional views is the most crucial step in the outfitting design and drawing process. Therefore, the rapid and accurate generation of sectional views is essential. Figure 1 Straightforwardness is the most crucial aspect of outfitting design and drawing. The SPD system is widely used in the design and manufacturing process of my country's shipbuilding industry; therefore, an automatic generation method for ship outfitting area sectional drawings applicable to the SPD system is of great significance for improving ship design efficiency.
[0004] Patent No. CN 111753346 A discloses a method for generating sectional views of linear components, comprising: receiving a request to generate sectional views of linear components from a Revit architectural floor plan; confirming the target linear component corresponding to the sectional view generation request; calling a Revit sectional view generation plugin to obtain the component line segments of the target linear component through a secondary development interface; extracting the sectional parameter set of the target linear component through the linear component line segments; and generating the sectional view of the target linear component using the sectional parameter set. This invention reduces the number of steps in generating sectional views, but it also has some technical defects and shortcomings: the automation level of the sectional process is insufficient, and if the user needs to perform a large number of sectional operations, a large amount of manual operation is still required.
[0005] The traditional process of designing a ship sectional drawing usually requires the user to specify the location and viewing range of the section before a ship sectional drawing can be generated. However, the installation and fabrication drawings for a complete ship often require thousands of drawings, making the entire drawing process time-consuming and labor-intensive. Summary of the Invention
[0006] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method and platform for automatically generating cross-sectional views of ship outfitting areas for SPD systems. The method and automatic generation platform of this invention improve the efficiency of outfitting design drawing and shorten the outfitting design cycle by generating all cross-sectional views of the entire ship at once.
[0007] To achieve the above-mentioned objectives, the technical solution provided by this invention patent is as follows:
[0008] An automatic generation method for ship outfitting area profile diagrams for SPD systems, the method specifically includes the following steps:
[0009] The first step is to determine the sectioning range of the ship's outfitting area in the SPD system based on the user's input.
[0010] The second step is to construct a model data filtering module. The model data filtering module determines the cross-sectional reference position of the ship outfitting area based on the cutting range determined in the first step, generates the SPD outfitting model at this cross-sectional reference position, and obtains the SPD outfitting model data at the cross-sectional reference position.
[0011] The third step is to construct a drawing configuration determination module, which generates drawing configuration data by annotating and configuring the data of drawings, drawing frames and annotations in the SPD system.
[0012] The fourth step is to construct an outfitting model data generation module. The outfitting model data generation module obtains the outfitting model sectional view data at the sectional reference position based on the SPD outfitting model data at the sectional reference position obtained in the second step, and generates the outfitting model sectional view at the sectional reference position through the obtained outfitting model sectional view data.
[0013] The fifth step is to construct a hull background data generation module. The hull background data generation module calculates the background range of the sectional view based on the SPD outfitting model data of the sectional reference position obtained in the second step, obtains the hull background sectional view data of this sectional reference position, and generates the hull background sectional view of this sectional reference position through the obtained hull background sectional view data.
[0014] The sixth step is to construct a labeling data generation module, which generates labeling data for the section reference position based on the drawing configuration data generated by the drawing configuration determination module in the third step.
[0015] Step 7: Construct an automatic platform for generating cross-sectional views of the ship's outfitting area;
[0016] The eighth step is to realize the function of automatically generating cross-sectional views of the ship's outfitting area, and generate cross-sectional view drawing data based on the generated cross-sectional view data of the outfitting model, the cross-sectional view data of the hull background, the annotation data, and the drawing configuration data;
[0017] Step 9: Generate a cross-sectional view of the ship's outfitting area based on the obtained sectional view drawing data.
[0018] The specific steps for obtaining SPD outfitting model data in the second step above are as follows:
[0019] S1, Determine the reference position and orientation of the profile based on the acquired SPD model data;
[0020] S2, calculate the number of various models at the section determined in S1;
[0021] S3, calculate the ratio of the total area of the hull plate frame at the section determined in S1 to the area of the entire section view;
[0022] S4 generates SPD outfitting model data for the section reference position based on the number of various models obtained in S2 and the ratio of the total area of the hull plate frame to the area of the entire section view obtained in S3.
[0023] The specific steps for calculating the number of various models at the section in S2 above are as follows: determine the initial section depth, obtain the bounding boxes of the views on both sides of each section and the bounding box of the plate frame; obtain the model data within the bounding boxes of the views on the low coordinate side and the high coordinate side of the section; count the various model sets on the low coordinate side and the high coordinate side; calculate the various model sets at the section position based on the statistical results; and then remove the section data that does not meet the requirements based on the number of various models.
[0024] The specific steps for calculating the ratio of the total area of the hull frame at each section to the area of the entire section view in S3 above are as follows: Obtain the view bounding box or segment bounding box at each section from the SPD database in the SPD system, and calculate the area Si of the section view in each direction; retrieve the location of the hull background model from the bounding box; retrieve the planar frame and curved frame of each section from the hull background model, and determine the position of each section; calculate the total planar projection area Sj of the planar frame and curved frame at each section; then calculate the ratio Sj / Si of the total planar projection area of the planar frame and curved frame at each section to the area of the section view in each direction; this is the ratio of the total area of the hull frame to the area of the entire section view.
[0025] The specific steps for configuring the drawing configuration determination module in the SPD system in the third step above are as follows: determine the status, scale, drawing and drawing frame of each section; determine the view area distribution in the drawing; determine the background category of each section; and configure the annotations at the determined background category of each section.
[0026] The determined view area distribution in the drawing includes: obtaining the drawing range information and setting its background to black; obtaining the range information of other view areas in the same drawing and setting them to gray; obtaining the range information of this view area in the drawing and setting it to yellow; determining whether there is view area overlap, and if so, setting the color of the overlapping view areas to dark green; obtaining the user's drag interaction information for this view area; when the user confirms the view area position, setting this view area to red to confirm the view area position; when the user drags the view area, obtaining the user's drag interaction information for this view area again to confirm the view area position.
[0027] The specific steps for obtaining the outfitting model sectional view in the fourth step above are as follows: obtain the initial bounding box information from the SPD system, retrieve all outfitting models that are partially or entirely within the bounding box range; determine whether each outfitting model exceeds the bounding box range, and if so, reset the bounding box range; generate the drawing information for the outfitting model sectional view of the bounding box.
[0028] The specific steps for obtaining the hull background sectional view in step 5 above are as follows: Obtain initial bounding box information from the SPD system; retrieve all or part of the hull segment models that are within the bounding box range, including planar plate frames and curved plate frames; determine whether each hull segment model exceeds the bounding box range; if the hull segment model exceeds the bounding box range, reset the bounding box range; generate a complete hull background sectional view; obtain the hull background category configuration information input by the user; determine whether the hull background category configuration information category is a model entity; if it is a model entity, directly generate the front view drawing information of the bounding box; if the hull background category configuration information category is a simple line drawing, generate the simple line drawing information of the hull background model after obtaining the simple line hull background configuration information.
[0029] The specific process of resetting the bounding box range is as follows: when the hull segment model exceeds the bounding box range, the entire hull segment model is added into the bounding box range to generate a complete hull background sectional view.
[0030] The specific steps for obtaining the annotation data of the section datum position in the sixth step above are as follows: obtain the model data required by the user under the view at the section datum position; obtain the name annotation rules set by the user; construct the starting point set and ending point set of the annotation; construct the graphic style of the annotation generation; determine whether the annotation in the model data has a leader line. If there is no leader line, adjust the angle and position point of the annotation. If there is a leader line, use the automatic layout algorithm to calculate the annotation position and generate annotation data.
[0031] The specific steps for obtaining the sectional view drawing data in the seventh step above are as follows: generate a complete sectional view at each sectional reference position based on the outfitting model sectional view data, hull background sectional view data, and annotation data at each sectional reference position; then, based on the drawing configuration data, place the sectional view at each sectional reference position at the user-defined position to generate the sectional view drawing data.
[0032] An automatic generation platform for ship outfitting area profile diagrams for SPD systems, the platform comprising:
[0033] The model data filtering module filters out the cross-sectional reference position based on the cutting range of the ship outfitting area set by the user, and statistically analyzes the SPD outfitting model data of the cross-sectional reference position.
[0034] A drawing configuration determination module is connected to the SPD system. The drawing configuration determination module configures the drawings, drawing frames, and annotation data supported by the SPD system to generate drawing configuration annotation data.
[0035] The outfitting model data generation module calculates the sectional view range based on the SPD outfitting model data statistically analyzed by the model data filtering module, and generates outfitting model sectional view data at the sectional reference position.
[0036] The hull background data generation module calculates the sectional view background range based on the SPD outfitting model data statistically obtained by the model data filtering module, and generates hull background sectional view data at the sectional reference position.
[0037] The annotation data generation module generates annotation data for the section reference position based on the drawing configuration annotation data generated by the drawing configuration determination module.
[0038] Based on the above technical solution, the present invention patent's method and platform for automatically generating ship outfitting area cross-sectional diagrams for SPD systems has achieved the following technical advantages through practical application:
[0039] 1. Compared with the prior art, the automatic generation method and platform for ship outfitting area sectional views for SPD system of the present invention realizes the function of generating all sectional views of the whole ship at one time by building an automatic generation platform for ship outfitting area sectional views on the basis of SPD system, which improves the efficiency of outfitting design drawing and shortens the outfitting design cycle.
[0040] 2. The present invention provides an automatic generation method and platform for ship outfitting area sectional views for SPD systems. By constructing an outfitting model data generation module, a hull background data generation module, and a labeling data generation module, the method generates outfitting model sectional view data, hull background sectional view data, and labeling data to generate complete sectional views at each sectional reference position. Then, based on the drawing configuration data, the method generates sectional view drawing data, and finally generates ship outfitting area sectional views. Attached Figure Description
[0041] Figure 1 This is a flowchart of the process for generating a cross-sectional view of a ship's outfitting area in an automatic generation method for a ship outfitting area in an SPD system, according to the present invention.
[0042] Figure 2 This is a flowchart of the SPD outfitting model data acquisition process in the automatic generation method of ship outfitting area profile diagram for SPD system of the present invention. Detailed Implementation
[0043] To make the objectives, technical solutions, and advantages of this invention clearer, the invention is described below with reference to specific examples shown in the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and not intended to limit the scope of the invention. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concept of the invention.
[0044] like Figure 1-2 As shown, an automatic method for generating cross-sectional views of ship outfitting areas for SPD systems includes the following steps:
[0045] The first step is to determine the sectioning range of the ship's outfitting area in the SPD system based on the user's input.
[0046] The second step is to construct a model data filtering module. The model data filtering module determines the cross-sectional reference position of the ship outfitting area based on the cutting range determined in the first step, generates the SPD outfitting model at this cross-sectional reference position, and obtains the SPD outfitting model data at the cross-sectional reference position.
[0047] The third step is to construct a drawing configuration determination module, which generates drawing configuration data by annotating and configuring the data of drawings, drawing frames and annotations in the SPD system.
[0048] The fourth step is to construct an outfitting model data generation module. The outfitting model data generation module obtains the outfitting model sectional view data at the sectional reference position based on the SPD outfitting model data at the sectional reference position obtained in the second step, and generates the outfitting model sectional view at the sectional reference position through the obtained outfitting model sectional view data.
[0049] The fifth step is to construct a hull background data generation module. The hull background data generation module calculates the background range of the sectional view based on the SPD outfitting model data of the sectional reference position obtained in the second step, obtains the hull background sectional view data of this sectional reference position, and generates the hull background sectional view of this sectional reference position through the obtained hull background sectional view data.
[0050] The sixth step is to construct a labeling data generation module, which generates labeling data for the section reference position based on the drawing configuration data generated by the drawing configuration determination module in the third step.
[0051] Step 7: Construct an automatic platform for generating cross-sectional views of the ship's outfitting area;
[0052] The eighth step is to realize the function of automatically generating cross-sectional views of the ship's outfitting area, and generate cross-sectional view drawing data based on the generated cross-sectional view data of the outfitting model, the cross-sectional view data of the hull background, the annotation data, and the drawing configuration data;
[0053] Step 9: Generate a cross-sectional view of the ship's outfitting area based on the obtained sectional view drawing data.
[0054] The specific steps for obtaining SPD outfitting model data in the second step above are as follows:
[0055] S1, Determine the reference position and orientation of the profile based on the acquired SPD model data;
[0056] S2, calculate the number of various models at the section determined in S1;
[0057] S3, calculate the ratio of the total area of the hull plate frame at the section determined in S1 to the area of the entire section view;
[0058] S4 generates SPD outfitting model data for the section reference position based on the number of various models obtained in S2 and the ratio of the total area of the hull plate frame to the area of the entire section view obtained in S3.
[0059] The specific steps for calculating the number of various models at the section in S2 above are as follows: determine the initial section depth, obtain the bounding boxes of the views on both sides of each section and the bounding box of the plate frame; obtain the model data within the bounding boxes of the low coordinate side and high coordinate side of the section; count the various model sets on the low coordinate side and high coordinate side; calculate the various model sets at the section location based on the statistical results; and then remove section data that does not meet the requirements based on the number of various models; specifically, count the model set vec1 within the bounding box of the low coordinate side view; count the model set vec2 within the bounding box of the high coordinate side view; and count the model set vec3 within the bounding box of the low coordinate side plate frame. c3; Count the set of models vec4 within the bounding box of the high-coordinate side plate frame; the set of models located in front of the plate frame a = vec3 - (vec3 ∩ vec4); the set of models located in front of the section position but not in front of the plate frame b = vec1 - vec3 - [(vec1 - vec3) ∩ (vec2 - vec4)]; the set of models passing through the plate frame c = vec3 ∩ vec4; the set of models passing through the section position but not through the plate frame d = (vec1 - vec3) ∩ (vec2 - vec4); determine whether set a + c is an empty set, if so, remove this section data, and finally obtain the number of each type of model.
[0060] The specific steps for calculating the ratio of the total area of the hull frame at each section to the area of the entire section view in S3 above are as follows: Obtain the view bounding box or segment bounding box at each section from the SPD database in the SPD system, and calculate the area Si of the section view in each direction; retrieve the location of the hull background model from the bounding box; retrieve the planar frame and curved frame of each section from the hull background model, and determine the position of each section; calculate the total planar projection area Sj of the planar frame and curved frame at each section; then calculate the ratio Sj / Si of the total planar projection area of the planar frame and curved frame at each section to the area of the section view in each direction; this is the ratio of the total area of the hull frame to the area of the entire section view.
[0061] The specific steps for configuring the drawing configuration determination module in the SPD system in the third step above are as follows: determine the status, scale, drawing and drawing frame of each section; determine the view area distribution in the drawing; determine the background category of each section; and configure the annotations at the determined background category of each section.
[0062] The determined view area distribution in the drawing includes: obtaining the drawing range information and setting its background to black; obtaining the range information of other view areas in the same drawing and setting them to gray; obtaining the range information of this view area in the drawing and setting it to yellow; determining whether there is view area overlap, and if so, setting the color of the overlapping view areas to dark green; obtaining the user's drag interaction information for this view area; when the user confirms the view area position, setting this view area to red to confirm the view area position; when the user drags the view area, obtaining the user's drag interaction information for this view area again to confirm the view area position.
[0063] The specific steps for obtaining the outfitting model sectional view in the fourth step above are as follows: obtain the initial bounding box information from the SPD system, retrieve all outfitting models that are partially or entirely within the bounding box range; determine whether each outfitting model exceeds the bounding box range, and if so, reset the bounding box range; generate the drawing information for the outfitting model sectional view of the bounding box.
[0064] The specific steps for obtaining the hull background sectional view in step 5 above are as follows: Obtain initial bounding box information from the SPD system; retrieve all or part of the hull segment models that are within the bounding box range, including planar plate frames and curved plate frames; determine whether each hull segment model exceeds the bounding box range; if the hull segment model exceeds the bounding box range, reset the bounding box range; generate a complete hull background sectional view; obtain the hull background category configuration information input by the user; determine whether the hull background category configuration information category is a model entity; if it is a model entity, directly generate the front view drawing information of the bounding box; if the hull background category configuration information category is a simple line drawing, generate the simple line drawing information of the hull background model after obtaining the simple line hull background configuration information.
[0065] The specific process of resetting the bounding box range is as follows: when the hull segment model exceeds the bounding box range, the entire hull segment model is added into the bounding box range to generate a complete hull background sectional view.
[0066] The specific steps for obtaining the annotation data of the section datum position in the sixth step above are as follows: obtain the model data required by the user under the view at the section datum position; obtain the name annotation rules set by the user; construct the starting point set and ending point set of the annotation; construct the graphic style of the annotation generation; determine whether the annotation in the model data has a leader line. If there is no leader line, adjust the angle and position point of the annotation. If there is a leader line, use the automatic layout algorithm to calculate the annotation position and generate annotation data.
[0067] The specific steps for obtaining the sectional view drawing data in the seventh step above are as follows: generate a complete sectional view at each sectional reference position based on the outfitting model sectional view data, hull background sectional view data, and annotation data at each sectional reference position; then, based on the drawing configuration data, place the sectional view at each sectional reference position at the user-defined position to generate the sectional view drawing data.
[0068] An automatic generation platform for ship outfitting area profile diagrams for SPD systems, the platform comprising:
[0069] The model data filtering module filters out the cross-sectional reference position based on the cutting range of the ship outfitting area set by the user, and statistically analyzes the SPD outfitting model data of the cross-sectional reference position.
[0070] A drawing configuration determination module is connected to the SPD system. The drawing configuration determination module configures the drawings, drawing frames, and annotation data supported by the SPD system to generate drawing configuration annotation data.
[0071] The outfitting model data generation module calculates the sectional view range based on the SPD outfitting model data statistically analyzed by the model data filtering module, and generates outfitting model sectional view data at the sectional reference position.
[0072] The hull background data generation module calculates the sectional view background range based on the SPD outfitting model data statistically obtained by the model data filtering module, and generates hull background sectional view data at the sectional reference position.
[0073] The annotation data generation module generates annotation data for the sectional reference position based on the annotation data generated by the drawing configuration determination module. On the basis of the SPD system, an automatic generation platform for ship outfitting area sectional views is built, which realizes the function of generating all sectional views of the whole ship at one time, improving the efficiency of outfitting design drawing and shortening the outfitting design cycle.
[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them; although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications can still be made to the specific implementation of the invention or equivalent substitutions can be made to some technical features without departing from the spirit of the technical solutions of the present invention, and all such modifications and substitutions should be covered within the scope of the technical solutions claimed in the present invention.
Claims
1. A method for automatically generating cross-sectional views of ship outfitting areas for SPD systems, characterized in that, The method specifically includes the following steps: The first step is to determine the sectioning range of the ship's outfitting area in the SPD system based on the user's input. The second step is to construct a model data filtering module. The model data filtering module determines the cross-sectional reference position of the ship outfitting area based on the cutting range determined in the first step, generates the SPD outfitting model at this cross-sectional reference position, and obtains the SPD outfitting model data at the cross-sectional reference position. The specific steps for obtaining SPD outfitting model data in the second step are as follows: S1, Determine the reference position and orientation of the profile based on the acquired SPD model data; S2, calculate the number of various models at the section determined in S1; S3, calculate the ratio of the total area of the hull plate frame at the section determined in S1 to the area of the entire section view; S4. Based on the number of various models obtained in S2 and the ratio of the total area of the hull plate frame to the area of the entire cross-sectional view obtained in S3, generate the SPD outfitting model data of the cross-sectional reference position. The third step is to construct a drawing configuration determination module, which generates drawing configuration data by annotating and configuring the data of drawings, drawing frames and annotations in the SPD system. The fourth step is to construct an outfitting model data generation module. The outfitting model data generation module obtains the outfitting model sectional view data at the sectional reference position based on the SPD outfitting model data at the sectional reference position obtained in the second step, and generates the outfitting model sectional view at the sectional reference position through the obtained outfitting model sectional view data. The fifth step is to construct a hull background data generation module. The hull background data generation module calculates the background range of the sectional view based on the SPD outfitting model data of the sectional reference position obtained in the second step, obtains the hull background sectional view data of this sectional reference position, and generates the hull background sectional view of this sectional reference position through the obtained hull background sectional view data. The specific steps for obtaining the hull background sectional view in the fifth step are as follows: obtain the initial bounding box information from the SPD system, retrieve all or part of the hull segment models that are within the bounding box range, the hull segment models include planar plate frames and curved plate frames; determine whether each hull segment model exceeds the bounding box range, and reset the bounding box range when the hull segment model exceeds the bounding box range; generate a complete hull background sectional view; obtain the hull background category configuration information input by the user, determine whether the hull background category configuration information category is a model entity, if it is a model entity, directly generate the front view drawing information of the bounding box, if the hull background category configuration information category is a simple line, then generate the simple line drawing information of the hull background model after obtaining the hull background configuration information of the simple line; The sixth step is to construct a labeling data generation module, which generates labeling data for the section reference position based on the drawing configuration data generated by the drawing configuration determination module in the third step. Step 7: Construct an automatic platform for generating cross-sectional views of the ship's outfitting area; The eighth step is to realize the function of automatically generating cross-sectional views of the ship's outfitting area, and generate cross-sectional view drawing data based on the generated cross-sectional view data of the outfitting model, the cross-sectional view data of the hull background, the annotation data, and the drawing configuration data; Step 9: Generate a cross-sectional view of the ship's outfitting area based on the obtained sectional view drawing data.
2. The method for automatically generating a ship outfitting area profile for an SPD system according to claim 1, characterized in that, The specific steps for calculating the number of various models at the section in S2 are as follows: determine the initial section depth, obtain the bounding boxes of the views on both sides of each section and the bounding box of the plate frame; obtain the model data within the bounding box range of the view on the low coordinate side and the high coordinate side of the section; count the various model sets on the low coordinate side and the high coordinate side; calculate the various model sets at the section position based on the statistical results; and then remove the section data that does not meet the requirements based on the number of various models.
3. The method for automatically generating a ship outfitting area profile for an SPD system according to claim 1, characterized in that, The specific steps for calculating the ratio of the total area of the hull frame at each section to the area of the entire section view in S3 are as follows: obtain the view bounding box or segment bounding box at each section from the SPD database in the SPD system, and calculate the area Si of each section view; retrieve the location of the hull background model from the bounding box; retrieve the planar frame and curved frame of each section from the hull background model, and determine the position of each section; calculate the total planar projection area Sj of the planar frame and curved frame at each section; then calculate the ratio Sj / Si of the total planar projection area of the planar frame and curved frame at each section to the area of each section view; which is the ratio of the total area of the hull frame to the area of the entire section view.
4. The method for automatically generating a ship outfitting area profile for an SPD system according to claim 1, characterized in that, The specific steps for configuring the drawing configuration determination module in the third step to configure the data of drawings, drawing frames and annotations in the SPD system are as follows: determine the status, scale, drawing and drawing frame of each section; determine the view area distribution in the drawing; determine the background category of each section; and configure annotations at the determined background category of each section.
5. The method for automatically generating a ship outfitting area profile for an SPD system according to claim 4, characterized in that, The process of determining the view area distribution in the drawing includes: acquiring the drawing range information and setting its background to black; acquiring the range information of other view areas in the same drawing and setting them to gray; acquiring the range information of this view area in the drawing and setting it to yellow; determining whether there is view area overlap, and if so, setting the color of the overlapping view areas to dark green; acquiring the user's drag interaction information for this view area; when the user confirms the view area position, setting this view area to red to confirm the view area position; when the user drags the view area, acquiring the user's drag interaction information for this view area again to confirm the view area position.
6. The method for automatically generating a ship outfitting area profile for an SPD system according to claim 1, characterized in that, The specific steps for obtaining the outfitting model sectional view in the fourth step are as follows: obtain the initial bounding box information from the SPD system, retrieve all outfitting models that are partially or entirely within the bounding box range; determine whether each outfitting model exceeds the bounding box range, and if so, reset the bounding box range; generate the drawing information for the outfitting model sectional view of the bounding box.
7. The method for automatically generating a ship outfitting area profile for an SPD system according to claim 1, characterized in that, The specific process of resetting the bounding box range is as follows: when the hull segment model exceeds the bounding box range, the entire hull segment model is added into the bounding box range to generate a complete hull background sectional view.
8. The method for automatically generating a ship outfitting area profile for an SPD system according to claim 1, characterized in that, The specific steps for obtaining the annotation data of the section reference position in the sixth step are as follows: obtain the model data required by the user under the view at the section reference position; obtain the name annotation rules set by the user; construct the starting point set and ending point set of the annotation; construct the graphic style of the annotation generation; determine whether the annotation in the model data has a leader line. If there is no leader line, adjust the angle and position point of the annotation. If there is a leader line, use the automatic layout algorithm to calculate the annotation position and generate annotation data.
9. The method for automatically generating a ship outfitting area profile for an SPD system according to claim 1, characterized in that, The specific steps for obtaining the sectional view drawing data in the seventh step are as follows: generate a complete sectional view at each sectional reference position based on the outfitting model sectional view data, hull background sectional view data, and annotation data at each sectional reference position; then, based on the drawing configuration data, place the sectional view at each sectional reference position at the user-set position to generate the sectional view drawing data.
10. An automatic generation platform for ship outfitting area cross-sectional diagrams for SPD systems, employing the automatic generation method for ship outfitting area cross-sectional diagrams for SPD systems as described in any one of claims 1-9, characterized in that, The platform includes: The model data filtering module filters out the cross-sectional reference position based on the cutting range of the ship outfitting area set by the user, and statistically analyzes the SPD outfitting model data of the cross-sectional reference position. A drawing configuration determination module is connected to the SPD system. The drawing configuration determination module configures the drawings, drawing frames, and annotation data supported by the SPD system to generate drawing configuration annotation data. The outfitting model data generation module calculates the sectional view range based on the SPD outfitting model data statistically analyzed by the model data filtering module, and generates outfitting model sectional view data at the sectional reference position. The hull background data generation module calculates the sectional view background range based on the SPD outfitting model data statistically obtained by the model data filtering module, and generates hull background sectional view data at the sectional reference position. The annotation data generation module generates annotation data for the section reference position based on the drawing configuration annotation data generated by the drawing configuration determination module.
Citation Information
Patent Citations
Automatic generating system of hull cross section structure
CN107187544A
Three-dimensional operation instruction automatic generation system and method for SPD system
CN111400822A