CN116852716A - Edge irregular distance support generation method and device, electronic equipment and storage medium - Google Patents

Edge irregular distance support generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116852716A
CN116852716A CN202310705812.5A CN202310705812A CN116852716A CN 116852716 A CN116852716 A CN 116852716A CN 202310705812 A CN202310705812 A CN 202310705812A CN 116852716 A CN116852716 A CN 116852716A
Authority
CN
China
Prior art keywords
point
model
points
plane
determining
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.)
Pending
Application number
CN202310705812.5A
Other languages
Chinese (zh)
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.)
Shenzhen CBD Technology Co Ltd
Original Assignee
Shenzhen CBD 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 Shenzhen CBD Technology Co Ltd filed Critical Shenzhen CBD Technology Co Ltd
Priority to CN202310705812.5A priority Critical patent/CN116852716A/en
Publication of CN116852716A publication Critical patent/CN116852716A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C64/00Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
    • B29C64/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for additive manufacturing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C64/00Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
    • B29C64/40Structures for supporting 3D objects during manufacture and intended to be sacrificed after completion thereof
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
    • B33Y40/00Auxiliary operations or equipment, e.g. for material handling
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
    • B33Y50/00Data acquisition or data processing for additive manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P10/00Technologies related to metal processing
    • Y02P10/25Process efficiency

Landscapes

  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Materials Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Optics & Photonics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention belongs to the technical field of 3D printing model preprocessing, and particularly relates to a method and a device for generating an edge irregular support, electronic equipment and a storage medium; the method comprises the following steps: traversing the model; obtaining a model frame; aligning the mold frame to an origin; raising the model; dividing preset square grids; selecting a model bottom plane and acquiring a plane projection range; acquiring preset square grids in a projection range; obtaining a central point of a boundary square lattice; a straight line is projected upwards from the central point of the boundary square and intersected with the bottom surface of the model to form a second gathering point; determining N vertical reference planes through a second collecting point, and determining a second collecting point which is positioned at the lowest point on the reference planes as a first class point; screening the residual points and determining the residual points as second class points; extracting first class points with the spacing of L1+DeltaX and second class points with the spacing of L2+DeltaX as extracting points; generating a supporting unit downwards by projecting intersection points on the boundary of the bottom surface of the model through the extraction points; the data is stored. The method can enable the bottom edge of the model to generate the different-distance supporting units in batches.

Description

