CN115169023B - Industrial product digital model modeling/assembly animation rapid manufacturing method - Google Patents

Industrial product digital model modeling/assembly animation rapid manufacturing method Download PDF

Info

Publication number
CN115169023B
CN115169023B CN202210620897.2A CN202210620897A CN115169023B CN 115169023 B CN115169023 B CN 115169023B CN 202210620897 A CN202210620897 A CN 202210620897A CN 115169023 B CN115169023 B CN 115169023B
Authority
CN
China
Prior art keywords
product
assembly
animation
dimensional model
modeling
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
CN202210620897.2A
Other languages
Chinese (zh)
Other versions
CN115169023A (en
Inventor
杨松贵
丁亮
谭进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Witsoft Technology Co Ltd
Original Assignee
Nanjing Witsoft Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Witsoft Technology Co Ltd filed Critical Nanjing Witsoft Technology Co Ltd
Priority to CN202210620897.2A priority Critical patent/CN115169023B/en
Publication of CN115169023A publication Critical patent/CN115169023A/en
Application granted granted Critical
Publication of CN115169023B publication Critical patent/CN115169023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • 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

Abstract

The invention provides a rapid manufacturing method of an industrial product digital model modeling/assembly animation, which comprises the following steps: s1, opening a three-dimensional model of a product part; s2, re-modeling the three-dimensional model of the product part; s3, capturing process graphs displayed one by one in sequence in the step S2, and generating a picture frame set; s4, obtaining a picture frame set of the S3, and generating modeling animation according to the sequence of picture names; s5, opening the three-dimensional model of the product; s6, reassembling the three-dimensional model of the product; s7, capturing assembly process diagrams displayed one by one in sequence in the step S6, and generating an assembly picture frame set; s8, obtaining an assembly picture frame set of the S7, and generating an assembly animation according to the sequence of picture names; s9, opening the preview step S4 and the preview step S8 to generate animation preview animation quality, and ensuring that the quality reaches the standard; the invention can intelligently generate the part modeling animation and the product assembly animation, simplify the step of generating the animation by the digital model, has simple operation, is convenient and quick, can quickly generate the modeling animation and the assembly animation in batches, and reduces the working intensity and the difficulty.

Description

Industrial product digital model modeling/assembly animation rapid manufacturing method
Technical Field
The invention relates to the field of animation production, in particular to a method for quickly producing three-dimensional digital model modeling/assembly animation of an industrial product.
Background
The modeling/assembly demonstration animation adopts a three-dimensional technology to display the structure, the characteristics and the working principle of the product in a three-dimensional way through an animation mode, so that people can intuitively, well and comprehensively and dynamically know modeling, assembly functions and characteristics. The animation expression forms bring novelty, curiosity and trust to the clients. Especially, the appearance, the structure function, the production flow and the like of the industrial product are demonstrated through the three-dimensional animation multi-angle omnibearing demonstration of the product, the bottleneck that the internal structure of the product cannot be shot before and the specification of the text and the drawing is singly relied on is broken through, and the product is clearly and intuitively presented to a client in the form of an animation video.
However, when engineers make digital model modeling and assemble functional animation, the current method is to model and assemble the functions through operation design software, then record video, clip the video, and finally generate animation, on one hand, the steps are complicated and the time consumption is long; on the other hand, very specialized three-dimensional modeling knowledge and product assembly knowledge are required, so that the expertise is high and the difficulty is high. Thirdly, the industrial products of enterprises often have massive three-dimensional digital models, and the three-dimensional models of parts of each product are manually animated, so that the engineering quantity is very large.
Disclosure of Invention
In order to solve the technical problems, the invention provides a rapid manufacturing method of a digital model modeling/assembly animation of an industrial product, which comprises a digital model modeling/assembly animation editor component, wherein the digital model modeling/assembly animation editor component comprises an entry function, an exit function and a registered command;
the registered command is executable instructions registered in the diagramming software;
the entry function and the exit function are used for communicating with and communicating with the drawing software;
the registered command is used for realizing the re-modeling of the three-dimensional model of the product part, capturing a process diagram and a picture frame set which are sequentially displayed one by one in the step S2, generating modeling animation according to the sequence of picture names, re-assembling the three-dimensional model of the product, capturing an assembly process diagram and an assembly picture frame set which are sequentially displayed one by one, and generating instruction codes of the assembly animation according to the sequence of the picture names for the assembly picture frame set;
further, the registered command further comprises instructions for traversing a three-dimensional model database of the product parts in the opened three-dimensional modeling software and sequentially selecting three-dimensional models of the product parts;
further, the registered command further comprises instructions for traversing a product three-dimensional model database in the opened three-dimensional modeling software and sequentially selecting the product three-dimensional models;
the method comprises the following steps:
s1, opening a three-dimensional model of a product part
Opening a three-dimensional model of a product part in three-dimensional modeling software, wherein the three-dimensional model of the product part comprises historical features, the historical features are process records for creating the three-dimensional model of the product part, each historical feature corresponds to a creation step and process data for creating the three-dimensional model of the product part, and each process data can be displayed in a process diagram form;
s2, re-modeling the three-dimensional model of the product part
Traversing the historical features of the three-dimensional model of the product part through the API, inhibiting all the historical features of the three-dimensional model of the part in the step S1, sequentially releasing the historical features one by one, and sequentially displaying part modeling process diagrams one by one through process data of the three-dimensional model of the product part;
s3, capturing process graphs displayed one by one in sequence in the step S2, and generating a picture frame set;
capturing process images which are sequentially displayed one by process data of a three-dimensional model of a product part in the step S2 by adopting Windows api or QT api capable of processing the process images, generating pictures, naming the generated pictures in time Xu Xuhao, and storing the pictures in a memory to obtain a picture frame set;
the Windows api capable of step process diagram comprises GetSystemMetrics and the like;
the QT api capable of step process diagram comprises QAapplication, primary screen () - > grabWindow (0, x, y, ihight, iWidth) and the like;
s4, generating modeling animation according to the picture name sequence for the picture frame set obtained in the step S3;
invoking a GIF library, wherein the GIF library comprises GifBegin, gifWriteFrame, gifEnd functions; uploading a first picture frame in a picture frame set by GifBegin, and recording the size, time interval, pixel parameters and file name of the picture frame;
the GifWriteFrame circularly uploads all picture frames except the first picture frame in the picture frame set, and the size, the time interval and the pixel parameters of each picture frame are recorded;
after all the picture frames except the first picture frame in the picture frame set are uploaded, the GifEnd finishes calling the GIF library;
the GIF library generates part modeling animation according to the sequence of uploading pictures, the size of the recorded picture frames, the time interval and the pixel parameters, and stores the generated animation into a memory;
s5, opening the three-dimensional model of the product
Opening a product three-dimensional model in three-dimensional modeling software, wherein the product three-dimensional model comprises assembly characteristics, the assembly characteristics are process records for creating the product three-dimensional model, each history characteristic corresponds to one creation step and process data for creating the product three-dimensional model, and each process data can be displayed in a process diagram form;
s6, reassembling the three-dimensional model of the product
Traversing the assembly characteristics of the three-dimensional model of the product through the API, inhibiting all the assembly characteristics of the three-dimensional model of the product in the step S5, sequentially releasing the assembly characteristics one by one, and sequentially displaying an assembly process diagram one by one through process data of the three-dimensional model of the product;
s7, capturing assembly process diagrams displayed one by one in sequence in the step S6, and generating an assembly picture frame set;
capturing an assembly process map which is sequentially displayed one by process data of a three-dimensional product model in step S5 by adopting Windows api or QT api capable of processing the map in steps, generating pictures, naming the generated pictures in time Xu Xuhao, and storing the pictures in a memory to obtain an assembly picture frame set;
the Windows api capable of step process diagram comprises GetSystemMetrics and the like;
the QT api capable of step process diagram comprises QAapplication, primary screen () - > grabWindow (0, x, y, ihight, iWidth) and the like;
s8, generating assembly animation according to the sequence of the picture names for the assembly picture frame set obtained in the step S7;
invoking a GIF library, wherein the GIF library comprises GifBegin, gifWriteFrame, gifEnd functions; uploading a first picture frame in a picture frame set by GifBegin, and recording the size, time interval, pixel parameters and file name of the picture frame;
configuring the time for uploading the first picture frame display of the GIF library GifBegin, the time interval for uploading the picture frames in a GifWriteFrame circulation mode and the time for displaying each picture frame;
the GifWriteFrame circularly uploads all picture frames except the first picture frame in the picture frame set, and the size, the time interval and the pixel parameters of each picture frame are recorded;
after all the picture frames except the first picture frame in the picture frame set are uploaded, the GifEnd finishes calling the GIF library;
the GIF library generates a product assembly animation according to the sequence of uploading pictures, the size of the recorded picture frames, the time interval and the pixel parameters, and stores the generated animation into a memory;
and S9, opening the part modeling animation and the product assembly animation generated in the previewing steps S4 and S8 to preview the quality of the animation, storing the animation which reaches the quality standard, and repeating the steps S1-S4 or the steps S5-S8 when the animation does not reach the quality standard, so as to reproduce the part modeling animation or the product assembly animation until the quality reaches the standard.
Compared with the prior art, the invention has the beneficial effects that: by applying the digital model modeling/assembly animation production editor component and the method, the component three-dimensional model modeling animation and the product three-dimensional model assembly animation are intelligently generated, the step of generating the animation by the digital model is simplified, the operation is simple, the digital model modeling/assembly animation production editor component and the method are convenient and quick, the modeling animation and the assembly animation can be generated in batches and quickly, the working intensity and the difficulty of manufacturing the industrial product assembly animation and the component three-dimensional model modeling animation are reduced, and the professional requirements on the three-dimensional modeling knowledge of animation production personnel and the product assembly knowledge are reduced; the method can automatically produce industrial product assembly animations and component three-dimensional model modeling animations in batches, and solves the problem that industrial enterprises cannot produce mass industrial product assembly animations and component three-dimensional model modeling animations in batches.
Drawings
FIG. 1 is a schematic flow chart of a method for quickly manufacturing a three-dimensional digital model modeling/assembly animation of an industrial product.
FIG. 2 is a flow chart of a method for modeling/assembling animation in three-dimensional digital model of industrial product according to embodiment 4 of the present invention.
Detailed Description
For a further understanding of the objects, construction, features, and functions of the invention, reference should be made to the following detailed description of the preferred embodiments.
Example 1: as shown in fig. 1, a method for digital model modeling/assembly animation includes the steps of:
s1, opening a three-dimensional model of a product part
In three-dimensional modeling software, opening a three-dimensional model of a product part, wherein the three-dimensional model of the product part comprises historical features, the historical features are process records for creating the three-dimensional model of the product part, each historical feature corresponds to one creation step and process data for creating the three-dimensional model of the product part, and each process data can be displayed in a process diagram form;
s2, re-modeling the three-dimensional model of the product part
Traversing the historical features of the three-dimensional model of the product part through the API, inhibiting all the historical features of the three-dimensional model of the part in the step S1, sequentially releasing the historical features one by one, and sequentially displaying part modeling process diagrams one by one through process data of the three-dimensional model of the product part;
s3, capturing process graphs displayed one by one in sequence in the step S2, and generating a picture frame set;
the digital model modeling/assembly animation production editor component adopts Windows api or QT api capable of processing the process map, captures the process map which is displayed one by one in sequence by the process data of the three-dimensional model of the product component in the step S2, generates pictures, names the generated pictures in time Xu Xuhao, and stores the pictures in a memory to obtain a picture frame set;
the Windows api capable of step process diagram comprises GetSystemMetrics and the like;
the QT api capable of step process diagram comprises QAapplication, primary screen () - > grabWindow (0, x, y, ihight, iWidth) and the like;
s4, generating modeling animation according to the picture name sequence for the picture frame set obtained in the step S3;
the digital model modeling/assembly animation production editor component invokes a GIF library that includes GifBegin, gifWriteFrame, gifEnd functions; uploading a first picture frame in a picture frame set by GifBegin, and recording the size, time interval, pixel parameters and file name of the picture frame;
the GifWriteFrame circularly uploads all picture frames except the first picture frame in the picture frame set, and the size, the time interval and the pixel parameters of each picture frame are recorded;
after all the picture frames except the first picture frame in the picture frame set are uploaded, the GifEnd finishes calling the GIF library;
the GIF library generates part modeling animation according to the sequence of uploading pictures, the size of the recorded picture frames, the time interval and the pixel parameters, and stores the generated animation into a memory;
s5, opening the three-dimensional model of the product
Opening a product three-dimensional model in three-dimensional modeling software, wherein the product three-dimensional model comprises assembly characteristics, the assembly characteristics are process records for creating the product three-dimensional model, each history characteristic corresponds to one creation step and process data for creating the product three-dimensional model, and each process data can be displayed in a process diagram form;
s6, reassembling the three-dimensional model of the product
Traversing the assembly characteristics of the three-dimensional model of the product through the API, inhibiting all the assembly characteristics of the three-dimensional model of the product in the step S5, sequentially releasing the assembly characteristics one by one, and sequentially displaying an assembly process diagram one by one through process data of the three-dimensional model of the product;
s7, capturing assembly process diagrams displayed one by one in sequence in the step S6, and generating an assembly picture frame set;
capturing an assembly process map which is sequentially displayed one by process data of a three-dimensional product model in the step S6 by adopting Windows api or QT api capable of processing the map, generating pictures, naming the generated pictures in time Xu Xuhao, and storing the pictures in a memory to obtain an assembly picture frame set;
the Windows api capable of step process diagram comprises GetSystemMetrics and the like;
the QT api capable of step process diagram comprises QAapplication, primary screen () - > grabWindow (0, x, y, ihight, iWidth) and the like;
s8, generating assembly animation according to the sequence of the picture names for the assembly picture frame set obtained in the step S7;
invoking a GIF library, wherein the GIF library comprises GifBegin, gifWriteFrame, gifEnd functions; uploading a first picture frame in a picture frame set by GifBegin, and recording the size, time interval, pixel parameters and file name of the picture frame;
configuring the time for uploading the first picture frame display of the GIF library GifBegin, the time interval for uploading the picture frames in a GifWriteFrame circulation mode and the time for displaying each picture frame;
the GifWriteFrame circularly uploads all picture frames except the first picture frame in the picture frame set, and the size, the time interval and the pixel parameters of each picture frame are recorded;
after all the picture frames except the first picture frame in the picture frame set are uploaded, the GifEnd finishes calling the GIF library;
the GIF library generates a product assembly animation according to the sequence of uploading pictures, the size of the recorded picture frames, the time interval and the pixel parameters, and stores the generated animation into a memory;
and S9, opening the part modeling animation and the product assembly animation generated in the previewing steps S4 and S8 to preview the quality of the animation, storing the animation which reaches the quality standard, and repeating the steps S1-S4 or the steps S5-S8 when the animation does not reach the quality standard, so as to reproduce the part modeling animation or the product assembly animation until the quality reaches the standard.
Example 2: a method of digital model modeling/assembly animation comprising a digital model modeling/assembly animation editor component comprising an entry function, an exit function, and a registered command;
the registered command is executable instructions registered in the diagramming software;
the entry function and the exit function are used for communicating with and communicating with the drawing software;
the registered command is used for realizing the re-modeling of the three-dimensional model of the product part, capturing a process diagram and a picture frame set which are sequentially displayed one by one in the step S2, generating modeling animation according to the sequence of picture names, re-assembling the three-dimensional model of the product, capturing an assembly process diagram and an assembly picture frame set which are sequentially displayed one by one, and generating instruction codes of the assembly animation according to the sequence of the picture names for the assembly picture frame set;
the method comprises the following steps:
s1, opening a three-dimensional model of a product part
In three-dimensional modeling software, opening a three-dimensional model of a product part, wherein the three-dimensional model of the product part comprises historical features, the historical features are process records for creating the three-dimensional model of the product part, each historical feature corresponds to one creation step and process data for creating the three-dimensional model of the product part, and each process data can be displayed in a process diagram form;
the digital model modeling/assembly animation production editor component obtains historical characteristics of a three-dimensional model of a product part;
s2, re-modeling the three-dimensional model of the product part
The digital model modeling/assembly animation production editor component firstly traverses the historical characteristics of the three-dimensional model of the product part through an API;
then, suppressing all historical features of the three-dimensional model of the component in the step S1;
finally, the historical features are released one by one according to the sequence, and the part modeling process diagrams are displayed one by one according to the sequence through the process data of the three-dimensional model of the product part;
s3, capturing process graphs displayed one by one in sequence in the step S2, and generating a picture frame set;
the digital model modeling/assembling animation production editor component calls Windows api or QT api capable of processing the process map, captures the process map which is displayed one by one in sequence by the process data of the three-dimensional model of the product component in step S2, synchronously generates picture frames, names the generated picture frames in time Xu Xuhao by the digital model modeling/assembling animation production editor component, and stores the named picture frames in a memory to obtain a picture frame set;
the Windows api capable of step process diagram comprises api application programs such as GetSystemMetrics;
the QT api capable of step process diagram comprises QAapplication, primary screen () - > grabWindow (0, x, y, ihight, iWidth) and the like;
s4, the digital model modeling/assembly animation production editor component generates modeling animation according to the sequence of the picture names for the picture frame set obtained in the step S3;
the digital model modeling/assembly animation production editor component invokes a GIF library that includes GifBegin, gifWriteFrame, gifEnd functions; uploading a first picture frame in a picture frame set by GifBegin, and recording the size, time interval, pixel parameters and file name of the picture frame;
the GifWriteFrame circularly uploads all picture frames except the first picture frame in the picture frame set, and the size, the time interval and the pixel parameters of each picture frame are recorded;
after all the picture frames except the first picture frame in the picture frame set are uploaded, the GifEnd finishes calling the GIF library;
the GIF library generates part modeling animation according to the sequence of uploading pictures, the size of the recorded picture frames, the time interval and the pixel parameters, and stores the generated animation into a memory;
s5, opening the three-dimensional model of the product
Opening a product three-dimensional model in three-dimensional modeling software, wherein the product three-dimensional model comprises assembly characteristics, the assembly characteristics are process records for creating the product three-dimensional model, each history characteristic corresponds to one creation step and process data for creating the product three-dimensional model, and each process data can be displayed in a process diagram form;
the digital model modeling/assembly animation production editor component obtains assembly characteristics of the three-dimensional model of the product;
s6, reassembling the three-dimensional model of the product
The digital model modeling/assembly animation production editor component firstly traverses assembly characteristics of a three-dimensional model of a product through an API;
then, suppressing all assembly characteristics of the three-dimensional model of the product in the step S5;
thirdly, releasing the assembly characteristics one by one in sequence, and displaying an assembly process diagram one by one in sequence through process data of the three-dimensional model of the product;
s7, capturing assembly process diagrams displayed one by one in sequence in the step S6, and generating an assembly picture frame set;
the digital model modeling/assembly animation production editor component invokes Windows api or QT api capable of processing the process map, captures an assembly process map which is sequentially displayed one by process data of the product three-dimensional model in step S6, generates pictures, names the generated pictures in time Xu Xuhao, and stores the pictures in a memory to obtain an assembly picture frame set;
the Windows api capable of step process diagram comprises GetSystemMetrics and the like;
the QT api capable of step process diagram comprises QAapplication, primary screen () - > grabWindow (0, x, y, ihight, iWidth) and the like;
s8, generating assembly animation according to the sequence of the picture names for the assembly picture frame set obtained in the step S7;
the digital model modeling/assembly animation production editor component invokes a GIF library that includes GifBegin, gifWriteFrame, gifEnd functions; uploading a first picture frame in a picture frame set by GifBegin, and recording the size, time interval, pixel parameters and file name of the picture frame;
configuring the time for uploading the first picture frame display of the GIF library GifBegin, the time interval for uploading the picture frames in a GifWriteFrame circulation mode and the time for displaying each picture frame;
the GifWriteFrame circularly uploads all picture frames except the first picture frame in the picture frame set, and the size, the time interval and the pixel parameters of each picture frame are recorded;
after all the picture frames except the first picture frame in the picture frame set are uploaded, the GifEnd finishes calling the GIF library;
the GIF library generates the product assembly animation according to the sequence of uploading the pictures, the size of the recorded picture frames, the time interval and the pixel parameters, and stores the generated animation into a memory.
Example 3: a method of digital model modeling/assembly animation comprising a digital model modeling/assembly animation editor component comprising an entry function, an exit function, and a registered command;
the registered command is executable instructions registered in the diagramming software;
the entry function and the exit function are used for communicating with and communicating with the drawing software;
the registered command is used for realizing the re-modeling of the three-dimensional model of the product part, capturing a process diagram and a picture frame set which are sequentially displayed one by one in the step S2, generating modeling animation according to the sequence of picture names, re-assembling the three-dimensional model of the product, capturing an assembly process diagram and an assembly picture frame set which are sequentially displayed one by one, and generating instruction codes of the assembly animation according to the sequence of the picture names for the assembly picture frame set;
further, the registered command further comprises instructions for traversing a three-dimensional model database of the product parts in the opened three-dimensional modeling software and sequentially selecting three-dimensional models of the product parts;
further, the registered command further comprises instructions for traversing a product three-dimensional model database in the opened three-dimensional modeling software and sequentially selecting the product three-dimensional models;
the method comprises the following steps:
s1, opening a three-dimensional model of a product part;
in the opened three-dimensional modeling software, executing a product part three-dimensional model database in the opened three-dimensional modeling software by a digital model modeling/assembly animation production editor component, and sequentially selecting three-dimensional models of the product parts;
the digital model modeling/assembly animation production editor component opens the three-dimensional model of the product part, sequentially selects the 1 st three-dimensional model of the product part, and obtains the historical characteristics of the three-dimensional model of the part;
the three-dimensional model of the product part comprises historical features, wherein the historical features are process records for creating the three-dimensional model of the product part, each historical feature corresponds to one creation step and process data for creating the three-dimensional model of the product part, and each process data can be displayed in a process diagram form;
s2, re-modeling the three-dimensional model of the product part;
after step S1 is completed, the digital model modeling/assembly animation production editor component executes an instruction for re-modeling the three-dimensional model of the product part;
firstly, traversing historical features of a three-dimensional model of a product part through an API;
then, suppressing all historical features of the three-dimensional model of the component in the step S1;
finally, the historical features are released one by one according to the sequence, and the part modeling process diagrams are displayed one by one according to the sequence through the process data of the three-dimensional model of the product part;
s3, capturing process graphs displayed one by one in sequence in the step S2, and generating a picture frame set;
while executing the step S2, synchronously executing the capturing process drawings displayed one by one in sequence in the step S2 by the digital model modeling/assembly animation production editor component to generate an instruction of a picture frame set;
the digital model modeling/assembly animation production editor component invokes Windows api or QT api capable of processing the pictures, captures the process pictures which are displayed one by one in sequence by the process data of the three-dimensional model of the product component in step S2, synchronously generates picture frames, names the generated picture frames according to time Xu Xuhao, and stores the picture frames in a memory to obtain a picture frame set;
the Windows api capable of step process diagram comprises api application programs such as GetSystemMetrics;
the QT api capable of step process diagram comprises QAapplication, primary screen () - > grabWindow (0, x, y, ihight, iWidth) and the like;
s4, the digital model modeling/assembly animation production editor component generates modeling animation according to the sequence of the picture names for the picture frame set obtained in the step S3;
after the step S3 is completed, the digital model modeling/assembly animation production editor component executes instructions for generating modeling animation according to the sequence of the picture names on the picture frame set obtained in the step S3;
the digital model modeling/assembly animation production editor component invokes a GIF library that includes GifBegin, gifWriteFrame, gifEnd functions; uploading a first picture frame in a picture frame set by GifBegin, and recording the size, time interval, pixel parameters and file name of the picture frame;
the GifWriteFrame circularly uploads all picture frames except the first picture frame in the picture frame set, and the size, the time interval and the pixel parameters of each picture frame are recorded;
after all the picture frames except the first picture frame in the picture frame set are uploaded, the GifEnd finishes calling the GIF library;
the GIF library generates part modeling animation according to the sequence of uploading pictures, the size of the recorded picture frames, the time interval and the pixel parameters, and stores the generated animation into a memory;
after the step S3 is completed, the modeling of the word model/the assembly animation production application program circulates the step S1, and the 2 nd three-dimensional model of the product part is sequentially selected to obtain the historical characteristics of the three-dimensional model of the part; and (3) circularly executing the steps S2-S3 until the three-dimensional modeling animation of the three-dimensional model of all the parts of the product is completed.
S5, opening the three-dimensional model of the product
Opening product three-dimensional model modeling software, executing a product three-dimensional model database in the opened three-dimensional modeling software by a digital model modeling/assembly animation production editor component, and sequentially selecting product three-dimensional models;
the digital model modeling/assembly animation production editor component opens three-dimensional models of the product parts, sequentially selects the 1 st three-dimensional model of the product, and obtains assembly characteristics of the three-dimensional model of the product;
the three-dimensional product model comprises assembly characteristics, wherein the assembly characteristics are process records for creating the three-dimensional product model, each history characteristic corresponds to one creation step and process data for creating the three-dimensional product model, and each process data can be displayed in the form of a process diagram;
the digital model modeling/assembly animation production editor component obtains assembly characteristics of the three-dimensional model of the product;
s6, reassembling the three-dimensional model of the product
After step S5 is completed, the digital model modeling/assembly animation production editor component executes an instruction for reassembling the three-dimensional model of the product;
the digital model modeling/assembly animation production editor component firstly traverses assembly characteristics of a three-dimensional model of a product through an API;
then, suppressing all assembly characteristics of the three-dimensional model of the product in the step S5;
thirdly, releasing the assembly characteristics one by one in sequence, and displaying an assembly process diagram one by one in sequence through process data of the three-dimensional model of the product;
s7, capturing assembly process diagrams displayed one by one in sequence in the step S6, and generating an assembly picture frame set;
while executing step S6, the digital model modeling/assembly animation production editor component executes an assembly process diagram which is captured and displayed one by one in sequence in step S6, and generates an instruction for assembling a picture frame set;
the digital model modeling/assembly animation production editor component invokes Windows api or QT api capable of processing the process map, captures an assembly process map which is sequentially displayed one by process data of the product three-dimensional model in step S6, generates pictures, names the generated pictures in time Xu Xuhao, and stores the pictures in a memory to obtain an assembly picture frame set;
the Windows api capable of step process diagram comprises GetSystemMetrics and the like;
the QT api capable of step process diagram comprises QAapplication, primary screen () - > grabWindow (0, x, y, ihight, iWidth) and the like;
s8, generating assembly animation according to the sequence of the picture names for the assembly picture frame set obtained in the step S7;
after step S7 is completed, the digital model modeling/assembly animation editor component executes an instruction to generate an assembly animation;
the digital model modeling/assembly animation production editor component invokes a GIF library that includes GifBegin, gifWriteFrame, gifEnd functions; uploading a first picture frame in a picture frame set by GifBegin, and recording the size, time interval, pixel parameters and file name of the picture frame;
configuring the time for uploading the first picture frame display of the GIF library GifBegin, the time interval for uploading the picture frames in a GifWriteFrame circulation mode and the time for displaying each picture frame;
the GifWriteFrame circularly uploads all picture frames except the first picture frame in the picture frame set, and the size, the time interval and the pixel parameters of each picture frame are recorded;
after all the picture frames except the first picture frame in the picture frame set are uploaded, the GifEnd finishes calling the GIF library;
the GIF library generates the product assembly animation according to the sequence of uploading the pictures, the size of the recorded picture frames, the time interval and the pixel parameters, and stores the generated animation into a memory.
Example 4: as shown in fig. 2, a method for modeling/assembling animation of a digital model, which is a three-dimensional digital model that is commonly used to divide a body expressed by a design scheme, a front view (original view), a sketch and a technical description of an engineering or a product and other technical patterns into parts, components and engineering drawings, which can be used for designing and subsequent processing work, using computer three-dimensional modeling software.
S102: selecting a modeling/assembly mode
S102-1: modeling mode:
modeling is to sequentially create geometric models by creating features using three-dimensional modeling software. And finally, combining the components into a workable part.
S103-1: reconstructing a model, capturing a process
The reconstruction model is that an existing model is reconstructed and regenerated according to the modeling steps of the model, and the capturing process is that each step automatically generates a picture when the model is reconstructed.
S102-2: assembly mode
Assembly is the process by which engineers synthesize multiple parts into one component according to design intent.
S103-2: simulation assembly, capturing process
The simulation assembly is to select a designated assembly track by utilizing the mutual matching relation of parts, and the parts are assembled from free positions to mutual matching positions; the assembly track is the path of the assembly of the parts, for example the assembly of the screw is the superposition of a rotational and a linear track. In the capturing process, all positions in the assembling process are calculated according to steps in the simulating assembling process, each step is calculated, and each calculated position automatically generates a picture.
According to the method for creating the animation, when the modeling animation is created, the digital part model is opened, modeling is performed again, and the animation is generated. And when the assembly animation is created, opening the digital component model, selecting an assembly track, automatically calculating the position of the assembly track, and generating the animation.
S104: composite animation
According to the result picture captured by S103-1 or the result picture captured by S103-2, generating a new animation result in a technical synthesis mode, and adopting the principle that: and (3) manufacturing the modeled process pictures or the simulated assembled process pictures into basic elements of animation, forming frames, manufacturing all the result pictures into frames, finally merging together to form animation, and generating an animation file in a GIF format for storage.
When a design engineer makes modeling animation, a solid model is opened, a visual angle is set, a reconstruction model is clicked, the first step of program reconstruction is started, the current state pictures are automatically captured after each step of regeneration, and after the regeneration is completed, all pictures are automatically synthesized into the animation in the GIF format through a digital model modeling/assembly animation production editor component. When a design engineer makes an assembly animation, opening an assembly model, selecting an assembly track, calculating a position of the assembly process track, automatically capturing a current state picture every time, and automatically synthesizing all pictures into the GIF-format animation through the software after the calculation is completed.
S105: opening an animation
And (6) opening the animation file generated in the step (S104) and displaying the result to a user for viewing through a default display mode. The animation expression forms bring novelty, curiosity and trust to the clients. Especially, the appearance, the structure function, the production flow and the like of the industrial product are demonstrated through the three-dimensional animation multi-angle omnibearing demonstration of the product, the bottleneck that the internal structure of the product cannot be shot before and the specification of the text and the drawing is singly relied on is broken through, and the product is clearly and intuitively presented to a client in the form of an animation video.

Claims (5)

1. A rapid manufacturing method for modeling/assembling animation of a digital model of an industrial product is characterized by comprising the following steps: the method comprises the following steps:
s1, opening a three-dimensional model of a product part
The three-dimensional model of the product part comprises historical features, wherein each historical feature is a process record for creating the three-dimensional model of the product part, each historical feature corresponds to one creation step and process data for creating the three-dimensional model of the product part, and each process data is displayed in the form of a process diagram;
s2, re-modeling the three-dimensional model of the product part
Traversing the historical features of the three-dimensional model of the product part through the API, inhibiting all the historical features of the three-dimensional model of the part in the step S1, sequentially releasing the historical features one by one, and sequentially displaying part modeling process diagrams one by one through process data of the three-dimensional model of the product part;
s3, capturing the process graphs displayed one by one in sequence in the step S2, and generating a picture frame set
Capturing process images which are sequentially displayed one by process data of a three-dimensional model of a product part in the step S2 by adopting Windows api or QT api capable of processing the process images, generating pictures, naming the generated pictures in time Xu Xuhao, and storing the pictures in a memory to obtain a picture frame set;
s4, generating modeling animation according to the picture name sequence for the picture frame set obtained in the step S3
Invoking a GIF library, wherein the GIF library comprises GifBegin, gifWriteFrame, gifEnd functions; the GIF library generates part modeling animation according to the sequence of uploading pictures, the size of the recorded picture frames, the time interval and the pixel parameters, and stores the generated animation into a memory;
s5, opening the three-dimensional model of the product
Opening a product three-dimensional model in three-dimensional modeling software, wherein the product three-dimensional model comprises assembly characteristics, the assembly characteristics are process records for creating the product three-dimensional model, each history characteristic corresponds to one creation step and process data for creating the product three-dimensional model, and each process data is displayed in a process diagram form;
s6, reassembling the three-dimensional model of the product
Traversing the assembly characteristics of the three-dimensional model of the product through the API, inhibiting all the assembly characteristics of the three-dimensional model of the product in the step S5, sequentially releasing the assembly characteristics one by one, and sequentially displaying an assembly process diagram one by one through process data of the three-dimensional model of the product;
s7, capturing assembly process diagrams displayed one by one in sequence in the step S6, and generating an assembly picture frame set
Capturing an assembly process map which is sequentially displayed one by process data of a three-dimensional product model in step S5 by adopting Windows api or QT api capable of processing the map in steps, generating pictures, naming the generated pictures in time Xu Xuhao, and storing the pictures in a memory to obtain an assembly picture frame set; the capturing process is to calculate all positions in the assembling process according to steps in the simulating assembling process, each step and each calculated position automatically generates a picture;
s8, generating assembly animation according to the sequence of the picture names for the assembly picture frame set obtained in the step S7
Invoking a GIF library, wherein the GIF library comprises GifBegin, gifWriteFrame, gifEnd functions; the GIF library generates a product assembly animation according to the sequence of uploading pictures, the size of the recorded picture frames, the time interval and the pixel parameters, and stores the generated animation into a memory;
and S9, opening the part modeling animation and the product assembly animation generated in the previewing steps S4 and S8 to preview the quality of the animation, storing the animation which reaches the quality standard, and repeating the steps S1-S4 or the steps S5-S8 when the animation does not reach the quality standard, so as to reproduce the part modeling animation or the product assembly animation until the quality reaches the standard.
2. The industrial product digital model modeling/assembly animation rapid production method as claimed in claim 1, wherein: including a digital model modeling/assembly animation editor component comprising an entry function, an exit function, and registered commands;
the registered command is executable instructions registered in the diagramming software;
the entry function and the exit function are used for communicating with and communicating with the drawing software;
the registered command is used for realizing the remodelling of the three-dimensional model of the product part, capturing a process diagram displayed one by one in sequence in the step S2, generating a picture frame set, generating modeling animation according to the sequence of picture names, remounting the three-dimensional model of the product, capturing an assembly process diagram displayed one by one in sequence, generating an assembly picture frame set, and generating instruction codes of the assembly animation according to the sequence of the picture names for the assembly picture frame set.
3. The industrial product digital model modeling/assembly animation rapid production method as claimed in claim 2, wherein: the registered command also comprises instructions for traversing the three-dimensional model database of the product parts in the opened three-dimensional modeling software and sequentially selecting the three-dimensional models of the product parts.
4. The industrial product digital model modeling/assembly animation rapid production method as claimed in claim 2, wherein: the registered command also includes instructions for traversing the product three-dimensional model database in the open three-dimensional modeling software, and selecting the product three-dimensional models in sequence.
5. The industrial product digital model modeling/assembly animation rapid production method as claimed in claim 1, wherein: the step of calling the GIF library includes: uploading a first picture frame in a picture frame set by GifBegin, and recording the size, time interval, pixel parameters and file name of the picture frame;
the GifWriteFrame circularly uploads all picture frames except the first picture frame in the picture frame set, and the size, the time interval and the pixel parameters of each picture frame are recorded;
after all the picture frames except the first picture frame in the picture frame set are uploaded, the GifEnd finishes calling the GIF library.
CN202210620897.2A 2022-06-02 2022-06-02 Industrial product digital model modeling/assembly animation rapid manufacturing method Active CN115169023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210620897.2A CN115169023B (en) 2022-06-02 2022-06-02 Industrial product digital model modeling/assembly animation rapid manufacturing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210620897.2A CN115169023B (en) 2022-06-02 2022-06-02 Industrial product digital model modeling/assembly animation rapid manufacturing method

Publications (2)

Publication Number Publication Date
CN115169023A CN115169023A (en) 2022-10-11
CN115169023B true CN115169023B (en) 2023-08-29

Family

ID=83482598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210620897.2A Active CN115169023B (en) 2022-06-02 2022-06-02 Industrial product digital model modeling/assembly animation rapid manufacturing method

Country Status (1)

Country Link
CN (1) CN115169023B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7075531B1 (en) * 1999-08-23 2006-07-11 Fuzie, Inc. Method of creating animation image data files
CN101216862A (en) * 2008-01-16 2008-07-09 南京航空航天大学 Paper-free three-dimensional assemblage process document accomplishing method
CN104835188A (en) * 2015-04-01 2015-08-12 李冀辉 Method of making high-quality three-dimensional mechanical simulation animation by means of personal computer
CN111179391A (en) * 2019-12-10 2020-05-19 深圳卡乐星球数字娱乐有限公司 Three-dimensional animation production method, system and storage medium
CN114429522A (en) * 2022-01-28 2022-05-03 南京维拓科技股份有限公司 Method and editor for explosion disassembly and assembly sequence development of product model

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7075531B1 (en) * 1999-08-23 2006-07-11 Fuzie, Inc. Method of creating animation image data files
CN101216862A (en) * 2008-01-16 2008-07-09 南京航空航天大学 Paper-free three-dimensional assemblage process document accomplishing method
CN104835188A (en) * 2015-04-01 2015-08-12 李冀辉 Method of making high-quality three-dimensional mechanical simulation animation by means of personal computer
CN111179391A (en) * 2019-12-10 2020-05-19 深圳卡乐星球数字娱乐有限公司 Three-dimensional animation production method, system and storage medium
CN114429522A (en) * 2022-01-28 2022-05-03 南京维拓科技股份有限公司 Method and editor for explosion disassembly and assembly sequence development of product model

Also Published As

Publication number Publication date
CN115169023A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
US6084590A (en) Media production with correlation of image stream and abstract objects in a three-dimensional virtual stage
US6011562A (en) Method and system employing an NLE to create and modify 3D animations by mixing and compositing animation data
US11263821B1 (en) Generating augmented reality prerenderings using template images
EP2174299B1 (en) Method and system for producing a sequence of views
WO1998045813A9 (en) Media production with correlation of image stream and abstract objects in a three-dimensional virtual stage
US20120280991A1 (en) Employing mesh files to animate transitions in client applications
KR102032606B1 (en) Machinima manufacturing method based on 3D Game Engine
EP1481372A1 (en) Method and system for generating caricaturized talking heads
US20010043219A1 (en) Integrating live/recorded sources into a three-dimensional environment for media productions
CN108257205B (en) Three-dimensional model construction method, device and system
CN114363712A (en) AI digital person video generation method, device and equipment based on templated editing
KR100860375B1 (en) The Production method and system of Cartoon animation using Character animation and Mesh deformation
KR20110045719A (en) Animation production method, computer readable medium in which program for executing the method is stored and animation production system in online using the method
CN115169023B (en) Industrial product digital model modeling/assembly animation rapid manufacturing method
JP2007034788A (en) Head motion learning device and head motion composition device for head motion automatic generation, and computer program
US20050034076A1 (en) Combining clips of image data
KR20220104639A (en) Device for multi-angle screen coverage analysis
US11282292B2 (en) Method based on unique metadata for making direct modifications to 2D, 3D digital image formats quickly and rendering the changes on AR/VR and mixed reality platforms in real-time
US8379028B1 (en) Rigweb
Stoiber et al. Modeling short-term dynamics and variability for realistic interactive facial animation
Smith et al. Collaborative visualeyes
Foni et al. Time-dependent illumination and animation of virtual Hagia-Sophia
Izani et al. Keyframe animation and motion capture for creating animation: a survey and perception from industry people
CN113805532B (en) Method and terminal for manufacturing physical robot actions
Parson Creative Graphical Coding via Pipelined Pixel Manipulation

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Rapid Method for Digital Modeling and Assembly Animation of Industrial Products

Effective date of registration: 20231202

Granted publication date: 20230829

Pledgee: Zijin Branch of Nanjing Bank Co.,Ltd.

Pledgor: NANJING WITSOFT TECHNOLOGY Co.,Ltd.

Registration number: Y2023980068883

PE01 Entry into force of the registration of the contract for pledge of patent right