CN114953468A - Method for typesetting 3D printing model - Google Patents

Method for typesetting 3D printing model Download PDF

Info

Publication number
CN114953468A
CN114953468A CN202210643452.6A CN202210643452A CN114953468A CN 114953468 A CN114953468 A CN 114953468A CN 202210643452 A CN202210643452 A CN 202210643452A CN 114953468 A CN114953468 A CN 114953468A
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.)
Granted
Application number
CN202210643452.6A
Other languages
Chinese (zh)
Other versions
CN114953468B (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 repair module, a typesetting module and a slicing and path planning module, finding out the minimum projection of the 3D model and the corresponding model highest point, typesetting on a substrate according to the minimum projection, deleting a higher model according to the model highest point, selecting a model with proper height to be placed in a free area to replace the deleted 3D model, solving the technical problem of designing and placing parts as much as possible on a limited printing substrate space, performing optimal typesetting aiming at the projection of the parts and the area of the substrate, discharging the parts as much as possible, generating a plurality of projections on the same part, selecting proper projections for arrangement during typesetting, increasing the flexibility of typesetting, meanwhile, the space of the substrate is more reasonably applied.

Description

Method for typesetting 3D printing model
Technical Field
The invention belongs to the technical field of 3D printing, and particularly relates to a method for typesetting a 3D printing model.
Background
When 3D printer equipment is used for printing 3D parts, manpower management and resources such as metal powder consumption are required to be arranged every time the printer equipment is started to print, and equipment depreciation is generated. In order to save the printing cost, the parts are designed and placed on the limited printing substrate space as much as possible when the parts are typeset when the parts are printed each time, and the substrate utilization rate is improved.
During typesetting, the situation that the parts cannot collide in the spatial position is considered, so that the printed parts are prevented from being deformed and invalid in quality. Meanwhile, the support of parts depending on is reduced as much as possible, and metal powder is saved.
Disclosure of Invention
The invention aims to provide a method for typesetting a 3D printing model, which solves the technical problem of designing and placing parts as many as possible on a limited printing substrate space.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for 3D printing model imposition comprising the steps of:
step 1: establishing a 3D model generation module, a repair module, a typesetting module and a slicing and path planning module, and generating a 3D model of a part, size parameters of the 3D model and a serial number of the part in the 3D model generation module;
and 2, step: the repairing module reads the 3D model and the size parameters thereof from the 3D model generating module through the Internet and carries out line and surface integrity repairing on the 3D model;
and step 3: rotating the 3D model according to a preset angle to obtain a plurality of projection graphs, simultaneously recording the height of the 3D model after each rotation, and screening out the minimum projection graph as a default projection graph S min (ii) a Simultaneously, making all projection graphs and related projection parameters into projection data files for outputting, wherein the projection data files comprise the projection graphs and the model heights of the 3D model at each rotation angle;
and 4, step 4: when a plurality of 3D models of parts to be processed are processed, the typesetting module reads the projection data files of all the parts and the serial numbers of the parts and calls each partDefault projection profile S of a 3D model of a part min Performing first typesetting on a preset substrate;
and 5: after the first typesetting and typesetting is finished, a maximum allowable value D is calculated according to the height of the 3D model and the upper limit value of the preset tangent plane layer H Comparing the heights of all 3D models on the substrate, deleting values higher than the maximum allowable value D H The deleted parts are put into the next batch to wait for processing, and the deleted vacant areas are set as vacant areas;
step 6: and additionally screening out the parts of the next batch that the model height is less than the maximum allowable value D according to the model height of the 3D model of each part H Screening out the 3D models which can be placed in the idle area as replacement according to the projection graphs of the 3D models, and typesetting again; if no 3D model capable of being placed in the idle area exists, reserving the idle area as a blank for typesetting;
and 7: the typesetting module stores the typesetting results obtained by the methods in the steps 4 to 6 to finish the typesetting of parts in one batch;
and 8: the slicing and path planning module reads the typesetting result of one batch of parts from the typesetting module through the Internet, cuts all part models placed on the substrate into a plurality of layers of slices in a fixed layer thickness from bottom to top according to the calculus idea, and makes the slices into a processing data file for output.
Preferably, when step 2 is executed, the repair module reads the 3D model and the size parameters thereof from the 3D model generation module through the internet, verifies the line-to-surface connection and the line-to-line connection of the 3D model in the repair module, and judges whether there is a damage or a disconnection: if so, repairing the 3D model, and if not, not repairing.
Preferably, when step 3 is executed, the method specifically includes the following steps:
step 3-1: in the restoration module, a model coordinate system XYZ is established, meanwhile, a relative coordinate system X 'Y' Z 'is established by taking the center of the 3D model as an origin, an X' axis is parallel to an X axis, a Y 'axis is parallel to a Y axis, a Z' axis is parallel to a Z axis, and the 3D model is restored in the restoration module according to the preset conditionSetting an angle to rotate 360 degrees by taking an X' axis as a central axis, acquiring projection graphs of the 3D model on an XY substrate plane of a corresponding model coordinate system at a plurality of angles, and screening out the minimum projection graph S of which the corresponding support quantity is within a threshold value under the condition of taking the threshold value of the support quantity as a condition XY And simultaneously recording the rotation angle theta of the 3D model at the moment x
Similarly, the minimum projection pattern S on the XZ substrate plane when rotating with the Z' axis as the central axis is obtained XZ And simultaneously recording the rotation angle theta of the 3D model at the moment z (ii) a Acquiring a minimum projection pattern S on a YZ plane when rotating with a Y' axis as a central axis YZ And simultaneously recording the rotation angle theta of the 3D model at the moment Y
Step 3-2: traversing the top point of the contour of the 3D model, and finding out the rotation angle theta of the 3D model x Corresponding to the highest point D on the Z axis Z Finding out the 3D model at the rotation angle theta in the same way z Corresponding to the highest point D on the Y axis y Finding out the rotation angle theta of the 3D model Y Corresponding to the highest point D on the X-axis x
Step 3-3: respectively setting a minimum projection graph S according to a preset line distance XY Minimum projection pattern S XZ And a minimum projection pattern S YZ Rectangular frame of (1), contrast minimum projection pattern S XY Minimum projection pattern S XZ And a minimum projection pattern S YZ Obtaining the minimum value as the default projection pattern S min, Setting the corresponding highest point as D;
the minimum projection 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 a 3D model and created as a projection data file.
Preferably, the projection data file further includes a minimum projection pattern S XY Minimum projection pattern S XZ Minimum projection pattern S YZ The size data of the corresponding rectangular frame.
Preferably, when step 4 is performed, parts adjacent to the serial number of the part are arranged 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 the 3D models on the substrate, and carrying out minimum value screening in all the highest points D to obtain the minimum value D L
Step 5-2: setting an upper limit value of a 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 calculating the upper limit value of the height of each tangent plane layer according to the minimum value D L And the upper limit value of the height of the tangent plane layer is summed to obtain the maximum allowable value D H
Step 5-3: maximum allowable value D H Conditional on the deletion of all peaks D being greater than the maximum permissible value D H The 3D model of (2), and the vacant area is taken as the vacant area;
step 5-4: and placing the parts corresponding to the deleted 3D models into the next batch for selection.
Preferably, when step 6 is executed, the method specifically includes the following steps:
step 6-1: in the 3D model of the next batch of workpiece parts, the highest point is smaller than the maximum allowable value D H As a condition, searching for a replaced 3D model, and executing step 6-2 if the 3D model meeting the condition exists; if not, vacating a free area, and executing the step 6-5;
step 6-2: obtaining a default projection pattern S for an alternative 3D model min The corresponding rectangular frame judges whether the rectangular frame can be placed into an idle area according to the size of the rectangular frame: the model coordinate system XYZ can be put in, correspondingly rotated to adapt to the world coordinate system of the 3D printer, so that the minimum projection graph is projected on the substrate, and the step 6-5 is executed; if the input can not be carried out, executing the step 6-3;
step 6-3: according to the projection data file of the 3D model for replacement, the highest points D are gradually selected Z Highest point D y And highest point D x Selects one of them, and judges whether it is less than the maximum allowable value D H The value of (c): is, to be less than the maximum allowable value D H Highest point of (D) is highest point D k Executing step 6-4; if not, judging whether all the highest points are judged: if yes, the idle area is left, and step 6-5 is executed; if not, executing the step 6-3;
and 6-4: obtaining the highest point D k And judging whether the corresponding minimum projection graph can be placed 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, projecting the minimum projection graph on the substrate, and executing the step 6-5; if not, executing the step 6-3;
step 6-5: completing typesetting;
step 6-6: the typesetting module generates the typesetting result of each batch of parts according to the method from the step 6-1 to the step 6-5;
preferably, when step 8 is executed, the slicing and path planning module stores the size and shape data of each layer of slice in sequence, and simultaneously stores the coordinate value, the graph topological relation and the laser power parameter of the graph data on the current layer on each layer of slice according to the preset path planning, and makes the data into a processing data file for output.
The method for typesetting of the 3D printing model solves the technical problem that parts are designed and placed as many as possible in the limited printing substrate space, the optimal typesetting is carried out according to the projection of the parts and the area of the substrate, the parts can be arranged as many as possible, a plurality of projections are generated on the same part, the proper projections can be selected for arrangement during typesetting, the typesetting flexibility is increased, and meanwhile, the substrate space is more reasonably applied.
Drawings
FIG. 1 is a main flow diagram 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 illustration of a 3D model of the present invention as projected S1 on a model coordinate system YZ plane;
FIG. 6 is a schematic view of a 3D model of the present invention rotated about the Y' axis and projected on the YZ plane of the model coordinate system S2;
in the figure: a cube 1.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
1-6, a method for 3D printing model imposition, comprising the steps of:
step 1: establishing a 3D model generation module, a repair module, a typesetting module and a slicing and path planning module, and generating a 3D model of a part, size parameters of the 3D model and a serial number of the part in the 3D model generation module;
in this embodiment, the 3D model generation module, the repair module, the layout module, and the slicing and path planning module are respectively deployed in different servers, and the servers communicate with each other via the internet.
In this embodiment, the 3D model generation module needs to design 3D part models, and the part models need to conform to the actual shape and size of the part. The output file support data format of the 3D model generation module comprises STL, OBJ, AMF, 3MF and the like.
Step 2: the repairing module reads the 3D model and the size parameters thereof from the 3D model generating module through the internet and carries out line and surface integrity repairing on the 3D model;
the repairing module reads the 3D model and the size parameters thereof from the 3D model generating module through the Internet, the line and surface connection and the line and line connection of the 3D model are verified in the repairing module, and whether damage or disconnection exists or not is judged: if so, repairing the 3D model, and if not, not repairing.
After the 3D part model is designed, if 3D printing is to be carried out, the 3D part model is required to be checked and repaired so as to ensure that the 3D part model can be successfully printed by a 3D printer.
And (3) checking whether the 3D part model meets the requirements, namely checking whether the 3D model is damaged on the line-surface connection or not, and whether the line is broken on the line-surface connection or not, namely that the model has holes or at least the surface has problems and cannot be printed.
In this embodiment, the damaged part model can be repaired by a normal vector repairing method in the prior art.
In creating and editing the part model, intelligent parameter modeling techniques in the prior art may be employed. The intelligent parameter modeling technology abstractly extracts factors influencing the shape, the offset and the rotation of a part model, the internal angle, the external angle, the surface convex-concave degree and the like into parameters, so that a user can create and edit a 3D model more quickly and easily by setting parameter values. The speed and simplicity of direct modeling and the flexibility and controllability of parametric design are perfectly fused.
And step 3: rotating the 3D model according to a preset angle to obtain a plurality of projection graphs, simultaneously recording the height of the 3D model after each rotation, and screening out the minimum projection graph as a default projection graph S min (ii) a Simultaneously, making all projection graphs and related projection parameters into projection data files for outputting, wherein the projection data files comprise the projection graphs and the model heights of the 3D model at 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, a relative coordinate system X 'Y' Z 'is established by taking the center of the 3D model as an origin, the X' axis is parallel to the X axis, the Y 'axis is parallel to the Y axis, and the Z' axis is parallel to the Z axis; through the selection of 20 degrees each time, 18 projections of the 3D model on the XY substrate plane can be obtained, namely 18 rotation conditions;
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 whose corresponding number of supports is within the threshold value is screened out on the condition that the threshold value of the number of supports is used as a condition XY And simultaneously recording 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 selected, and then the rotation conditions larger than the threshold of the number of supports are screened according to the threshold of the number of supports; when comparing the remaining selection cases, the selection angle in the selection case is represented as θ by considering which selection case corresponds to the smallest area projected on the XY substrate plane x The projection is recorded as a minimum projection pattern S XY
Similarly, the minimum projection pattern S on the XZ substrate plane when rotating with the Z' axis as the central axis is obtained XZ And simultaneously recording the rotation angle theta of the 3D model at the moment z (ii) a Acquiring a minimum projection pattern S on a YZ plane when rotating with a Y' axis as a central axis YZ And simultaneously recording 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, a relative coordinate system of the 3D model is X 'Y' Z ', and a model coordinate system is XYZ, a projection pattern S1 on a YZ plane when the 3D model is placed is first obtained, and then the 3D model is rotated by taking a Y' axis as a central axis and an angle of rotation is represented as θ Y When the projection pattern S2 of the 3D model on the YZ plane is recorded once after rotating to the right position, the area of S1 is smaller than that of S2 after comparison, and then S1 is taken as the minimum projection pattern S YZ
Step 3-2: traversing the top point of the contour of the 3D model, and finding out the rotation angle theta of the 3D model x Corresponding to the highest point D on the Z axis Z Finding out the 3D model at the rotation angle theta in the same way z Corresponding to the highest point D on the Y axis y Finding out the rotation angle theta of the 3D model Y Corresponding to the highest point D on the X-axis x
Step 3-3: respectively setting a minimum projection graph S according to preset line distances XY Minimum projection pattern S XZ And a minimum projection pattern S YZ Rectangular frame of (1), contrast minimum projection pattern S XY Minimum projection pattern S XZ And a minimum projection pattern S YZ Obtaining the minimum value as the default projection pattern S min, Setting the corresponding highest point as D;
the minimum projection 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 data is stored as projection parameters of the 3D model and is created as a projection data file.
The projection data file also contains a minimum projection pattern S XY Minimum projection pattern S XZ Minimum projection pattern S YZ The size data of the corresponding rectangular frame.
And 4, step 4: when a plurality of 3D models of parts to be machined are machined, the typesetting module reads projection data files of all the parts and serial numbers of the parts, and calls a default projection graph S of the 3D model of each part min Performing first typesetting on a preset substrate;
in this embodiment, parts of the same customer are edited into serial numbers that are adjacent in sequence, and the parts that are adjacent in serial numbers of the parts are arranged in the same area during actual production, that is, the parts of the same customer are ensured to be in the same area.
And 5: after the first typesetting and typesetting is finished, a maximum allowable value D is calculated according to the height of the 3D model and the upper limit value of the preset tangent plane layer H Comparing the heights of all 3D models on the substrate, deleting values higher than the maximum allowable value D H The deleted parts are put into the next batch to wait for processing, and the deleted vacant areas are set as vacant areas;
the method specifically comprises the following steps:
step 5-1: obtaining the highest points D of all the 3D models on the substrate, wherein the highest points D are all the highest pointsD, minimum value screening is carried out to obtain a minimum value D L
Step 5-2: setting a cut surface layer upper limit value, calculating the cut surface layer height upper limit value according to the height of each cut surface layer, and calculating the cut surface layer height upper limit value according to the minimum value D L And the upper limit value of the height of the section layer is summed to obtain the maximum allowable value D H
Step 5-3: maximum allowable value D H Conditional on the deletion of all peaks D being greater than the maximum permissible value D H The 3D model of (2), and the vacant area is taken as the vacant area;
step 5-4: and placing the parts corresponding to the deleted 3D models into the next batch for selection.
Step 6: from the next batch of parts, according to the model height of the 3D model of each part, additionally screening out that the model height is less than the maximum allowable value D H Screening out the 3D models which can be placed in the idle area as replacement according to the projection graphs of the 3D models, and typesetting again; if no 3D model capable of being placed in the idle area exists, 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 workpiece parts, the highest point is smaller than the maximum allowable value D H As a condition, searching for a replaced 3D model, and executing a step 6-2 if the 3D model meeting the condition exists; if not, the idle area is vacated, and step 6-5 is executed;
step 6-2: obtaining a default projection profile S for an alternate 3D model min The corresponding rectangular frame judges whether the rectangular frame can be placed into an idle area according to the size of the rectangular frame: the model coordinate system XYZ can be put in, correspondingly rotated to adapt to the world coordinate system of the 3D printer, so that the minimum projection graph is projected on the substrate, and the step 6-5 is executed; if the input can not be carried out, executing the step 6-3;
step 6-3: according to the projection data file of the 3D model for replacement, the highest points D are gradually selected Z Highest point D y And a highest point D x Selects one of them and judges whether it is less than the maximum allowable value D H The value of (c):is, remembering less than the maximum allowable value D H Highest point of (D) is highest point D k Executing step 6-4; if not, judging whether all the highest points are judged: if yes, the idle area is left, and step 6-5 is executed; if not, executing the step 6-3;
step 6-4: obtaining the highest point D k The corresponding minimum projection graph judges whether the idle area can be placed 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, projecting the minimum projection graph on the substrate, and executing the step 6-5; if not, executing the step 6-3;
step 6-5: completing typesetting;
and 6-6: and the typesetting module generates the typesetting result of the parts of each batch according to the method 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 Highest point D x One by one with the maximum allowable value D H Comparing and screening out the value D less than the maximum allowable value H E.g. if a certain 3D model has a maximum D Z And a highest point D y Are all less than the maximum allowable value D H Then the 3D model is classified as a 3D model meeting the height condition, and then the highest point D is read Z And highest point D y Respectively corresponding minimum projection pattern S XY And a minimum projection pattern S XZ Comparing the shape and area of the free area to see whether the minimum projection pattern S can be obtained XY Or minimum projected pattern S XZ Placing the blank area, and if the blank area can be placed, randomly selecting one for typesetting; if the 3D model can not be put in, abandoning the 3D model and judging the next 3D model; if one of them can be put in, e.g. minimum projected pattern S XY Then the minimum projected pattern S XY Typesetting on the substrate according to the rotation angle theta x Placing the 3D model into the processing area, selecting the 3D model to correspond to the model coordinate system during processing,
e.g. when selecting the minimum projection pattern S YZ Is arrangedWhen the plate is rotated on the Y' axis and projected on the YZ plane, and the 3D printer is used to print, the world coordinate system of the 3D printer is set to X "Y" Z, and the X axis rotation of the model coordinate system needs to be changed to the Z "axis of the world coordinate system, that is, the projection on the YZ plane is projected on the X" Y "plane of the world coordinate system.
And 7: the typesetting module stores the typesetting results obtained by the methods in the steps 4 to 6 to finish the typesetting of parts in one batch;
and 8: the slicing and path planning module reads the typesetting result of one batch of parts from the typesetting module through the Internet, cuts all part models placed on the substrate into a plurality of layers of slices in a fixed layer thickness from bottom to top according to the calculus idea, and makes the slices into a processing data file for output.
The slicing and path planning module stores the size and shape data of each layer of slices in sequence, and simultaneously stores the coordinate values, the graph topological relation and the laser power parameters of the graph data on the current layer on each layer of slices according to the preset path planning, and the slices are manufactured into a processing data file to be output.
The method for typesetting of the 3D printing model solves the technical problem that parts are designed and placed as many as possible in the limited printing substrate space, the optimal typesetting is carried out according to the projection of the parts and the area of the substrate, the parts can be arranged as many as possible, a plurality of projections are generated on the same part, the proper projections can be selected for arrangement during typesetting, the typesetting flexibility is increased, and meanwhile, the substrate space is more reasonably applied.
Another aspect 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 imposition as described above in the present application. In addition, another aspect of the present invention provides a 3D printer, where the 3D printer is configured to execute a method for 3D printing model typesetting described above in the present application.
For more details and effects of 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 of the method embodiments, and further description is omitted here.
Although the embodiments of the present invention have been described in detail with reference to the accompanying drawings, the embodiments of the present invention are not limited to the details of the above embodiments, and various simple modifications can be made to the technical solutions of the embodiments of the present invention within the technical idea of the embodiments of the present invention, and the simple modifications all belong to the protection scope of the embodiments of the present invention.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, the embodiments of the present invention do not describe every possible combination.
Those skilled in the art will understand that all or part of the steps in the method according to the above embodiments may be implemented by a program, which is stored in a storage medium and includes several instructions to enable a single chip, a chip, or a processor (processor) to execute all or part of the steps in the method according to 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), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In addition, any combination of various different implementation manners of the embodiments of the present invention is also possible, and the embodiments of the present invention should be considered as disclosed in the embodiments of the present invention as long as the combination does not depart from the spirit of the embodiments of the present invention.

