Two-dimensional and three-dimensional ship positioning conversion method based on rib position scale

By using a positioning conversion method based on rib scales and employing AutoCAD and AutoLISP, the three-dimensional coordinates of ship two-dimensional drawings are automatically obtained, solving the cumbersome and time-consuming positioning conversion problem in existing technologies and achieving efficient and accurate equipment layout and design.

CN121744508APending Publication Date: 2026-03-27SHANGHAI MERCHANT SHIP DESIGN & RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-19
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In existing ship two-dimensional design, the positioning conversion process is cumbersome, time-consuming, inefficient, and prone to errors, especially in complex equipment layout drawings.

Method used

A positioning transformation method based on rib scales is adopted. The ship's three-dimensional coordinate system is defined in AutoCAD software. The rib scale blocks are used as reference objects to automatically obtain the three-dimensional coordinate values ​​in the two-dimensional drawings. The AutoLISP language is used to realize the automatic determination of view type and automatic search of reference objects, so as to realize the rapid positioning transformation of equipment between different views.

Benefits of technology

It enables the calculation of three-dimensional coordinates at any position in two-dimensional drawings, improving design efficiency and quality, simplifying the positioning and conversion process of equipment between different views, and enhancing the level of automation in the design process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121744508A_ABST
    Figure CN121744508A_ABST
Patent Text Reader

Abstract

The invention discloses a ship two-dimensional and three-dimensional positioning conversion method based on a rib position scale, which comprises the following steps: in AutoCAD software, taking a point of a zero rib position F0 on a base line as a coordinate origin, a bow direction as an X-axis forward direction, a port direction as a Y-axis forward direction and a height direction as a Z-axis forward direction in a ship three-dimensional coordinate system; a rib position scale is used as a reference object of X-direction positioning, the rib position scale is defined as a block with attributes, and the coordinate value of the zero rib position of the ship and the coordinate value of any rib position are automatically obtained; in a horizontal view, or in a longitudinal view, or in a transverse view, obtaining XYZ three-dimensional coordinates of the points based on the rib position scale block and the transverse section base point block; and point positioning conversion in different views is realized. According to the method, a more efficient and more accurate result is obtained in a simpler and more convenient mode, and the design efficiency and quality can be greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of shipbuilding technology, and in particular to a method for converting ship positioning between two-dimensional and three-dimensional dimensions based on rib scales. Background Technology

[0002] The method of two-dimensional ship design is to reflect the equipment layout or structural form through views in different directions. It is usually expressed by horizontal views, transverse sectional views, and longitudinal sectional views. During the design process, the same area or the same equipment needs to be positioned and transformed between different views. The traditional method is to first determine the horizontal and vertical coordinates of a point in a certain view, and then determine the coordinate value of another dimension according to the type of the view. Finally, the XYZ coordinate values ​​of the point in the ship's three-dimensional coordinate system are obtained, so that the position of the point in other views can be obtained. These positions can be used to arrange the equipment and generate three-dimensional views of the equipment.

[0003] Existing technology requires manual identification of the view type, manual determination of the view's reference point, manual calculation of two-dimensional coordinate values, manual identification of the target view type for positioning transformation, and finally manual placement of objects based on the determined location. Its disadvantages include a cumbersome process, high time consumption, low efficiency, high repetitiveness, and susceptibility to errors, especially for layout drawings with numerous devices and complex structures, where these disadvantages are even more pronounced. Summary of the Invention

[0004] To overcome the aforementioned deficiencies in the existing technology, this invention provides a method for converting the two-dimensional and three-dimensional positioning of ships based on rib scales.

[0005] The present invention solves the above-mentioned technical problems through the following technical solution:

[0006] A method for converting ship positioning between two-dimensional and three-dimensional dimensions based on rib scales, comprising:

[0007] Step 1: Define the ship's three-dimensional coordinate system. The origin of the ship's three-dimensional coordinate system is the point at the baseline where the zero frame F0 is located. The bow direction is the positive X-axis, the port direction is the positive Y-axis, and the height direction is the positive Z-axis.

[0008] Step 2: In AutoCAD software, the rib gauge is used as the reference object for positioning in the X and Y directions in the horizontal or longitudinal view. The rib gauge is defined as a block with attributes, forming a rib gauge block. The attributes of the rib gauge block define the rib position information in the X direction of the ship. Based on this rib position information, the coordinate values ​​of the zero rib position of the ship and the coordinate values ​​of any rib position are automatically obtained. The Y-direction distance of the equipment point from the rib gauge is the Y-direction coordinate of the ship's coordinate system. In the transverse view, the transverse section base point block is defined as the reference object. The transverse section base point block has attribute rib position information that represents the X-direction position of the transverse view.

