CN114953468B - Typesetting method for 3D printing model - Google Patents

Typesetting method for 3D printing model Download PDF

Info

Publication number
CN114953468B
CN114953468B CN202210643452.6A CN202210643452A CN114953468B CN 114953468 B CN114953468 B CN 114953468B CN 202210643452 A CN202210643452 A CN 202210643452A CN 114953468 B CN114953468 B CN 114953468B
Authority
CN
China
Prior art keywords
model
typesetting
projection
minimum
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210643452.6A
Other languages
Chinese (zh)
Other versions
CN114953468A (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 Chenglian Laser Technology Co Ltd
Original Assignee
Nanjing Chenglian Laser 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 Chenglian Laser Technology Co Ltd filed Critical Nanjing Chenglian Laser Technology Co Ltd
Priority to CN202210643452.6A priority Critical patent/CN114953468B/en
Publication of CN114953468A publication Critical patent/CN114953468A/en
Application granted granted Critical
Publication of CN114953468B publication Critical patent/CN114953468B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • B22CASTING; POWDER METALLURGY
    • B22FWORKING METALLIC POWDER; MANUFACTURE OF ARTICLES FROM METALLIC POWDER; MAKING METALLIC POWDER; APPARATUS OR DEVICES SPECIALLY ADAPTED FOR METALLIC POWDER
    • B22F10/00Additive manufacturing of workpieces or articles from metallic powder
    • B22F10/80Data acquisition or data processing
    • 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
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

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

Abstract

The invention discloses a method for typesetting a 3D printing model, which belongs to the technical field of electronics and comprises the steps of establishing a 3D model generation module, a restoration module, a typesetting module and a slicing and path planning module, finding out the minimum projection of the 3D model and the highest point of the corresponding model, typesetting on a substrate according to the minimum projection, deleting the model with higher height according to the highest point of the model, selecting the model with moderate height to put into an idle area to replace the deleted 3D model, solving the technical problems of designing and placing as many parts as possible on the limited space of the printing substrate.

Description

Typesetting method for 3D printing model
Technical Field
The invention belongs to the technical field of 3D printing, and particularly relates to a method for typesetting of a 3D printing model.
Background
When 3D printer equipment is used for printing 3D parts, human management and metal powder and other resources are required to be arranged and consumed every time the printer is started, and equipment depreciation is generated. In order to save printing cost, parts are designed and placed on a limited printing substrate space as much as possible when the parts are typeset every time, and the substrate utilization rate is improved.
During typesetting, the fact that the parts cannot collide in space position is considered, so that quality deformity and ineffectiveness of the printed parts are avoided. At the same time, the support on which the parts depend is reduced as much as possible, and the metal powder is saved.
Disclosure of Invention
The invention aims to provide a method for typesetting of a 3D printing model, which solves the technical problem of designing and placing as many parts as possible on a limited printing substrate space.
In order to achieve the above purpose, the invention adopts the following technical scheme:
a method for 3D printing model typesetting, comprising the steps of:
step 1: establishing a 3D model generation module, a restoration module, a typesetting module and a slicing and path planning module, and generating a 3D model of the part, a dimension parameter of the 3D model and a serial number of the part in the 3D model generation module;
step 2: the repairing module reads the 3D model and the size parameters thereof from the 3D model generating module through the Internet, and performs integrity repairing on the line surface of the 3D model;
step 3: rotating the 3D model according to a preset angle to obtain a plurality of projection patterns, simultaneously recording the height of the 3D model after each rotation, and screening out the minimum projection pattern as a default projection pattern S min The method comprises the steps of carrying out a first treatment on the surface of the Simultaneously, all projection graphs and relevant projection parameters are manufactured into a projection data file for output, wherein the projection data file contains the projection graph and the model height of the 3D model under each rotation angle;
step 4: when processing 3D models of a plurality of parts to be processed, the typesetting module reads projection data files of all the parts and serial numbers of the parts, and invokes a default projection graph S of the 3D model of each part min Performing first typesetting on a preset substrate;
step 5: after the first typesetting is completed, calculating a maximum allowable value D according to the height of the 3D model and the preset upper limit value of the tangent plane layer H Comparing the heights of all 3D models on the substrate, deleting the D model with the height higher than the maximum allowable value H The deleted parts are put into the next batch to wait for processing, and the deleted spare area is set as the spare area;
step 6: from the next batch of parts, additionally screening out a model height less than the maximum allowable value D according to the model height of the 3D model of each part H According to the projection graph of the 3D models, screening out the 3D models which can be put into the idle area as replacement and rearrangement; if the 3D model capable of being put into the idle area does not exist, reserving the idle area as a blank for typesetting;
step 7: the typesetting module stores typesetting results obtained by the methods from the step 4 to the step 6 to finish typesetting of parts in a batch;
step 8: the slicing and path planning module reads typesetting results of a batch of parts from the typesetting module through the Internet, all part models placed on the substrate are cut into a plurality of layers of thin slices from bottom to top according to the idea of calculus, and the thin slices are manufactured into processing data files to be output.
Preferably, when executing step 2, the repair module reads the 3D model and its size parameters from the 3D model generation module through the internet, and verifies the line-to-surface connection and the line-to-line connection of the 3D model in the repair module, and determines whether there is a breakage or disconnection: if yes, the 3D model is repaired, and if not, the 3D model is not repaired.
Preferably, when executing step 3, the method specifically comprises the following steps:
step 3-1: in a repair module, a model coordinate system XYZ is established, meanwhile, the center of a 3D model is taken as an origin, a relative coordinate system X ' Y ' Z ' is established, an X ' axis is parallel to the X axis, a Y ' axis is parallel to the Y axis, a Z ' axis is parallel to the Z axis, in the repair module, the 3D model rotates 360 degrees by taking the X ' axis as a central axis according to a preset angle, projection patterns of the 3D model on XY substrate planes of the corresponding model coordinate system in a plurality of angles are obtained, the threshold of the support quantity is taken as a condition, and the minimum projection pattern S of the corresponding support quantity within the threshold is screened out XY Simultaneously record the rotation angle theta of the 3D model at the moment x
Similarly, the minimum projection pattern S on the XZ substrate plane is obtained when the Z' axis is taken as the central axis to rotate XZ Simultaneously record the rotation angle theta of the 3D model at the moment z The method comprises the steps of carrying out a first treatment on the surface of the Acquiring a minimum projection pattern S on a YZ plane when rotating with a Y' axis as a central axis YZ Simultaneously record the rotation angle theta of the 3D model at the moment Y
Step 3-2: traversing the vertexes of the contour of the 3D model to find out the rotation angle theta of the 3D model x Corresponds to the highest point D on the Z axis Z Finding out the rotation angle theta of the 3D model in the same way z Corresponds to the highest point D on the Y-axis y Finding out the rotation angle theta of the 3D model Y Corresponds to the highest point D on the X-axis x
Step 3-3: respectively setting minimum projection patterns S according to preset line distances XY Minimum projection pattern S XZ And a minimum projection pattern S YZ Is compared with the minimum projection graph S XY Minimum projection pattern S XZ And a minimum projection pattern S YZ Acquiring the minimum value thereof as a default projection pattern S min, Setting the corresponding highest point as D;
will minimum projected pattern S XY Minimum projection pattern S XZ Minimum projection pattern S YZ Default projection pattern S min Highest point D Z Highest point D y Highest point D x Angle of rotation theta x Angle of rotation theta z And a rotation angle theta Y The projection parameters are stored as projection parameters of the 3D model and are made into projection data files.
Preferably, the projection data file further contains a minimum projection pattern S XY Minimum projection pattern S XZ Minimum projection pattern S YZ And the corresponding size data of the rectangular frame.
Preferably, in executing step 4, the parts adjacent to the serial number of the parts are discharged in the same area.
Preferably, when step 5 is executed, the method specifically includes the following steps:
step 5-1: obtaining the highest points D of all 3D models on the substrate, and carrying out minimum value screening on all the highest points D to obtain the minimum value D L
Step 5-2: setting an upper limit value of the tangent plane layer, calculating the upper limit value of the height of the tangent plane layer according to the height of each tangent plane layer, and obtaining a minimum value D L And the sum of the upper limit value of the height of the section layer to obtain a maximum allowable value D H
Step 5-3: will maximum allowable value D H On condition that all the highest points D are greater than the maximum allowable value D H Taking the vacant area as an idle area;
step 5-4: and placing the parts corresponding to the deleted 3D model into the next batch to be selected.
Preferably, when executing step 6, the method specifically comprises the following steps:
step 6-1: in the 3D model of the next batch of the workpiece, the highest point is smaller than the maximum allowable value D H If the condition is met, searching for an alternative 3D model, and if the condition is met, executing the step 6-2; if not, the idle area is vacated, and the step 6-5 is executed;
step 6-2: acquiring a default projection pattern S for a replacement 3D model min The corresponding rectangular frame judges whether the idle area can be placed according to the size of the rectangular frame: the method comprises the steps that the method can be put in, the model coordinate system XYZ is correspondingly rotated to adapt to the world coordinate system of the 3D printer, the minimum projection graph of the model coordinate system XYZ is projected on a substrate, and the steps 6-5 are executed; if the device cannot be put in, executing the step 6-3;
step 6-3: from highest point D one by one according to projection data file of 3D model for replacement Z Highest point D y And highest point D x One of them is selected and whether it is smaller than the maximum allowable value D H Is the value of (1): is, is less than the maximum allowable value D H The highest point of (2) is the highest point D k Executing the step 6-4; if not, judging whether all the highest points are judged: if yes, the idle area is vacated, and the step 6-5 is executed; if not, executing the step 6-3;
step 6-4: acquiring the highest point D k And judging whether the corresponding minimum projection graph can be put into an idle area according to the rectangular frame of the minimum projection graph: correspondingly rotating the model coordinate system XYZ to adapt to the world coordinate system of the 3D printer, so that the minimum projection graph is projected on the substrate, and executing the step 6-5; if not, executing the step 6-3;
step 6-5: finishing typesetting;
step 6-6: the typesetting module generates typesetting results of parts of each batch according to the methods from the step 6-1 to the step 6-5;
preferably, when executing step 8, the slicing and path planning module sequentially stores the size and shape data of each layer of sheet, and simultaneously stores the coordinate values, the graph topological relation and the laser power parameters of the graph data on the current layer according to the preset path planning on each layer of sheet, and makes the coordinate values, the graph topological relation and the laser power parameters into a processing data file for outputting.
The method for typesetting the 3D printing model solves the technical problem of designing and placing as many parts as possible on the limited space of the printing substrate, optimally typesets the parts according to the projection of the parts and the area of the substrate, can discharge the parts as many as possible, generates a plurality of projections on the same part, can select proper projections for arrangement during typesetting, increases the flexibility of typesetting, and simultaneously more reasonably applies the space of the substrate.
Drawings
FIG. 1 is a main flow chart of the present invention;
FIG. 2 is a flow chart of step 3 of the present invention;
FIG. 3 is a flow chart of step 5 of the present invention;
FIG. 4 is a flow chart of step 6 of the present invention;
FIG. 5 is a schematic diagram of the 3D model of the present invention when projected S1 on the YZ plane of the model coordinate system;
FIG. 6 is a schematic diagram of the 3D model of the present invention when the model is rotated about the Y' axis and then projected S2 on the YZ plane of the model coordinate system;
in the figure: cube 1.
Detailed Description
The following describes the detailed implementation of the embodiments of the present invention with reference to the drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the invention, are not intended to limit the invention.
A method for 3D printing model typesetting as shown in fig. 1-6, comprising the steps of:
step 1: establishing a 3D model generation module, a restoration module, a typesetting module and a slicing and path planning module, and generating a 3D model of the part, a dimension parameter of the 3D model and a serial number of the part in the 3D model generation module;
in this embodiment, the 3D model generating module, the repairing module, the typesetting module, and the slicing and path planning module are respectively disposed in different servers, and each server communicates with each other through the internet.
In this embodiment, the 3D model generation module is to design 3D part models, and these part models are to conform to the actual shape and size of the part. The output file support data formats of the 3D model generation module include STL, OBJ, AMF and 3MF, etc.
Step 2: the repairing module reads the 3D model and the size parameters thereof from the 3D model generating module through the Internet, and performs integrity repairing on the line surface of the 3D model;
the repair module reads the 3D model and the size parameters thereof from the 3D model generation module through the Internet, and the line-to-surface connection and the line-to-line connection of the 3D model are checked in the repair module to judge whether the 3D model is broken or broken: if yes, the 3D model is repaired, and if not, the 3D model is not repaired.
After the 3D part model is designed, if 3D printing is to be performed, the 3D part model also needs to be checked and repaired to ensure that the 3D part model can be successfully printed by a 3D printer.
Checking whether the 3D part model meets the requirements, i.e. checking whether the 3D model has a break in the line-to-line connection, whether the line-to-line connection has a break, i.e. the model has holes, or at least has a problem with the surface, and cannot be printed.
In this embodiment, the repair of the damaged part model may be performed by a normal vector repair method in the prior art.
Intelligent parametric modeling techniques of the prior art may be employed in creating and editing the part model. The intelligent parameter modeling technology abstracts and refines all factors influencing the shape, offset, rotation, internal angle, external angle, surface convex-concave degree and the like of the part model into parameters, so that a user can set parameter values to quickly and easily create and edit the 3D model. The speed and simplicity of direct modeling, and the flexibility and controllability of parameterized design are perfectly fused.
Step 3: rotating the 3D model according to a preset angle to obtainA plurality of projection patterns, simultaneously recording the height of the 3D model after each rotation, and screening out the minimum projection pattern as a default projection pattern S min The method comprises the steps of carrying out a first treatment on the surface of the Simultaneously, all projection graphs and relevant projection parameters are manufactured into a projection data file for output, wherein the projection data file contains the projection graph and the model height of the 3D model under each rotation angle;
the method specifically comprises the following steps:
step 3-1: in the repairing module, a model coordinate system XYZ is established, meanwhile, the center of the 3D model is taken as an origin, a relative coordinate system X 'Y' Z 'is established, an X' axis is parallel to the X axis, a Y 'axis is parallel to the Y axis, a Z' axis is parallel to the Z axis, in the repairing module, the 3D model rotates 360 degrees by taking the X 'axis as a central axis according to a preset angle (such as 20 degrees of rotation every time), a projection graph of the 3D model on an XY substrate plane of the corresponding model coordinate system is obtained when a plurality of angles are obtained, and the X' axis is taken as the central axis to rotate, so that the XY of the model coordinate system is taken as the substrate plane and projection is made, and therefore, the minimum projection of the 3D model can be found; through 20-degree selection each time, 18 projections of the 3D model on the XY substrate plane, namely 18 rotation conditions, can be obtained;
in this embodiment, a maximum value of the number of supports, that is, a threshold value of the number of supports is preset, and the minimum projection pattern S corresponding to the number of supports within the threshold value is screened out based on the threshold value of the number of supports XY Simultaneously record the rotation angle theta of the 3D model at the moment x
In this embodiment, when 18 rotation conditions are simulated in advance, the number of supports required for each rotation condition is corresponding to the number of supports, and then rotation conditions greater than the threshold of the number of supports are screened out according to the threshold of the number of supports; comparing the remaining selection cases, and determining the selection angle of the selection case as θ x The projection is noted as the minimum projection pattern S XY
Similarly, the minimum projection pattern S on the XZ substrate plane is obtained when the Z' axis is taken as the central axis to rotate XZ Simultaneously recording the rotation angle of the 3D model at the momentθ z The method comprises the steps of carrying out a first treatment on the surface of the Acquiring a minimum projection pattern S on a YZ plane when rotating with a Y' axis as a central axis YZ Simultaneously record the rotation angle theta of the 3D model at the moment Y
As shown in fig. 5 to 6, in the present figure, a 3D model of a part is illustrated by a cube 1, the relative coordinate system of the 3D model is X 'Y' Z ', the model coordinate system is XYZ, firstly, a projection pattern S1 on the YZ plane when the 3D model is put forward is obtained, then the 3D model rotates about the Y' axis as a central axis, and the rotation angle is recorded as θ Y After rotating in place, recording the projection graph S2 of the 3D model on the YZ plane at one time, and comparing to find that the area of S1 is smaller than the area of S2, taking S1 as the minimum projection graph S YZ
Step 3-2: traversing the vertexes of the contour of the 3D model to find out the rotation angle theta of the 3D model x Corresponds to the highest point D on the Z axis Z Finding out the rotation angle theta of the 3D model in the same way z Corresponds to the highest point D on the Y-axis y Finding out the rotation angle theta of the 3D model Y Corresponds to the highest point D on the X-axis x
Step 3-3: respectively setting minimum projection patterns S according to preset line distances XY Minimum projection pattern S XZ And a minimum projection pattern S YZ Is compared with the minimum projection graph S XY Minimum projection pattern S XZ And a minimum projection pattern S YZ Acquiring the minimum value thereof as a default projection pattern S min, Setting the corresponding highest point as D;
will minimum projected pattern S XY Minimum projection pattern S XZ Minimum projection pattern S YZ Default projection pattern S min Highest point D Z Highest point D y Highest point D x Angle of rotation theta x Angle of rotation theta z And a rotation angle theta Y The projection parameters are stored as projection parameters of the 3D model and are made into projection data files.
The projection data file also contains a minimum projection pattern S XY Minimum projection pattern S XZ Minimum projection pattern S YZ Corresponding rectangular frameSize data.
Step 4: when processing 3D models of a plurality of parts to be processed, the typesetting module reads projection data files of all the parts and serial numbers of the parts, and invokes a default projection graph S of the 3D model of each part min Performing first typesetting on a preset substrate;
in this embodiment, the parts of the same customer are edited into serial numbers adjacent in sequence, and the parts adjacent in serial numbers of the parts are arranged in the same area during actual production, i.e. the parts of the same customer are ensured to be in one area.
Step 5: after the first typesetting is completed, calculating a maximum allowable value D according to the height of the 3D model and the preset upper limit value of the tangent plane layer H Comparing the heights of all 3D models on the substrate, deleting the D model with the height higher than the maximum allowable value H The deleted parts are put into the next batch to wait for processing, and the deleted spare area is set as the spare area;
the method specifically comprises the following steps:
step 5-1: obtaining the highest points D of all 3D models on the substrate, and carrying out minimum value screening on all the highest points D to obtain the minimum value D L
Step 5-2: setting an upper limit value of the tangent plane layer, calculating the upper limit value of the height of the tangent plane layer according to the height of each tangent plane layer, and obtaining a minimum value D L And the sum of the upper limit value of the height of the section layer to obtain a maximum allowable value D H
Step 5-3: will maximum allowable value D H On condition that all the highest points D are greater than the maximum allowable value D H Taking the vacant area as an idle area;
step 5-4: and placing the parts corresponding to the deleted 3D model into the next batch to be selected.
Step 6: from the next batch of parts, additionally screening out a model height less than the maximum allowable value D according to the model height of the 3D model of each part H Screening out 3D models capable of being placed in idle areas according to projection patterns of the 3D modelsAs an alternative and re-typeset; if the 3D model capable of being put into the idle area does not exist, reserving the idle area as a blank for typesetting;
the method specifically comprises the following steps:
step 6-1: in the 3D model of the next batch of the workpiece, the highest point is smaller than the maximum allowable value D H If the condition is met, searching for an alternative 3D model, and if the condition is met, executing the step 6-2; if not, the idle area is vacated, and the step 6-5 is executed;
step 6-2: acquiring a default projection pattern S for a replacement 3D model min The corresponding rectangular frame judges whether the idle area can be placed according to the size of the rectangular frame: the method comprises the steps that the method can be put in, the model coordinate system XYZ is correspondingly rotated to adapt to the world coordinate system of the 3D printer, the minimum projection graph of the model coordinate system XYZ is projected on a substrate, and the steps 6-5 are executed; if the device cannot be put in, executing the step 6-3;
step 6-3: from highest point D one by one according to projection data file of 3D model for replacement Z Highest point D y And highest point D x One of them is selected and whether it is smaller than the maximum allowable value D H Is the value of (1): is, is less than the maximum allowable value D H The highest point of (2) is the highest point D k Executing the step 6-4; if not, judging whether all the highest points are judged: if yes, the idle area is vacated, and the step 6-5 is executed; if not, executing the step 6-3;
step 6-4: acquiring the highest point D k And judging whether the corresponding minimum projection graph can be put into an idle area according to the rectangular frame of the minimum projection graph: correspondingly rotating the model coordinate system XYZ to adapt to the world coordinate system of the 3D printer, so that the minimum projection graph is projected on the substrate, and executing the step 6-5; if not, executing the step 6-3;
step 6-5: finishing typesetting;
step 6-6: the typesetting module generates typesetting results of the parts of each batch according to the methods from the step 6-1 to the step 6-5.
In the present embodiment, by reading the highest point D of the 3D model Z Highest point D y Most preferably, theHigh point D x One by one with the maximum allowable value D H Comparing, and screening out the value less than the maximum allowable value D H For example, if a certain 3D model has the highest point D Z And highest point D y Are all smaller than the maximum allowable value D H The 3D model is classified as a 3D model conforming to the height condition, and then the highest point D is read Z And highest point D y Respectively corresponding minimum projection graph S XY And a minimum projection pattern S XZ Comparing the shape and area of the free area to see if the minimum projected pattern S can be obtained XY Or minimum projection pattern S XZ Placing the free areas, and if the free areas can be placed, arbitrarily selecting one for typesetting; if the model can not be put in, discarding the 3D model, and judging the next 3D model; if one of them can be put in, e.g. the minimum projected pattern S XY The minimum projection pattern S XY Typesetting on the substrate and correspondingly according to the rotation angle theta x Placing the 3D model into a processing area, selecting the 3D model to correspond to a model coordinate system during processing,
e.g. selecting the smallest projection pattern S YZ When typesetting is carried out, the rotation is carried out according to the Y ' axis, the projection is carried out on the YZ plane, when the printer enters the 3D printer for printing, the world coordinate system of the 3D printer is set as X ' Y ' Z ', the X axis of the model coordinate system is required to be converted into the Z ' axis of the world coordinate system, and the projection originally on the YZ plane is projected on the X ' Y ' plane of the world coordinate system.
Step 7: the typesetting module stores typesetting results obtained by the methods from the step 4 to the step 6 to finish typesetting of parts in a batch;
step 8: the slicing and path planning module reads typesetting results of a batch of parts from the typesetting module through the Internet, all part models placed on the substrate are cut into a plurality of layers of thin slices from bottom to top according to the idea of calculus, and the thin slices are manufactured into processing data files to be output.
The slicing and path planning module sequentially stores the size and shape data of each layer of thin sheet, simultaneously stores the coordinate value, the graph topological relation and the laser power parameter of the graph data on the current layer according to the preset path planning on each layer of thin sheet, and makes the coordinate value, the graph topological relation and the laser power parameter into a processing data file for outputting.
The method for typesetting the 3D printing model solves the technical problem of designing and placing as many parts as possible on the limited space of the printing substrate, optimally typesets the parts according to the projection of the parts and the area of the substrate, can discharge the parts as many as possible, generates a plurality of projections on the same part, can select proper projections for arrangement during typesetting, increases the flexibility of typesetting, and simultaneously more reasonably applies the space of the substrate.
Another aspect of an embodiment of the present invention provides a machine-readable storage medium having stored thereon instructions (e.g., software program instructions, etc.) for causing a machine to perform a method for 3D printing model layout as described above. In addition, another aspect of the embodiment of the present invention provides a 3D printer, where the 3D printer is configured to perform a method for typesetting a 3D printing model according to the present application.
For more specific details and effects on the 3D printer and the machine-readable storage medium according to the embodiments of the present invention, reference may be made to the above description on the method embodiments, which are not repeated here.
The foregoing details of the optional implementation of the embodiment of the present invention have been described in detail with reference to the accompanying drawings, but the embodiment of the present invention is not limited to the specific details of the foregoing implementation, and various simple modifications may be made to the technical solution of the embodiment of the present invention within the scope of the technical concept of the embodiment of the present invention, and these simple modifications all fall within the protection scope of the embodiment of the present invention.
In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, various possible combinations of embodiments of the present invention are not described in detail.
Those skilled in the art will appreciate that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, including instructions for causing a single-chip microcomputer, chip or processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In addition, any combination of various embodiments of the present invention may be performed, so long as the concept of the embodiments of the present invention is not violated, and the disclosure of the embodiments of the present invention should also be considered.

Claims (8)

1. A method for 3D printing model typesetting, characterized by: the method comprises the following steps:
step 1: establishing a 3D model generation module, a restoration module, a typesetting module and a slicing and path planning module, and generating a 3D model of the part, a dimension parameter of the 3D model and a serial number of the part in the 3D model generation module;
step 2: the repairing module reads the 3D model and the size parameters thereof from the 3D model generating module through the Internet, and performs integrity repairing on the line surface of the 3D model;
step 3: rotating the 3D model according to a preset angle to obtain a plurality of projection patterns, simultaneously recording the height of the 3D model after each rotation, and screening out the minimum projection pattern as a default projection pattern S min The method comprises the steps of carrying out a first treatment on the surface of the Simultaneously, all projection graphs and relevant projection parameters are manufactured into a projection data file for output, wherein the projection data file contains the projection graph and the model height of the 3D model under each rotation angle;
step 4: when processing 3D models of a plurality of parts to be processed, the typesetting module reads projection data files of all the parts and serial numbers of the parts, and invokes a default projection graph S of the 3D model of each part min Performing first typesetting on a preset substrate;
step 5: after the first typesetting is completed, calculating a maximum allowable value D according to the height of the 3D model and the preset upper limit value of the tangent plane layer H Comparing the heights of all 3D models on the substrate, deleting the D model with the height higher than the maximum allowable value H The deleted parts are put into the next batch to wait for processing, and the deleted spare area is set as the spare area;
step 6: from the next batch of parts, additionally screening out a model height less than the maximum allowable value D according to the model height of the 3D model of each part H According to the projection graph of the 3D models, screening out the 3D models which can be put into the idle area as replacement and rearrangement; if the 3D model capable of being put into the idle area does not exist, reserving the idle area as a blank for typesetting;
step 7: the typesetting module stores typesetting results obtained by the methods from the step 4 to the step 6 to finish typesetting of parts in a batch;
step 8: the slicing and path planning module reads typesetting results of a batch of parts from the typesetting module through the Internet, all part models placed on the substrate are cut into a plurality of layers of thin slices from bottom to top according to the idea of calculus, and the thin slices are manufactured into processing data files to be output.
2. A method for 3D printing model typesetting as defined in claim 1, wherein: when the step 2 is executed, the repair module reads the 3D model and the dimension parameters thereof from the 3D model generation module through the Internet, and the line-to-surface connection and the line-to-line connection of the 3D model are checked in the repair module to judge whether the damage or the broken line exists or not: if yes, the 3D model is repaired, and if not, the 3D model is not repaired.
3. A method for 3D printing model typesetting as defined in claim 1, wherein: when executing the step 3, the method specifically comprises the following steps:
step 3-1: in the repairing module, a model coordinate system XYZ is established, and the center of the 3D model is taken as an originEstablishing a relative coordinate system X ' Y ' Z ', wherein the X ' axis is parallel to the X axis, the Y ' axis is parallel to the Y axis, the Z ' axis is parallel to the Z axis, rotating the 3D model in a repair module by 360 degrees by taking the X ' axis as a central axis according to a preset angle, acquiring projection patterns of the 3D model on an XY substrate plane of a corresponding model coordinate system when a plurality of angles are obtained, and screening out a minimum projection pattern S of the corresponding support quantity within a threshold value on the condition of the threshold value of the support quantity XY Simultaneously record the rotation angle theta of the 3D model at the moment x
Similarly, the minimum projection pattern S on the XZ substrate plane is obtained when the Z' axis is taken as the central axis to rotate XZ Simultaneously record the rotation angle theta of the 3D model at the moment z The method comprises the steps of carrying out a first treatment on the surface of the Acquiring a minimum projection pattern S on a YZ plane when rotating with a Y' axis as a central axis YZ Simultaneously record the rotation angle theta of the 3D model at the moment Y
Step 3-2: traversing the vertexes of the contour of the 3D model to find out the rotation angle theta of the 3D model x Corresponds to the highest point D on the Z axis Z Finding out the rotation angle theta of the 3D model in the same way z Corresponds to the highest point D on the Y-axis y Finding out the rotation angle theta of the 3D model Y Corresponds to the highest point D on the X-axis x
Step 3-3: respectively setting minimum projection patterns S according to preset line distances XY Minimum projection pattern S XZ And a minimum projection pattern S YZ Is compared with the minimum projection graph S XY Minimum projection pattern S XZ And a minimum projection pattern S YZ Acquiring the minimum value thereof as a default projection pattern S min
Will minimum projected pattern S XY Minimum projection pattern S XZ Minimum projection pattern S YZ Default projection pattern S min Highest point D Z Highest point D y Highest point D x Angle of rotation theta x Angle of rotation theta z And a rotation angle theta Y The projection parameters are stored as projection parameters of the 3D model and are made into projection data files.
4. Such as weightA method for 3D printing model typesetting as defined in claim 3, wherein: the projection data file also contains a minimum projection pattern S XY Minimum projection pattern S XZ Minimum projection pattern S YZ And the corresponding size data of the rectangular frame.
5. A method for 3D printing model typesetting as defined in claim 1, wherein: and (4) when the step (4) is executed, the parts adjacent to the serial numbers of the parts are discharged in the same area.
6. A method for 3D printing model typesetting as defined in claim 3, wherein: when executing the step 5, the method specifically comprises the following steps:
step 5-1: obtaining the highest points D of all 3D models on the substrate, and carrying out minimum value screening on all the highest points D to obtain the minimum value D L
Step 5-2: setting an upper limit value of the tangent plane layer, calculating the upper limit value of the height of the tangent plane layer according to the height of each tangent plane layer, and obtaining a minimum value D L And the sum of the upper limit value of the height of the section layer to obtain a maximum allowable value D H
Step 5-3: will maximum allowable value D H On condition that all the highest points D are greater than the maximum allowable value D H Taking the vacant area as an idle area;
step 5-4: and placing the parts corresponding to the deleted 3D model into the next batch to be selected.
7. A method for 3D printing model typesetting as defined in claim 5, wherein: when executing the step 6, the method specifically comprises the following steps:
step 6-1: in the 3D model of the next batch of the workpiece, the highest point is smaller than the maximum allowable value D H If the condition is met, searching for an alternative 3D model, and if the condition is met, executing the step 6-2; if not, the idle area is vacated, and the step 6-5 is executed;
step 6-2: obtaining the obtainedTaking a default projection pattern S for a replacement 3D model min The corresponding rectangular frame judges whether the idle area can be placed according to the size of the rectangular frame: the method comprises the steps that the method can be put in, the model coordinate system XYZ is correspondingly rotated to adapt to the world coordinate system of the 3D printer, the minimum projection graph of the model coordinate system XYZ is projected on a substrate, and the steps 6-5 are executed; if the device cannot be put in, executing the step 6-3;
step 6-3: from highest point D one by one according to projection data file of 3D model for replacement Z Highest point D y And highest point D x One of them is selected and whether it is smaller than the maximum allowable value D H Is the value of (1): is, is less than the maximum allowable value D H The highest point of (2) is the highest point D k Executing the step 6-4; if not, judging whether all the highest points are judged: if yes, the idle area is vacated, and the step 6-5 is executed; if not, executing the step 6-3;
step 6-4: acquiring the highest point D k And judging whether the corresponding minimum projection graph can be put into an idle area according to the rectangular frame of the minimum projection graph: correspondingly rotating the model coordinate system XYZ to adapt to the world coordinate system of the 3D printer, so that the minimum projection graph is projected on the substrate, and executing the step 6-5; if not, executing the step 6-3;
step 6-5: finishing typesetting;
step 6-6: the typesetting module generates typesetting results of the parts of each batch according to the methods from the step 6-1 to the step 6-5.
8. A method for 3D printing model typesetting as defined in claim 1, wherein: and 8, when the step is executed, the slicing and path planning module sequentially stores the size and shape data of each layer of thin sheet, simultaneously stores the coordinate value, the graph topological relation and the laser power parameter of the graph data on the current layer according to the preset path planning on each layer of thin sheet, and makes the coordinate value, the graph topological relation and the laser power parameter into a processing data file for outputting.
CN202210643452.6A 2022-06-08 2022-06-08 Typesetting method for 3D printing model Active CN114953468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210643452.6A CN114953468B (en) 2022-06-08 2022-06-08 Typesetting method for 3D printing model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210643452.6A CN114953468B (en) 2022-06-08 2022-06-08 Typesetting method for 3D printing model

Publications (2)

Publication Number Publication Date
CN114953468A CN114953468A (en) 2022-08-30
CN114953468B true CN114953468B (en) 2023-06-16

Family

ID=82962125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210643452.6A Active CN114953468B (en) 2022-06-08 2022-06-08 Typesetting method for 3D printing model

Country Status (1)

Country Link
CN (1) CN114953468B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156406A (en) * 2016-06-23 2016-11-23 佛山市晗宇科技有限公司 A kind of method and system for 3D printer model Automatic Typesetting
CN108859110A (en) * 2018-08-08 2018-11-23 广东汉邦激光科技有限公司 The arrangement method of 3 d part model
CN112873855A (en) * 2021-04-13 2021-06-01 河北工业大学 STL model center layout method in 3DP process

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112396691B (en) * 2020-11-23 2023-10-17 北京百度网讯科技有限公司 Three-dimensional model processing method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156406A (en) * 2016-06-23 2016-11-23 佛山市晗宇科技有限公司 A kind of method and system for 3D printer model Automatic Typesetting
CN108859110A (en) * 2018-08-08 2018-11-23 广东汉邦激光科技有限公司 The arrangement method of 3 d part model
CN112873855A (en) * 2021-04-13 2021-06-01 河北工业大学 STL model center layout method in 3DP process

Also Published As

Publication number Publication date
CN114953468A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
US6826738B2 (en) Optimization of die placement on wafers
Choi et al. A tolerant slicing algorithm for layered manufacturing
CN1444268A (en) Method for defining processing parameter and defining processing parameter and design rule for at least one side
CN112191850B (en) Step-by-step additive manufacturing method, equipment and system
CN114953468B (en) Typesetting method for 3D printing model
EP3462345A1 (en) Method and apparatus for adjusting product model, and storage medium
King et al. An efficient triangle mesh slicing algorithm for all topologies in additive manufacturing
JP3913352B2 (en) Method of determining the machining process
US6058259A (en) Method and apparatus for automatically generating solid model and computer readable storage medium
CN1681085A (en) Electron beam drawing system, method and program, and method for manufacture of semiconductors by drawing directly
CN116352111A (en) Scanning method for multi-laser selective melting forming part
US7103516B2 (en) Apparatus and method for optimizing three-dimensional model
CN1599907A (en) Method for converting 3-dimensional shape data into cell inner data and conversion program
CN116050340B (en) Automatic layout method and device for pins in layout design and related products
JP6414714B2 (en) An improved computer-implemented method for defining the development point of a support element of an object made by a stereolithography process
US7370303B2 (en) Method for determining the arrangement of contact areas on the active top side of a semiconductor chip
US20210082175A1 (en) Three-dimensional shape data generation apparatus, three-dimensional modeling apparatus, three-dimensional shape data generation system, and non-transitory computer readable medium storing three-dimensional shape data generation program
CN114951697B (en) 3D printing scanning method based on SLM technology
JP4405671B2 (en) Determination of resin hardened area in optical stereolithography
JP7124259B2 (en) IT for decision-making work that reflects all of the multiple decision-making materials and requirements
JP4274503B2 (en) Numerical control data creation device and numerical control data creation method
JP4316751B2 (en) Automatic planing method and apparatus, and computer-readable recording medium recording a program for executing automatic planing
CN116889478A (en) Manufacturing method and manufacturing system for dental objects
CN118595461A (en) Multi-laser following processing path planning method, device, equipment and medium
CN117818052A (en) Iterative search-based planning method for mixed machining sequence of increasing and decreasing materials

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