CN106777491A - A kind of method in dynamic creation mold cooling water road - Google Patents

A kind of method in dynamic creation mold cooling water road Download PDF

Info

Publication number
CN106777491A
CN106777491A CN201611030229.5A CN201611030229A CN106777491A CN 106777491 A CN106777491 A CN 106777491A CN 201611030229 A CN201611030229 A CN 201611030229A CN 106777491 A CN106777491 A CN 106777491A
Authority
CN
China
Prior art keywords
water channel
point
dimensional coordinate
working face
old
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
CN201611030229.5A
Other languages
Chinese (zh)
Other versions
CN106777491B (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.)
Dongguan Yanxiu Mold Parts Co ltd
Original Assignee
Dongguan Yan Feng Information 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 Dongguan Yan Feng Information Technology Co Ltd filed Critical Dongguan Yan Feng Information Technology Co Ltd
Publication of CN106777491A publication Critical patent/CN106777491A/en
Application granted granted Critical
Publication of CN106777491B publication Critical patent/CN106777491B/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/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04815Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • Computational Mathematics (AREA)
  • Structural Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Civil Engineering (AREA)
  • Architecture (AREA)
  • Human Computer Interaction (AREA)
  • Moulds For Moulding Plastics Or The Like (AREA)

Abstract

The invention discloses a kind of method in dynamic creation mold cooling water road, including:Choose mold former;If working face and default Z1Elevation plane;Two-dimensional coordinate starting point A is determined in working face;The two-dimensional coordinate terminal B in working face is obtained in real time, and obtains Z in real time1Highly change event and mouse click event;Point A is projected to three-dimensional coordinate starting point A is obtained in preset height plane1, point B is projected to three-dimensional coordinate terminal B is obtained in preset height plane1;Update the preceding paragraph water channel object model and according to A1And B1Generate current water channel;Triggering mouse click event, current water channel is created and completed, and carries out the next section of establishment of water channel, and now water channel two-dimensional coordinate terminal B automatically becomes the next section of water channel two-dimensional coordinate starting point A of water channel.It is of the invention to obtain mouse position in real time, generate and update water channel in real time by the position of mouse, and real-time adjustment be sequentially connected and level water channel highly, reduce the difficulty that 3d modeling softwares create water channel.

Description