[0009] Step 3: In the horizontal or vertical view, obtain the XYZ three-dimensional coordinates of the point based on the rib scale block; in the horizontal view, obtain the XYZ three-dimensional coordinates of the point based on the cross section base point block; realize the positioning transformation of the point in different views.

[0010] Furthermore, the attributes of the rib position scale block include the boundary rib position number and the rib spacing list, which define the rib position information of the ship in the X direction.

[0011] Further, step 3 includes: in the horizontal view, the rib marker is located in the middle of the deck, the longitudinal distance of the point from F0 is the X coordinate of the point, the lateral distance of the point from the rib marker is the Y coordinate of the point, the XY coordinate of the point in the horizontal plane is obtained, and the Z coordinate value of the point is determined according to the attribute value of the rib marker block, thereby obtaining the XYZ three-dimensional coordinates of the point.

[0012] Furthermore, the properties of the rib scale block include the height from the baseline, and the Z-axis coordinate value of the point is determined based on the height from the baseline.

[0013] Further, step 3 includes: in the longitudinal view, the rib scale is located at the baseline position, the longitudinal distance of the point from F0 is the X coordinate of the point, the lateral distance of the point from the rib scale is the Z coordinate of the point, the XZ coordinate of the point on the horizontal plane is obtained, and the Y coordinate value of the point is determined according to the attribute value of the rib scale block, thereby obtaining the XYZ three-dimensional coordinates of the point.

[0014] Furthermore, the properties of the rib scale block include the distance from the ship's center, and the Y-coordinate value of that point is determined based on the distance from the ship's center.

[0015] Furthermore, in step 3, the cross-sectional base point block is located at the baseline position in the ship.

[0016] Furthermore, in the horizontal view, the longitudinal distance of a point from the cross section base point block is the Y coordinate of the point, and the lateral distance of a point from the cross section base point block is the Z coordinate of the point. The YZ coordinates of the point in the horizontal view are obtained, and the X coordinate value of the point is determined according to the value of the attribute rib information of the cross section base point block, thereby obtaining the XYZ three-dimensional coordinates of the point.

[0017] Furthermore, the method for converting the two-dimensional and three-dimensional positioning of a ship based on a rib scale also includes step 4, which treats the insertion position of the equipment as a point, and obtains the three-dimensional coordinate value of the equipment in the ship coordinate system by analyzing the geometric relationship between the equipment and the reference object, and performs various positioning conversions of the equipment in different views.

[0018] Furthermore, the method for converting ship positioning in two dimensions and three dimensions based on the rib scale is implemented in AutoCAD software using the AutoLISP language.

[0019] The beneficial effects of this invention are as follows: The method of this invention targets both two-dimensional and three-dimensional ship design, using objects such as ship frame scale blocks as positioning reference objects. It can calculate the ship's three-dimensional coordinate values ​​at any position in a two-dimensional drawing, and can realize the positioning conversion between horizontal views, longitudinal sectional views, and transverse sectional views in a two-dimensional drawing, as well as the conversion from a two-dimensional plane to three-dimensional space. This enables the rapid positioning of the same equipment between different views, providing a positioning conversion method for automated layout and two-dimensional driven three-dimensional design. The method of this invention obtains more efficient and accurate results in a simpler way, significantly improving design efficiency and quality. Attached Figure Description

[0020] Figure 1 This is a schematic diagram of the ship's three-dimensional coordinate system according to a preferred embodiment of the present invention.

[0021] Figure 2 This is a schematic diagram illustrating the definition of the rib gauge according to a preferred embodiment of the present invention.

[0022] Figure 3 This is a schematic diagram of the horizontal view coordinate values ​​of a preferred embodiment of the present invention.

[0023] Figure 4 This is a schematic diagram of the longitudinal view coordinate values ​​of a preferred embodiment of the present invention.

[0024] Figure 5 This is a schematic diagram of the lateral view coordinate values ​​of a preferred embodiment of the present invention.

[0025] Figure 6 This is a flowchart illustrating a preferred embodiment of the present invention. Detailed Implementation

[0026] The present invention will be described more clearly and completely below with reference to a preferred embodiment and the accompanying drawings.

[0027] A method for converting ship positioning between two-dimensional and three-dimensional dimensions based on rib scales, comprising:

[0028] Step 1: Define the ship's three-dimensional coordinate system. The origin of the ship's three-dimensional coordinate system is the point at the baseline where the zero-frame position F0 is located. The forward direction is the positive X-axis, the port direction is the positive Y-axis, and the height direction is the positive Z-axis. The ship's three-dimensional coordinate system is as follows: Figure 1 As shown.

