CN115578521A - Method for checking whether spray protection area design is simple shape or not - Google Patents

Method for checking whether spray protection area design is simple shape or not Download PDF

Info

Publication number
CN115578521A
CN115578521A CN202211423019.8A CN202211423019A CN115578521A CN 115578521 A CN115578521 A CN 115578521A CN 202211423019 A CN202211423019 A CN 202211423019A CN 115578521 A CN115578521 A CN 115578521A
Authority
CN
China
Prior art keywords
protection area
line segment
line segments
spraying protection
arc
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.)
Granted
Application number
CN202211423019.8A
Other languages
Chinese (zh)
Other versions
CN115578521B (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.)
Nanjing Witsoft Technology Co Ltd
Original Assignee
Nanjing Witsoft Technology 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 Nanjing Witsoft Technology Co Ltd filed Critical Nanjing Witsoft Technology Co Ltd
Priority to CN202211423019.8A priority Critical patent/CN115578521B/en
Publication of CN115578521A publication Critical patent/CN115578521A/en
Application granted granted Critical
Publication of CN115578521B publication Critical patent/CN115578521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2021Shape modification

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Architecture (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Application Of Or Painting With Fluid Materials (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method for checking whether a spray protection area is designed to be in a simple shape, which comprises the following steps: s1: naming sketch features of the spray protection area; s2: calling a normative checking library of the three-dimensional design software through an API (application programming interface) of the three-dimensional design software, traversing all the sketch features, and obtaining each line segment in the sketch features and the parameter of each line segment; s3: reading each line segment in the sketch characteristics and parameter information of each line segment; s4: judging whether the shape of the spraying protection area is a simple shape; s5: prompting an error; the method for checking whether the design of the spraying protection area is a simple shape solves the problem that special checking personnel needs to be allocated to check the shape of the spraying protection area during manual checking, saves manpower and reduces the dependence on designers; the batch model inspection can be completed quickly while manual missing inspection is effectively avoided, and the inspection efficiency is improved.

Description

Method for checking whether spray protection area design is simple shape or not
Technical Field
The invention relates to the field of spraying processes, in particular to a method for checking whether a spraying protection area is designed to be in a simple shape or not.
Background
The metal surface painting is a method for protecting metal from oxidation corrosion, a coating can effectively isolate the permeation of water, oxygen, electrons and stray ions, the corrosion of the sprayed metal can be greatly slowed down or avoided, a spraying process is adopted for a plurality of metal parts to adapt to complex environments, the non-spraying part (such as areas needing conductive contact) in a spraying area is called a spraying protection area, the spraying protection area is coated and shielded in advance during spraying, the spraying protection material used is required to be easy to clean, the shape of the spraying protection area is generally required to be simple as much as possible to reduce the production cost and improve the production efficiency, and therefore, the protection area is required to be checked to be in a simple shape (square or circular) after a model is designed. Regarding the inspection of the design area, at present, only the designer pays attention during the design, and the inspection after the design is completed is also a manual inspection, which has the following two problems:
1. the manual inspection needs to allocate special inspection personnel for inspection, so that additional manpower is consumed;
2. on the other hand, the manual inspection has the problem of missing inspection, so that a lot of conditions which are not designed according to the standard can be found in the industrial production, the industrial production progress is influenced, and the industrial production cost is increased.
Disclosure of Invention
The invention aims to solve the defects in the prior art, and provides a method for checking whether a spray protection area is designed to be in a simple shape.
In order to realize the purpose, the invention adopts the following technical scheme: a method of checking whether a spray protected area design is a simple shape, comprising the steps of:
s1: naming sketch features of the spray protection area;
the method comprises the following substeps:
s11: designing a spraying protection area on three-dimensional design software, wherein line segments and entities in the spraying protection area are called sketch features;
s12: uniformly and standardly naming the sketch features in three-dimensional design software;
the uniform and standard naming method of the sketch features comprises the following steps: the pendubaohu field is followed by a number.
S2: calling a normative checking library of the three-dimensional design software through an API (application programming interface) of the three-dimensional design software, traversing all the sketch features, and obtaining each line segment in the sketch features and the parameter of each line segment;
the normative checking library comprises all items to be checked, and the sketch characteristic of the spraying protection area is one item in the normative checking library;
the parameters include the length, radius, number of nodes, and node coordinates of the line segment.
S3: reading each line segment in the sketch characteristics and parameter information of each line segment;
the method comprises the following steps:
s31: randomly initializing a first line segment of a sketch feature through a built-in function of three-dimensional design software;
s32: reading the radius and the length of a first line segment of the initialized sketch feature through an API (application programming interface) of three-dimensional design software;
s33: reading the node number and the node coordinate of a first line segment of the initialized sketch feature through an API (application program interface) of three-dimensional design software;
s34: and (4) reading the first line segment parameter information through the API interface of the three-dimensional design software, reading the next line segment through the API interface of the three-dimensional design software, and circulating the steps S31-33 until the line segment parameter information of all the sketching characteristics is read.
S4: judging whether the shape of the spraying protection area is a simple shape;
the simple shapes include square and circular;
the method comprises the following substeps:
s41: analyzing the parameter information of all the line segments read in a classified manner;
the line segments comprise straight line segments, arc line segments and spline line segments;
the radius of the straight line segment is 0, and the number of nodes is 2;
the radius of the arc line section is larger than 0, and the number of the nodes is 2;
the radius of the spline line segment is 0 and the number of nodes is more than 2;
traversing all the read segment parameter information through an API (application program interface) of three-dimensional design software, removing spline segments with the node number being more than 2, classifying the segments with the radius being 0 and the node number being 2 into a linear segment class, classifying the segments with the radius being more than 0 and the node number being 2 into an arc segment class, and obtaining a segment classification set of the spraying protection area;
s42: judging whether the spraying protection area is in a simple shape or not according to the line segment information in the line segment classification set;
furthermore, the circle in the three-dimensional design software is composed of two arc line sections;
the method comprises the following substeps:
s421: judging whether the spraying protection area is circular or not;
if only the arc line segment exists in the line segment classification set, whether the spraying protection area is circular or not is further judged, and the judging method comprises the following steps:
s4211: judging whether the line segment classification set has two arc line segments or not, if so, performing the step S4212, and if not, judging that a spraying protection area formed by the arc line segments in the line segment classification set is not circular;
s4212: judging whether a graph formed by two arc line segments in the classification set is a closed curve or not, if so, performing a step S4213, and if not, judging that a spraying protection area formed by the arc line segments in the segment classification set is not circular;
s4213: judging whether the radii and the arc lengths of the two arc line segments are equal respectively, if so, performing a step S4214, and if not, classifying the line segments into concentrated arc line segments to form a spraying protection area which is not circular;
s4214: judging whether the length of a closed curve formed by the two arc line sections is equal to the circumferences of circles where the two arc line sections are respectively located, if so, judging that a spraying protection area formed by the arc line sections with concentrated line section classification is circular; if not, the spraying protection area formed by the arc line segments with concentrated line segment classification is not circular;
the circumference of the circle where the arc line sections are located is calculated through a circumference formula of the circle, and the circumferences of the two arc line sections are equal according to the equal radiuses of the two arc line sections;
s422: judging whether the spraying protection area is square or not;
if only straight line segments exist in the line segment classification set, whether the spraying protection area is square or not is further judged, and the judging method comprises the following steps:
s4221: judging whether the line segment classification set has 4 straight line segments or not, if so, performing a step S4222, and if not, judging that a spraying protection area formed by the straight line segments in the line segment classification set is not square;
s4222: judging whether the 4 straight line segments are connected end to end and do not coincide with each other, if so, performing step S4223, and if not, judging that a spraying protection area formed by the straight line segments in the line segment classification set is not square;
s4223: judging whether the 4 straight line segments are perpendicular to the two adjacent straight line segments, if so, judging that a spraying protection area formed by the straight line segments in the line segment classification set is square, and if not, judging that the spraying protection area formed by the straight line segments in the line segment classification set is not square;
s423: judging that the spraying protection area has other shapes;
according to the step S421 and the step S422, if it is determined that the shape of the spray protection area is neither a circle nor a square, it is determined that the spray protection area has another shape.
S5: prompting an error;
if the spraying protection area is in other shapes after judgment, the three-dimensional design software displays that the spraying protection area does not pass the judgment, and errors are fed back to a designer, and the designer modifies the design; and if the spraying protection area is in a simple shape, displaying by the three-dimensional design software through the judgment.
Compared with the prior art, the invention has the beneficial effects that:
the method for checking whether the design of the spraying protection area is a simple shape or not realizes the check of whether the design of the spraying protection area is a simple shape or not in three-dimensional design software, solves the problem that special checking personnel need to be allocated to check the shape of the spraying protection area during manual check, saves manpower and reduces the dependence on designers;
the manual missing inspection is effectively avoided, the problems that the missing inspection is caused during the manual inspection are avoided, so that a plurality of conditions that the design is not designed according to the standard, the industrial production progress is influenced, and the industrial production cost is increased are found in the industrial production, and the design quality of parts is ensured;
meanwhile, batch model inspection can be completed quickly, and inspection efficiency is improved.
Drawings
FIG. 1 is a flow chart of the steps of a method of the present invention for checking whether a spray protected area design is a simple shape;
FIG. 2 is a schematic diagram illustrating the effect of the method for checking whether the spray protection area is designed to be a simple shape according to the present invention.
Detailed Description
In order to further understand the objects, structures, features and functions of the present invention, the following embodiments are described in detail.
Example 1
As shown in fig. 1 and 2, a method for checking whether a spray protection area is designed to be a simple shape includes the following steps:
s1: naming sketch features of the spray protection area;
the spray protection area is as follows: refers to the non-spraying part in the spraying area, such as the area needing conductive contact, etc.;
the method comprises the following substeps:
s11: designing a spraying protection area on three-dimensional design software, wherein line segments and entities in the spraying protection area are called sketch features;
s12: uniformly and standardly naming the sketch features in three-dimensional design software;
the uniform and standard naming method of the sketch features comprises the following steps: numbers are added sequentially after the pentabaohu field, such as pentabaohu 1, pentabaohu 2, and the like.
S2: calling a normative checking library of the three-dimensional design software through an API (application programming interface) of the three-dimensional design software, traversing all the sketch features, and obtaining each line segment in the sketch features and the parameter of each line segment;
the normative checking library comprises all items to be checked, and the sketch characteristic of the spraying protection area is one item in the normative checking library;
the parameters include the length, radius, number of nodes, and node coordinates of the line segment.
S3: reading each line segment in the sketch characteristics and parameter information of each line segment;
the method comprises the following steps:
s31: randomly initializing a first line segment of the sketch feature through a built-in function of three-dimensional design software;
s32: reading the radius and the length of a first line segment of the initialized sketch features through an API (application programming interface) of three-dimensional design software;
s33: reading the node number and the node coordinate of a first line segment of the initialized sketch feature through an API (application program interface) of three-dimensional design software;
s34: and (4) reading the first line segment parameter information through the API interface of the three-dimensional design software, reading the next line segment through the API interface of the three-dimensional design software, and circulating the steps S31-33 until the line segment parameter information of all the sketching characteristics is read.
S4: judging whether the shape of the spraying protection area is a simple shape or not;
the simple shapes include square and circular;
the method comprises the following substeps:
s41: analyzing the parameter information of all the line segments which are classified and read;
the line segments comprise straight line segments, arc line segments and spline line segments;
the radius of the straight line segment is 0, and the number of nodes is 2;
the radius of the arc line section is larger than 0, and the number of the nodes is 2;
the radius of the spline line segment is 0 and the number of nodes is more than 2;
traversing all the read segment parameter information through an API (application program interface) of three-dimensional design software, removing spline segments with the node number being more than 2, classifying the segments with the radius being 0 and the node number being 2 into a linear segment class, classifying the segments with the radius being more than 0 and the node number being 2 into an arc segment class, and obtaining a segment classification set of the spraying protection area;
s42: judging whether the spraying protection area is in a simple shape or not through line segment information in the line segment classification set;
furthermore, the circle in the three-dimensional design software is composed of two arc line sections;
the method comprises the following substeps:
s421: judging whether the spraying protection area is circular or not;
if only the arc line segment exists in the line segment classification set, whether the spraying protection area is circular or not is further judged, and the judging method comprises the following steps:
s4211: judging whether the line segment classification set has two arc line segments or not, if so, performing the step S4212, and if not, judging that a spraying protection area formed by the arc line segments in the line segment classification set is not circular;
s4212: judging whether a graph formed by two arc line segments in the classification set is a closed curve or not, if so, performing a step S4213, and if not, judging that a spraying protection area formed by the arc line segments in the segment classification set is not circular;
s4213: judging whether the radii and the arc lengths of the two arc line segments are equal respectively, if so, performing a step S4214, and if not, classifying the line segments into concentrated arc line segments to form a spraying protection area which is not circular;
s4214: judging whether the length of a closed curve formed by the two arc line sections is equal to the circumferences of circles where the two arc line sections are respectively located, if so, judging that a spraying protection area formed by the arc line sections with concentrated line section classification is circular; if not, the spraying protection area formed by the arc line segments with concentrated line segment classification is not circular;
the circumference of the circle where the arc line segments are located is calculated through a circumference formula of the circle, and the circumference of the circle where the two arc line segments are located is equal according to the equal radius of the two arc line segments;
for example: the radiuses of the two arc line segments are R1 and R2 respectively, the arc lengths are L1 and L2 respectively, R1= R2, L1= L2, and the circumferences of circles where the arc line segments are located are C1 and C2;
the perimeter C1 of the circle where the arc line segment is located is =2 x n R1, and C2=2 x n R2;
the length L = L1+ L2 of a closed curve formed by the two arc line sections;
when C1= C2= L, the spraying protection area formed by the arc line segments of the line segment classification concentration is circular;
s422: judging whether the spraying protection area is square or not;
if only straight line segments exist in the line segment classification set, whether the spraying protection area is square or not is further judged, and the judging method comprises the following steps:
s4221: judging whether the line segment classification set has 4 straight line segments or not, if so, performing the step S4222, and if not, judging that a spraying protection area formed by the straight line segments in the line segment classification set is not square;
s4222: judging whether the 4 straight line segments are connected end to end and are not overlapped, if so, performing a step S4223, and if not, judging that a spraying protection area formed by the straight line segments of which the line segments are classified and concentrated is not square;
s4223: judging whether the 4 straight line segments are perpendicular to the two adjacent straight line segments, if so, judging that a spraying protection area formed by the straight line segments in the line segment classification set is square, and if not, judging that the spraying protection area formed by the straight line segments in the line segment classification set is not square;
s423: judging that the spraying protection area is in other shapes;
according to the step S421 and the step S422, if it is determined that the shape of the spray protection area is neither a circle nor a square, it is determined that the spray protection area has another shape.
S5: prompting an error;
if the spraying protection area is in other shapes after judgment, the three-dimensional design software displays that the spraying protection area does not pass the judgment, and errors are fed back to a designer, and the designer modifies the design; if the spray protection area is in a simple shape, the three-dimensional design software displays that the judgment is passed.
Example 2
The method for judging whether the spraying protection area is oval or not comprises the following steps:
s1: naming sketch features of the spray protection area;
the method comprises the following substeps:
s11: designing a spraying protection area on three-dimensional design software, wherein line segments and entities in the spraying protection area are called sketch features;
s12: uniformly and standardly naming the sketch features in three-dimensional design software;
the method for uniformly and normatively naming the sketch features comprises the following steps: the field of pentabaohu is followed by a number, such as pentabaohu 1, pentabaohu 2, etc.
S2: calling a normative checking library of the three-dimensional design software through an API (application programming interface) of the three-dimensional design software, traversing all the sketch features, and obtaining each line segment in the sketch features and the parameter of each line segment;
the normative checking library comprises all items needing checking, and the sketch feature of the spraying protection area is one item in the normative checking library;
the parameters include the length, radius, number of nodes, and node coordinates of the line segment.
S3: reading each line segment in the sketch characteristics and parameter information of each line segment;
the method comprises the following steps:
s31: randomly initializing a first line segment of a sketch feature through a built-in function of three-dimensional design software;
s32: reading the radius and the length of a first line segment of the initialized sketch feature through an API (application programming interface) of three-dimensional design software;
s33: reading the node number and the node coordinates of a first line segment of the initialized sketch characteristics through an API (application programming interface) of three-dimensional design software;
s34: and (4) reading the first line segment parameter information through the API interface of the three-dimensional design software, reading the next line segment through the API interface of the three-dimensional design software, and circulating the steps S31-33 until the line segment parameter information of all the sketching characteristics is read.
S4: judging whether the shape of the spraying protection area is oval or not;
the method comprises the following substeps:
s41: analyzing the parameter information of all the line segments which are classified and read;
the line segments comprise straight line segments, circular arc segments and spline segments;
the radius of the straight line segment is 0, and the number of nodes is 2;
the radius of the arc line section is larger than 0, and the number of the nodes is 2;
the radius of the spline line segment is 0 and the number of nodes is more than 2;
traversing all the read segment parameter information through an API (application program interface) of three-dimensional design software, removing spline segments with the node number being more than 2, classifying the segments with the radius being 0 and the node number being 2 into a linear segment class, classifying the segments with the radius being more than 0 and the node number being 2 into an arc segment class, and obtaining a segment classification set of the spraying protection area;
s42: judging whether the spraying protection area is oval or not according to the line segment information in the line segment classification set;
furthermore, the ellipses in the three-dimensional design software are all composed of two arc line sections;
if only the arc line segment exists in the line segment classification set, whether the spraying protection area is oval or not is further judged, and the judging method comprises the following steps:
s421: judging whether the line segment classification set has only 2 arc line segments, wherein the graph formed by the two arc line segments is a closed curve, if so, performing the step S422, and if not, judging that the shape of the spraying protection area is not an ellipse;
s422: judging whether the radii of the two arc line sections are equal to the lengths of the arc line sections respectively, if so, judging that the shape of the spraying protection area is oval; if not, the spray protection area shape is not elliptical.
S5: prompting an error;
if the spraying protection area is not oval after judgment, the three-dimensional design software displays that the spraying protection area does not pass the judgment, and errors are fed back to a designer, and the designer modifies the design; and if the spraying protection area is oval, the three-dimensional design software displays that the judgment is passed.
The present invention has been described in relation to the above embodiments, which are only exemplary of the implementation of the present invention. It should be noted that the disclosed embodiments do not limit the scope of the invention. Rather, it is intended that all such modifications and variations be included within the spirit and scope of this invention.

Claims (8)

1. A method for checking whether a spray protection area is designed to be a simple shape or not is characterized by comprising the following steps:
s1: naming sketch features of the spray protection area;
the method comprises the following substeps:
s11: designing a spraying protection area on three-dimensional design software, wherein line segments and entities in the spraying protection area are called sketch features;
s12: uniformly and standardly naming the sketch features in three-dimensional design software;
s2: calling a normative checking library of the three-dimensional design software through an API (application programming interface) of the three-dimensional design software, traversing all the sketch features, and acquiring each line segment in the sketch features and parameters of each line segment;
the parameters comprise the length, the radius, the node number and the node coordinates of the line segment;
s3: reading each line segment in the sketch characteristics and parameter information of each line segment;
the method comprises the following steps:
s31: randomly initializing a first line segment of a sketch feature through a built-in function of three-dimensional design software;
s32: reading the radius and the length of a first line segment of the initialized sketch feature through an API (application programming interface) of three-dimensional design software;
s33: reading the node number and the node coordinate of a first line segment of the initialized sketch feature through an API (application program interface) of three-dimensional design software;
s34: reading the first line segment parameter information through the API interface of the three-dimensional design software, reading the next line segment through the API interface of the three-dimensional design software, and circulating the steps S31-33 until the line segment parameter information of all sketching characteristics is read;
s4: judging whether the shape of the spraying protection area is a simple shape or not;
the simple shape comprises a square shape and a round shape, and comprises the following sub-steps:
s41: analyzing the information of all the line segments read in a classified manner;
s42: judging whether the spraying protection area is in a simple shape or not according to the line segment information in the line segment classification set;
s5: prompting an error;
if the spraying protection area is in other shapes after judgment, the three-dimensional design software displays that the spraying protection area does not pass the judgment, and errors are fed back to a designer, and the designer modifies the design; if the spray protection area is in a simple shape, the three-dimensional design software displays that the judgment is passed.
2. A method of inspecting the design of a spray protected area for simplistic shape as defined in claim 1, wherein:
in step S41, the line segments include a straight line segment, an arc line segment, and a spline line segment;
the radius of the straight line segment is 0, and the number of nodes is 2;
the radius of the circular arc line section is greater than 0, and the number of nodes is 2;
the radius of the spline line segment is 0 and the number of nodes is more than 2;
and traversing all the read segment parameter information through an API (application program interface) of three-dimensional design software, removing the spline segments with the node number larger than 2, classifying the segments with the radius of 0 and the node number of 2 into a linear segment class, classifying the segments with the radius of larger than 0 and the node number of 2 into an arc segment class, and obtaining a segment classification set of the spraying protection area.
3. A method of inspecting the design of a spray protected area for simplistic shape as defined in claim 1, wherein: step S42 includes the following substeps:
s421: judging whether the spraying protection area is circular or not;
s422: judging whether the spraying protection area is square or not;
s423: judging that the spraying protection area is in other shapes;
according to the steps S421 and S422, if the shape of the spray protection area is neither circular nor square, it is determined that the spray protection area has another shape.
4. A method of inspecting the design of a spray protected area for simplistic shape or not as set forth in claim 3, wherein:
in step S421, if the line segment classification set only has an arc line segment, it is further determined whether the spray protection area is circular, and the determination method includes the following steps:
s4211: judging whether the line segment classification set has two arc line segments or not, if so, performing the step S4212, and if not, judging that a spraying protection area formed by the arc line segments in the line segment classification set is not circular;
s4212: judging whether a graph formed by two arc line segments in the classification set is a closed curve or not, if so, performing step S4213, and if not, judging that a spraying protection area formed by the arc line segments in the segment classification set is not circular;
s4213: judging whether the radii and the arc lengths of the two arc line segments are equal respectively, if so, performing the step S4214, and if not, classifying the line segments into concentrated arc line segments to form a spraying protection area which is not circular;
s4214: judging whether the length of a closed curve formed by the two arc line sections is equal to the circumferences of circles where the two arc line sections are respectively located, if so, classifying the line sections into a concentrated arc line section to form a spraying protection area which is circular; if not, the spray protection area formed by the arc line segments with the line segments classified and concentrated is not circular.
5. A method of inspecting the design of a spray protected area for simplistic shape or not as set forth in claim 3, wherein:
in step S422: if only straight line segments exist in the line segment classification set, whether the spraying protection area is square or not is further judged, and the judging method comprises the following steps:
s4221: judging whether the line segment classification set has 4 straight line segments or not, if so, performing a step S4222, and if not, judging that a spraying protection area formed by the straight line segments in the line segment classification set is not square;
s4222: judging whether the 4 straight line segments are connected end to end and are not overlapped, if so, performing a step S4223, and if not, judging that a spraying protection area formed by the straight line segments of which the line segments are classified and concentrated is not square;
s4223: and judging whether the 4 straight line segments are perpendicular to the two adjacent straight line segments, if so, judging that a spraying protection area formed by the straight line segments in the line segment classification set is square, and if not, judging that the spraying protection area formed by the straight line segments in the line segment classification set is not square.
6. A method of inspecting the design of a spray protected area for simplistic shape as defined in claim 4, wherein: in step S4214, the circumference of the circle where the arc line segment is located is calculated by using a circumference formula of the circle, and the circumference of the circle where the two arc line segments are located is equal according to the equal radius of the two arc line segments.
7. A method of inspecting the design of a spray protected area for simplistic shape as defined in claim 1, wherein: the circle in the three-dimensional design software is composed of two arc line sections.
8. A method of inspecting the design of a spray protected area for simplistic shape as defined in claim 1, wherein:
the method for judging whether the spraying protection area is oval or not comprises the following steps: if only the arc line segment exists in the line segment classification set, whether the spraying protection area is oval is further judged, and the judging method is as follows:
judging whether the line segment classification set has 2 arc line segments, wherein the graph formed by the two arc line segments is a closed curve, and if not, the spraying protection area is not an ellipse; if yes, further judging whether the radiuses and arc lengths of the two arc line sections are equal, if not, judging that the spraying protection area is not in an oval shape; if so, the spray protection area is elliptical.
CN202211423019.8A 2022-11-15 2022-11-15 Method for checking whether spray protection area is designed to be simple in shape or not Active CN115578521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211423019.8A CN115578521B (en) 2022-11-15 2022-11-15 Method for checking whether spray protection area is designed to be simple in shape or not

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211423019.8A CN115578521B (en) 2022-11-15 2022-11-15 Method for checking whether spray protection area is designed to be simple in shape or not

Publications (2)

Publication Number Publication Date
CN115578521A true CN115578521A (en) 2023-01-06
CN115578521B CN115578521B (en) 2023-03-10

Family

ID=84588255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211423019.8A Active CN115578521B (en) 2022-11-15 2022-11-15 Method for checking whether spray protection area is designed to be simple in shape or not

Country Status (1)

Country Link
CN (1) CN115578521B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101603815A (en) * 2008-06-13 2009-12-16 鸿富锦精密工业(深圳)有限公司 Small line segment figure check system and method
CN102909148A (en) * 2012-08-13 2013-02-06 东南大学 Spraying path automatic generating method for adaptive modeling of multiple spray guns
CN111241779A (en) * 2020-01-15 2020-06-05 苏州浪潮智能科技有限公司 Method for designing irregular parallel lines based on Cadence design software
CN112466766A (en) * 2019-09-09 2021-03-09 长鑫存储技术有限公司 Method, device, equipment and storage medium for detecting defect of poor coating type

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101603815A (en) * 2008-06-13 2009-12-16 鸿富锦精密工业(深圳)有限公司 Small line segment figure check system and method
CN102909148A (en) * 2012-08-13 2013-02-06 东南大学 Spraying path automatic generating method for adaptive modeling of multiple spray guns
CN112466766A (en) * 2019-09-09 2021-03-09 长鑫存储技术有限公司 Method, device, equipment and storage medium for detecting defect of poor coating type
CN111241779A (en) * 2020-01-15 2020-06-05 苏州浪潮智能科技有限公司 Method for designing irregular parallel lines based on Cadence design software

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄远发: "FANUC P700i 机器人内表面喷涂应用", 《现代涂料与涂装》 *

Also Published As

Publication number Publication date
CN115578521B (en) 2023-03-10

Similar Documents

Publication Publication Date Title
CN107886495B (en) Automobile part defect identification method based on similarity matching
CN103729632B (en) A kind of localization method of Circular Mark point based on connected region filtering
CN108121863B (en) Method, device and equipment for creating pipeline label and computer readable storage medium
CN115578521B (en) Method for checking whether spray protection area is designed to be simple in shape or not
CN109933840B (en) Automatic region matching method and system based on house type geometric features
US20160321797A1 (en) Imaging-based methods for detecting and measuring defects in extruded cellular ceramic articles
CN111462214A (en) Line structure light stripe central line extraction method based on Hough transformation
CN114037657A (en) Lithium battery tab defect detection method combining region growth and annular correction
CN117611589B (en) Tablet personal computer quality detection method and system
CN105631846A (en) Detection method for circular figure
WO2024045963A1 (en) Appearance defect detection method, electronic device, and storage medium
CN111862223A (en) Visual counting and positioning method for electronic element
CN116383548A (en) Method, system, electronic equipment and medium for calculating coverage area
CN114943710B (en) Method for positioning circle center of thin-wall circular tube type part by utilizing improved least square fitting
CN110688439A (en) Method for automatically identifying and analyzing enterprise information based on regional geocoding
CN113807325B (en) Line type identification method and system based on image processing
CN110211113B (en) Detection algorithm and calculation equipment for groove abnormity
CN113160201B (en) Target detection method of annular boundary box based on polar coordinates
CN104050336A (en) Method for judging restrained condition of three-dimensional geometrical elements based on track intersection
CN114997093B (en) Method for rapidly generating wires by simulating pins of digital model device
CN111508022A (en) Line laser stripe positioning method based on random sampling consistency
Tung et al. Rusty Detection Using Image Processing For Maintenance Of Stations
CN117474999B (en) Micro chip type inductance double-wire winding abnormity positioning method and system
CN112685980B (en) Comparison and positioning method for DRC violations of layout
CN111159836A (en) Method and device for judging interactive influence of pipeline defects

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