A kind of method in dynamic creation mold cooling water road
Technical field
The present invention relates to mould water channel modeling field, more particularly to a kind of method in dynamic creation mold cooling water road.
Background technology
Mould be in industrial production for being molded, the instrument of the batch shaping such as die casting, there is the type of shaping the inside of mould Chamber, in the material injection mold cavity of thawing, internal material is solidified into product after mould cooling, opens mould taking-up shaping and produces Product, shaping is completed.The material of mould is metal, waits the mould natural cooling time very long, so having made many in mould Cooling water channel, for accelerating production efficiency.
Mould water channel for more preferable cooling effect, be with flowing water cooling, so one group of water channel by a water inlet and One cooling water channel hole composition between delivery port, and water inlet and delivery port, because mold materials are metals, processing mold The method in cooling water channel hole is bored with metal bit, and metal bit is straight, it is impossible to bore curved hole, drilling terminates rear water channel The processing technology hole in hole is blocked with plug, leaves behind water inlet and delivery port, so each section of independent water channel, all with one With drill bit drilling come opening, and one group of water route be made up of multiple independent water channels connections, so these drill bit imports are to want Blocked with plug, a water channel can be, from any one of two of part opening drill, how to determine boring direction and boring point Cost-effective could be critical., in mould inside, except water inlet and delivery port, water channel hole is or not the other parts of water channel hole Cut is allowed, because in mould production, inside water channel is circulating water, if water channel hole has a cut, circulating water will be from broken Mouth outflow, causes production to terminate.In addition, there is mismachining tolerance in water channel Drilling operation, so die cavity or mould in water channel and mould Other parts will have safe distance, in order to avoid water channel cut during water channel hole machined.
Before processing mold cooling water channel, the drawing of the cooling water channel of mould is first designed.All it was in the past that 2d softwares draw water Road drawing, 3d modeling softwares rise in recent years, 3d modeling softwares design is directly perceived, but position is numerous and diverse anyhow because of mould water channel, It is distributed in the solid space of mould, because every group of water channel contains the water channel of varying number and diverse location, and each water channel Want and there is safe distance in any face of the cooling part, so water channel is designed in 3d modeling softwares bothering very much.
Current water channel design modeling method is that the different sections inside one group of water channel are divided into independent water channel to be modeled respectively, Because each section of water channel beginning and end position is different, height space is also different, so when drawing water channel, user elder generation mouse is specified This section of water channel starting point coordinate (xyz three-dimensional coordinates) and terminal point coordinate (xyz three-dimensional coordinates), then with beginning and end the water channel mould Type is created, because simply specifying beginning and end, the center section of the long strip type water channel model of establishment is likely to and cooling body Other faces interfered, if to change the coordinate dimension of the water channel, it is necessary to user reassigns beginning and end, regeneration Water channel, then whether the water channel interferes other faces with eye recognition.This method has the disadvantage that user's mouse can just be seen after specifying at 2 points To model, have after model again by eye recognition, and determine whether to change coordinate position.After user creates one section of water channel, its His section water channel equally wants user's mouse to specify beginning and end to create.Water channel hop count is more, operates very cumbersome, mouse point Hit quantity very many.
Additionally, each section of water channel that above-mentioned existing method is obtained all is independent, the height of one of water channel is being adjusted When, the height of other water channels will not change therewith, even if still needing individually tune in level other water channels with the water channel Whole height, workload is big, cumbersome.
To sum up, how mouse position is obtained in real time, water channel, and real-time adjustment are generated and update in real time by the position of mouse Be sequentially connected and level water channel highly, reduce the difficulty that 3d modeling softwares create water channel, it appears increasingly important.
The content of the invention
The technical problems to be solved by the invention are how to overcome the mouse clicks amount during existing establishment water channel More, cumbersome, workload is big and is sequentially connected and level water channel height can not be while the defect for adjusting.
It is the invention provides a kind of method in dynamic creation mold cooling water road including following in order to solve this problem Step:
S1, selection mold former;
S2, one working face of setting;
S3, the one default Z of inside setting in the mold former1Elevation plane, the default Z1Elevation plane it is parallel with The working face;
S4, the determination water channel two-dimensional coordinate starting point A in the working face;
S5, the water channel two-dimensional coordinate terminal B obtained in real time in the working face, and Z is obtained in real time1Highly change event And mouse click event;
S6, point A is projected into default Z1Three-dimensional coordinate starting point A is obtained in elevation plane1, point B is projected into default Z1Highly Three-dimensional coordinate terminal B is obtained in plane1
S7, judge whether the preceding paragraph water channel object tag old the insides have water channel model object, if so, with point A1With point B1More Water channel model object inside new the preceding paragraph water channel object tag old, if it is not, according to point A1With point B1Current water channel model is generated, And by current water channel model object id records inside water channel object tag old;
S8, the triggering mouse click event, current water channel are created and completed, and arrange principle by current water channel according to inverted order In water channel intersection table, be then back to step S5 carries out the next section of establishment of water channel to information record, and now the water channel two dimension is sat Mark terminal B automatically becomes the next section of water channel two-dimensional coordinate starting point A of water channel, and empties the model inside water channel object tag old Object id;If mouse click event is not triggered, return to step S5.
Further, the water channel object model updated inside the preceding paragraph water channel object tag old in the step S7 Specific method is:The water channel object model inside the preceding paragraph water channel object tag old is deleted, with point A1With point B1Generate current water Road model, and by current water channel model object id records inside water channel object tag old.
Further, the water channel object model updated inside the preceding paragraph water channel object tag old in the step S7 Specific method is:With point A1With point B1Update the respective coordinates of the water channel model object inside the preceding paragraph water channel object tag old Point.
Further, the Z in the step S51Event is highly changed for keyboard key events or dialog box button event, Event is triggered, and changes Z1Highly.
Specifically, the Z1Height modification event be sequentially connected for modification and level water channel highly, its specific bag Include following steps:
Preserve the Z before modification1Highly it is Z2
The water channel information of inverted order arrangement in water channel intersection table is all taken out;
Whole water channel information in the water channel intersection table of the above-mentioned inverted order arrangement of traversal loop;
The current water channel for comparing is set to target water channel, contrasts whether the target water channel height is equal to Z2, if so, modification Target water channel is highly new Z1Simultaneously be saved in the height value in the water channel intersection table by height, while more fresh target water channel mould Type, is then back to traversal loop step and continues to compare the preceding paragraph water channel information of target water channel, and now, the preceding paragraph water channel becomes automatically It is target water channel;If it is not, exiting traversal loop.
Specifically, in the step S8, left button clicks on mouse, and the mouse click event is triggered, otherwise, the mouse point Event is hit not trigger.
Further, the working face in the step S2 takes a working face for mouse point, passes through in the step S5 Dilatory cursor of mouse obtains the water channel two-dimensional coordinate terminal B in the working face in real time.
Further, the step of most short boring direction also including automatic decision each water channel, specially:
After getting water channel beginning and end, water channel starting point and water channel terminal are extended to and mould along water channel direction respectively Intersecting, the starting point intersect with mould after extending and draws intersection point C, intersects with mould after the terminal extension and draws intersection point D, described The distance between point C and described terminal are h1, the distance between the point D and the starting point are h2
If h1<h2, then set-point C is boring point;If h1>h2, then set-point D is boring point;If h1=h2, then set-point C Or point D is boring point.
Further, a water channel plug part is drawn at the water channel boring point for setting.
Further, methods described can also be expanded for creating through two cooling water channels of part of mould, specifically, Set up the default Z parallel to working face respectively in two parts of mould1Elevation plane, then obtains on working face Two-dimensional points coordinate, two-dimensional points coordinate is projected to two default Z of part respectively13d coordinate points are produced in elevation plane, is passed through The 3d coordinate points are built through two cooling water channels of part of mould, and by Z1Height modification event modification be sequentially connected and Level water channel is highly.
The method in dynamic creation mold cooling water road of the invention, has the advantages that:
1st, the present invention obtains xy position generation model of the mouse in working face in real time, and xy positions are by dragging cursor of mouse reality When control, keyboard or dialog box button change water channel highly, so quickly can in real time generate the water channel of arbitrary coordinate, and every time Adjustment height, can all find out from beginning to end successively and level water channel, change together.
2nd, one section of water channel of the invention is finally completed by triggering mouse click event to control, and the water channel is created and completed The water channel two-dimensional coordinate terminal on its working face automatically becomes the next section of water channel two-dimensional coordinate starting point of water channel, operation letter afterwards Single, mouse clicks amount is less.
3rd, the present invention can with the most short boring direction of each water channel of automatic decision, will the beginning and end of water channel extend to Intersect with mould, draw intersection point C and intersection point D respectively, and calculate respectively the distance between intersection point C and water channel terminal and intersection point D and The distance between water channel starting point, boring point is set to by intersection point corresponding with above-mentioned beeline, and the method greatlys save drilling Cost.
4th, the present invention can also be expanded for creating through mould two in addition to it can be used for the mould with single part The cooling water channel of individual part, range of application is wider.
Brief description of the drawings
In order to illustrate more clearly of technical scheme, below will be to being wanted needed for embodiment or description of the prior art The accompanying drawing for using is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, right For those of ordinary skill in the art, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings Its accompanying drawing.
Fig. 1 is the flow chart of the method in dynamic creation mold cooling water road of the invention;
Fig. 2 is that water channel model object inside the preceding paragraph water channel object tag old is updated in step S7 of the invention A kind of process chart;
Fig. 3 is that water channel model object inside the preceding paragraph water channel object tag old is updated in step S7 of the invention Two kinds of process charts;
The mold former structural representation chosen in Fig. 4 step S1 of the invention;
Fig. 5 is the structural representation of step S2 of the invention to step S4;
Fig. 6 is the structural representation of step S5 to S7 of the invention;
Fig. 7 is the structural representation of step S8 of the invention;
Fig. 8 is the structural representation for determining most short boring direction of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in inventive embodiments is carried out clear, complete Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this Inventive embodiment, the every other reality that those of ordinary skill in the art are obtained on the premise of creative work is not made Example is applied, the scope of protection of the invention is belonged to.
Embodiment one:
As depicted in figs. 1 and 2, the invention discloses a kind of method in dynamic creation mold cooling water road, including following step Suddenly:
S1, selection mold former, as shown in figure 4, the mold former of the present embodiment is made up of a part, the inside parts With multiple hole in piece part, cooling water channel of the invention can not have common factor during establishment with the hole in piece part;
S2, one mouse point of setting take a working face, and the working face is used to be chosen for mouse the two-dimensional coordinate of water channel Beginning and end, as shown in Figure 5;
S3, the one default Z of inside setting in the mold former1Elevation plane, the default Z1Elevation plane it is parallel with The working face, as shown in Figure 5;
S4, the determination water channel two-dimensional coordinate starting point A in the working face, as shown in Figure 5;
S5, as shown in fig. 6, obtaining water channel two-dimensional coordinate terminal in the working face in real time by drawing cursor of mouse B, can so generate the water channel of arbitrary coordinate, and obtain Z in real time1Highly change event and mouse click event, the Z1Highly Modification event is keyboard key events (e.g., by W key controls Z1The increase of height or by S key controls Z1The reduction of height) or Dialog box button event, event triggering, changes Z1Highly;
S6, point A is projected into default Z1Three-dimensional coordinate starting point A is obtained in elevation plane1, point B is projected into default Z1Highly Three-dimensional coordinate terminal B is obtained in plane1
S7, judge whether the preceding paragraph water channel object tag old the insides have water channel model object, if so, with point A1With point B1More Water channel model object inside new the preceding paragraph water channel object tag old, if it is not, according to point A1With point B1Generate current water channel model (lines preview model or physical model), as shown in fig. 6, simultaneously by current water channel model object id records in water channel object tag Old the insides;The specific method for wherein updating the water channel model object inside the preceding paragraph water channel object tag old is:Delete upper one Water channel object model inside Duan Shuidao object tags old, with point A1With point B1Generate current water channel model, and by current water channel Model object id is recorded inside water channel object tag old;
S8, the triggering mouse click event, current water channel are created and completed, and arrange principle current water channel according to inverted order In water channel intersection table, be then back to step S5 carries out the next section of establishment of water channel to information record, and now the water channel two dimension is sat Mark terminal B automatically becomes the next section of water channel two-dimensional coordinate starting point A of water channel, and empties the model inside water channel object tag old Object id, as shown in Figure 7;If mouse click event is not triggered, the whole water channel moulds inside water channel object tag old are deleted Type, and return to step S5 regenerates current water channel.Left button clicks on mouse in the step, triggers the mouse click event, no Then, the mouse click event is not triggered.
The Z1Height modification event be sequentially connected for modification and level water channel highly, it specifically includes following step Suddenly:
Preserve the Z before modification1Highly it is Z2
Whole water channel information inverted orders in water channel intersection table are taken out;
Whole water channel information in the water channel intersection table of the above-mentioned inverted order arrangement of traversal loop;
The current water channel for comparing is set to target water channel, contrasts whether the target water channel height is equal to Z2, if so, modification Target water channel is highly new Z1Simultaneously be saved in the height value in the water channel intersection table by height, while more fresh target water channel mould Type, is then back to traversal loop step and continues to compare the preceding paragraph water channel information of target water channel, and now, the preceding paragraph water channel becomes automatically It is target water channel;If it is not, exiting traversal loop.
In actual software operating process process approximately as:A plane of mold former is chosen, can be with by this face Obtain following three aspects information, one is to have obtained the mold former by that plane chosen (this is exactly to choose mould in S1 The step of tool model), two is to set a working face (step S2) parallel to the plane, and three is the normal vector of the plane Be positive direction, be exactly Z1 height modification times, if user presses W keys (or+key, etc.), be exactly toward the face normal orientation+(plus) Value, if user case S keys (or-key, etc.), it is exactly toward the face normal orientation-(subtracting) value.
Cooling water channel in the present embodiment is made up of 5 sections of end to end water channels, and this 5 sections of water channels is highly identical, then While the 5th section of water channel height is adjusted, the height of the 1st section of-the 4 section of water channel can be adjusted simultaneously.
Embodiment two:
As shown in figures 1 and 3, the invention discloses a kind of method in dynamic creation mold cooling water road, including following step Suddenly:
S1, selection mold former, as shown in figure 4, the mold former of the present embodiment is made up of a part, the inside parts With multiple hole in piece part, cooling water channel of the invention can not have common factor during establishment with the hole in piece part;
S2, one mouse point of setting take a working face, and the working face is used to be chosen for mouse the two-dimensional coordinate of water channel Beginning and end, as shown in Figure 5;
S3, the one default Z of inside setting in the mold former1Elevation plane, the default Z1Elevation plane it is parallel with The working face, as shown in Figure 5;
S4, the determination water channel two-dimensional coordinate starting point A in the working face, as shown in Figure 5;
S5, as shown in fig. 6, obtaining water channel two-dimensional coordinate terminal in the working face in real time by drawing cursor of mouse B, can so generate the water channel of arbitrary coordinate, and obtain Z in real time1Highly change event and mouse click event, the Z1Highly Modification event is keyboard key events (e.g., by W key controls Z1The increase of height or by S key controls Z1The reduction of height) or Dialog box button event, event triggering, changes Z1Highly;
S6, point A is projected into default Z1Three-dimensional coordinate starting point A is obtained in elevation plane1, point B is projected into default Z1Highly Three-dimensional coordinate terminal B is obtained in plane1
S7, judge whether the preceding paragraph water channel object tag old the insides have water channel model object, if so, with point A1With point B1More Water channel model object inside new the preceding paragraph water channel object tag old, if it is not, according to point A1With point B1Generate current water channel model (lines preview model or physical model), as shown in fig. 6, simultaneously by current water channel model object id records in water channel object tag Old the insides;The specific method for wherein updating the water channel model object inside the preceding paragraph water channel object tag old is:With point A1With Point B1Update the respective coordinates point of the water channel model object inside the preceding paragraph water channel object tag old;
S8, the triggering mouse click event, current water channel are created and completed, and arrange principle current water channel according to inverted order In water channel intersection table, be then back to step S5 carries out the next section of establishment of water channel to information record, and now the water channel two dimension is sat Mark terminal B automatically becomes the next section of water channel two-dimensional coordinate starting point A of water channel, and empties the model inside water channel object tag old Object id, as shown in Figure 7;If mouse click event is not triggered, the whole water channel moulds inside water channel object tag old are deleted Type, and return to step S5 regenerates current water channel.Left button clicks on mouse in the step, triggers the mouse click event, no Then, the mouse click event is not triggered.
The Z1Height modification event be sequentially connected for modification and level water channel highly, it specifically includes following step Suddenly:
Preserve the Z before modification1Highly it is Z2
Whole water channel information inverted orders in water channel intersection table are taken out;
Whole water channel information in the water channel intersection table of the above-mentioned inverted order arrangement of traversal loop;
The current water channel for comparing is set to target water channel, contrasts whether the target water channel height is equal to Z2, if so, modification Target water channel is highly new Z1Simultaneously be saved in the height value in the water channel intersection table by height, while more fresh target water channel mould Type, is then back to traversal loop step and continues to compare the preceding paragraph water channel information of target water channel, and now, the preceding paragraph water channel becomes automatically It is target water channel;If it is not, exiting traversal loop.
In actual software operating process process approximately as:A plane of mold former is chosen, can be with by this face Obtain following three aspects information, one is to have obtained the mold former by that plane chosen (this is exactly to choose mould in S1 The step of tool model), two is to set a working face (step S2) parallel to the plane, and three is the normal vector of the plane Be positive direction, be exactly Z1 height modification times, if user presses W keys (or+key, etc.), be exactly toward the face normal orientation+(plus) Value, if user case S keys (or-key, etc.), it is exactly toward the face normal orientation-(subtracting) value.
Cooling water channel in the present embodiment is constituted by by 6 sections of connected water channels of ending, and first paragraph and second segment are one high Degree, the 4th section-the 6 section is a height, then when the 6th section of water channel height is adjusted, can the 4th section-the 6 section of water channel is high Degree is adjusted together, and the height of the 1st section of-the 3 section of water channel will not be adjusted together, because it is highly different to be connected.
Embodiment three:
Because mold materials are metals, the method in processing mold cooling water channel hole is bored with metal bit, and metal bit It is straight, it is impossible to bore curved hole, so each independent water channel, is all the opening for having individual drill bit drilling, and one group of water route is It is made up of the water channel connection of multistage independence, so those drill bit imports are blocked with plug, a water channel can be from part Any one of two opening drill.
In order to cost-effective, as shown in figure 8, the present invention additionally provides one on the basis of embodiment one and embodiment two The step of most short boring direction of kind of automatic decision each water channel, specially:After getting water channel beginning and end, water channel is risen Point and water channel terminal extend to along water channel direction intersect with mould respectively, intersect with mould after the starting point extension and draw intersection point C, The terminal intersect with mould after extending and show that the distance between intersection point D, the point C and described terminal are h1, the point D and institute The distance between starting point is stated for h2, wherein, the water channel for setting drilling does not include being provided with the water channel of water inlet and delivery port;If h1<h2, then set-point C is boring point;If h1>h2, then set-point D is boring point;If h1=h2, then set-point C or point D is drilling Point.After boring point is determined, a water channel plug part is drawn at boring point.
Example IV:
Embodiments of the invention one, embodiment two and embodiment three, can also expand for creating through two zero, mould The cooling water channel of part, specifically, specifically, setting up the default Z parallel to working face respectively in two parts of mould1It is high Degree plane, then obtains two-dimensional points coordinate on working face, two-dimensional points coordinate is projected to respectively two default Z of part1 3d coordinate points are produced in elevation plane, is built through two cooling water channels of part of mould by the 3d coordinate points, and pass through Z1Height modification event modification be sequentially connected and level water channel highly.
It is described create through two specific steps of the cooling water channel of part of mould approximately as:
S1, selection mold former, the mould include part 1 and part 2, and part 1 is more than part 2 (for example, 2 layers of part On folded and part 1, and the subpoint of part 2 is all fallen within part 1);
S2., a mouse point is set and takes a working face;
S3, the determination water channel two-dimensional coordinate starting point A in the working face;
S4, the water channel two-dimensional coordinate terminal B obtained in real time in the working face;
S5, judge whether the projection of point A and point B in part is outer or with part 2 with the part 2 in part 1, and in advance If the default Z of the cross channel of part 1 and part 21Elevation plane (default Z1Elevation plane takes a job and puts down parallel to mouse point Face);
The projection of S6, such as fruit dot A and point B in part is outer or with part 2 with the part 2 in part 1, then will point A With the default Z that point B projects to current part respectively1Elevation plane obtains three-dimensional coordinate point A1 and B1;With point A1And B1Draw current The cross channel of part, then goes to step S7;
As fruit dot A is projected in part 1 outside part 2, point B is projected in part 2, then point A and point B are projected into zero respectively The default Z of part 11Elevation plane, obtains three-dimensional coordinate point A11And B11, point B is projected to the default Z of part 21Elevation plane, obtains To three-dimensional coordinate point B12;With point A11With point B11The cross channel of part 1 is drawn, with point B11With point B12Draw part 1 to part 2 Vertical water channel and sealing ring, then go to step S7
S7, terminal B is set to starting point A, and return to step S4 continues to create next section of water channel.
The method in dynamic creation mold cooling water road of the invention, has the advantages that:
1st, the present invention obtains xy position generation model of the mouse in working face in real time, and xy positions are by dragging cursor of mouse reality When control, keyboard or dialog box button change water channel highly, so quickly can in real time generate the water channel of arbitrary coordinate, and every time Adjustment height, can all find out from beginning to end successively and level water channel, change together.
2nd, one section of water channel of the invention is finally completed by triggering mouse click event to control, and the water channel is created and completed The water channel two-dimensional coordinate terminal on its working face automatically becomes the next section of water channel two-dimensional coordinate starting point of water channel, operation letter afterwards Single, mouse clicks amount is less.
3rd, the present invention can with the most short boring direction of each water channel of automatic decision, will the beginning and end of water channel extend to Intersect with mould, draw intersection point C and intersection point D respectively, and calculate respectively the distance between intersection point C and water channel terminal and intersection point D and The distance between water channel starting point, boring point is set to by intersection point corresponding with above-mentioned beeline, and the method greatlys save drilling Cost.
4th, the present invention can also be expanded for creating through mould two in addition to it can be used for the mould with single part The cooling water channel of individual part, range of application is wider.
Above disclosed is only several preferred embodiments of the invention, can not limit the present invention's with this certainly Interest field, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (10)