[0029] Step 2: In AutoCAD software, the rib marker is used as the reference object for X- and Y-axis positioning in the horizontal or longitudinal view. The rib marker is defined as a block with attributes, forming a rib marker block. The attributes of the rib marker block define the rib position information in the X-axis of the ship. The attributes of the rib marker block include the boundary rib number and the rib spacing list, which define the rib position information in the X-axis of the ship. Based on this rib position information, the coordinate values ​​of the ship's zero rib position and any rib position are automatically obtained. The Y-axis distance of the equipment point from the rib marker is the Y-axis coordinate of the ship's coordinate system. The X-axis of the ship is labeled according to the rib position convention; that is, the number of rib positions reflects the ship's X-axis position. In the transverse view, a transverse section base point block is defined as the reference object. The transverse section base point block carries attribute rib position information representing the X-axis position in the transverse view.

[0030] like Figure 2 As shown, the attributes of the rib marker block include the rib number, rib spacing list, deck location, distance from baseline, deck height, and distance from centerline. The distance from centerline is the distance from the ship's center.

[0031] Step 3: In the horizontal or vertical view, obtain the XYZ three-dimensional coordinates of the point based on the rib scale block; in the horizontal view, obtain the XYZ three-dimensional coordinates of the point based on the cross section base point block; realize the positioning transformation of the point in different views.

[0032] Step 3 includes: In the horizontal view, the rib marker is located midway on the deck. The longitudinal distance from the point to F0 is the X-coordinate of that point, and the lateral distance from the point to the rib marker is the Y-coordinate. The XY coordinates of this point on the horizontal plane are obtained. The Z-coordinate value of this point is determined based on the attribute values ​​of the rib marker block, thus obtaining the XYZ three-dimensional coordinates of the point. The attributes of the rib marker block include the height from the baseline; the Z-coordinate value of the point is determined based on this height. The horizontal view coordinate values ​​are as follows: Figure 3 As shown.

[0033] Step 3 includes: In the longitudinal view, the rib marker is located at the baseline position. The longitudinal distance of the point from F0 is the X-coordinate of that point, and the lateral distance of the point from the rib marker is the Z-coordinate of that point. The XZ coordinates of the point on the horizontal plane are obtained. The Y-coordinate value of the point is determined based on the attribute values ​​of the rib marker block, thus obtaining the XYZ three-dimensional coordinates of the point. The attributes of the rib marker block include the distance from the ship's center; the Y-coordinate value of the point is determined based on this distance. The longitudinal view coordinate values ​​are as follows: Figure 4 As shown.

[0034] Step 3 includes locating the transverse section base point block at the baseline position within the ship. In the transverse view, the longitudinal distance of a point from the transverse section base point block is its Y-coordinate, and the lateral distance is its Z-coordinate. The YZ coordinates of the point in the transverse view are obtained. Based on the rib position information of the transverse section base point block, the X-coordinate of the point is determined, thus obtaining the XYZ three-dimensional coordinates of the point. The transverse view coordinate values ​​are as follows: Figure 5 As shown.

[0035] The method for converting the two-dimensional and three-dimensional positioning of ships based on the rib scale also includes step 4, which treats the insertion position of the equipment as a point, and obtains the three-dimensional coordinate value of the equipment in the ship coordinate system by analyzing the geometric relationship between the equipment and the reference object, and performs positioning conversion of various equipment in different views.

[0036] Alternatively, structural components can be treated as points, and this method can be used to achieve positioning conversion of various devices in different views.

[0037] The method for converting between 2D and 3D ship positioning based on rib gauges is implemented in AutoCAD software using the AutoLISP language. It includes the following: 1. Automatic generation of rib gauges; 2. Automatic determination of view type; 3. Automatic search for reference objects; 4. Establishment of the geometric relationship between reference objects and equipment or structural components; 5. Calculation of the ship's 3D coordinates for points within the view; 6. Positioning of the three-dimensional views based on the 3D coordinate values.

[0038] The flowchart of the ship's two-dimensional and three-dimensional positioning conversion method based on the rib scale is as follows: Figure 6 As shown.

[0039] This invention addresses the two-dimensional and three-dimensional design of ships. Using objects such as ship frame scale blocks as positioning references, it enables the calculation of ship-specific three-dimensional coordinates at any location on two-dimensional drawings. It also facilitates positioning conversion between horizontal, longitudinal, and transverse views on two-dimensional drawings, as well as the conversion from a two-dimensional plane to three-dimensional space. This allows for rapid positioning of the same equipment across different views, providing a positioning conversion method for automated layout and two-dimensional-driven three-dimensional design. This invention yields more efficient and accurate results in a simpler way, significantly improving design efficiency and quality.