Claims (8)

1. A method for 3D printing model typesetting is characterized in that: the method comprises the following steps:
step 1: establishing a 3D model generation module, a repair module, a typesetting module and a slicing and path planning module, and generating a 3D model of a part, size parameters 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 carries out line and surface integrity repairing on the 3D model;
and step 3: rotating the 3D model according to a preset angle to obtain a plurality of projection graphs, simultaneously recording the height of the 3D model after each rotation, and screening out the minimum projection graph as a default projection graph S min (ii) a Simultaneously, all the projection graphs and the related projection parameters are made into projection data files to be output, and the projection data files contain the projection graphs and the model heights of the 3D model under each rotation angle;
and 4, step 4: when a plurality of 3D models of parts to be machined are machined, the typesetting module reads projection data files of all the parts and serial numbers of the parts, and calls a default projection graph S of the 3D model of each part min Performing first typesetting on a preset substrate;
and 5: after the first typesetting and typesetting is finished, a maximum allowable value D is calculated according to the height of the 3D model and the upper limit value of the preset tangent plane layer H Comparing the heights of all 3D models on the substrate, deleting values higher than the maximum allowable value D H The deleted parts are put into the next batch to wait for processing, and the deleted vacant areas are set as vacant areas;
step 6: and additionally screening out the parts of the next batch that the model height is less than the maximum allowable value D according to the model height of the 3D model of each part H Screening out the 3D models which can be placed in the idle area as replacement according to the projection graphs of the 3D models, and typesetting again; if no 3D model capable of being placed in the idle area exists, reserving the idle area as a blank for typesetting;
and 7: the typesetting module stores the typesetting results obtained by the methods in the steps 4 to 6 to finish the typesetting of parts in one batch;
and 8: the slicing and path planning module reads the typesetting result of one batch of parts from the typesetting module through the Internet, cuts all part models placed on the substrate into a plurality of layers of slices in a fixed layer thickness from bottom to top according to the calculus idea, and makes the slices into a processing data file for output.
2. A method for 3D printing of a layout of models according to claim 1, characterized by: when step 2 is executed, the 3D model and the size parameters thereof are read from the 3D model generation module by the repair module through the internet, the line-surface connection and the line-line connection of the 3D model are verified in the repair module, and whether damage or disconnection exists is judged: if so, repairing the 3D model, and if not, not repairing.
3. A method for 3D printing of a layout of models according to claim 1, characterized in that: when step 3 is executed, the method specifically comprises the following steps:
step 3-1: in the repairing module, a model coordinate system XYZ is established, meanwhile, a relative coordinate system X ' Y ' Z ' is established by taking the center of the 3D model as an origin, an X ' axis is parallel to an X axis, a Y ' axis is parallel to a Y axis, and a Z ' axis is parallel to a Z axis, the 3D model is rotated by 360 degrees by taking the X ' axis as a central axis according to a preset angle in the repairing module, projection graphs of the 3D model on an XY substrate plane of the corresponding model coordinate system at a plurality of angles are obtained, and the minimum projection graph S of the corresponding support quantity within a threshold value is screened out by taking the threshold value of the support quantity as a condition XY And simultaneously recording the rotation angle theta of the 3D model at the moment x
Similarly, the minimum projection pattern S on the XZ substrate plane when rotating with the Z' axis as the central axis is obtained XZ And simultaneously recording the rotation angle theta of the 3D model at the moment z (ii) a Acquiring a minimum projection pattern S on a YZ plane when rotating with the Y' axis as a central axis YZ And simultaneously recording the rotation angle theta of the 3D model at the moment Y
Step 3-2: traversing the top point of the contour of the 3D model, and finding out the rotation angle theta of the 3D model x Corresponding to the highest point D on the Z axis Z Finding out the 3D model at the rotation angle theta in the same way z Corresponding to the highest point D on the Y axis y Finding out the rotation angle theta of the 3D model Y Time pairHighest point D on X axis x
Step 3-3: respectively setting a minimum projection graph S according to a preset line distance XY Minimum projection pattern S XZ And a minimum projection pattern S YZ Rectangular frame of (1), contrast minimum projection pattern S XY Minimum projection pattern S XZ And a minimum projection pattern S YZ Obtaining the minimum value as the default projection pattern S min
Minimum projection 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 a 3D model and created as a projection data file.
4. A method for 3D printing of a layout of models according to claim 3, characterized in that: the projection data file also contains a minimum projection pattern S XY Minimum projection pattern S XZ Minimum projection pattern S YZ The size data of the corresponding rectangular frame.
5. A method for 3D printing of a layout of models according to claim 1, characterized in that: in step 4, the parts adjacent to the serial number of the part are arranged in the same area.
6. A method for 3D printing of a layout of models according to claim 3, characterized in that: when step 5 is executed, the method specifically comprises the following steps:
step 5-1: obtaining the highest points D of all the 3D models on the substrate, and carrying out minimum value screening in all the highest points D to obtain the minimum value D L
Step 5-2: setting a cut surface layer upper limit value, calculating the cut surface layer height upper limit value according to the height of each cut surface layer, and calculating the cut surface layer height upper limit value according to the minimum value D L And the height of the tangent plane layerThe sum of the limits gives the maximum allowable value D H
Step 5-3: maximum allowable value D H Conditional on the deletion of all peaks D being greater than the maximum permissible value D H The 3D model of (2), and the vacant area is taken as the vacant area;
step 5-4: and placing the parts corresponding to the deleted 3D models into the next batch for selection.
7. A method for 3D printing of a layout of models according to claim 5, characterized in that: when step 6 is executed, the method specifically comprises the following steps:
step 6-1: in the 3D model of the next batch of workpiece parts, the highest point is smaller than the maximum allowable value D H As a condition, searching for a replaced 3D model, and executing step 6-2 if the 3D model meeting the condition exists; if not, the idle area is vacated, and step 6-5 is executed;
step 6-2: obtaining a default projection profile S for an alternate 3D model min The corresponding rectangular frame judges whether the rectangular frame can be placed into an idle area according to the size of the rectangular frame: the model coordinate system XYZ can be put in, correspondingly rotated to adapt to the world coordinate system of the 3D printer, so that the minimum projection graph is projected on the substrate, and the step 6-5 is executed; if the input can not be carried out, executing the step 6-3;
step 6-3: according to the projection data file of the 3D model for replacement, the highest points D are gradually selected Z Highest point D y And highest point D x Selects one of them and judges whether it is less than the maximum allowable value D H The value of (c): is, to be less than the maximum allowable value D H Highest point of (D) is highest point D k Executing step 6-4; if not, judging whether all the highest points are judged: if yes, the idle area is left, and step 6-5 is executed; if not, executing the step 6-3;
step 6-4: obtaining the highest point D k And judging whether the corresponding minimum projection graph can be placed into an idle area according to the rectangular frame of the minimum projection graph: the model coordinate system XYZ is correspondingly rotated to adapt to the world coordinate system of the 3D printer, so that the projection of the world coordinate system is minimizedProjecting the image and the pattern on the substrate, and executing the step 6-5; if not, executing the step 6-3;
and 6-5: completing the typesetting;
step 6-6: and the typesetting module generates the typesetting result of the parts of each batch according to the method from the step 6-1 to the step 6-5.
8. A method for 3D printing of a layout of models according to claim 1, characterized in that: when step 8 is executed, the slicing and path planning module stores the size and shape data of each layer of slice in sequence, and simultaneously stores the coordinate value, the graph topological relation and the laser power parameter of the graph data on the current layer on each layer of slice according to the preset path planning, and makes the processed data file for output.
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 true CN114953468A (en) 2022-08-30
CN114953468B 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 (4)