1. a kind of method in dynamic creation mold cooling water road, it is characterised in that comprise the following steps:
S1, selection mold former;
S2, one working face of setting;
S3, the one default Z of inside setting in the mold former1Elevation plane, the default Z1Elevation plane it is parallel with it is described Working face;
S4, the determination water channel two-dimensional coordinate starting point A in the working face;
S5, the water channel two-dimensional coordinate terminal B obtained in real time in the working face, and Z is obtained in real time1Highly change event and mouse Punctuate hits event;
S6, point A is projected into default Z1Three-dimensional coordinate starting point A is obtained in elevation plane1, point B is projected into default Z1Elevation plane On obtain three-dimensional coordinate terminal B1
S7, judge whether the preceding paragraph water channel object tag old the insides have water channel model object, if so, with point A1With point B1In renewal Water channel model object inside one section of water channel object tag old, if it is not, according to point A1With point B1Current water channel model is generated, and will Current water channel model object id records are inside water channel object tag old;
S8, the triggering mouse click event, current water channel are created and completed, and arrange principle by current water channel information according to inverted order In water channel intersection table, be then back to step S5 carries out the next section of establishment of water channel to record, now the water channel two-dimensional coordinate end Point B automatically becomes the next section of water channel two-dimensional coordinate starting point A of water channel, and empties the model object inside water channel object tag old id;If mouse click event is not triggered, return to step S5.
2. the method in dynamic creation mold cooling water road according to claim 1, it is characterised in that in the step S7 The specific method for updating the water channel object model inside the preceding paragraph water channel object tag old is:Delete the preceding paragraph water channel object mark Water channel object model inside note old, with point A1With point B1Current water channel model is generated, and current water channel model object id is remembered Record is inside water channel object tag old.
3. the method in dynamic creation mold cooling water road according to claim 1, it is characterised in that in the step S7 The specific method for updating the water channel object model inside the preceding paragraph water channel object tag old is:With point A1With point B1Update the preceding paragraph The respective coordinates point of the water channel model object inside water channel object tag old.
4. the method in the dynamic creation mold cooling water road according to Claims 2 or 3, it is characterised in that the step S5 In Z1Highly modification event is keyboard key events or dialog box button event, and Z is changed in event triggering1Highly.
5. the method in dynamic creation mold cooling water road according to claim 4, it is characterised in that the Z1Highly change Event be sequentially connected for modification and level water channel highly, it specifically includes following steps:
Preserve the Z before modification1Highly it is Z2
The water channel information of inverted order arrangement in water channel intersection table is all taken out;
Whole water channel information in the water channel intersection table of the above-mentioned inverted order arrangement of traversal loop;
The current water channel for comparing is set to target water channel, contrasts whether the target water channel height is equal to Z2, if so, modification target Water channel is highly new Z1Simultaneously be saved in the height value in the water channel intersection table by height, while more fresh target water channel model, so Return to traversal loop step afterwards to continue to compare the preceding paragraph water channel information of target water channel, now, the preceding paragraph water channel automatically becomes mesh Mark water channel;If it is not, exiting traversal loop.
6. the method in dynamic creation mold cooling water road according to claim 5, it is characterised in that in the step S8, Left button clicks on mouse, and the mouse click event is triggered, and otherwise, the mouse click event is not triggered.
7. the method in the dynamic creation mold cooling water road according to claim 5 or 6, it is characterised in that the step S2 In working face take a working face for mouse point, the work is obtained by dilatory cursor of mouse in real time in the step S5 Water channel two-dimensional coordinate terminal B in plane.
8. the method in dynamic creation mold cooling water road according to claim 7, it is characterised in that also including automatic decision The step of most short boring direction of each water channel, specially:
After getting water channel beginning and end, water channel starting point and water channel terminal are extended to and mould phase along water channel direction respectively Hand over, intersect with mould after the starting point extension and draw intersection point C, intersect with mould after the terminal extension and draw intersection point D, the point The distance between C and described terminal are h1, the distance between the point D and the starting point are h2
If h1<h2, then set-point C is boring point;If h1>h2, then set-point D is boring point;If h1=h2, then set-point C or point D It is boring point.
9. the method in dynamic creation mold cooling water road according to claim 8, it is characterised in that bored in the water channel for setting A water channel plug part is drawn at the point of hole.
10. the method in dynamic creation mold cooling water road according to claim 8 or claim 9, it is characterised in that methods described is also Can expand for creating through two cooling water channels of part of mould, specifically, being set up respectively in two parts of mould Parallel to the default Z of working face1Elevation plane, then obtains two-dimensional points coordinate on working face, by two-dimensional points coordinate point Two default Z of part are not projected to13d coordinate points are produced in elevation plane, is built through mould two by the 3d coordinate points The cooling water channel of individual part, and by Z1Height modification event modification be sequentially connected and level water channel highly.
CN201611030229.5A 2016-09-09 2016-11-15 Method for dynamically creating mold cooling water channel Active CN106777491B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610814905 2016-09-09
CN2016108149051 2016-09-09