[0040] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but all such changes and modifications fall within the scope of protection of the present invention.

Claims

1. A method for converting ship positioning between two-dimensional and three-dimensional dimensions based on rib scales, characterized in that, It includes: Step 1: Define the ship's three-dimensional coordinate system. The origin of the ship's three-dimensional coordinate system is the point at the baseline where the zero frame F0 is located. The bow direction is the positive X-axis, the port direction is the positive Y-axis, and the height direction is the positive Z-axis. Step 2: In AutoCAD software, the rib gauge is used as the reference object for positioning in the X and Y directions in the horizontal or longitudinal view. The rib gauge is defined as a block with attributes, forming a rib gauge block. The attributes of the rib gauge block define the rib position information in the X direction of the ship. Based on this rib position information, the coordinate values ​​of the zero rib position of the ship and the coordinate values ​​of any rib position are automatically obtained. The Y-direction distance of the equipment point from the rib gauge is the Y-direction coordinate of the ship's coordinate system. In the transverse view, the transverse section base point block is defined as the reference object. The transverse section base point block has attribute rib position information that represents the X-direction position of the transverse view. Step 3: In the horizontal or vertical view, obtain the XYZ three-dimensional coordinates of the point based on the rib scale block; in the horizontal view, obtain the XYZ three-dimensional coordinates of the point based on the cross section base point block; realize the positioning transformation of the point in different views.

2. The method for converting ship positioning in two dimensions and three dimensions based on rib scales as described in claim 1, characterized in that, The attributes of the rib marker block include the boundary rib number and the rib spacing list, which define the rib information of the ship in the X direction.

3. The method for converting ship positioning in two dimensions and three dimensions based on rib scales as described in claim 1, characterized in that, Step 3 includes: in the horizontal view, the rib marker is located in the middle of the deck. The longitudinal distance of the point from F0 is the X coordinate of the point, and the lateral distance of the point from the rib marker is the Y coordinate of the point. Obtain the XY coordinates of the point in the horizontal plane, and determine the Z coordinate value of the point according to the attribute value of the rib marker block, thereby obtaining the three-dimensional XYZ coordinates of the point.

4. The method for converting ship positioning in two dimensions and three dimensions based on rib scales as described in claim 3, characterized in that, The properties of the rib gauge block include its height from the baseline, and the Z-axis coordinate value of the point is determined based on the height from the baseline.

5. The method for converting ship positioning in two dimensions and three dimensions based on rib scales as described in claim 1, characterized in that, Step 3 includes: in the longitudinal view, the rib ruler is located at the baseline position, the longitudinal distance of the point from F0 is the X coordinate of the point, the lateral distance of the point from the rib ruler is the Z coordinate of the point, the XZ coordinate of the point on the horizontal plane is obtained, and the Y coordinate value of the point is determined according to the attribute value of the rib ruler block, thereby obtaining the XYZ three-dimensional coordinates of the point.

6. The method for converting ship positioning in two dimensions and three dimensions based on rib scales as described in claim 5, characterized in that, The properties of the rib gauge block include the distance from the ship's center, which determines the Y-coordinate of the point.

7. The method for converting ship positioning in two dimensions and three dimensions based on rib scales as described in claim 1, characterized in that, In step 3, the cross-sectional base point block is located at the baseline position in the ship.

8. The method for converting ship positioning in two dimensions and three dimensions based on rib scales as described in claim 7, characterized in that, In the horizontal view, the longitudinal distance of a point from the cross section base point block is the Y coordinate of the point, and the lateral distance of a point from the cross section base point block is the Z coordinate of the point. Obtain the YZ coordinates of the point in the horizontal view, and determine the X coordinate value of the point based on the attribute rib information value of the cross section base point block, thereby obtaining the XYZ three-dimensional coordinates of the point.

9. The method for converting ship positioning in two dimensions and three dimensions based on rib scales as described in claim 1, characterized in that, The method for converting the two-dimensional and three-dimensional positioning of a ship based on a rib scale also includes step 4, which treats the insertion position of the equipment as a point, and obtains the three-dimensional coordinate value of the equipment in the ship coordinate system by analyzing the geometric relationship between the equipment and the reference object, and performs positioning conversion of various equipment in different views.

10. The method for converting ship positioning in two dimensions and three dimensions based on rib scales as described in claim 1, characterized in that, The method for converting ship positioning between two-dimensional and three-dimensional dimensions based on rib scales is implemented in AutoCAD software using the AutoLISP language.