Edge irregular distance support generation method and device, electronic equipment and storage medium
Technical Field
The invention belongs to the technical field of 3D printing model preprocessing, and particularly relates to an edge irregular support generation method, an edge irregular support generation device, electronic equipment and a storage medium.
Background
In the existing photo-curing molding technology, in the stage of preprocessing a model by a computer, a mode of automatically generating supporting units is generally adopted to enable the bottom and the edge of the whole model to generate sufficiently dense supporting units; the technical mode can ensure successful printing of the model because the supporting quantity is sufficiently dense, and has the defects that in order to ensure that edge warping does not occur at the bottom edge of the model, the supporting density of the bottom edge of the model can only be integrally increased by increasing the supporting density, so that the workload is increased due to the excessive quantity of supporting units when the supporting units are cut later;
in practice, the most needed model bottom edge needs to have enough support to avoid model edge warping in the model printing process, and the non-edge position only needs to generate a relatively small amount of support; the mode can ensure that the model is printed successfully and simultaneously reduce the workload of the post-cutting support unit; there is therefore a need to propose a method that enables the bottom edge of the model to generate a support unit;
Further, because the shapes of the models are different or the placement angles are different, the supporting units at the lowest point or the lowest edge of the models are required to be relatively denser in general, and the supporting units can be relatively sparse instead of the lowest point. Therefore, the method for generating the supporting units at the bottom edge of the model is also needed, and the supporting units with inconsistent distance density are further generated at the bottom of the model, so that the supporting units at the lowest point or the lowest edge can be automatically generated into dense supporting units, and the supporting units at the non-lowest position can be automatically generated into relatively sparse supporting units at the same time when the supporting units are automatically generated at the bottom edge of the model.
Disclosure of Invention
The embodiment of the application provides a method, a device, electronic equipment and a storage medium for generating edge irregular support, which aim to enable the edge at the bottom of a model to automatically generate supporting units in batches in a targeted manner in the model preprocessing process, and simultaneously automatically generate dense supporting units at the lowest point or the lowest edge and relatively sparse supporting units at the non-lowest position.
A first aspect of an embodiment of the present application provides a method for generating an edge alien support, including:
Traversing and splicing all triangular grids forming a model;
acquiring a minimum model frame of the model and aligning the bottom center point of the minimum model frame to the origin of the zero-plane platform;
raising the model by H mm;
dividing preset square grids with side length of Y millimeters on a zero plane platform by taking an origin as a center;
selecting a plane at the bottom of the model and acquiring a first vertical projection range of the plane on a zero-plane platform;
acquiring all preset squares with preset square center points in a first vertical projection range as first squares;
obtaining boundary square grids according to all the first square grids and determining the central point of the boundary square grids as a first collecting point;
a first collecting point vertically upwards projects a straight line to intersect with a model bottom plane to form a boundary projection intersection point, and the boundary projection intersection point is determined to be a second collecting point;
determining N vertical reference planes through a second collecting point intercepting model and determining a second collecting point which is positioned at the lowest point on all the vertical reference planes as a first type point;
determining all boundary projection intersection points remained after the first class points are screened in the second aggregation point as second class points;
designating a first class point in the clock direction, wherein the first class point is sequentially extracted from the central point of the boundary square on the zero plane platform by every two pairs by taking the first class point as a starting point, and the first class point is determined as an extraction point;
Designating a clock direction, sequentially extracting second class points with the linear interval distance of L2+ [ delta ] X millimeters from each second class point to each other by taking the central point of the boundary square corresponding to the zero plane platform as a starting point, and determining the second class points as extraction points;
the supporting units are led out downwards from the boundary projection intersection points of the extraction points on the bottom plane of the model correspondingly and are connected between the edge of the bottom plane of the model and the zero plane platform;
and storing the whole three-dimensional data of the model and the supporting unit.
Further, the plane selecting and projecting module includes:
the triangular grid selection module is used for selecting a triangular grid on the bottom plane of the model;
the similar triangular mesh group acquisition module is used for acquiring triangular meshes which are the same as the normal vector of the selected triangular mesh and are continuously co-edge-shared as a similar triangular mesh group;
the first projection range acquisition module is used for acquiring a first vertical projection range of each triangular grid endpoint and line segment in the triangular grid-like group on the zero plane platform.
Further, the determining N vertical reference planes through the second collecting point intercepting model and determining the second collecting point which is located at the lowest point on all the vertical reference planes as the first type point includes:
Acquiring a second vertical projection range of the model on the zero-plane platform;
acquiring all preset squares with center points of the preset squares in a second vertical projection range and determining the preset squares as second squares;
a projection reference intersection point is formed by vertically projecting straight lines upwards from the central points of the second square grids and intersecting the bottom of the model, and the projection reference intersection point is determined to be a third collecting point;
determining N vertical reference planes through the second collecting point interception model;
all projection reference intersection points positioned on the same vertical reference plane are selected from the third collection point to be determined as a fourth collection point;
the fourth collection point and the second collection point located on the same vertical reference plane are compared and the second collection point located at the lowest point position on all the vertical reference planes is determined as the first type point.
Further, the method for generating the edge irregular distance support further comprises the following steps:
slicing the whole three-dimensional data and obtaining slice image data;
the slice image data is imported to a 3D printing apparatus for 3D exposure printing.
Optionally, the designating a first class point in a clock direction, where the first class points are sequentially extracted from two to two by taking a central point of a boundary square corresponding to a first class point on a zero plane platform as a starting point, and determining the first class point as an extraction point, where the distance between the straight lines is l1+ +Δx millimeter, includes:
Sequentially extracting first class points with the linear interval distance of L1+ [ delta ] X millimeter from the first class points which are in the anticlockwise/clockwise direction and have the minimum/maximum X coordinate values and/or the minimum/maximum Y coordinate values and correspond to the central points of the boundary square on the zero plane platform as starting points in pairs, and determining the first class points as extraction points;
optionally, the designating a clock direction sequentially extracts second class points with the interval distance between two straight lines being l2+ [ delta ] X millimeter by taking a second class point corresponding to a central point of a boundary square on the zero plane platform as a starting point, and determining the second class point as an extraction point includes:
and sequentially extracting second class points with the linear interval distance of L2+ [ delta ] X millimeters from the second class points which are in the anticlockwise/clockwise direction and have the minimum/maximum X coordinate values and/or the minimum/maximum Y coordinate values and correspond to the central points of the boundary square on the zero plane platform as starting points in pairs, and determining the second class points as extraction points.
Optionally, the H, Y, L, L2 are positive integers or decimal; the N is a positive integer; the ΔX is an error value less than L1 and L2.
A second aspect of an embodiment of the present application provides an edge alien support generating apparatus, including:
the model grid traversing module is used for traversing and splicing all triangular grids forming the model;
The model frame acquisition and alignment module acquires a minimum model frame of the model and aligns the bottom center point of the minimum model frame to the origin of the zero-plane platform;
the model lifting module is used for lifting the model by H millimeters;
the preset square dividing module is used for dividing preset square with the side length of Y millimeters on the zero plane platform by taking the origin as the center;
the plane selecting and projecting module is used for selecting a plane at the bottom of the model and acquiring a first vertical projection range of the plane on the zero-plane platform;
the first square grid acquisition module is used for acquiring all preset square grids with preset square grid center points in a first vertical projection range as first square grids;
the boundary square grid acquisition module is used for acquiring boundary square grids according to all the first square grids and determining the central point of the boundary square grids as a first collecting point;
the boundary projection intersection point determining module is used for forming a boundary projection intersection point by intersecting the first collecting point vertical upward projection straight line with the bottom plane of the model and determining the boundary projection intersection point as a second collecting point;
the first type point determining module is used for determining N vertical reference planes through a second collecting point interception model and determining a second collecting point which is located at the lowest point on all the vertical reference planes as a first type point;
The second class point determining module is used for determining all boundary projection intersection points remained after the first class points are screened in the second collecting point as second class points;
the first extraction point determining module is used for designating a first type point with the interval distance between every two extraction straight lines of L1+ [ delta ] X millimeters in a clock direction by taking the central point of a boundary square corresponding to a first type point on the zero plane platform as a starting point, and determining the first type point as an extraction point;
the second extraction point determining module is used for designating a clock direction, sequentially extracting second class points with the linear interval distance of L2+ [ delta ] X millimeters from the central point of the boundary square corresponding to the second class point on the zero plane platform as a starting point, and determining the second class points as extraction points;
the support unit generation module is used for leading out the support unit downwards from each extraction point to be connected between the edge of the model bottom plane and the zero plane platform corresponding to the boundary projection intersection point on the model bottom plane;
and the three-dimensional data storage module is used for storing the whole three-dimensional data of the model and the supporting unit.
Further, the plane selecting and projecting module includes:
the triangular grid selection module is used for selecting a triangular grid on the bottom plane of the model;
The similar triangular mesh group acquisition module is used for acquiring triangular meshes which are the same as the normal vector of the selected triangular mesh and are continuously co-edge-shared as a similar triangular mesh group;
the first projection range acquisition module is used for acquiring a first vertical projection range of each triangular grid endpoint and line segment in the triangular grid-like group on the zero plane platform.
Further, the first class point determining module includes:
the second projection module is used for acquiring a second vertical projection range of the model on the zero-plane platform;
the second square grid acquisition module is used for acquiring all preset square grids with preset square grid center points in a second vertical projection range and determining the preset square grids as second square grids;
the projection reference intersection point determining module is used for forming projection reference intersection points by vertically projecting straight lines upwards from the center points of the second square grids and intersecting the bottoms of the models, and determining the projection reference intersection points as third collecting points;
the vertical reference plane determining module is used for determining N vertical reference planes through the second collecting point interception model;
the projection reference intersection point selection module is used for selecting all projection reference intersection points positioned on the same vertical reference plane from the third collection point to be determined as a fourth collection point;
And the comparison and determination module is used for comparing the fourth gathering point and the second gathering point which are positioned on the same vertical reference plane and determining the second gathering point which is positioned at the lowest point position on all the vertical reference planes as the first type point.
Further, the edge irregular support generating device further comprises:
the slice processing module is used for carrying out slice processing on the whole three-dimensional data and obtaining slice image data;
and the 3D printing device is used for importing the slice image data to the 3D printing device for 3D exposure printing.
A third aspect of an embodiment of the present application provides an electronic device, including:
at least one processor; and a memory unit communicatively coupled to the at least one processor;
the storage module stores instructions executable by the at least one processor, and the at least one processor implements any one of the steps of the edge alien support generating method when executing the instructions.
A fourth aspect of the embodiments of the present application provides a non-transitory computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of any one of the edge-alien-support generating methods described above.
A fifth aspect of an embodiment of the present application provides a computer program product comprising computer instructions which, when executed by a computer, implement the steps of any one of the edge support generation methods described above.
Compared with the prior art, the application has the beneficial effects that:
1. according to the edge different-distance support generation method provided by the embodiment of the application, the support units can be generated in batches aiming at the edge position of the bottom plane of the model, and compared with the mode that the support units are manually added to the bottom edge of the model, the method is faster and more convenient to use and higher in efficiency.
2. According to the edge irregular support generation method provided by the embodiment of the application, the support units can be generated in batches aiming at the edge positions of the bottom plane of the model, and on the basis, the whole support unit generation method is used for automatically adding a sparse number of support units to the non-edge positions of the bottom of the model, so that the whole support density of the model can be reduced, the demand on calculation force is reduced, and the workload of a support cutting link is reduced.
3. According to the edge irregular distance support generation method provided by the first aspect of the embodiment of the application, not only can the support be added to the edge of the bottom surface of the model with the flat bottom, but also the support can be added to the bottom surface of the model with the holes, and the method has strong adaptability.
4. According to the edge irregular distance support generation method provided by the first aspect of the embodiment of the application, the user can conveniently control the degree of the density of the support unit by adjusting the side length of the preset square and adjusting the linear interval distance of the extraction points, and the user can conveniently set the support unit for use.
5. According to the edge irregular distance support generation method provided by the embodiment of the application, the support units with high support density can be generated at the positions with the lowest points or the lowest edges at the bottom of the model, so that the printing strength of the edges can be enhanced to prevent edge warping, and the support units with relatively lower support density can be generated at the positions with the non-lowest points or the lowest edges at the bottom of the model, so that the total support quantity is reduced, and the workload of subsequent cutting of the support units is further reduced.
Drawings
FIG. 1 is a flow chart of a method for generating an edge alien support according to an embodiment of the present application;
FIG. 2 is a block diagram of an edge alien support generating apparatus according to an embodiment of the present application;
FIG. 3 is a flow chart of the model plane selection and projection steps according to an embodiment of the present application;
FIG. 4 is a block diagram of a model plane selection and projection module according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating a first class of point determination steps according to an embodiment of the present application;
FIG. 6 is a block diagram of a first class of point determination modules according to an embodiment of the present application;
FIGS. 7-12 are schematic diagrams of boundary projection intersection point acquisition processes according to embodiments of the present application;
FIGS. 13-18 are schematic diagrams illustrating the first and second type point separation and generation of the alien support unit according to the embodiments of the present application;
FIGS. 19-20 are examples of effects 1 of generating a non-uniform support cell from a model edge in accordance with an embodiment of the present application;
FIGS. 21-22 are examples of effects 2 of generating a standoff support unit from a model edge according to embodiments of the application;
FIG. 23 is a block diagram of an electronic device implementing a method for generating edge alien support according to an embodiment of the present application;
FIG. 24 is a schematic diagram of an electronic device pre-processing a slice of a model in accordance with an embodiment of the present application;
FIG. 25 is a block diagram of a 3D printing device implementing the method of edge support generation of the present application;
fig. 26 is a schematic diagram of the image data obtained by slicing after the implementation of the method of the present application being imported into a 3D printing apparatus.
Description of the reference numerals:
an electronic device 8; a computer program 80; a processor 81; a storage unit 82; a 3D printing device 9; a controller 91; a memory 92; a print control program 90; a mobile storage device 10;
a model 401; triangular mesh 402; zero plane platform 403; presetting a square 404; a first vertical projection range 405; a first range of squares 406; grid center point 407; a boundary square range 408; boundary projection intersection 409; a second vertical projection range 410; a second square range 411; projecting a reference intersection 412; extraction points 413 corresponding to the first type points; extraction points 414 corresponding to the second class of points; target boundary projection intersection 415; a vertical reference plane 420; a selected plane 421; an upper support column 422; a main support post 423; a bottom raft 424;
A model mesh traversal module 100; a model frame acquisition and alignment module 150; a model elevation module 200; a preset square dividing module 250; a plane selection and projection module 300; a first style acquisition module 350; a boundary square lattice acquisition module 400; a boundary projection intersection determination module 450; a first class point determination module 500; a second class point determination module 550; a first extraction point determination module 600; a second extraction point determination module 650; a support unit generation module 700; a three-dimensional data storage module 750; a second projection module 501; a second pane acquisition module 502; a projection reference intersection determination module 503; a vertical reference plane determination module 504; the projection reference intersection point selection module 505; a comparison determination module 506; the slice processing module 800.
Detailed Description
In order to make the objects, features and advantages of the present application more comprehensible, the technical solutions in the embodiments of the present application are described in detail below with reference to the accompanying drawings, and it is apparent that the embodiments described below are only some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It is also to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
Fig. 1 is a flowchart of a method for generating an edge alien support according to an embodiment of the present application. As shown in the figure, the method for generating the edge irregular support comprises the following basic steps:
s100, traversing and splicing all triangular grids forming a model;
s150, acquiring a minimum model frame of the model and aligning the bottom center point of the minimum model frame to the origin of the zero-plane platform;
s200, lifting the model by H millimeters;
s250, dividing preset square grids with side length of Y millimeters on a zero plane platform by taking an origin as the center;
s300, selecting a plane at the bottom of the model and acquiring a first vertical projection range of the plane on a zero-plane platform;
s350, acquiring all preset squares with center points of the preset squares in a first vertical projection range as first squares;
S400, acquiring boundary square grids according to all the first square grids and determining the central point of the boundary square grids as a first collecting point;
s450, intersecting a straight line projected vertically upwards from the first collecting point with a model bottom plane to form a boundary projection intersection point, and determining the boundary projection intersection point as a second collecting point;
s500, determining N vertical reference planes through a second collecting point interception model, and determining a second collecting point which is located at the lowest point on all the vertical reference planes as a first type point;
s550, determining all boundary projection intersection points remained after the first class points are screened in the second aggregation point as second class points;
s600, designating a first class point with a first class point corresponding to a boundary square central point on a zero plane platform as a starting point in a clock direction, sequentially extracting the first class points with the linear interval distance of L1+ [ delta ] X millimeters from each other, and determining the first class points as extraction points;
s650, designating a second class point in the clock direction, wherein the second class point is extracted from the center point of the boundary square grid on the zero plane platform by taking the second class point as a starting point, and the interval distance between every two straight lines is L2+ [ delta ] X millimeters, and determining the second class point as an extraction point;
s700, leading out the supporting units downwards from boundary projection intersection points corresponding to all the extraction points on the bottom plane of the model, and connecting the supporting units between the edge of the bottom plane of the model and a zero plane platform;
And S750, storing the whole three-dimensional data of the model and the supporting unit.
In addition, the method further comprises the following optional steps in addition to the steps:
s800, slicing the whole three-dimensional data and obtaining slice image data;
s850, importing the slice image data into 3D printing equipment to perform 3D exposure printing.
Specifically, H, Y, L, L2 are positive integers or decimal; the N is a positive integer; the ΔX is an error value less than L1 and L2.
Specifically, in step S600, the step of assigning a first type point in the clock direction, where the first type point corresponds to a central point of a boundary square on the zero plane platform, as a starting point, and sequentially extracting the first type point with a linear interval distance of l1+ +Δx millimeter, and determining the first type point as an extraction point includes:
sequentially extracting first class points with the linear interval distance of L1+ [ delta ] X millimeter from the first class points which are in the anticlockwise/clockwise direction and have the minimum/maximum X coordinate values and/or the minimum/maximum Y coordinate values and correspond to the central points of the boundary square on the zero plane platform as starting points in pairs, and determining the first class points as extraction points;
specifically, in step S650, the step of designating a second type point in the clock direction, where the second type point corresponds to the center point of the boundary square on the zero plane platform, as a start point, and the second type point is sequentially extracted from two to two, where the distance between the straight lines is l2+ +Δx millimeter, and the second type point is determined as an extraction point, and includes:
And sequentially extracting second class points with the linear interval distance of L2+ [ delta ] X millimeters from the second class points which are in the anticlockwise/clockwise direction and have the minimum/maximum X coordinate values and/or the minimum/maximum Y coordinate values and correspond to the central points of the boundary square on the zero plane platform as starting points in pairs, and determining the second class points as extraction points.
Fig. 2 is a block diagram of an edge alien support generating apparatus according to an embodiment of the present application. As shown in the drawings, the edge alien support generating apparatus of the present application includes:
the model grid traversing module 100 is used for traversing and splicing all triangular grids forming a model;
the model frame acquisition and alignment module 150 acquires a minimum model frame of the model and aligns the center point of the bottom of the minimum model frame to the origin of the zero-plane platform;
a model elevation module 200 for elevating the model by H millimeters;
the preset square dividing module 250 is used for dividing preset square with a side length of Y millimeters on the zero plane platform by taking an origin as a center;
the plane selecting and projecting module 300 is configured to select a plane at the bottom of the model and obtain a first vertical projection range of the plane on the zero-plane platform;
a first square obtaining module 350, configured to obtain, as first squares, all preset squares having a preset square center point within a first vertical projection range;
A border cell obtaining module 400, configured to obtain border cells according to all the first squares and determine a central point of the border cells as a first aggregation point;
the boundary projection intersection determination module 450 is configured to intersect the first collection point vertically upward projection line with the model bottom plane to form a boundary projection intersection, and determine the boundary projection intersection as a second collection point;
the first type point determining module 500 is configured to determine N vertical reference planes through a second collecting point interception model and determine a second collecting point that is located at a lowest point on all the vertical reference planes as a first type point;
a second class point determining module 550, configured to determine all boundary projection intersection points remaining after the first class points are screened in the second aggregation point as second class points;
the first extraction point determining module 600 is configured to designate a first type point in a clock direction, where the first type point corresponds to a central point of a boundary square on the zero plane platform, and the first type points are sequentially extracted from each other by a distance of l1+ [ delta ] X millimeters, and determine the first type point as an extraction point;
a second extraction point determining module 650, configured to designate a clock direction as a second type point, where the second type point corresponds to a central point of a boundary square on the zero plane platform, and the distance between two extracted straight lines is l2+ [ delta ] X millimeters in sequence, and determine the second type point as an extraction point;
The support unit generating module 700 is configured to draw the support unit downwards from the boundary projection intersection point corresponding to each extraction point on the bottom plane of the model, where the support unit is connected between the edge of the bottom plane of the model and the zero plane platform;
the three-dimensional data storage module 750 is used for storing the overall three-dimensional data of the model and the support unit.
In addition, the method further comprises the following optional modules:
the slice processing module 800 is configured to perform slice processing on the overall three-dimensional data and obtain slice image data;
and a 3D printing device 9 for importing the slice image data to the 3D printing device for 3D exposure printing.
Specifically, H, Y, L, L2 are positive integers or decimal; the N is a positive integer; the ΔX is an error value less than L1 and L2.
FIG. 3 is a flow chart of the model plane selection and projection steps according to an embodiment of the present application. As shown in the figure, step S300 in fig. 1, selecting a plane at the bottom of the model and obtaining a first vertical projection range of the plane on the zero-plane platform, includes the following steps:
s301, selecting a triangular mesh on the bottom plane of the model;
s302, acquiring triangular grids which are the same as the normal vector of the selected triangular grid and are continuously co-sided as a similar triangular grid group;
S303, acquiring a first vertical projection range of each triangular mesh endpoint and line segment in the triangular mesh group on the zero plane platform.
Fig. 4 is a block diagram of a model plane selection and projection module according to an embodiment of the present application. As shown, the model plane selection and projection module 300 in fig. 2 includes:
a triangular mesh selecting module 301, configured to select a triangular mesh on a bottom plane of the model;
a triangulated mesh group acquisition module 302, configured to acquire, as a triangulated mesh group, a triangulated mesh that is the same as a normal vector of the selected triangulated mesh and that is continuously co-sided;
the first projection range obtaining module 303 is configured to obtain a first vertical projection range of each triangular mesh endpoint and line segment in the triangular mesh-like group on the zero plane platform.
Fig. 5 is a flowchart illustrating a first type of point determining step according to an embodiment of the present application. As shown in the figure, in step S500 in fig. 1, determining N vertical reference planes through the second rendezvous point interception model and determining a second rendezvous point, which is located at the lowest point on all the vertical reference planes, as a first class point, includes the steps of:
s501, acquiring a second vertical projection range of the model on a zero-plane platform;
s502, acquiring all preset squares with center points of the preset squares in a second vertical projection range and determining the preset squares as second squares;
S503, vertically upwards projecting straight lines from the central points of the second square grids to intersect with the bottom of the model to form projection reference intersection points, and determining the projection reference intersection points as third collecting points;
s504, determining N vertical reference surfaces through the second collecting point interception model;
s505, all projection reference intersection points which are positioned on the same vertical reference plane are selected from the third collection point to be determined as a fourth collection point;
s506, comparing the fourth gathering point and the second gathering point which are positioned on the same vertical reference plane, and determining the second gathering point which is positioned at the lowest point position on all the vertical reference planes as a first type point.
Fig. 6 is a block diagram of a first type of point determining module according to an embodiment of the present application. As shown, the first type of point determination module 500 in fig. 2 includes:
a second projection module 501, configured to obtain a second vertical projection range of the model on the zero-plane platform;
the second square grid obtaining module 502 is configured to obtain all preset square grids with preset square grid center points in the second vertical projection range and determine the preset square grids as second square grids;
a projection reference intersection determining module 503, configured to intersect the vertical upward projection straight line from the center point of each second square with the bottom of the model to form a projection reference intersection, and determine the projection reference intersection as a third collecting point;
A vertical reference plane determining module 504, configured to determine N vertical reference planes through the second set point intercept model;
the projection reference intersection point selection module 505 is configured to select all projection reference intersection points located on the same vertical reference plane from the third collection points to determine a fourth collection point;
a comparison determination module 506 is configured to compare the fourth collection point and the second collection point located on the same vertical reference plane and determine the second collection point located at the lowest point position on all vertical reference planes as the first type point.
Fig. 7-12 are schematic diagrams of boundary projection intersection point acquisition processes according to embodiments of the present application. The process from step 250 to step S450 in the method shown in fig. 1 is specifically exemplified. As shown, fig. 7 illustrates a model 401, which is made up of a plurality of triangular meshes 402; also illustrated is a zero plane platform 403 divided by a plurality of preset squares 404 of side length Y mm; according to step 301 in fig. 3, a triangular mesh 402 is selected on the bottom plane of the model 401, specifically, for example, after selecting the point a, mesh information of a point-like filling schematic triangular mesh M1 where the point a is located is obtained, and a normal vector of the triangular mesh is n1; according to step 302 in fig. 3, triangular meshes which are identical to the normal vector of the selected triangular mesh and are continuously co-sided are acquired as a group of similar triangular meshes; because the other triangular grid M2 and the triangular grid M1 are positioned on the same plane, the normal vectors n1 and n2 are co-oriented, and the triangular grid M2 and the triangular grid M1 are co-edged, so after the point A is selected, all triangular grids with the same normal vector and continuous co-edges can be obtained to form a similar triangular grid group; according to step 303 in fig. 3, a first vertical projection range of each triangular mesh endpoint and line segment in the triangular mesh-like group on the zero plane platform is obtained; i.e. as shown, a first vertical projection range 405 of the triangular meshes M1 and M2 on the zero-plane platform 403 is obtained.
Fig. 8 illustrates step S350 in fig. 1, based on fig. 7, to obtain all preset squares having the preset square center point in the first vertical projection range as the first square; as shown, the outer boundary of the first vertical projection range 405 just passes through the grid center points 407 of the series of preset grids 404, that is, the grid center points 407 are on the boundary of the outer boundary of the first vertical projection range 405, so that the grid center points 407 are also in the first vertical projection range 405; the area of all preset squares 404 occupied by the first vertical projection range 405 is the first square range 406 to be acquired.
FIG. 9, after the first grid range 406 is obtained on the basis of FIG. 8, next needs to obtain a boundary grid range 408 according to each preset grid 404 in the first grid range 406; specifically, according to a freeman chain code algorithm in computer graphics, a plurality of boundary squares with closed paths under a grid pattern, namely the outermost square of a block plane pattern or the outermost or innermost square of a plane pattern with holes, can be obtained.
Fig. 10, on the basis of fig. 9, acquires the cell center points 407 of the respective boundary cells in the boundary cell range 408; step S400 in fig. 1 can thus be implemented, in which the boundary square is acquired according to all the first squares and the boundary square center point is determined as the first integration point.
FIGS. 11 and 12 collectively illustrate step S450 of FIG. 1, where a first set point vertically upward projected straight line intersects a model bottom plane to form a boundary projection intersection point and the boundary projection intersection point is determined as a second set point; to avoid too dense projected straight lines vertically upward in the figure from the grid center points 407 of the border grid, fig. 11 illustrates only small projected straight lines; likewise, FIG. 12 also illustrates that only a small projection line intersects the bottom plane of the model 401, thereby obtaining a plurality of boundary projection intersections 409.
Fig. 13-18 are schematic views of a first and second type point separation and generation process of the alien support unit according to an embodiment of the present application. As shown, fig. 13 also illustrates that a plurality of preset square grids 404 with a side length of Y mm are divided on the zero-plane platform 403; also illustrated is step S501 in fig. 5, where a second vertical projection range of the model on the zero-plane platform is acquired; from the vertical projection of each triangular mesh endpoint and line segment on the zero-plane platform 403 in all the triangular meshes that make up the model 401, a second vertical projection range 410 of the model 401 on the zero-plane platform 403 can be obtained.
Fig. 14 illustrates step S502 in fig. 5, based on fig. 13, where all preset squares having the center points of the preset squares in the second vertical projection range are acquired and determined as the second square; as shown, the outer boundary of the second vertical projection range 410 passes through the grid center points 407 of the series of preset grids 404, that is, the grid center points 407 are on the boundary of the outer boundary of the second vertical projection range 410, so that the grid center points 407 are also in the second vertical projection range 410; the area of the preset square 404 occupied by the second vertical projection range 410 is the second vertical projection range 410 to be acquired.
Fig. 15 illustrates step S503 in fig. 5 on the basis of fig. 14, where a projection reference intersection is formed by intersecting a vertically upward projection straight line from the center point of each second square with the bottom of the model, and the projection reference intersection is determined as a third aggregation point; as shown, each square center point 407 of all preset squares 404 occupied by the second vertical projection range 410 on the zero-plane platform 403 can vertically project straight lines upwards to intersect with the bottom of the model to form projection reference intersection points 412 uniformly distributed on the entire bottoms of the two bottom planes of the model 401 in the figure;
comparing the boundary projection intersection point 409 in fig. 12 with the projection reference intersection point 412 in fig. 15, it can be known that the projection reference intersection point 412 at the outermost circle on the plane of the mesh divided and displayed outwards at the bottom of the model 401 in fig. 15 is the boundary projection intersection point 409 in fig. 12;
FIG. 15 further illustrates step S504 of FIG. 5, based on FIG. 14, determining N vertical reference planes from the second set point intercept model; specifically, fig. 15 and 16 illustrate a case where N is 2, i.e., 2 perpendicular reference planes intersecting each other are taken, and an example is taken of a bolded boundary projection intersection 409, through which the intercept model 401 determines a perpendicular reference plane 420 perpendicular to the zero-plane platform 403; in particular, vertical reference plane 420 is shown as being parallel to the YZ plane, and thus can pass just beyond boundary projection intersection 409 and projection reference intersection 412 when model 401 is taken; thus, in connection with step S505 in fig. 5, all projection reference intersection points that are selected from the third collection points and located on the same vertical reference plane are determined as fourth collection points; the boundary projection intersection 409 and the projection reference intersection 412 located on the vertical reference plane 420 can be integrated into a comparison set, and the special schematic diagram in the right circle in fig. 15 can more clearly see that the boundary projection intersection 409 is located at the lowest point compared with other projection reference intersection 412, in particular, the point where the boundary projection intersection 409 is located is also one projection reference intersection 412, but does not affect the judgment that the point is the lowest point on the vertical reference plane 420.
Also, fig. 16 illustrates step S504 in fig. 5 on the basis of fig. 14, where N vertical reference planes are determined by the second set point intercept model; specifically, fig. 15 and 16 illustrate a case where N is 2, i.e., 2 perpendicular reference planes intersecting each other are taken, and the same thickened boundary projection intersection point 409 as in fig. 15 is taken as an example, and a perpendicular reference plane 420 perpendicular to the zero-plane platform 403 is determined by the intercept model 401; in particular, vertical reference plane 420 is shown as being parallel to the XZ plane, so that model 401 is taken just past boundary projection intersection 409 and projection reference intersection 412; thus, in connection with step S505 in fig. 5, all projection reference intersection points that are selected from the third collection points and located on the same vertical reference plane are determined as fourth collection points; the boundary projection intersection point 409 and the projection reference intersection point 412 located on the vertical reference plane 420 can be integrated into a comparison set, in particular, the point where the boundary projection intersection point 409 is located in the figure is also one projection reference intersection point 412, but the judgment that the point is the lowest point on the vertical reference plane 420 is not affected;
finally, in combination with the situation that the boundary projection intersection 409 is located at the lowest point on both vertical reference planes 420 in the YZ and XZ directions in fig. 15 and 16, according to step S506 in fig. 5, the fourth integration point and the second integration point located on the same vertical reference plane may be compared, and the second integration point located at the lowest point position on all the vertical reference planes may be determined as the first type point; the conclusion is drawn that the bolded boundary projection intersection 409 in both figures is a first type of point. Similarly, it can be appreciated that all projected reference intersection points 412 on the lowermost floating edge of the model 401 in fig. 16 are also first class points; correspondingly, in fig. 12, all the boundary projection intersections 409 on the lowermost suspended edge of the model 401 are the first type of points, and the boundary projection intersections 409 on the remaining three straight edge portions are the first type of points.
In particular, when the value of N is 4, the vertical reference plane that is equal-dividing and crossed in 4 m-shaped should be preferably selected, so that the vertical reference plane just passes through a series of projection reference intersection points 412 on the bottom plane of the model, and further, the Z-axis height values of the boundary projection intersection points 409 and the projection reference intersection points 412 are conveniently compared, so that it is convenient to determine whether the boundary projection intersection points 409 are located at the lowest point positions on all the vertical reference planes.
Fig. 17 illustrates the implementation procedure of step S506 and step S650 in fig. 1 on the basis of the above-described separation acquisition of the first class point and the second class point; in combination with step S506 and step S650 in fig. 1, a clock direction is designated, first class points with a distance between every two straight lines of l1+ [ delta ] X millimeters are sequentially extracted from a first class point corresponding to a central point of a boundary square on a zero plane platform as a starting point, and the first class points are determined as extraction points; designating a clock direction, sequentially extracting second class points with the linear interval distance of L2+ [ delta ] X millimeters from each second class point to each other by taking the central point of the boundary square corresponding to the zero plane platform as a starting point, and determining the second class points as extraction points; corresponding to fig. 12, since the first type points and the second type points are boundary projection intersection points 409 located on the model 401, it is inconvenient to set a separation distance on the inclined plane; therefore, after the central point of the boundary square corresponding to the first type point on the zero plane platform is obtained, the initial extraction point is selected to set the extraction interval; in the figure, the central point of the upper left corner square with the largest Y coordinate value and the smallest X coordinate value is selected as an initial extraction point, and the central points of the square are extracted in pairs in sequence according to the linear interval distance of L1+ [ delta ] X millimeter and the clockwise direction to form an extraction point 413 corresponding to the first type point; similarly, after the central point of the boundary square corresponding to the second class point on the zero plane platform is obtained, the initial extraction point is selected to set the extraction interval; in the figure, the central point of the second upper right boundary square with the maximum Y coordinate value and the maximum X coordinate value is selected as an initial extraction point, and the central points of the boundary square are extracted in pairs in sequence according to the linear interval distance of L2+ [ delta ] X mm and the clockwise direction to form an extraction point 414 corresponding to the second class point; specifically, when the extraction point 413 corresponding to the first type point is selected in the present diagram, the linear distance L1 is exactly twice the square edge length Y, so Δx is zero. Generally, L2 may be set to be twice as large as L1, so that the support units at the lowest overhanging edge of the selected plane on the model 401 are denser, and the support units of the remaining three overhanging edges are relatively sparse.
Fig. 18 illustrates the implementation procedure of step S700 in fig. 1 on the basis of the above-described acquisition of the extraction points 413 and 414 corresponding to the first and second types of points; the supporting units are led out downwards from the boundary projection intersection points corresponding to the extraction points on the bottom plane of the model by combining the steps in the figure 1 and are connected between the edge of the bottom plane of the model and the zero plane platform; generally, since the support unit of the model is added on the inclined plane, a bending support needs to be generated above the contact die surface, and therefore, the main support column needs to be offset relative to the contact point, the support unit cannot be directly generated upwards from a determined position on the zero-plane platform; therefore, in this figure, after the target boundary projection intersection point 415 corresponding to the model 401 is obtained by the extraction points 413 corresponding to the first type points and the extraction points 414 corresponding to the second type points, the support unit needs to be led out from the target boundary projection intersection point 415 downward to be connected between the edge of the bottom plane of the model and the zero plane platform.
Correspondingly, as can be seen from the above-described schematic processes of fig. 7 to 12 and fig. 13 to 18, the number and the density of the supporting units at the bottom edge of the model can be adjusted by adjusting the value of the side length Y of the preset square lattice and the values of the linear spacing distances L1 and L2; in particular, when L2 is set equal to L1, the support unit density of the selected planar edges on the model 401 can also be made relatively equidistant.
Fig. 19 to 20 are effects example 1 of the model edge generation of the off-pitch support unit according to the embodiment of the present application. As shown in the figure, the model 401 illustrated in fig. 19 is a block placed obliquely, and by adopting the method shown in fig. 1 of the present application, the uniformly dense upper support columns 422 can be generated on the lowest overhanging edge of one selected plane 421 at the bottom of the model 401, and the uniformly sparse upper support columns 422 can be generated on the rest of non-lowest overhanging edges on the selected plane 421.
Fig. 20 shows, on the basis of fig. 19, the complete off-spacing support units on the edge of the selected plane 421, the upper ends of the upper support columns 422 being connected to the bottom edge of the model, the lower ends of the upper support columns 422 being connected to the main support columns 423, the bottom of the main support columns 423 being connected to the bottom raft 424, the bottom raft 424 falling on a zero-plane platform, where the zero-plane platform is omitted.
Fig. 21 to 22 are effect examples 2 of the model edge generation of the off-pitch support unit according to the embodiment of the present application. As shown in the figure, the model 401 illustrated in fig. 21 is a pentagonal block placed obliquely, and by adopting the method shown in fig. 1 of the present application, even and dense upper support columns 422 can be generated on two lowest overhanging edges of a selected plane 421 at the bottom of the model 401, and even and sparse upper support columns 422 can be generated on other non-lowest overhanging edges on the selected plane 421.
Fig. 22 shows, on the basis of fig. 21, the complete off-spacing support units on the edge of the selected plane 421, the upper ends of the upper support columns 422 being connected to the bottom edge of the mould, the lower ends of the upper support columns 422 being connected to the main support columns 423, the bottom of the main support columns 423 being connected to the bottom raft 424, the bottom raft 424 falling on a zero-plane platform, where the zero-plane platform is omitted.
In particular, comparing the effect of edge support generation on the selected plane 421 at the bottom of the model 401 in fig. 22 and 20, it can be deduced that the edge alien support generation method of the present application has better applicability to different models.
Fig. 23 is a block diagram of an electronic device for implementing the method for generating an edge alien support according to an embodiment of the present application. As shown, the electronic device 8 is illustrated in this figure as having a processor 81. As shown, an electronic device 8 includes a processor 81 and a memory unit 82; the storage unit 82 stores therein a computer program 80 or instructions executable by the processor 81, the computer program 80 or instructions being executable by the processor 81 to enable the processor 81 to perform steps S100-S750 as in fig. 1, or to perform steps S100-S800 as in fig. 1, or to perform steps S301-S303 as in fig. 3, or to perform steps S501-S506 as in fig. 5.
The storage unit 82 is a third aspect of the present application, and a non-transitory computer readable storage medium is provided. The storage unit 82 stores instructions executable by the at least one processor 81, so that the at least one processor 81 implements steps S100-S750 in fig. 1, or implements steps S100-S800 in fig. 1, or implements steps S301-S303 in fig. 3, or implements steps S501-S506 in fig. 5 when executing.
The storage unit 82 is used as a non-transitory computer readable storage medium, and may be used to store a non-transitory software program, a non-transitory computer executable program, and a module, for example, to implement program instructions/modules corresponding to steps S100-S750 in fig. 1, or to implement program instructions/modules corresponding to steps S100-S800 in fig. 1, or to implement program instructions/modules corresponding to steps S301-S303 in fig. 3, or to implement program instructions/modules corresponding to steps S501-S506 in fig. 5 when executed. The processor 81 executes various functional applications of the server and data processing, i.e. implements the steps related to the computer and the processor in the embodiments corresponding to fig. 1, 3 and 5 described above, by running the non-transitory computer program 80, instructions and modules stored in the storage unit 82.
The storage unit 82 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created when the electronic device 8 uses the method, etc. In addition, the storage unit 82 may include a high-speed random access memory module, and may also include a non-transitory memory module, such as at least one disk memory module, flash memory device, or other non-transitory solid-state memory module. In some embodiments, the storage unit 82 may optionally include storage modules remotely located relative to the processor 81 that may be connected to the support structure-generated electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input unit, and at least one output device.
These computer programs 80 (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory modules, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed embodiments are achieved, and are not limited herein.
Fig. 24 is a schematic diagram of an electronic device preprocessing a slice of a model according to an embodiment of the present application. As shown in the figure, a user runs 3D slicing software through electronic equipment 8 to generate edge supports with different distances from the bottom edge of a model by using the edge different-distance support generation method provided by the first aspect of the embodiment of the application; and step S800, slicing the whole three-dimensional data and acquiring slice image data.
Fig. 25 is a block diagram of a 3D printing apparatus implementing the method of generating an edge alien support according to the present application. As shown, a 3D printing apparatus 9 includes a controller 91 and a memory 92; the memory 92 stores therein a print control program 90 or instructions executable by the controller 91, the print control program 90 or instructions being executed by the controller 91 to enable the controller 91 to perform step S850 as in fig. 1, thereby obtaining an overall print of the model for generating the heteroedge support.
Fig. 26 is a schematic diagram of the image data obtained by slicing after the implementation of the method of the present application being imported into a 3D printing apparatus. As shown in the figure, the user uses the mobile storage device 10 to import the whole slice image data and/or the printing parameters of the model for generating the anisotropic edge support, which are obtained by processing the electronic device 8, into the 3D printing device 9 for 3D exposure printing, so as to obtain the whole printed piece for generating the model for generating the anisotropic edge support.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (12)

1. The method for generating the edge irregular distance support is characterized by comprising the following steps of:
traversing and splicing all triangular grids forming a model;
acquiring a minimum model frame of the model and aligning the bottom center point of the minimum model frame to the origin of the zero-plane platform;
raising the model by H mm;
dividing preset square grids with side length of Y millimeters on a zero plane platform by taking an origin as a center;
selecting a plane at the bottom of the model and acquiring a first vertical projection range of the plane on a zero-plane platform;
acquiring all preset squares with preset square center points in a first vertical projection range as first squares;
obtaining boundary square grids according to all the first square grids and determining the central point of the boundary square grids as a first collecting point;
a first collecting point vertically upwards projects a straight line to intersect with a model bottom plane to form a boundary projection intersection point, and the boundary projection intersection point is determined to be a second collecting point;
Determining N vertical reference planes through a second collecting point intercepting model and determining a second collecting point which is positioned at the lowest point on all the vertical reference planes as a first type point;
determining all boundary projection intersection points remained after the first class points are screened in the second aggregation point as second class points;
designating a first class point in the clock direction, wherein the first class point is sequentially extracted from the central point of the boundary square on the zero plane platform by every two pairs by taking the first class point as a starting point, and the first class point is determined as an extraction point;
designating a clock direction, sequentially extracting second class points with the linear interval distance of L2+ [ delta ] X millimeters from each second class point to each other by taking the central point of the boundary square corresponding to the zero plane platform as a starting point, and determining the second class points as extraction points;
the supporting units are led out downwards from the boundary projection intersection points of the extraction points on the bottom plane of the model correspondingly and are connected between the edge of the bottom plane of the model and the zero plane platform;
and storing the whole three-dimensional data of the model and the supporting unit.
2. The method for generating the edge alien support according to claim 1, wherein selecting a plane at the bottom of the model and obtaining a first vertical projection range of the plane on a zero-plane platform includes:
Selecting a triangular grid on the bottom plane of the model;
acquiring triangular grids which are the same as the normal vector of the selected triangular grid and are continuously co-sided as a similar triangular grid group;
and acquiring a first vertical projection range of each triangular mesh endpoint and line segment in the triangular mesh group on the zero plane platform.
3. The method of generating an edge alien support according to claim 1, wherein determining N vertical reference planes through the second collection point intercept model and determining a second collection point that is located at a lowest point on all vertical reference planes as a first type point includes:
acquiring a second vertical projection range of the model on the zero-plane platform;
acquiring all preset squares with center points of the preset squares in a second vertical projection range and determining the preset squares as second squares;
a projection reference intersection point is formed by vertically projecting straight lines upwards from the central points of the second square grids and intersecting the bottom of the model, and the projection reference intersection point is determined to be a third collecting point;
determining N vertical reference planes through the second collecting point interception model;
all projection reference intersection points positioned on the same vertical reference plane are selected from the third collection point to be determined as a fourth collection point;
the fourth collection point and the second collection point located on the same vertical reference plane are compared and the second collection point located at the lowest point position on all the vertical reference planes is determined as the first type point.
4. The edge support generation method according to claim 1, further comprising:
slicing the whole three-dimensional data and obtaining slice image data;
the slice image data is imported to a 3D printing apparatus for 3D exposure printing.
5. The edge support generation method according to claim 1, wherein the H, Y, L, L2 are positive integers or decimal numbers; the N is a positive integer; the ΔX is an error value less than L1 and L2.
6. An edge alien support generating apparatus, comprising:
the model grid traversing module is used for traversing and splicing all triangular grids forming the model;
the model frame acquisition and alignment module acquires a minimum model frame of the model and aligns the bottom center point of the minimum model frame to the origin of the zero-plane platform;
the model lifting module is used for lifting the model by H millimeters;
the preset square dividing module is used for dividing preset square with the side length of Y millimeters on the zero plane platform by taking the origin as the center;
the plane selecting and projecting module is used for selecting a plane at the bottom of the model and acquiring a first vertical projection range of the plane on the zero-plane platform;
the first square grid acquisition module is used for acquiring all preset square grids with preset square grid center points in a first vertical projection range as first square grids;
The boundary square grid acquisition module is used for acquiring boundary square grids according to all the first square grids and determining the central point of the boundary square grids as a first collecting point;
the boundary projection intersection point determining module is used for forming a boundary projection intersection point by intersecting the first collecting point vertical upward projection straight line with the bottom plane of the model and determining the boundary projection intersection point as a second collecting point;
the first type point determining module is used for determining N vertical reference planes through a second collecting point interception model and determining a second collecting point which is located at the lowest point on all the vertical reference planes as a first type point;
the second class point determining module is used for determining all boundary projection intersection points remained after the first class points are screened in the second collecting point as second class points;
the first extraction point determining module is used for designating a first type point with the interval distance between every two extraction straight lines of L1+ [ delta ] X millimeters in a clock direction by taking the central point of a boundary square corresponding to a first type point on the zero plane platform as a starting point, and determining the first type point as an extraction point;
the second extraction point determining module is used for designating a clock direction, sequentially extracting second class points with the linear interval distance of L2+ [ delta ] X millimeters from the central point of the boundary square corresponding to the second class point on the zero plane platform as a starting point, and determining the second class points as extraction points;
The support unit generation module is used for leading out the support unit downwards from each extraction point to be connected between the edge of the model bottom plane and the zero plane platform corresponding to the boundary projection intersection point on the model bottom plane;
and the three-dimensional data storage module is used for storing the whole three-dimensional data of the model and the supporting unit.
7. The edge alien support generating apparatus according to claim 6, wherein the plane selection and projection module includes:
the triangular grid selection module is used for selecting a triangular grid on the bottom plane of the model;
the similar triangular mesh group acquisition module is used for acquiring triangular meshes which are the same as the normal vector of the selected triangular mesh and are continuously co-edge-shared as a similar triangular mesh group;
the first projection range acquisition module is used for acquiring a first vertical projection range of each triangular grid endpoint and line segment in the triangular grid-like group on the zero plane platform.
8. The edge alien support generating apparatus according to claim 6, wherein the first type of point determining module includes:
the second projection module is used for acquiring a second vertical projection range of the model on the zero-plane platform;
the second square grid acquisition module is used for acquiring all preset square grids with preset square grid center points in a second vertical projection range and determining the preset square grids as second square grids;
The projection reference intersection point determining module is used for forming projection reference intersection points by vertically projecting straight lines upwards from the center points of the second square grids and intersecting the bottoms of the models, and determining the projection reference intersection points as third collecting points;
the vertical reference plane determining module is used for determining N vertical reference planes through the second collecting point interception model;
the projection reference intersection point selection module is used for selecting all projection reference intersection points positioned on the same vertical reference plane from the third collection point to be determined as a fourth collection point;
and the comparison and determination module is used for comparing the fourth gathering point and the second gathering point which are positioned on the same vertical reference plane and determining the second gathering point which is positioned at the lowest point position on all the vertical reference planes as the first type point.
9. The edge alien support generating apparatus as claimed in claim 6, further comprising:
the slice processing module is used for carrying out slice processing on the whole three-dimensional data and obtaining slice image data;
and the 3D printing device is used for importing the slice image data to the 3D printing device for 3D exposure printing.
10. An electronic device, comprising:
at least one processor; and a memory unit communicatively coupled to the at least one processor;
Wherein the storage module stores instructions executable by the at least one processor, which when executed, implement the steps of the edge alien support generation method of any one of claims 1 to 5.
11. A non-transitory computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the edge alien support generation method of any of claims 1 to 5.
12. A computer program product comprising computer instructions which, when executed by a computer, implement the steps of the edge alien support generation method of any one of claims 1 to 5.
CN202310705812.5A 2023-06-14 2023-06-14 Edge irregular distance support generation method and device, electronic equipment and storage medium Pending CN116852716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310705812.5A CN116852716A (en) 2023-06-14 2023-06-14 Edge irregular distance support generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310705812.5A CN116852716A (en) 2023-06-14 2023-06-14 Edge irregular distance support generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116852716A true CN116852716A (en) 2023-10-10

Family

ID=88234900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310705812.5A Pending CN116852716A (en) 2023-06-14 2023-06-14 Edge irregular distance support generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116852716A (en)

Similar Documents

Publication Publication Date Title
CN106484692B (en) A kind of method for searching three-dimension model
CN112163251A (en) Building model unitization method and device, storage medium and electronic equipment
CN105205866A (en) Dense-point-cloud-based rapid construction method of urban three-dimensional model
CN105654552B (en) A kind of quick Delaunay network construction methods towards Arbitrary distribution large-scale point cloud data
CN105631939B (en) A kind of three-dimensional point cloud distortion correction method and its system based on curvature filtering
CN109035423B (en) Floor segmentation method and device of virtual three-dimensional model of house
CN111859488B (en) Support structure generation method and device, electronic equipment and storage medium
CN110675508A (en) BIM model geometric figure simplification method
CN104504387B (en) The bearing calibration of text image and device
KR20150093391A (en) Method for rendering terrain
CN111161394B (en) Method and device for placing three-dimensional building model
CN111445566A (en) Information processing method and device and computer readable storage medium
CN109345625A (en) Core image adaptive partition three-dimensional rebuilding method
CN111444573B (en) Ship symmetric segment model generation method and device, storage medium and terminal
CN109115773A (en) Tire information verification method, device and storage medium
CN111210520A (en) Reverse forming method and system for physical model
CN113420353B (en) Method and device for arranging reinforcing steel bars and electronic equipment
CN110378336A (en) Semantic class mask method, device and the storage medium of target object in training sample
CN116852716A (en) Edge irregular distance support generation method and device, electronic equipment and storage medium
CN116721228A (en) Building elevation extraction method and system based on low-density point cloud
CN106651993A (en) Method for filling non self-intersecting polygon in FPGA
CN107633555B (en) Curved surface set mutual cutting method and system based on space scanning
CN115302781A (en) Dental implant guide plate orientation method and device, electronic equipment and storage medium
CN108986212A (en) Three-dimensional virtual terrain L OD model generation method based on crack elimination
CN116811253A (en) Model edge support generation method and device, electronic equipment and storage medium

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