CN108733886B - Lofting method and device for hemispherical-square ship structure and computer-readable storage medium - Google Patents

Lofting method and device for hemispherical-square ship structure and computer-readable storage medium Download PDF

Info

Publication number
CN108733886B
CN108733886B CN201810340383.5A CN201810340383A CN108733886B CN 108733886 B CN108733886 B CN 108733886B CN 201810340383 A CN201810340383 A CN 201810340383A CN 108733886 B CN108733886 B CN 108733886B
Authority
CN
China
Prior art keywords
hull structure
arc
circle
conical surface
coordinate system
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
Application number
CN201810340383.5A
Other languages
Chinese (zh)
Other versions
CN108733886A (en
Inventor
王江军
付磊
黄红松
杨秀峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CSSC Huangpu Wenchong Shipbuilding Co Ltd
Original Assignee
CSSC Huangpu Wenchong Shipbuilding Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CSSC Huangpu Wenchong Shipbuilding Co Ltd filed Critical CSSC Huangpu Wenchong Shipbuilding Co Ltd
Priority to CN201810340383.5A priority Critical patent/CN108733886B/en
Publication of CN108733886A publication Critical patent/CN108733886A/en
Application granted granted Critical
Publication of CN108733886B publication Critical patent/CN108733886B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/15Vehicle, aircraft or watercraft design

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Image Generation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a lofting device for a hemispherical dome ship structure and a computer readable storage medium, wherein the method comprises the following steps: acquiring parameters of a ship structure, including the length of a bottom rectangle of the ship structure, the width of the bottom rectangle, the radius of a top circle, the distance from the projection of a circle center on the bottom of the ship structure to the long edge of the bottom rectangle, the distance from the projection of the circle center on the bottom to the short edge of the bottom rectangle and the height of the ship structure; generating a three-dimensional graph of the hull structure according to the hull structure parameters; establishing a three-dimensional coordinate system by taking the length of the bottom rectangle as an X axis, the width of the bottom rectangle as a Y axis and the height of the ship structure as a Z axis; calculating lofting data of the three-dimensional graph corresponding to an XY plane coordinate system in a three-dimensional coordinate system; and generating a plane development drawing of the ship structure according to the lofting data. By the method, automatic lofting of the hull structure in the sky-circle and the earth-circle can be realized, the lofting precision and efficiency of the hull structure in the sky-circle and the earth-circle are improved, the lofting error is reduced, and the lofting time is greatly shortened.

Description

Lofting method and device for hemispherical-square ship structure and computer-readable storage medium
Technical Field
The invention relates to the technical field of lofting of a celestial-circle-shaped and local hull structure, in particular to a lofting method and device for a celestial-circle-shaped and local hull structure and a computer readable storage medium.
Background
In modern ship construction, the cylinder is connected with the square cylinder due to the requirement of the production process, so the connection part of the cylinder and the square cylinder is often called a skylinder structure. With the large number of applications of skyline structures in hull structures, production designers are required to complete a large number of structure lofting operations. At present, each large shipyard mainly adopts a manual lofting method to draw an unfolded drawing of a skyline local structure, and because the method needs to consume a large amount of time to manually draw to obtain lofting data, the drawing work of the unfolded drawing can be completed, the lofting efficiency is very low, and the lofting error is large, the lofting precision is low, enough allowance is required to be added, so that the lofting precision can be ensured to meet the actual production requirement, and a large amount of material waste is caused.
Disclosure of Invention
The invention aims to provide a lofting method and device for a celestial-sphere-and-terrestrial.
In order to solve the technical problem, an embodiment of the present invention provides a lofting method for a skyline-square ship structure, including:
acquiring hull structure parameters, wherein the hull structure parameters comprise: the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the long side of the bottom rectangle, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
generating a three-dimensional graph of the ship structure according to the ship structure parameters;
establishing a three-dimensional coordinate system by taking the length of the bottom rectangle as an X axis, the width of the bottom rectangle as a Y axis and the height of the ship structure as a Z axis;
calculating lofting data of the three-dimensional graph corresponding to an XY plane coordinate system in the three-dimensional coordinate system;
and generating a plane development drawing of the ship structure according to the lofting data.
Preferably, the calculating the three-dimensional figure corresponding to lofting data in an XY plane coordinate system in the three-dimensional coordinate system specifically includes:
extracting a conical surface of the three-dimensional graph and a triangular plane connected with the conical surface as an expansion unit to obtain four expansion units in total;
carrying out n equal division processing on the top arc length of the unfolding unit, marking equal division points of the top arc length and calculating the equal division arc length of the unfolding unit;
calculating the length from the bisector to the vertex of the conical surface according to the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
calculating the coordinates of the conical surface of the expansion unit corresponding to the XY plane coordinate system according to the bisection arc length and the length from the bisection point to the vertex of the conical surface;
calculating coordinates of the triangular plane of the unfolding unit corresponding to the XY plane coordinate system according to the length of the bottom rectangle of the ship structure, the width of the bottom rectangle of the ship structure, the radius of the top circle of the ship structure, the distance from the projection of the center of the circle on the bottom of the ship structure to the long side of the bottom rectangle, the distance from the projection of the center of the circle on the bottom of the ship structure to the short side of the bottom rectangle and the height of the ship structure;
and the conical surfaces and the triangular surfaces of the four unfolding units correspond to a coordinate set in the XY plane coordinate system and are the lofting data.
Preferably, the calculating, according to the bisector arc length and the length from the bisector point to the vertex of the conical surface, the coordinate of the conical surface of the expansion unit in the XY plane coordinate system includes:
calculating the coordinates of the vertex of the conical surface of the expansion unit and the coordinates of the first bisector of the conical surface;
taking the vertex of the conical surface of the expansion unit as a circle center, and making a first arc parallel to the XY plane coordinate system by the long-position radius from the ith bisector to the vertex of the conical surface; wherein n +1 is more than or equal to i and more than 1;
a second circular arc parallel to the XY plane coordinate system is formed by taking the ith equant point as the circle center and the equant arc length as the radius;
calculating intersection point coordinates of the first circular arc and the second circular arc corresponding to the XY plane coordinate system as first intersection point coordinates;
and the set of the coordinates of the vertex of the conical surface, the coordinates of the first bisector of the conical surface and the coordinates of the first intersection point is the coordinates of the conical surface of the expansion unit corresponding to the XY plane coordinate system.
Preferably, the calculating the coordinates of the triangular plane of the unfolding unit corresponding to the XY plane coordinate system according to the length of the bottom rectangle of the ship structure, the width of the bottom rectangle of the ship structure, the radius of the top circle of the ship structure, the distance of the projection of the center of the circle on the bottom of the ship structure to the long side of the bottom rectangle, the distance of the projection of the center of the circle on the bottom of the ship structure to the short side of the bottom rectangle, and the height of the ship structure specifically comprises:
when any one side of the triangular plane of the unfolding unit is the long side of the bottom rectangle:
a third arc parallel to the XY plane coordinate system is made by taking the vertex of the conical surface of the expansion unit as the center of a circle and the length of the bottom rectangle of the hull structure as the radius;
calculating the length from the nth bisector to the third vertex of the triangular plane according to the length of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the long edge of the bottom rectangle, and the height of the hull structure;
a fourth arc parallel to the XY plane coordinate system is formed by taking the nth bisector of the unfolding unit as the circle center and the length from the nth bisector to the third vertex of the triangular plane as the radius;
calculating intersection point coordinates of the third circular arc and the fourth circular arc corresponding to the XY plane coordinate system as second intersection point coordinates;
when any one side of the triangular plane of the unfolding unit is the short side of the bottom rectangle:
taking the vertex of the conical surface of the expansion unit as the center of a circle and the width of the bottom rectangle of the hull structure as the radius to form a fifth arc parallel to the XY plane coordinate system;
calculating the length from the nth bisector to the third vertex of the triangular plane according to the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
a sixth arc parallel to the XY plane coordinate system is made by taking the nth bisector of the unfolding unit as the center of a circle and the length from the nth bisector to the third vertex of the triangular plane as a radius;
calculating intersection point coordinates of the fifth circular arc and the sixth circular arc corresponding to the XY plane coordinate system as third intersection point coordinates;
the first vertex of the triangular plane is the vertex of the conical surface, the second vertex of the triangular plane is the nth bisector, and the third vertex of the triangular plane is the vertex of the conical surface connected with the other vertex of the triangular plane;
the set of the second intersection point coordinates and the third intersection point coordinates is coordinates in the XY plane coordinate system corresponding to the triangular plane of the expansion unit.
Preferably, the extracting a conical surface of the three-dimensional graph and a triangular plane connected to the conical surface as an expansion unit to obtain four expansion units includes:
extracting a conical surface of the three-dimensional graph;
and extracting a triangular plane connected with the conical surface in a first set direction.
The first arc and the second arc are made in a second set direction, and the coordinate of a first intersection point of the first arc and the second arc is extracted and used as the coordinate of the first intersection point;
the third arc and the fourth arc are made in the second set direction, and the coordinate of the first intersection point of the third arc and the fourth arc is extracted and used as the coordinate of the second intersection point;
drawing the fifth arc and the sixth arc in the second set direction, and extracting a coordinate of a first intersection point of the fifth arc and the sixth arc as a coordinate of the third intersection point;
wherein the second setting direction is opposite to the first setting direction.
The embodiment of the invention also provides a lofting device for a skyline and square ship structure, which comprises:
the ship structure parameter acquiring module is used for acquiring ship structure parameters, wherein the ship structure parameters comprise: the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the long side of the bottom rectangle, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
the three-dimensional image generation module is used for generating a three-dimensional graph of the ship structure according to the ship structure parameters;
the three-dimensional coordinate system establishing module is used for establishing a three-dimensional coordinate system by taking the length of the bottom rectangle as an X axis, the width of the bottom rectangle as a Y axis and the height of the ship structure as a Z axis;
the lofting data calculation module is used for calculating lofting data of the three-dimensional graph corresponding to an XY plane coordinate system in the three-dimensional coordinate system;
and the development map generation module is used for generating a plane development map of the ship structure according to the lofting data.
Preferably, the loft data calculation module includes:
the unfolding unit extracting module is used for extracting a conical surface of the three-dimensional graph and a triangular plane connected with the conical surface as an unfolding unit to obtain four unfolding units;
the arc length calculation unit is used for carrying out n equal division processing on the top arc length of the unfolding unit, marking equal division points of the top arc length and calculating the equal division arc length of the unfolding unit;
a length calculation unit, configured to calculate the length from the bisector to the vertex of the conical surface according to the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
the first coordinate calculation unit is used for calculating the coordinates of the conical surface of the expansion unit corresponding to the XY plane coordinate system according to the equant arc length and the length from the equant point to the vertex of the conical surface;
a second coordinate calculation unit, configured to calculate coordinates in the XY plane coordinate system of the triangular plane of the unfolding unit according to a length of the bottom rectangle of the hull structure, a width of the bottom rectangle of the hull structure, a radius of the top circle of the hull structure, a distance from a projection of a center of the circle on the bottom of the hull structure to a long side of the bottom rectangle, and a distance from a projection of the center of the circle on the bottom of the hull structure to a short side of the bottom rectangle;
and the conical surfaces and the triangular surfaces of the four unfolding units correspond to a coordinate set in the XY plane coordinate system and are the lofting data.
Preferably, the first coordinate calculation unit includes:
a bisector coordinate calculation unit for calculating a coordinate of a vertex of the conical surface of the expansion unit and a coordinate of a first bisector of the conical surface;
the first arc generating unit is used for making a first arc parallel to the XY plane coordinate system by taking the vertex of the conical surface of the unfolding unit as a circle center and the long radius from the ith equipartition point to the vertex of the conical surface; wherein n is more than or equal to i and is more than 1;
the second arc generating unit is used for making a second arc parallel to the XY plane coordinate system by taking the ith equant point as a circle center and the equant arc length as a radius;
a first intersection coordinate calculation unit configured to calculate intersection coordinates of the first arc and the second arc corresponding to the XY plane coordinate system;
and the set of the coordinates of the vertex of the conical surface, the coordinates of the first bisector of the conical surface and the coordinates of the first intersection point is the coordinates of the conical surface of the expansion unit corresponding to the XY plane coordinate system.
The invention also provides a lofting device for a skyhook ship structure, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to realize the lofting method for the skyhook ship structure.
The embodiment of the invention also provides a computer-readable storage medium, which comprises a stored computer program, wherein when the computer program runs, the device where the computer-readable storage medium is located is controlled to execute the lofting method of the skyhook ship structure.
Compared with the prior art, the lofting method for the skyline-square ship structure provided by the embodiment of the invention has the beneficial effects that: the lofting method of the skyline and square ship structure comprises the following steps: acquiring hull structure parameters, wherein the hull structure parameters comprise: the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the long side of the bottom rectangle, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure; generating a three-dimensional graph of the ship structure according to the ship structure parameters; establishing a three-dimensional coordinate system by taking the length of the bottom rectangle as an X axis, the width of the bottom rectangle as a Y axis and the height of the ship structure as a Z axis; calculating lofting data of the three-dimensional graph corresponding to an XY plane coordinate system in the three-dimensional coordinate system; and generating a plane development drawing of the ship structure according to the lofting data. By the method, automatic lofting of the hull structure in the sky-circle and the earth-circle can be realized, the lofting precision and efficiency of the hull structure in the sky-circle and the earth-circle are improved, the lofting error is reduced, and the lofting time is greatly shortened. The embodiment of the invention also provides a lofting device for the structure of the skyline and the square ship body and a computer readable storage medium.
Drawings
FIG. 1 is a flow chart of lofting a hemispherical-square hull structure provided by an embodiment of the invention;
FIG. 2 is a schematic view of a lofted version of the skyline hull structure of FIG. 1;
fig. 3 is a schematic diagram of lofting of a skyhook ship structure provided by an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Please refer to fig. 1, which is a flowchart of a lofting method of a skyline ship structure according to an embodiment of the present invention; the lofting method of the skyline and square ship structure comprises the following steps:
s100: obtaining hull structure parameters, wherein the hull structure parameters comprise: the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the long side of the bottom rectangle, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
s200: generating a three-dimensional graph of the ship structure according to the ship structure parameters;
s300: establishing a three-dimensional coordinate system by taking the length of the bottom rectangle as an X axis, the width of the bottom rectangle as a Y axis and the height of the ship structure as a Z axis;
s400: calculating lofting data of the three-dimensional graph corresponding to an XY plane coordinate system in the three-dimensional coordinate system;
s500: and generating a plane development drawing of the ship structure according to the lofting data.
In the embodiment, the lofting data corresponding to the ship structure can be rapidly calculated and accurately generated according to the ship structure data, the plane expansion diagram of the ship structure is generated according to the lofting data, the automatic lofting of the ship structure in the sky-circle and the earth-circle can be realized through the method, the lofting precision and efficiency of the ship structure in the sky-circle and the earth-circle are improved, the lofting error is reduced, the lofting time is greatly shortened, and the material loss in the production process is reduced. Preferably, the hull structure data input by the user is acquired through a dialogue window in an interactive interface, and the three-dimensional graph can be automatically drawn and generated according to the acquired hull structure parameters by calling a CAD tool. According to the ship structure parameters, a top view and a front view of the ship structure can be drawn and generated.
In an alternative embodiment, S300: calculating lofting data of the three-dimensional graph corresponding to an XY plane coordinate system in the three-dimensional coordinate system, which specifically comprises the following steps:
extracting a conical surface of the three-dimensional graph and a triangular plane connected with the conical surface as an expansion unit to obtain four expansion units in total;
carrying out n equal division processing on the top arc length of the unfolding unit, marking equal division points of the top arc length and calculating the equal division arc length of the unfolding unit;
calculating the length from the bisector to the vertex of the conical surface according to the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
calculating the coordinates of the conical surface of the expansion unit corresponding to the XY plane coordinate system according to the bisection arc length and the length from the bisection point to the vertex of the conical surface;
calculating coordinates of the triangular plane of the unfolding unit corresponding to the XY plane coordinate system according to the length of the bottom rectangle of the ship structure, the width of the bottom rectangle of the ship structure, the radius of the top circle of the ship structure, the distance from the projection of the center of the circle on the bottom of the ship structure to the long side of the bottom rectangle, the distance from the projection of the center of the circle on the bottom of the ship structure to the short side of the bottom rectangle and the height of the ship structure;
and the conical surfaces and the triangular surfaces of the four unfolding units correspond to a coordinate set in the XY plane coordinate system and are the lofting data.
In the embodiment, the hull structure of the skyline is composed of four basic units with similar shapes, and each basic unit comprises a conical surface and a triangular plane; by dividing the three-dimensional graph of the ship structure into non-four basic units, the method can be repeatedly applied to the remaining units for expansion only by researching the expansion method of one basic unit, and the lofting calculation process and the expansion process of the ship structure are simplified. Secondly, the top circular arc of the hull structure at the place of the skyline is equally divided, and the number of equal divisions is controlled through the value n, so that the expansion result of the hull structure at the place of the skyline can infinitely approach to the actual shape, the error caused by improper division of the top circular arc in the expansion process of the hull structure at the place of the skyline is effectively reduced, and the expansion of the hull structure at the place of the skyline meets the actual production requirement.
For example, as shown in fig. 2, a skyline hull structure ABCDAOBOCODO is divided into four basic units of AAOBOB, BBOCOC, ccododo, and DDOAOA, and taking the AAOBOB basic unit as an example, the arc AOBO of the basic unit is divided into n equal parts to obtain n +1 equal parts, which are respectively designated as a0 and a1 … … B0, and the lengths of AA0 and AA1 … … AA0 are respectively calculated. Wherein, the equal fraction values of the arcs N of the four basic units are the same. According to hull structure's bottom rectangle long, hull structure's bottom rectangle's width, hull structure's the circular shape radius in top, the circular shape centre of a circle is in hull structure's bottom projection arrives the distance of the minor face of bottom rectangle, the centre of a circle is in hull structure's bottom projection arrives the distance of the minor face of bottom rectangle and hull structure's height, can calculate through the pythagorean theorem every bisector to summit A's length in the conical surface in basic unit AAOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOB.
In an alternative embodiment, the calculating, according to the bisector arc length and the length from the bisector point to the vertex of the conical surface, the coordinates of the conical surface of the expansion unit in the XY plane coordinate system includes:
calculating the coordinates of the vertex of the conical surface of the expansion unit and the coordinates of the first bisector of the conical surface;
taking the vertex of the conical surface of the expansion unit as a circle center, and making a first arc parallel to the XY plane coordinate system by the long-position radius from the ith bisector to the vertex of the conical surface; wherein n +1 is more than or equal to i and is more than 1;
a second circular arc parallel to the XY plane coordinate system is formed by taking the ith equant point as the circle center and the equant arc length as the radius;
calculating intersection point coordinates of the first circular arc and the second circular arc corresponding to the XY plane coordinate system as first intersection point coordinates;
and the set of the coordinates of the vertex of the conical surface, the coordinates of the first bisector of the conical surface and the coordinates of the first intersection point is the coordinates of the conical surface of the expansion unit corresponding to the XY plane coordinate system.
In this embodiment, as shown in fig. 2, the coordinates a corresponding to the vertex a and the coordinates AO corresponding to the vertex AO are taken as starting points, the vertex a is taken as a center of a circle, the length of AA1 is taken as a radius to make an arc, the bisector a1 is taken as a center of a circle, and the bisector length is taken as a radius to make an arc, and the coordinates of the intersection point of the two arcs are calculated; repeating the process until the coordinates of the intersection point of the two arcs corresponding to the last bisector B0 are calculated; the next basic unit BBOCOC repeats the process of calculating the coordinates of the conical surface of the basic unit AAOBOB until the calculation of the coordinates of the conical surface of the last basic unit DDOAOA is completed. The coordinates of the vertex A, B, C, D are stored in the set α, and the coordinates of the bisector are stored in the set β.
In an alternative embodiment, the calculating the coordinates of the triangular plane of the unfolding unit corresponding to the XY plane coordinate system according to the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance of the projection of the center of the circle at the bottom of the hull structure to the long side of the bottom rectangle, the distance of the projection of the center of the circle at the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure specifically comprises:
when any one side of the triangular plane of the unfolding unit is the long side of the bottom rectangle:
taking the vertex of the conical surface of the expansion unit as the center of a circle and the length of the bottom rectangle of the hull structure as the radius to form a third arc;
calculating the length from the nth bisection point to the third vertex of the triangular plane according to the length of the bottom rectangle of the ship structure, the radius of the top circle of the ship structure, the distance from the projection of the circle center of the circle at the bottom of the ship structure to the long edge of the bottom rectangle and the height of the ship structure;
taking the nth bisection point of the unfolding unit as a circle center, and taking the length from the nth bisection point to the third vertex of the triangular plane as a radius to form a fourth arc;
calculating the coordinates of the intersection point of the third circular arc and the fourth circular arc as second coordinates of the intersection point;
when any one side of the triangular plane of the unfolding unit is the short side of the bottom rectangle:
taking the vertex of the conical surface of the expansion unit as the center of a circle and the width of the bottom rectangle of the hull structure as the radius to form a fifth arc;
calculating the length from the nth bisector to the third vertex of the triangular plane according to the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
taking the nth bisection point of the unfolding unit as a circle center, and taking the length from the nth bisection point to the third vertex of the triangular plane as a radius to form a sixth arc;
calculating the intersection point coordinate of the fifth circular arc and the sixth circular arc as a third intersection point coordinate;
the first vertex of the triangular plane is the vertex of the conical surface, the second vertex of the triangular plane is the nth bisector, and the third vertex of the triangular plane is the vertex of the conical surface connected with the other vertex of the triangular plane;
the set of the second intersection point coordinates and the third intersection point coordinates is coordinates in the XY plane coordinate system corresponding to the triangular plane of the expansion unit.
In this embodiment, the coordinates of the first intersection point, the second intersection point, and the third intersection point are saved in the set α. As shown in fig. 2, the intersection coordinates of the two arcs are calculated by forming an arc with the vertex a as the center and the line segment AB as the radius, forming an arc with the vertex B0 as the center and the line segment BBO as the radius. The length from each bisector in the conical surface to the vertex of the conical surface can be calculated according to the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure through the pythagorean theorem.
In an optional embodiment, the extracting a conical surface of the three-dimensional graph and a triangular plane connected to the conical surface as an unfolding unit to obtain four unfolding units includes:
extracting a conical surface of the three-dimensional graph;
and extracting a triangular plane connected with the conical surface in a first set direction.
The first arc and the second arc are made in a second set direction, and the coordinate of a first intersection point of the first arc and the second arc is extracted and used as the coordinate of the first intersection point;
the third arc and the fourth arc are made in the second set direction, and the coordinate of the first intersection point of the third arc and the fourth arc is extracted and used as the coordinate of the second intersection point;
drawing the fifth arc and the sixth arc in the second set direction, and extracting a coordinate of a first intersection point of the fifth arc and the sixth arc as a coordinate of the third intersection point;
wherein the second setting direction is opposite to the first setting direction. Preferably, when the first setting direction is a counterclockwise direction, the second setting direction is a clockwise direction; when the first setting direction is clockwise, the second setting direction is counterclockwise.
Referring to fig. 3, an embodiment of the present invention further provides a schematic diagram of a lofting apparatus for a skyline ship structure, where the lofting apparatus for a skyline ship structure includes:
the ship structure parameter acquiring module is used for acquiring ship structure parameters, wherein the ship structure parameters comprise: the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the long side of the bottom rectangle, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
the three-dimensional image generation module is used for generating a three-dimensional graph of the ship structure according to the ship structure parameters;
the three-dimensional coordinate system establishing module is used for establishing a three-dimensional coordinate system by taking the length of the bottom rectangle as an X axis, the width of the bottom rectangle as a Y axis and the height of the ship structure as a Z axis;
the lofting data calculation module is used for calculating lofting data of the three-dimensional graph corresponding to an XY plane coordinate system in the three-dimensional coordinate system;
and the development map generation module is used for generating a plane development map of the ship structure according to the lofting data.
In this embodiment, according to the hull structure data, the lofting data corresponding to the hull structure can be rapidly calculated and accurately generated, the plane development diagram of the hull structure is generated according to the lofting data, the automatic lofting of the hull structure in the sky-circle and the sky-circle can be realized through the device, the lofting precision and efficiency of the hull structure in the sky-circle and the sky-circle are improved, the lofting error is reduced, the lofting time is greatly shortened, and the material loss in the production process is reduced. Preferably, the hull structure data input by the user is acquired through a dialog window in the interactive interface, and the three-dimensional graph can be automatically drawn and generated according to the acquired hull structure parameters by calling a CAD tool. According to the ship structure parameters, a top view and a front view of the ship structure can be drawn and generated.
In an alternative embodiment, the loft data calculation module comprises:
the unfolding unit extracting module is used for extracting a conical surface of the three-dimensional graph and a triangular plane connected with the conical surface as an unfolding unit to obtain four unfolding units;
the arc length calculation unit is used for carrying out n equal division processing on the top arc length of the unfolding unit, marking equal division points of the top arc length and calculating the equal division arc length of the unfolding unit;
a length calculation unit, configured to calculate the length from the bisector to the vertex of the conical surface according to the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
the first coordinate calculation unit is used for calculating the coordinates of the conical surface of the expansion unit corresponding to the XY plane coordinate system according to the equant arc length and the length from the equant point to the vertex of the conical surface;
a second coordinate calculation unit, configured to calculate coordinates in the XY plane coordinate system of the triangular plane of the unfolding unit according to a length of the bottom rectangle of the hull structure, a width of the bottom rectangle of the hull structure, a radius of the top circle of the hull structure, a distance from a projection of a center of the circle on the bottom of the hull structure to a long side of the bottom rectangle, and a distance from a projection of the center of the circle on the bottom of the hull structure to a short side of the bottom rectangle;
and the conical surfaces and the triangular surfaces of the four unfolding units correspond to a coordinate set in the XY plane coordinate system and are the lofting data.
In the embodiment, the hull structure of the skyline is composed of four basic units with similar shapes, and each basic unit comprises a conical surface and a triangular plane; by dividing the three-dimensional graph of the ship structure into non-four basic units, the method can be repeatedly applied to the remaining units for expansion only by researching the expansion method of one basic unit, and the lofting calculation process and the expansion process of the ship structure are simplified. Secondly, the top circular arc of the hull structure at the place of the skyline is equally divided, and the number of equal divisions is controlled through the value n, so that the expansion result of the hull structure at the place of the skyline can infinitely approach to the actual shape, the error caused by improper division of the top circular arc in the expansion process of the hull structure at the place of the skyline is effectively reduced, and the expansion of the hull structure at the place of the skyline meets the actual production requirement.
For example, as shown in fig. 2, a celestial and terrestrial hull structure abcdaoboodo is divided into four basic units, i.e., AAOBOB, BBOCOC, ccododo, and DDOAOA, and with the AAOBOB basic unit as an example, the arc AOBO of the basic unit is divided into n equal parts to obtain n +1 equal division points, which are respectively denoted as a0 and a1 … … B0, and the lengths of AA0 and AA1 … … AA0 are respectively calculated. Wherein, the equal fraction values of the arcs N of the four basic units are the same. According to hull structure's bottom rectangle long, hull structure's bottom rectangle's width, hull structure's the circular shape radius in top, the circular shape centre of a circle is in hull structure's bottom projection arrives the distance of the minor face of bottom rectangle, the centre of a circle is in hull structure's bottom projection arrives the distance of the minor face of bottom rectangle and hull structure's height, can calculate through the pythagorean theorem every bisector to summit A's length in the conical surface in basic unit AAOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOBOB.
In an alternative embodiment, the first coordinate calculation unit includes:
a bisector coordinate calculation unit for calculating the coordinates of the apex of the conical surface of the expansion unit and the coordinates of the first bisector of the conical surface;
the first arc generating unit is used for making a first arc parallel to the XY plane coordinate system by taking the vertex of the conical surface of the unfolding unit as a circle center and the long radius from the ith equipartition point to the vertex of the conical surface; wherein n is more than or equal to i and is more than 1;
the second arc generating unit is used for making a second arc parallel to the XY plane coordinate system by taking the ith equant point as a circle center and the equant arc length as a radius;
a first intersection coordinate calculation unit configured to calculate intersection coordinates of the first arc and the second arc corresponding to the XY plane coordinate system;
and the set of the coordinates of the vertex of the conical surface, the coordinates of the first bisector of the conical surface and the coordinates of the first intersection point is the coordinates of the conical surface of the expansion unit corresponding to the XY plane coordinate system.
In this embodiment, as shown in fig. 2, the coordinates a corresponding to the vertex a and the coordinates AO corresponding to the vertex AO are taken as starting points, the vertex a is taken as a center of a circle, the length of AA1 is taken as a radius to make an arc, the bisector a1 is taken as a center of a circle, and the bisector length is taken as a radius to make an arc, and the coordinates of the intersection point of the two arcs are calculated; repeating the process until the coordinates of the intersection point of the two arcs corresponding to the last bisector B0 are calculated; the next basic unit BBOCOC repeats the process of calculating the coordinates of the conical surface of the basic unit AAOBOB until the calculation of the coordinates of the conical surface of the last basic unit DDOAOA is completed. The coordinates of the vertex A, B, C, D are stored in the set α, and the coordinates of the bisector are stored in the set β.
In an alternative embodiment, the second coordinate calculation unit includes:
when any one side of the triangular plane of the unfolding unit is the long side of the bottom rectangle:
the third arc generating unit is used for making a third arc by taking the vertex of the conical surface of the unfolding unit as the center of a circle and the length of the bottom rectangle of the ship body structure as the radius;
a first length calculating unit, configured to calculate, according to the length of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the long side of the bottom rectangle, and the height of the hull structure, the length from the nth bisector to the third vertex of the triangular plane;
a fourth arc generating unit, configured to use the nth bisector of the unfolding unit as a center of a circle and a length from the nth bisector to a third vertex of the triangular plane as a radius to form a fourth arc;
a second intersection coordinate calculation unit configured to calculate an intersection coordinate of the third arc and the fourth arc as a second intersection coordinate;
when any one side of the triangular plane of the unfolding unit is the short side of the bottom rectangle:
the fifth arc generating unit is used for making a fifth arc by taking the vertex of the conical surface of the unfolding unit as the center of a circle and the width of the bottom rectangle of the ship body structure as the radius;
a second length calculating unit, configured to calculate, according to the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure, the length from the nth bisector to the third vertex of the triangular plane;
a sixth arc generating unit, configured to use the nth bisector of the unfolding unit as a center of a circle and a length from the nth bisector to a third vertex of the triangular plane as a radius to form a sixth arc;
a third intersection coordinate calculation unit configured to calculate an intersection coordinate of the fifth arc and the sixth arc as a third intersection coordinate;
the first vertex of the triangular plane is the vertex of the conical surface, the second vertex of the triangular plane is the nth bisector, and the third vertex of the triangular plane is the vertex of the conical surface connected with the other vertex of the triangular plane;
the set of the second intersection point coordinates and the third intersection point coordinates is coordinates in the XY plane coordinate system corresponding to the triangular plane of the expansion unit.
In this embodiment, the coordinates of the first intersection point, the second intersection point, and the third intersection point are saved in the set α. As shown in fig. 2, the intersection coordinates of the two arcs are calculated by forming an arc with the vertex a as the center and the line segment AB as the radius, forming an arc with the vertex B0 as the center and the line segment BBO as the radius. The length from each bisector in the conical surface to the vertex of the conical surface can be calculated according to the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure through the pythagorean theorem.
In an optional embodiment, the unfolding unit extracting module is configured to extract a conical surface of the three-dimensional graph;
the unfolding unit extraction module is used for extracting a triangular plane connected with the conical surface in a first set direction.
The first arc generating unit and the second arc generating unit are respectively used for making the first arc and the second arc in a second set direction, and the first intersection point coordinate calculating unit is also used for extracting the coordinate of a first intersection point of the first arc and the second arc to be used as the first intersection point coordinate;
the third arc generating unit and the fourth arc generating unit are respectively configured to make the third arc and the fourth arc in the second setting direction, and the second intersection coordinate calculating unit is further configured to extract a coordinate of a first intersection of the third arc and the fourth arc as a second intersection coordinate;
the fifth arc generating unit and the sixth arc generating unit are respectively configured to make the fifth arc and the sixth arc in the second setting direction, and the third intersection coordinate calculating unit is further configured to extract a coordinate of a first intersection of the fifth arc and the sixth arc as a third intersection coordinate;
wherein the second setting direction is opposite to the first setting direction. Preferably, when the first setting direction is a counterclockwise direction, the second setting direction is a clockwise direction; when the first setting direction is clockwise, the second setting direction is counterclockwise.
The invention also provides a lofting device for a skyhook ship structure, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to realize the lofting method for the skyhook ship structure.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program in the lofting apparatus of the skyhook-style hull structure. For example, the computer program may be divided into functional modules in the skyline hull structure lofting apparatus described in fig. 3.
The lofting device for the hull structure of the skyline and the square can be computing equipment such as a desktop computer, a notebook computer, a palm computer and a cloud server. The lofting device for the skyline hull structure may include, but is not limited to, a processor and a memory. It will be understood by those skilled in the art that the schematic illustrations are merely examples of the fairy-square hull form lofting apparatus and do not constitute a limitation on the fairy-square hull form lofting apparatus, and may include more or fewer components than those shown, or some components in combination, or different components, e.g., the fairy-square hull form lofting apparatus may also include input and output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center for the hemispherical ship structure lofting apparatus, with various interfaces and lines connecting the various parts of the entire hemispherical ship structure lofting apparatus.
The memory may be used to store the computer programs and/or modules, and the processor may implement the various functions of the lofting apparatus for a skyline ship hull structure by operating or executing the computer programs and/or modules stored in the memory, and calling up data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the integrated module/unit of the lofting device of the skyline ship hull structure can be stored in a computer readable storage medium if the module/unit is realized in the form of a software functional unit and sold or used as an independent product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The embodiment of the invention also provides a computer-readable storage medium, which comprises a stored computer program, wherein when the computer program runs, the device where the computer-readable storage medium is located is controlled to execute the lofting method of the skyhook ship structure.
Compared with the prior art, the lofting method for the skyline-square ship structure provided by the embodiment of the invention has the beneficial effects that: the lofting method of the skyline and square ship structure comprises the following steps: acquiring hull structure parameters, wherein the hull structure parameters comprise: the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the long side of the bottom rectangle, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure; generating a three-dimensional graph of the ship structure according to the ship structure parameters; establishing a three-dimensional coordinate system by taking the length of the bottom rectangle as an X axis, the width of the bottom rectangle as a Y axis and the height of the ship structure as a Z axis; calculating lofting data of the three-dimensional graph corresponding to an XY plane coordinate system in the three-dimensional coordinate system; and generating a plane development drawing of the ship structure according to the lofting data. By the method, automatic lofting of the hull structure in the sky-circle and the earth-circle can be realized, the lofting precision and efficiency of the hull structure in the sky-circle and the earth-circle are improved, the lofting error is reduced, and the lofting time is greatly shortened. The embodiment of the invention also provides a lofting device for the structure of the skyline and the square ship body and a computer readable storage medium.
The foregoing is a preferred embodiment of the present invention, and it should be noted that it would be apparent to those skilled in the art that various modifications and enhancements can be made without departing from the principles of the invention, and such modifications and enhancements are also considered to be within the scope of the invention.

Claims (8)

1. A lofting method for a skyline and square ship structure is characterized by comprising the following steps:
acquiring hull structure parameters, wherein the hull structure parameters comprise: the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the long side of the bottom rectangle, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
generating a three-dimensional graph of the ship structure according to the ship structure parameters;
establishing a three-dimensional coordinate system by taking the length of the bottom rectangle as an X axis, the width of the bottom rectangle as a Y axis and the height of the ship structure as a Z axis;
calculating lofting data of the three-dimensional graph corresponding to an XY plane coordinate system in the three-dimensional coordinate system;
generating a plane development drawing of the ship structure according to the lofting data;
wherein, the calculating the three-dimensional graph corresponds to lofting data in an XY plane coordinate system in the three-dimensional coordinate system, and specifically comprises:
extracting a conical surface of the three-dimensional graph and a triangular plane connected with the conical surface as an expansion unit to obtain four expansion units in total;
carrying out n equal division processing on the top arc length of the unfolding unit, marking equal division points of the top arc length and calculating the equal division arc length of the unfolding unit;
calculating the length from the bisector to the vertex of the conical surface according to the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
calculating the coordinates of the conical surface of the expansion unit corresponding to the XY plane coordinate system according to the bisection arc length and the length from the bisection point to the vertex of the conical surface;
calculating coordinates of the triangular plane of the unfolding unit corresponding to the XY plane coordinate system according to the length of the bottom rectangle of the ship structure, the width of the bottom rectangle of the ship structure, the radius of the top circle of the ship structure, the distance from the projection of the center of the circle on the bottom of the ship structure to the long side of the bottom rectangle, the distance from the projection of the center of the circle on the bottom of the ship structure to the short side of the bottom rectangle and the height of the ship structure;
and the conical surfaces and the triangular surfaces of the four unfolding units correspond to a coordinate set in the XY plane coordinate system and are the lofting data.
2. The method for lofting a skyline ship hull structure according to claim 1, wherein the step of calculating the coordinates of the conical surface of the unfolding unit corresponding to the XY plane coordinate system according to the bisector arc length and the length from the bisector point to the vertex of the conical surface comprises:
calculating the coordinates of the vertex of the conical surface of the expansion unit and the coordinates of the first bisector of the conical surface;
taking the vertex of the conical surface of the expansion unit as a circle center, and making a first arc parallel to the XY plane coordinate system by the long-position radius from the ith bisector to the vertex of the conical surface; wherein n +1 is more than or equal to i and is more than 1;
a second circular arc parallel to the XY plane coordinate system is formed by taking the ith equant point as the circle center and the equant arc length as the radius;
calculating intersection point coordinates of the first circular arc and the second circular arc corresponding to the XY plane coordinate system as first intersection point coordinates;
and the set of the coordinates of the vertex of the conical surface, the coordinates of the first bisector of the conical surface and the coordinates of the first intersection point is the coordinates of the conical surface of the expansion unit corresponding to the XY plane coordinate system.
3. The method for lofting a skyline hull structure according to claim 2, wherein the calculating of the coordinates of the triangular plane of the unfolded unit corresponding to the XY plane coordinate system based on the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the projection of the center of the circle on the bottom of the hull structure to the long side of the bottom rectangle, the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure, comprises:
when any one side of the triangular plane of the unfolding unit is the long side of the bottom rectangle:
a third arc parallel to the XY plane coordinate system is made by taking the vertex of the conical surface of the expansion unit as the center of a circle and the length of the bottom rectangle of the hull structure as the radius;
calculating the length from the nth bisector to the third vertex of the triangular plane according to the length of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the long edge of the bottom rectangle, and the height of the hull structure;
a fourth circular arc parallel to the XY plane coordinate system is made by taking the nth bisector of the unfolding unit as the circle center and the length from the nth bisector to the third vertex of the triangular plane as the radius;
calculating intersection point coordinates of the third circular arc and the fourth circular arc corresponding to the XY plane coordinate system as second intersection point coordinates;
when any one side of the triangular plane of the unfolding unit is the short side of the bottom rectangle:
taking the vertex of the conical surface of the expansion unit as the center of a circle and the width of the bottom rectangle of the hull structure as the radius to form a fifth arc parallel to the XY plane coordinate system;
calculating the length from the nth bisector to the third vertex of the triangular plane according to the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
a sixth arc parallel to the XY plane coordinate system is formed by taking the nth bisector of the unfolding unit as the circle center and the length from the nth bisector to the third vertex of the triangular plane as the radius;
calculating intersection point coordinates of the fifth circular arc and the sixth circular arc corresponding to the XY plane coordinate system as third intersection point coordinates;
the first vertex of the triangular plane is the vertex of the conical surface, the second vertex of the triangular plane is the nth bisector, and the third vertex of the triangular plane is the vertex of the conical surface connected with the other vertex of the triangular plane;
the set of the second intersection point coordinates and the third intersection point coordinates is coordinates in the XY plane coordinate system corresponding to the triangular plane of the expansion unit.
4. The method for lofting a hull structure of a skyline as claimed in claim 3, wherein said extracting a conical surface of said three-dimensional figure and a triangular surface connected to said conical surface as an unfolding unit to obtain four unfolding units comprises:
extracting a conical surface of the three-dimensional graph;
extracting a triangular plane connected with the conical surface in a first set direction;
the first arc and the second arc are made in a second set direction, and the coordinate of a first intersection point of the first arc and the second arc is extracted and used as the coordinate of the first intersection point;
the third arc and the fourth arc are made in the second set direction, and the coordinate of the first intersection point of the third arc and the fourth arc is extracted and used as the coordinate of the second intersection point;
drawing the fifth arc and the sixth arc in the second set direction, and extracting a coordinate of a first intersection point of the fifth arc and the sixth arc as a coordinate of the third intersection point;
wherein the second setting direction is opposite to the first setting direction.
5. A lofting device for a skyline and square ship structure is characterized by comprising:
the ship structure parameter acquiring module is used for acquiring ship structure parameters, wherein the ship structure parameters comprise: the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the long side of the bottom rectangle, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
the three-dimensional image generation module is used for generating a three-dimensional graph of the ship structure according to the ship structure parameters;
the three-dimensional coordinate system establishing module is used for establishing a three-dimensional coordinate system by taking the length of the bottom rectangle as an X axis, the width of the bottom rectangle as a Y axis and the height of the ship structure as a Z axis;
the lofting data calculation module is used for calculating lofting data of the three-dimensional graph corresponding to an XY plane coordinate system in the three-dimensional coordinate system;
the expansion diagram generating module is used for generating a plane expansion diagram of the ship structure according to the lofting data;
wherein the loft data calculation module comprises:
the unfolding unit extracting module is used for extracting a conical surface of the three-dimensional graph and a triangular plane connected with the conical surface as an unfolding unit to obtain four unfolding units;
the arc length calculation unit is used for carrying out n equal division processing on the top arc length of the unfolding unit, marking equal division points of the top arc length and calculating the equal division arc length of the unfolding unit;
a length calculation unit, configured to calculate the length from the bisector to the vertex of the conical surface according to the length of the bottom rectangle of the hull structure, the width of the bottom rectangle of the hull structure, the radius of the top circle of the hull structure, the distance from the projection of the center of the circle on the bottom of the hull structure to the short side of the bottom rectangle, and the height of the hull structure;
the first coordinate calculation unit is used for calculating the coordinates of the conical surface of the expansion unit corresponding to the XY plane coordinate system according to the equant arc length and the length from the equant point to the vertex of the conical surface;
a second coordinate calculation unit, configured to calculate coordinates in the XY plane coordinate system of the triangular plane of the unfolding unit according to a length of the bottom rectangle of the hull structure, a width of the bottom rectangle of the hull structure, a radius of the top circle of the hull structure, a distance from a projection of a center of the circle on the bottom of the hull structure to a long side of the bottom rectangle, and a distance from a projection of the center of the circle on the bottom of the hull structure to a short side of the bottom rectangle;
and the conical surfaces and the triangular surfaces of the four unfolding units correspond to a coordinate set in the XY plane coordinate system and are the lofting data.
6. The hemispherical grain hull structure lofting apparatus of claim 5, wherein said first coordinate calculation unit comprises:
a bisector coordinate calculation unit for calculating a coordinate of a vertex of the conical surface of the expansion unit and a coordinate of a first bisector of the conical surface;
the first arc generating unit is used for making a first arc parallel to the XY plane coordinate system by taking the vertex of the conical surface of the unfolding unit as a circle center and the long radius from the ith equipartition point to the vertex of the conical surface; wherein n is more than or equal to i and is more than 1;
the second arc generating unit is used for making a second arc parallel to the XY plane coordinate system by taking the ith equant point as a circle center and the equant arc length as a radius;
a first intersection coordinate calculation unit configured to calculate intersection coordinates of the first arc and the second arc corresponding to the XY plane coordinate system;
and the set of the coordinates of the vertex of the conical surface, the coordinates of the first bisector of the conical surface and the coordinates of the first intersection point is the coordinates of the conical surface of the expansion unit corresponding to the XY plane coordinate system.
7. A lofting apparatus for a hemispherical ship hull structure, comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor when executing the computer program implementing the lofting method of a hemispherical ship hull structure according to any one of claims 1 to 4.
8. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus on which the computer-readable storage medium is located to perform the method of lofting a celestial ship's hull structure according to any one of claims 1-4.
CN201810340383.5A 2018-04-11 2018-04-11 Lofting method and device for hemispherical-square ship structure and computer-readable storage medium Active CN108733886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810340383.5A CN108733886B (en) 2018-04-11 2018-04-11 Lofting method and device for hemispherical-square ship structure and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810340383.5A CN108733886B (en) 2018-04-11 2018-04-11 Lofting method and device for hemispherical-square ship structure and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN108733886A CN108733886A (en) 2018-11-02
CN108733886B true CN108733886B (en) 2022-05-10

Family

ID=63939012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810340383.5A Active CN108733886B (en) 2018-04-11 2018-04-11 Lofting method and device for hemispherical-square ship structure and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN108733886B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110756617A (en) * 2019-09-11 2020-02-07 广东韶钢工程技术有限公司 Method for machining special-shaped reducer pipe through three-dimensional die
CN115186359A (en) * 2022-07-25 2022-10-14 中建钢构工程有限公司 Design drawing processing method, system, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002089022A1 (en) * 2001-04-26 2002-11-07 Abnet Corporation Method, device and computer program for making developed view of solid body
CN104765936A (en) * 2015-04-29 2015-07-08 中国水利水电第十一工程局有限公司 Operation method of three-dimensional modeling expansion and lofting coordinate generation based on Autodesk inventor software
CN106803282A (en) * 2015-11-26 2017-06-06 重庆江增船舶重工有限公司 A kind of thin bent plate of three dimensions abnormity launches modeling method
CN106840116A (en) * 2016-07-29 2017-06-13 上海市建筑装饰工程集团有限公司 Three-dimensional lofting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002089022A1 (en) * 2001-04-26 2002-11-07 Abnet Corporation Method, device and computer program for making developed view of solid body
CN104765936A (en) * 2015-04-29 2015-07-08 中国水利水电第十一工程局有限公司 Operation method of three-dimensional modeling expansion and lofting coordinate generation based on Autodesk inventor software
CN106803282A (en) * 2015-11-26 2017-06-06 重庆江增船舶重工有限公司 A kind of thin bent plate of three dimensions abnormity launches modeling method
CN106840116A (en) * 2016-07-29 2017-06-13 上海市建筑装饰工程集团有限公司 Three-dimensional lofting method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
天圆地方钣金构件展开放样系统的研究;张小萍等;《制造业自动化》;20110228;第33卷(第2期);第1-6页 *

Also Published As

Publication number Publication date
CN108733886A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
CN108733886B (en) Lofting method and device for hemispherical-square ship structure and computer-readable storage medium
TW201616449A (en) System and method for simplifying grids of point clouds
US20190272672A1 (en) Curved surface model generation method and apparatus
CN112765695B (en) Support body generation method, 3D printer, computer device, and storage medium
CN110706335B (en) Three-dimensional modeling method and device for rebound of male die bulging workpiece
CN109410213A (en) Polygon pel method of cutting out, computer readable storage medium, electronic equipment based on bounding box
CN110598358A (en) Additive manufacturing stress deformation simulation method, device, equipment and storage medium
CN111291450A (en) Method, device and equipment for determining engine hood rebound three-dimensional model
CN112070908A (en) Automatic splitting method of three-dimensional model, computer device and storage medium
CN101877145A (en) Quality factor based method for pre-dividing complicated plane surface meshes
CN113378435A (en) Particle generation method, device, equipment and storage medium
CN112765876A (en) Mechanical design scheme recommendation method and device and electronic equipment
CN109407955B (en) User interface interaction method, computer device and computer readable storage medium
CN107423488B (en) Automatic generating system and method for plane jig frame diagram
CN115222579A (en) Method, device and medium for scanning and converting dot matrix data
CN114529706A (en) Method, device, equipment and medium for splitting target object in three-dimensional model
CN108898631B (en) Interest area selection method, device, equipment and storage medium
CN112861241A (en) Method, device and equipment for unfolding conical tube and readable storage medium
CN111027196A (en) Simulation analysis task processing method and device for power equipment and storage medium
JP2021068290A (en) Triangular element division method, modeling device, program, and data for defining two-dimensional plane figure
CN112614046B (en) Method and device for drawing three-dimensional model on two-dimensional plane
CN113077530B (en) Traditional curved surface pane construction method and device and electronic equipment
US8847971B2 (en) Graphic processing device, graphic processing method, and non-transitory medium for storing graphic processing program for generating corrected graphic data
CN112380612B (en) Rapid design method, device, medium and terminal suitable for ship outfitting platform
CN106909721B (en) Editable section obtaining method and device

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
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20181102

Assignee: GUANGZHOU WENCHONG SHIPYARD Co.,Ltd.

Assignor: CSSC HUANGPU WENCHONG SHIPBUILDING Co.,Ltd.

Contract record no.: X2023980037695

Denomination of invention: Method, device, and computer-readable storage medium for ship structure layout in Tianyuan area

Granted publication date: 20220510

License type: Common License

Record date: 20230706

EE01 Entry into force of recordation of patent licensing contract