Publications (2)

Publication Number Publication Date
CN106777491A true CN106777491A (en) 2017-05-31
CN106777491B CN106777491B (en) 2019-12-27

Family

ID=58970689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611030229.5A Active CN106777491B (en) 2016-09-09 2016-11-15 Method for dynamically creating mold cooling water channel

Country Status (1)

Country Link
CN (1) CN106777491B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503717A (en) * 2019-08-19 2019-11-26 盐城工学院 A kind of cooling water hole creation method based on CAD

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0822487A (en) * 1994-07-06 1996-01-23 Sekisui Chem Co Ltd Cooling pipe arrangement method for mold for injection molding
JPH08230007A (en) * 1995-02-27 1996-09-10 Canon Inc Method and device for simulation of injection molding process
CN1613435A (en) * 2004-11-29 2005-05-11 西安交通大学 Photocureable rapid shaping indirect manufacturing method for controllable microtube structure stand
CN1916917A (en) * 2006-09-04 2007-02-21 大连理工大学 Method for designing determinatus model cavity based on heating power coupling
CN104657565A (en) * 2015-03-20 2015-05-27 大连理工大学 Method for designing hot-working die of close-profile water channel
US20150231808A1 (en) * 2014-02-14 2015-08-20 GM Global Technology Operations LLC Injection mold assembly and method of designing same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0822487A (en) * 1994-07-06 1996-01-23 Sekisui Chem Co Ltd Cooling pipe arrangement method for mold for injection molding
JPH08230007A (en) * 1995-02-27 1996-09-10 Canon Inc Method and device for simulation of injection molding process
CN1613435A (en) * 2004-11-29 2005-05-11 西安交通大学 Photocureable rapid shaping indirect manufacturing method for controllable microtube structure stand
CN1916917A (en) * 2006-09-04 2007-02-21 大连理工大学 Method for designing determinatus model cavity based on heating power coupling
US20150231808A1 (en) * 2014-02-14 2015-08-20 GM Global Technology Operations LLC Injection mold assembly and method of designing same
CN104657565A (en) * 2015-03-20 2015-05-27 大连理工大学 Method for designing hot-working die of close-profile water channel

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503717A (en) * 2019-08-19 2019-11-26 盐城工学院 A kind of cooling water hole creation method based on CAD