* 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
US20220044476A1 (en) * 2020-11-23 2022-02-10 Beijing Baidu Netcom Science Technology Co., Ltd Three-dimensional model processing method, electronic device, and storage medium

Patent Citations (4)

* 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
US20220044476A1 (en) * 2020-11-23 2022-02-10 Beijing Baidu Netcom Science Technology Co., Ltd Three-dimensional model processing method, electronic device, and storage medium
CN112873855A (en) * 2021-04-13 2021-06-01 河北工业大学 STL model center layout method in 3DP process

Also Published As

Publication number Publication date
CN114953468B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
JP6809965B2 (en) 3D laminated modeling condition determination method, 3D laminated modeling condition determination device, 3D laminated modeling execution method and 3D laminated modeling device
JP4357287B2 (en) Correction guide generation method, pattern creation method, mask manufacturing method, semiconductor device manufacturing method, and program
WO2003096234A2 (en) Optimization of die placement on wafers
US10726635B2 (en) Three-dimensional shape data editing apparatus, three-dimensional modeling apparatus, three-dimensional modeling system, and non-transitory computer readable medium storing three-dimensional shape data editing program
US20210255602A1 (en) Method for Determining Building Instructions for an Additive Manufacturing Method, Method for Generating a Database with Correction Measures for Controlling the Process of an Additive Manufacturing Method
JP2001014376A (en) Design rule generation system and recording medium where the program is recorded
CN116352111B (en) Scanning method for multi-laser selective melting forming part
King et al. An efficient triangle mesh slicing algorithm for all topologies in additive manufacturing
US20100168890A1 (en) Three-Dimensional Data Extraction Using Ray Casting
CN114953468B (en) Typesetting method for 3D printing model
JP7346040B2 (en) Methods for modifying parts
Joaquin et al. Enhancing the Additive Manufacturing process for spare parts by applying Agile Hardware Development principles
CN1681085A (en) Electron beam drawing system, method and program, and method for manufacture of semiconductors by drawing directly
CN110667109A (en) Delta mechanical arm-based photocuring 3D printer slicing method, printing method and printer
CN113021900B (en) Part model placing method in 3D printing and related device
CN112191850B (en) Step-by-step additive manufacturing method, equipment and system
CN109773186A (en) For manufacturing the increasing material manufacturing method and its equipment, readable storage medium storing program for executing of three-dimension object
CN114951697B (en) 3D printing scanning method based on SLM technology
JP3757341B2 (en) Exposure pattern correction method
JP4405671B2 (en) Determination of resin hardened area in optical stereolithography
US11282266B2 (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
CN117315097B (en) Method for three-dimensional animation production flow based on production tool
US20240025124A1 (en) Techniques to determine improved print configurations in hybrid manufacturing
JP4608237B2 (en) Contour processing method
CN116889478A (en) Manufacturing method and manufacturing system for dental objects

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