Invention content
The main purpose of the present invention is to provide a kind of real-time formative method of 3 d part that CAD is unrelated, terminal and storages
Medium, it is intended to the technical issues of solving how the corresponding 3 d part model of various parameters in series to be carried out real-time moulding.
To achieve the above object, the present invention provides a kind of real-time formative method of the 3 d part that CAD is unrelated, the CAD without
The real-time formative method of 3 d part of pass includes the following steps:
Initial three-dimensional part model is chosen, characteristic parameter is extracted from the initial three-dimensional part model, according to described
Characteristic parameter synthetic time series Parameters of The Parts designs table;
Parameter to be modified is chosen from the series parts parameter designing table;
It modifies to the parameter to be modified, obtains target component;
Corresponding target 3 d part model is generated according to the target component by THREE DIMENSION GEOMETRIC MODELING engine.
Preferably, described to choose parameter to be modified from the series parts parameter designing table, it specifically includes:
Parameter modification instruction input by user is responded, is instructed from the series parts parameter designing according to parameter modification
Parameter to be modified is chosen in table.
Preferably, described to modify to the parameter to be modified, target component is obtained, is specifically included:
It is modified to the parameter to be modified according to parameter modification instruction, obtains target component.
Preferably, described that corresponding target 3 d part is generated according to the target component by THREE DIMENSION GEOMETRIC MODELING engine
Model specifically includes:
The parameter combination that current application is obtained from the series parts parameter designing table, by calling THREE DIMENSION GEOMETRIC MODELING
The SDK development interfaces that engine provides generate corresponding target 3 d part mould according to the parameter combination and the target component
Type.
Preferably, described that corresponding target three-dimensional is generated according to the target component by THREE DIMENSION GEOMETRIC MODELING engine
Later, the real-time formative method of the 3 d part unrelated CAD further includes:
Target 3 d part model progress real-time graph is shown by parts library.
In addition, to achieve the above object, the present invention also provides a kind of terminal, the terminal includes:Memory, processor and
It is stored on the memory and the real-time moulding program of the unrelated 3 d parts of CAD, the CAD can be run on the processor
The real-time moulding program of unrelated 3 d part is arranged for carrying out the real-time formative method of the unrelated 3 d parts of CAD as described above
Step.
In addition, to achieve the above object, the present invention also provides a kind of storage medium, CAD is stored on the storage medium
The real-time moulding program of unrelated 3 d part, it is real when the real-time moulding program of the 3 d part unrelated CAD is executed by processor
The step of 3 d part unrelated CAD now as described above real-time formative method.
By modifying to parameter to be modified in the present invention, target component is obtained, THREE DIMENSION GEOMETRIC MODELING engine root is passed through
Corresponding target 3 d part model can be generated in real time according to the target component, and it is real-time to provide a kind of threedimensional model that CAD is unrelated
Formative method, the initial three-dimensional part model of compatible various CAD formats, it is not necessary to rely on CAD software and can complete 3 d part and make
Type, and real-time is high, greatly promotes user experience.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the terminal may include:Processor 1001, such as CPU, communication bus 1002, user interface
1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), optional user interface 1003 can also include standard wireline interface,
Wireless interface, the wireline interface for user interface 1003 can be USB interface in the present invention.Network interface 1004 optionally may be used
To include standard wireline interface and wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory, also may be used
To be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be
Independently of the storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of structure shown in Fig. 1, may include ratio
More or fewer components are illustrated, certain components or different components arrangement are either combined.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage media
Believe module, Subscriber Interface Module SIM and the unrelated real-time moulding programs of 3 d part of CAD.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, with the background server
Into row data communication;User interface 1003 is mainly used for connecting peripheral hardware;The terminal calls memory by processor 1001
The real-time moulding program of the 3 d part unrelated CAD that is stored in 1005, and execute following operation:
Original three-dimensional model is chosen, characteristic parameter is extracted from the original three-dimensional model, according to the characteristic parameter
Synthetic time series Parameters of The Parts designs table;
Parameter to be modified is chosen from the series parts parameter designing table;
It modifies to the parameter to be modified, obtains target component;
Corresponding target 3 d part model is generated according to the target component by THREE DIMENSION GEOMETRIC MODELING engine.
Further, the 3 d part that processor 1001 can call the CAD stored in memory 1005 unrelated is made in real time
Type program also executes following operation:
Parameter modification instruction input by user is responded, is instructed from the series parts parameter designing according to parameter modification
Parameter to be modified is chosen in table.
Further, the 3 d part that processor 1001 can call the CAD stored in memory 1005 unrelated is made in real time
Type program also executes following operation:
It is changed to instruct to modify to the parameter to be modified according to the parameter and obtains target component.
Further, the 3 d part that processor 1001 can call the CAD stored in memory 1005 unrelated is made in real time
Type program also executes following operation:
The parameter combination that current application is obtained from the series parts parameter designing table, by calling THREE DIMENSION GEOMETRIC MODELING
The SDK development interfaces that engine provides generate corresponding target 3 d part mould according to the parameter combination and the target component
Type.
Further, the 3 d part that processor 1001 can call the CAD stored in memory 1005 unrelated is made in real time
Type program also executes following operation:
Target three-dimensional progress real-time graph is shown by parts library.
The present embodiment obtains target component, passes through THREE DIMENSION GEOMETRIC MODELING engine root by modifying to parameter to be modified
Corresponding target 3 d part model can be generated in real time according to the target component, and it is real-time to provide a kind of threedimensional model that CAD is unrelated
Formative method, the initial three-dimensional part model of compatible various CAD formats, it is not necessary to rely on CAD software and can complete 3 d part and make
Type, and real-time is high, greatly promotes user experience.
Based on above-mentioned hardware configuration, the embodiment of the unrelated real-time formative methods of 3 d part of CAD of the present invention is proposed.
Illustrate with reference to the flow that Fig. 2, Fig. 2 are the unrelated real-time formative method first embodiments of 3 d part of CAD of the present invention
Figure proposes the unrelated real-time formative method first embodiments of 3 d part of CAD of the present invention.
In the first embodiment, the real-time formative method of the 3 d part unrelated CAD includes the following steps:
Step S10 chooses initial three-dimensional part model, characteristic parameter is extracted from the initial three-dimensional part model,
Table is designed according to the characteristic parameter synthetic time series Parameters of The Parts.
It should be understood that there are a large amount of series parts in large-scale parts library, that is, pass through series parts parameter designing
Table establishes out a part series from an individual part.When user browses or downloads series parts, in order to more intuitive
See the shape of various parts, can be chosen and be instructed by display interface input parameter, it can be user that the parameter, which chooses instruction,
Specified instruction is carried out for the parameter or series parts corresponding series parameter of wanting the part browsed, it, can for the specified of parameter
By series parts parameter designing table come Selecting All Parameters.
It will be appreciated that the series parts parameter designing table can carry out characteristic parameter by initial three-dimensional part model
Extraction, the corresponding series parts parameter designing table of part, the initial three-dimensional part model are established according to the characteristic parameter of extraction
Can be the 3 d part model of the formats such as the 3 d part model, such as PROE or SOLIDWORKS of arbitrary CAD formats, this reality
Example is applied not limit this.
Step S20 chooses parameter to be modified from the series parts parameter designing table.
It should be noted that the series parts parameter designing table include extracted in initial three-dimensional part model it is each
The title and parameter value of parameter, the parameter to be modified refer to the specified series parts pair that user is inputted by display interface
The parameters in series answered, such as:Heavy burden reuses the parameters such as BJ type two-period form liftouts punch diameter, cutting edge length and/or punch length, this
Embodiment does not limit this.
Step S30 modifies to the parameter to be modified, obtains target component.
It should be understood that the parameter to be modified can modify according to instruction input by user, the parameter to be modified
The typically corresponding parameters in series of series parts can be a parameter, can also be multiple parameters, in the parameter to be modified
For multiple parameters when, modification can be carried out at the same time to multiple parameters to be modified according to user instruction.
Step S40 generates corresponding target 3 d part mould by THREE DIMENSION GEOMETRIC MODELING engine according to the target component
Type.
In the concrete realization, can be the combination of a parameter or multiple parameters for the parameter to be modified, it is described
Parameter to be modified can be changed repeatedly according to demand, to obtain corresponding target component, so that it is three-dimensional several by calling
The SDK development interfaces what moulding engine provides generate corresponding target 3 d part model according to the target component, generation
3 d part model can be updated display by parts library, and corresponding 3 d part model is arrived to which user is capable of displaying live view.
It will be appreciated that THREE DIMENSION GEOMETRIC MODELING engine provides the core component of geometric modeling (such as various Three-dimensional CAD Softwares
Open CASCADE, Parasolid and ACIS etc.).It, will by the SDK development interfaces for calling THREE DIMENSION GEOMETRIC MODELING engine to provide
The target component generates corresponding target 3 d part model in conjunction with the initial three-dimensional part model, for described original three
Unspecified parameter remains unchanged in dimension part model, the target component is updated, to generate corresponding target 3 d part
Model, and real-time update shows the target 3 d part model.
In the present embodiment, by modifying to parameter to be modified, target component is obtained, THREE DIMENSION GEOMETRIC MODELING engine is passed through
Corresponding target 3 d part model can be generated in real time according to the target component, and it is real to provide a kind of threedimensional model that CAD is unrelated
When formative method, the initial three-dimensional part model of compatible various CAD formats, it is not necessary to which 3 d part can be completed by relying on CAD software
Moulding, and real-time is high, greatly promotes user experience.
Illustrate with reference to the flow that Fig. 3, Fig. 3 are the unrelated real-time formative method second embodiments of 3 d part of CAD of the present invention
Figure is based on above-mentioned first embodiment shown in Fig. 2, proposes the second of the unrelated real-time formative methods of 3 d part of CAD of the present invention
Embodiment.
In a second embodiment, the step S20, specifically includes:
Step S201 responds parameter modification instruction input by user, is instructed from described serial zero according to parameter modification
Parameter to be modified is chosen in part parameter designing table.
It should be understood that the series parts parameter designing table includes multigroup series parts parameter, user can basis
It is the parameter to be modified to need specified any one group of series Parameters of The Parts, and user can be inputted by the display interface of parts library to join
Number modification instruction, the parameter modification instruction includes parameter to be modified and targeted parameter value corresponding with parameter to be modified.
In a second embodiment, the step S30, specifically includes:
Step S301 changes to instruct to modify to the parameter to be modified according to the parameter obtaining target component.
It will be appreciated that usually parameter input by user modification instruction include parameter to be modified that user specifies and with wait for
The corresponding targeted parameter value of parameter is changed, then can be extracted from parameter modification instruction corresponding with the parameter to be modified
Targeted parameter value, and the corresponding original parameter value of parameter to be modified is revised as the targeted parameter value extracted, to obtain mesh
Mark parameter.Such as:Attach most importance to loading BJ type two-period form liftout punch diameters 40mm, the long 30mm of cutting edge and punch of parameter to be modified is long
125mm is spent, corresponding original parameter value is respectively 40mm, 30mm and 125mm, and the parameter modification instructs loading BJ types of attaching most importance to
Two-period form liftout punch diameter 10mm, cutting edge long 10mm and punch length 63mm, then from the parameter modification instruction in extraction with
The corresponding targeted parameter value of the parameter to be modified is respectively 10mm, 10mm and 63mm, and the original parameter value is revised as institute
It states targeted parameter value, obtains target component, is i.e. target component is attached most importance to loading BJ type two-period form liftout punch diameters 10mm, cutting edge
Long 10mm and punch length 63mm.
In a second embodiment, the step S40, specifically includes:
Step S401 obtains the parameter combination of current application from the series parts parameter designing table, by calling three
The SDK development interfaces that geometric modeling engine provides are tieed up, corresponding target is generated according to the parameter combination and the target component
3 d part model.
In the concrete realization, the initial three-dimensional part model can be the three-dimensional CAD model of existing arbitrary format, all
Table can be designed according to the characteristic parameter synthetic time series Parameters of The Parts, user can pass through the system by extracting characteristic parameter
Row Parameters of The Parts designs table and chooses arbitrary parameters in series as parameter to be modified, then by changing the parameter to be modified, obtains
Obtain target component.The current application is that user currently browses the application program or web application used when three-dimensional parts, institute
The parameter combination that current application is obtained in series parts parameter designing table is stated, the parameter combination and the target component constitute institute
All parameters for stating target 3 d part, the SDK development interfaces provided by THREE DIMENSION GEOMETRIC MODELING engine, according to the parameter group
It closes and the target component then produces corresponding target 3 d part model, user can then pass through parts library real time inspection target
3 d part model.
In a second embodiment, after the step S401, the method further includes:
Step S50 is shown target 3 d part model progress real-time graph by parts library.
In order to user browse and download series parts when, can the corresponding 3 d part model of real time inspection, passing through three
After tieing up geometric modeling engine generation target 3 d part model, target 3 d part model progress figure can be shown in real time
Show, user allowed more intuitively to check target 3 d part model, the parts library is an application program, including client and
Two kinds of forms of webpage version.
In the present embodiment, modified real-time generation for the parameters in series that user specifies by THREE DIMENSION GEOMETRIC MODELING engine
Corresponding target 3 d part model, and target 3 d part model described in real-time display, for original the three of arbitrary CAD formats
Tie up part model all can generate corresponding target three by the parameter modification instruction that THREE DIMENSION GEOMETRIC MODELING engine in conjunction with user inputs
Part model is tieed up, when user changes series parts parameter in parts library, accomplishes real-time display, while compatible various CAD formats,
CAD software, which need not be relied on, can complete 3 d part moulding, greatly promote user experience.
In addition, the embodiment of the present invention also proposes a kind of storage medium, the unrelated three-dimensionals of CAD are stored on the storage medium
Part real-time moulding program realizes following operation when the real-time moulding program of the 3 d part unrelated CAD is executed by processor:
Initial three-dimensional part model is chosen, characteristic parameter is extracted from the initial three-dimensional part model, according to described
Characteristic parameter synthetic time series Parameters of The Parts designs table;
Parameter to be modified is chosen from the series parts parameter designing table;
It modifies to the parameter to be modified, obtains target component;
Corresponding target 3 d part model is generated according to the target component by THREE DIMENSION GEOMETRIC MODELING engine.
Further, following behaviour is also realized when the real-time moulding program of the 3 d part unrelated CAD is executed by processor
Make:
Parameter modification instruction input by user is responded, is instructed from the series parts parameter designing according to parameter modification
Parameter to be modified is chosen in table.
Further, following behaviour is also realized when the real-time moulding program of the 3 d part unrelated CAD is executed by processor
Make:
It is changed to instruct to modify to the parameter to be modified according to the parameter and obtains target component.
Further, following behaviour is also realized when the real-time moulding program of the 3 d part unrelated CAD is executed by processor
Make:
The parameter combination that current application is obtained from the series parts parameter designing table, by calling THREE DIMENSION GEOMETRIC MODELING
The SDK development interfaces that engine provides generate corresponding target 3 d part mould according to the parameter combination and the target component
Type.
Further, following behaviour is also realized when the real-time moulding program of the 3 d part unrelated CAD is executed by processor
Make:
Target 3 d part model progress real-time graph is shown by parts library.
In the present embodiment, by modifying to parameter to be modified, target component is obtained, THREE DIMENSION GEOMETRIC MODELING engine is passed through
Corresponding target 3 d part model can be generated in real time according to the target component, and it is real to provide a kind of threedimensional model that CAD is unrelated
When formative method, the archetype of compatible various CAD formats, it is not necessary to 3 d part moulding can be completed by relying on CAD software, and
Real-time is high, greatly promotes user experience.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.Word first, second, with
And the use of third etc. does not indicate that any sequence, can be title by these word explanations.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.