Also Published As

Publication number Publication date
CN106777491B (en) 2019-12-27

Similar Documents

Publication Publication Date Title
Yang et al. Fractal scanning path generation and control system for selective laser sintering (SLS)
US8594832B2 (en) Designing drilling pattern for excavating rock cavern
CN110688691A (en) Software design method for freely drawing table top based on Kujiale cloud design platform
EP3343517B1 (en) Selecting points on an electroanatomical map
US8345056B2 (en) User-directed path-based region filling
KR101982831B1 (en) Control method of printing temperature and device thereof
JP2008040921A (en) Shape simplification device and program to be used in the same
CN103390085A (en) Automatic patterning method of basic style of clothing
CN107844677A (en) Method for three-dimensional reinforcing bar editing and updating
CN108287969B (en) Special-shaped table board generation method based on three-dimensional household design software
CN103309283A (en) Self-adaptive generating method for machining programs for part three-dimensional model changes
CN106293547A (en) A kind of support automatic generation method printed for 3D
CN109466057A (en) Eliminate method, FDM printing equipment, storage medium and the processor of printing wire drawing
CN113878879A (en) Slicing method for various 3D printing processes
CN111612911A (en) Dynamo-based point cloud BIM automatic modeling method
CN106777491A (en) A kind of method in dynamic creation mold cooling water road
CN106326588B (en) A kind of method of BIM auxiliary dam storehouse surface design
CN102930589B (en) A kind of non-structural cartesian mesh intersection modification method
Wu et al. Feature-based parametric design of a gating system for a die-casting die
JPH0476606A (en) Curve extracting device and nc programming system
CN104850671B (en) The grid cutting algorithm in rock core complexity duct
CN110412938A (en) The multi-cavity structural part tooling step Sequence Decision method simplified based on Interim
CN103164862B (en) Based on the plane CAD/CAM drawing practice of Intelligent Recognition drawing instrument
CN102074027B (en) Two-dimensional geological model agglomerating method
CN102609592A (en) Machining process model sequential modeling method based on characteristic identification removal

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
TR01 Transfer of patent right

Effective date of registration: 20230823

Address after: 523000 Xianxi Zhenye Street 4, Chang'an Town, Dongguan City, Guangdong Province

Patentee after: Dongguan Yanxiu Mold Parts Co.,Ltd.

Address before: 607, Area 4, Diwang Square, No. 303 Changqing South Road, Changsheng Community, Chang'an Town, Dongguan City, Guangdong Province, 523845

Patentee before: DONGGUAN YANXIU INFORMATION TECHNOLOGY CO.,LTD.

TR01 Transfer of patent right