CN106777491B - Method for dynamically creating mold cooling water channel - Google Patents

Method for dynamically creating mold cooling water channel Download PDF

Info

Publication number
CN106777491B
CN106777491B CN201611030229.5A CN201611030229A CN106777491B CN 106777491 B CN106777491 B CN 106777491B CN 201611030229 A CN201611030229 A CN 201611030229A CN 106777491 B CN106777491 B CN 106777491B
Authority
CN
China
Prior art keywords
water channel
point
height
channel
mold
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
CN201611030229.5A
Other languages
Chinese (zh)
Other versions
CN106777491A (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 method for dynamically creating a mold cooling water channel, which comprises the following steps: selecting a mould model; setting the working plane and presetting Z1A height plane; determining a two-dimensional coordinate starting point A in a working plane; acquiring a two-dimensional coordinate terminal B in a working plane in real time, and acquiring Z in real time1Height modification events and mouse click events; projecting the point A to a preset height plane to obtain a three-dimensional coordinate starting point A1Projecting the point B on a preset height plane to obtain a three-dimensional coordinate terminal point B1(ii) a Updating the previous section of water channel object model and according to A1And B1Generating a current water channel; triggering a mouse click event, finishing the creation of the current water channel, and creating the next section of water channel, wherein the two-dimensional coordinate end point B of the water channel is automatically changed into the two-dimensional coordinate starting point A of the water channel of the next section of water channel. The method and the device can acquire the position of the mouse in real time, generate and update the water channel in real time according to the position of the mouse, adjust the heights of the water channels which are sequentially connected and have the same height in real time, and reduce the difficulty of creating the water channel by 3d modeling software.

Description

Method for dynamically creating mold cooling water channel
Technical Field
The invention relates to the field of mold water channel modeling, in particular to a method for dynamically creating a mold cooling water channel.
Background
The mould is a tool for batch forming such as injection molding, die casting and the like in industrial production, a cavity for forming is arranged in the mould, melted materials are injected into the cavity of the mould, the materials in the mould are solidified into products after the mould is cooled, the mould is opened, the formed products are taken out, and the forming is finished. The material of the mould is metal, and the time for waiting for the natural cooling of the mould is very long, so a plurality of cooling water channels are manufactured in the mould for accelerating the production efficiency.
The mould water channel is cooled by flowing water for better cooling effect, so a group of water channels consists of a water inlet, a water outlet and a cooling water channel hole between the water inlet and the water outlet, because the mould material is metal, the method for processing the mould cooling water channel hole is to use a metal drill bit to drill, the metal drill bit is straight and can not drill a bent hole, after the drilling is finished, a processing process hole of the water channel hole is blocked by a plug, only the water inlet and the water outlet are left, each section of independent water channel is provided with an opening drilled by the drill bit, and a group of water channels are formed by connecting a plurality of independent water channels, so the inlets of the drill bits are blocked by plugs, one water channel can be drilled by the openings at any one of two ends of a part, and the key is that the cost can be saved by determining the drilling direction and the drilling point. The other parts of the water channel hole are all inside the die, and the water channel hole is not allowed to be broken except for a water inlet and a water outlet, because in die production, flowing water is inside the water channel, and if the water channel hole is broken, the flowing water flows out from the broken opening, so that production is stopped. In addition, the processing error exists in the drilling processing of the water channel, so the water channel has a safe distance with a die inner cavity or other parts of the die, and the water channel is not broken when the water channel hole is processed.
Before the cooling water channel of the mold is processed, a drawing of the cooling water channel of the mold is designed. In the past, 2d software drawing water channel drawings are adopted, 3d modeling software is raised in recent years, 3d modeling software is designed intuitively, but water channels of a mold are complicated in horizontal and vertical positions and distributed in a three-dimensional space of the mold, and each water channel contains water channels with different numbers and different positions, and each water channel has a safe distance from any surface of a cooling part, so that the water channel design in the 3d modeling software is very troublesome.
The existing water channel design modeling method is that different sections in a group of water channels are divided into independent water channels for modeling respectively, because the starting point and the end point of each section of water channel are different in position and height space, when the water channel is drawn, a user firstly designates the starting point coordinate (xyz three-dimensional coordinate) and the end point coordinate (xyz three-dimensional coordinate) of the section of water channel by a mouse, and then creates a water channel model by the starting point and the end point, because the starting point and the end point are only designated, the middle part of the created long strip-shaped water channel model is probably interfered with other surfaces of a cooling body, if the coordinate size of the water channel is modified, the user needs to designate the starting point and the end point again to regenerate a water channel, and then the human eyes are used for identifying whether the water channel interferes with other surfaces. The method has the disadvantages that the user can only see the model after the mouse designates two points, and the model is recognized by human eyes after the model is existed, and whether the coordinate position is modified or not is determined. After a user creates a channel, other channels are created by specifying a starting point and an end point by the user mouse. The number of water channel sections is large, the operation is very complicated, and the number of mouse clicks is large.
In addition, each section of water channel obtained by the conventional method is independent, the height of other water channels cannot be changed when the height of one water channel is adjusted, and even if the height of other water channels at the same height as the water channel is still required to be adjusted independently, the workload is large, and the operation is complicated.
In conclusion, how to obtain the position of the mouse in real time, generate and update the water channel in real time according to the position of the mouse, adjust the heights of the water channels which are sequentially connected and have the same height in real time, and reduce the difficulty of creating the water channel by 3d modeling software is particularly important.
Disclosure of Invention
The invention aims to solve the technical problem of how to overcome the defects of more mouse clicks, complex operation, large workload, sequential connection and incapability of simultaneously adjusting the heights of water channels with the same height in the existing water channel creating process.
To solve this problem, the present invention provides a method for dynamically creating a mold cooling water channel, comprising the steps of:
s1, selecting a mold model;
s2, setting a working plane;
s3, setting a preset Z in the die model1Height plane, said predetermined Z1The height plane is parallel to the working plane;
s4, determining a water channel two-dimensional coordinate starting point A in the working plane;
s5, acquiring a water channel two-dimensional coordinate terminal B in the working plane in real time, and acquiring Z in real time1Height modification events and mouse click events;
s6, projecting the point A to a preset Z1Obtaining a three-dimensional coordinate starting point A on the height plane1Projecting point B to a preset Z1Obtaining a three-dimensional coordinate endpoint B on a height plane1
S7, judging whether a water channel model object exists in the previous section of water channel object mark old, if so, using the point A1And point B1Updating the water channel model object in the previous section of water channel object mark old, if not, according to the point A1And point B1Generating a current water channel model, and recording an object id of the current water channel model in a water channel object mark old;
s8, triggering the mouse click event, finishing the creation of the current water channel, recording the current water channel information in a water channel collection table according to a reverse order arrangement principle, then returning to S5 to create a next water channel, automatically changing a water channel two-dimensional coordinate end point B into a water channel two-dimensional coordinate starting point A of the next water channel, and emptying a model object id in a water channel object mark old; if the mouse click event is not triggered, the process returns to step S5.
Further, the specific method for updating the channel object model in the previous segment of channel object marker old in step S7 includes: deleting the water channel object model in the previous water channel object mark old by using the point A1And point B1And generating a current water channel model, and recording the current water channel model object id in a water channel object mark old.
Further, the specific method for updating the channel object model in the previous segment of channel object marker old in step S7 includes: using point A1And point B1And updating the corresponding coordinate point of the water channel model object in the previous section of water channel object mark old.
Further, Z in the step S51The height modification event is a keyboard key event or a dialog button event, event trigger, modify Z1Height.
In particular, Z is1The height modification event is used for modifying the heights of the water channels which are connected in sequence and have the same height, and specifically comprises the following steps:
saving Z before modification1Height Z2
Taking out all the water channel information in the reverse order in the water channel aggregate table;
traversing and circulating all the water channel information in the water channel aggregate table in the reverse order arrangement;
setting the current compared water channel as a target water channel, and comparing whether the height of the target water channel is equal to Z2If yes, modifying the target water channel height to be new Z1Storing the height value into the water channel collection table, updating the target water channel model, returning to the traversal loop step, and continuously comparing the information of the last section of the target water channel, wherein the last section of the water channel is automatically changed into the target water channel; if not, exiting the traversal loop.
Specifically, in step S8, a mouse is clicked by the left button, the mouse click event is triggered, otherwise, the mouse click event is not triggered.
Further, the working plane in step S2 is a mouse point fetching working plane, and the water channel two-dimensional coordinate end point B in the working plane is obtained in real time by dragging a mouse cursor in step S5.
Further, the method also comprises the step of automatically judging the shortest drilling direction of each water channel, and specifically comprises the following steps:
after a water channel starting point and a water channel end point are obtained, the water channel starting point and the water channel end point are respectively extended to be intersected with a mold along the direction of the water channel, the starting point is extended and then is intersected with the mold to obtain an intersection point C, the end point is extended and then is intersected with the mold to obtain an intersection point D, and the distance between the point C and the end point is h1The distance between the point D and the starting point is h2
If h1<h2Setting the point C as a drilling point; if h1>h2Setting the point D as a drilling point; if h1=h2And setting the point C or the point D as a drilling point.
Furthermore, a water channel plug part is drawn at the drilling point of the arranged water channel.
Furthermore, the method can be extended to create a cooling channel through the two parts of the mold, in particular to create a predetermined Z parallel to the working plane in each of the two parts of the mold1In the height plane, thenAcquiring two-dimensional point coordinates on a working plane, and projecting the two-dimensional point coordinates to preset Z of the two parts respectively1Generating 3d coordinate points on the elevation plane, by which 3d coordinate points a cooling water channel is constructed through the two parts of the mould, and through Z1The altitude modification event modifies successive and level channel altitudes.
The method for dynamically creating the mold cooling water channel has the following beneficial effects:
1. the invention obtains the xy position generation model of the mouse on the working plane in real time, the xy position is controlled by dragging the mouse cursor in real time, the keyboard or the dialog box button changes the height of the water channel, thus the water channel with any coordinate can be generated quickly in real time, and the water channels which are sequentially connected end to end and have the same height can be found out and modified together each time the height is adjusted.
2. The final completion of one section of water channel is controlled by triggering a mouse click event, the two-dimensional coordinate terminal point of the water channel on the working plane of the water channel is automatically changed into the two-dimensional coordinate starting point of the water channel of the next section of water channel after the water channel is established, the operation is simple, and the mouse click number is small.
3. The method can automatically judge the shortest drilling direction of each water channel, namely, the starting point and the end point of each water channel are extended to be intersected with the mold, the intersection point C and the intersection point D are respectively obtained, the distance between the intersection point C and the end point of each water channel and the distance between the intersection point D and the starting point of each water channel are respectively calculated, the intersection point corresponding to the shortest distance is set as a drilling point, and the method greatly saves the drilling cost.
4. The invention can be used for moulds with single parts, and can be expanded to create cooling water channels passing through two parts of the mould, and the application range is wide.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart of a method of the present invention for dynamically creating a mold cooling water gallery;
FIG. 2 is a flow chart illustrating a first process of updating channel model objects within the previous channel object mark old in step S7;
FIG. 3 is a flow chart illustrating a second process of updating channel model objects within the previous channel object mark old in step S7;
FIG. 4 is a schematic view of the mold model selected in step S1 according to the present invention;
FIG. 5 is a schematic structural diagram of steps S2 through S4 of the present invention;
FIG. 6 is a schematic structural diagram of steps S5 through S7 of the present invention;
FIG. 7 is a schematic structural diagram of step S8 of the present invention;
fig. 8 is a schematic diagram of the structure for determining the shortest drilling direction according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without any inventive step, are within the scope of the present invention.
The first embodiment is as follows:
as shown in fig. 1 and 2, the present invention discloses a method for dynamically creating a mold cooling water channel, comprising the following steps:
s1, selecting a mold model, wherein as shown in FIG. 4, the mold model of the embodiment is composed of a part, a plurality of part holes are formed in the part, and the cooling water channel of the invention cannot intersect with the part holes in the process of creating;
s2, setting a mouse point-taking working plane, wherein the working plane is used for a mouse to select a two-dimensional coordinate starting point and a two-dimensional coordinate ending point of a water channel, and is shown in figure 5;
s3, in theA preset Z is arranged in the die model1Height plane, said predetermined Z1The height plane is parallel to the working plane, as shown in fig. 5;
s4, determining a two-dimensional coordinate starting point A of the water channel in the working plane, as shown in FIG. 5;
s5, as shown in FIG. 6, the two-dimensional coordinate terminal B of the water channel in the working plane is obtained in real time by dragging the mouse cursor, so that the water channel with any coordinate can be generated, and Z is obtained in real time1Height modification event and mouse click event, said Z1The height modification event is a keyboard key event (e.g., control Z via the W key)1Height increase or control of Z by S-key1Height reduction) or dialog button event, event trigger, modify Z1A height;
s6, projecting the point A to a preset Z1Obtaining a three-dimensional coordinate starting point A on the height plane1Projecting point B to a preset Z1Obtaining a three-dimensional coordinate endpoint B on a height plane1
S7, judging whether a water channel model object exists in the previous section of water channel object mark old, if so, using the point A1And point B1Updating the water channel model object in the previous section of water channel object mark old, if not, according to the point A1And point B1Generating a current water channel model (a line preview model or an entity model) as shown in fig. 6, and recording a current water channel model object id in a water channel object mark old; the specific method for updating the water channel model object in the previous section of water channel object mark old comprises the following steps: deleting the water channel object model in the previous water channel object mark old by using the point A1And point B1Generating a current water channel model, and recording an object id of the current water channel model in a water channel object mark old;
s8, triggering the mouse click event, completing the creation of the current water channel, recording the current water channel information in a water channel collection table according to a reverse order arrangement principle, then returning to S5 to create a next water channel, automatically changing a two-dimensional water channel coordinate end point B into a two-dimensional water channel coordinate start point A of the next water channel, and emptying a model object id in a water channel object mark old, as shown in FIG. 7; if the mouse click event is not triggered, all channel models in the channel object mark old are deleted, and the step S5 is returned to regenerate the current channel. In the step, a mouse is clicked by a left button, the mouse click event is triggered, otherwise, the mouse click event is not triggered.
Z is1The height modification event is used for modifying the heights of the water channels which are connected in sequence and have the same height, and specifically comprises the following steps:
saving Z before modification1Height Z2
All water channel information in the water channel aggregate table is taken out in a reverse order;
traversing and circulating all the water channel information in the water channel aggregate table in the reverse order arrangement;
setting the current compared water channel as a target water channel, and comparing whether the height of the target water channel is equal to Z2If yes, modifying the target water channel height to be new Z1Storing the height value into the water channel collection table, updating the target water channel model, returning to the traversal loop step, and continuously comparing the information of the last section of the target water channel, wherein the last section of the water channel is automatically changed into the target water channel; if not, exiting the traversal loop.
The actual software operation process is roughly as follows: selecting a plane of the mold model, and obtaining information of three aspects through the plane, namely obtaining the mold model through the selected plane (this is the step of selecting the mold model in S1), setting a working plane parallel to the plane (step S2), setting the normal vector of the plane as a positive direction, namely Z1 height modification time, setting a plus value in the normal direction of the plane if a user presses a W key (or a plus key, and the like), and setting a minus value in the normal direction of the plane if the user presses an S key (or a minus key, and the like).
The cooling water channel in this embodiment is composed of 5 sections of water channels connected end to end, and the heights of the 5 sections of water channels are the same, so that the heights of the 1 st section to the 4 th section of water channel can be adjusted at the same time when the height of the 5 th section of water channel is adjusted.
Example two:
as shown in fig. 1 and 3, the present invention discloses a method for dynamically creating a mold cooling water channel, comprising the following steps:
s1, selecting a mold model, wherein as shown in FIG. 4, the mold model of the embodiment is composed of a part, a plurality of part holes are formed in the part, and the cooling water channel of the invention cannot intersect with the part holes in the process of creating;
s2, setting a mouse point-taking working plane, wherein the working plane is used for a mouse to select a two-dimensional coordinate starting point and a two-dimensional coordinate ending point of a water channel, and is shown in figure 5;
s3, setting a preset Z in the die model1Height plane, said predetermined Z1The height plane is parallel to the working plane, as shown in fig. 5;
s4, determining a two-dimensional coordinate starting point A of the water channel in the working plane, as shown in FIG. 5;
s5, as shown in FIG. 6, the two-dimensional coordinate terminal B of the water channel in the working plane is obtained in real time by dragging the mouse cursor, so that the water channel with any coordinate can be generated, and Z is obtained in real time1Height modification event and mouse click event, said Z1The height modification event is a keyboard key event (e.g., control Z via the W key)1Height increase or control of Z by S-key1Height reduction) or dialog button event, event trigger, modify Z1A height;
s6, projecting the point A to a preset Z1Obtaining a three-dimensional coordinate starting point A on the height plane1Projecting point B to a preset Z1Obtaining a three-dimensional coordinate endpoint B on a height plane1
S7, judging whether a water channel model object exists in the previous section of water channel object mark old, if so, using the point A1And point B1Updating the water channel model object in the previous section of water channel object mark old, if not, according to the point A1And point B1Generating a current water channel model (a line preview model or an entity model) as shown in fig. 6, and recording a current water channel model object id in a water channel object mark old; wherein the mark old of the upper section of water channel object is updatedThe specific method of the water channel model object comprises the following steps: using point A1And point B1Updating the corresponding coordinate point of the water channel model object in the previous section of water channel object mark old;
s8, triggering the mouse click event, completing the creation of the current water channel, recording the current water channel information in a water channel collection table according to a reverse order arrangement principle, then returning to S5 to create a next water channel, automatically changing a two-dimensional water channel coordinate end point B into a two-dimensional water channel coordinate start point A of the next water channel, and emptying a model object id in a water channel object mark old, as shown in FIG. 7; if the mouse click event is not triggered, all channel models in the channel object mark old are deleted, and the step S5 is returned to regenerate the current channel. In the step, a mouse is clicked by a left button, the mouse click event is triggered, otherwise, the mouse click event is not triggered.
Z is1The height modification event is used for modifying the heights of the water channels which are connected in sequence and have the same height, and specifically comprises the following steps:
saving Z before modification1Height Z2
All water channel information in the water channel aggregate table is taken out in a reverse order;
traversing and circulating all the water channel information in the water channel aggregate table in the reverse order arrangement;
setting the current compared water channel as a target water channel, and comparing whether the height of the target water channel is equal to Z2If yes, modifying the target water channel height to be new Z1Storing the height value into the water channel collection table, updating the target water channel model, returning to the traversal loop step, and continuously comparing the information of the last section of the target water channel, wherein the last section of the water channel is automatically changed into the target water channel; if not, exiting the traversal loop.
The actual software operation process is roughly as follows: selecting a plane of the mold model, and obtaining information of three aspects through the plane, namely obtaining the mold model through the selected plane (this is the step of selecting the mold model in S1), setting a working plane parallel to the plane (step S2), setting the normal vector of the plane as a positive direction, namely Z1 height modification time, setting a plus value in the normal direction of the plane if a user presses a W key (or a plus key, and the like), and setting a minus value in the normal direction of the plane if the user presses an S key (or a minus key, and the like).
The cooling water channel in the embodiment is composed of 6 sections of water channels which are connected in an end-to-end mode, the first section and the second section are of one height, and the 4 th section to the 6 th section are of one height, so that when the height of the 6 th section of water channel is adjusted, the heights of the 4 th section to the 6 th section of water channel are adjusted together, and the heights of the 1 st section to the 3 rd section of water channel are not adjusted together because the connecting heights are different.
Example three:
because the mould material is metal, the method for processing the cooling water channel hole of the mould is to drill by using a metal drill bit which is straight and can not drill a bent hole, each independent water channel is provided with an opening into which the drill bit is drilled, and a group of water channels are formed by connecting a plurality of sections of independent water channels, so that the inlets of the drill bits are blocked by plugs, and one water channel can be drilled from any one of two ends of a part.
In order to save cost, as shown in fig. 8, the present invention further provides a step of automatically determining the shortest drilling direction of each water channel on the basis of the first embodiment and the second embodiment, specifically: after a water channel starting point and a water channel end point are obtained, the water channel starting point and the water channel end point are respectively extended to be intersected with a mold along the direction of the water channel, the starting point is extended and then is intersected with the mold to obtain an intersection point C, the end point is extended and then is intersected with the mold to obtain an intersection point D, and the distance between the point C and the end point is h1The distance between the point D and the starting point is h2Wherein, the water channel provided with the drill hole does not comprise a water channel provided with a water inlet and a water outlet; if h1<h2Setting the point C as a drilling point; if h1>h2Setting the point D as a drilling point; if h1=h2And setting the point C or the point D as a drilling point. And after the drilling point is determined, drawing a water channel plug part at the drilling point.
Example four:
embodiments one, two and three of the present invention can also be extended to create a cooling water channel through two parts of the mold, in particular to establish a preset Z parallel to the working plane in each of the two parts of the mold1A height plane, then two-dimensional point coordinates are obtained on the working plane, and the two-dimensional point coordinates are respectively projected to the preset Z of the two parts1Generating 3d coordinate points on the elevation plane, by which 3d coordinate points a cooling water channel is constructed through the two parts of the mould, and through Z1The altitude modification event modifies successive and level channel altitudes.
The specific steps for creating a cooling water channel through the two parts of the mold are generally as follows:
s1, selecting a mold model, wherein the mold comprises a part 1 and a part 2, and the part 1 is larger than the part 2 (for example, the part 2 is stacked on the part 1, and the projection points of the part 2 are all on the part 1);
s2, setting a mouse point taking working plane;
s3, determining a water channel two-dimensional coordinate starting point A in the working plane;
s4, acquiring a water channel two-dimensional coordinate terminal B in the working plane in real time;
s5, judging whether the projection of the point A and the projection of the point B in the part are in the part 1 and outside the part 2 or in the part 2, and presetting the transverse water channel presetting Z of the part 1 and the part 21Height plane (the preset Z)1The height plane is parallel to the mouse point fetching working plane);
s6, if the projection of the point A and the point B in the part is the same as the projection in the part 1 outside the part 2 or the projection of the point A and the point B in the part 2, respectively projecting the point A and the point B to the preset Z of the current part1The height plane obtains three-dimensional coordinate points A1 and B1(ii) a Using point A1And B1Drawing a transverse water channel of the current part, and then turning to step S7;
if the point A is projected in the part 1 outside the part 2 and the point B is projected in the part 2, the point A and the point B are respectively projected to the preset Z of the part 11Height plane to obtain three-dimensional coordinate point A11And B11Projecting point B onto the part2 preset Z1Height plane to obtain three-dimensional coordinate point B12(ii) a Using point A11And point B11Drawing the transverse water course of part 1, using point B11And point B12Drawing the vertical water channels and the sealing rings from the part 1 to the part 2, and then turning to the step S7
S7, setting the terminal point B as the starting point A, and returning to the step S4 to continue to create the next water course.
The method for dynamically creating the mold cooling water channel has the following beneficial effects:
1. the invention obtains the xy position generation model of the mouse on the working plane in real time, the xy position is controlled by dragging the mouse cursor in real time, the keyboard or the dialog box button changes the height of the water channel, thus the water channel with any coordinate can be generated quickly in real time, and the water channels which are sequentially connected end to end and have the same height can be found out and modified together each time the height is adjusted.
2. The final completion of one section of water channel is controlled by triggering a mouse click event, the two-dimensional coordinate terminal point of the water channel on the working plane of the water channel is automatically changed into the two-dimensional coordinate starting point of the water channel of the next section of water channel after the water channel is established, the operation is simple, and the mouse click number is small.
3. The method can automatically judge the shortest drilling direction of each water channel, namely, the starting point and the end point of each water channel are extended to be intersected with the mold, the intersection point C and the intersection point D are respectively obtained, the distance between the intersection point C and the end point of each water channel and the distance between the intersection point D and the starting point of each water channel are respectively calculated, the intersection point corresponding to the shortest distance is set as a drilling point, and the method greatly saves the drilling cost.
4. The invention can be used for moulds with single parts, and can be expanded to create cooling water channels passing through two parts of the mould, and the application range is wide.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (10)

1. A method of dynamically creating a mold cooling water channel, comprising the steps of:
s1, selecting a mold model;
s2, setting a working plane;
s3, setting a preset Z in the die model1Height plane, said predetermined Z1The height plane is parallel to the working plane;
s4, determining a water channel two-dimensional coordinate starting point A in the working plane;
s5, acquiring a water channel two-dimensional coordinate terminal B in the working plane in real time, and acquiring Z in real time1Height modification events and mouse click events;
s6, projecting the point A to a preset Z1Obtaining a three-dimensional coordinate starting point A on the height plane1Projecting point B to a preset Z1Obtaining a three-dimensional coordinate endpoint B on a height plane1
S7, judging whether a water channel model object exists in the water channel object mark old, if so, using the point A1And point B1Updating the water channel model object in the water channel object mark old, if not, according to the point A1And point B1Generating a current water channel model, and recording an object id of the current water channel model in a water channel object mark old;
s8, triggering the mouse click event, finishing the creation of the current water channel, recording the current water channel information in a water channel collection table according to a reverse order arrangement principle, then returning to S5 to create a next water channel, automatically changing a water channel two-dimensional coordinate end point B into a water channel two-dimensional coordinate starting point A of the next water channel, and emptying a model object id in a water channel object mark old; if the mouse click event is not triggered, the process returns to step S5.
2. The method for dynamically creating a mold cooling water course according to claim 1, wherein the specific method for updating the water course object model in the water course object mark old in the step S7 is as follows: delete channel object model inside channel object marker old, with Point A1And point B1And generating a current water channel model, and recording the current water channel model object id in a water channel object mark old.
3. The method for dynamically creating a mold cooling water course according to claim 1, wherein the specific method for updating the water course object model in the water course object mark old in the step S7 is as follows: using point A1And point B1And updating the corresponding coordinate points of the water channel model objects in the water channel object mark old.
4. The method for dynamically creating a mold cooling water channel according to claim 2 or 3, wherein Z in the step S51The height modification event is a keyboard key event or a dialog button event, event trigger, modify Z1Height.
5. The method of dynamically creating a mold cooling gallery according to claim 4, wherein Z is1The height modification event is used for modifying the heights of the water channels which are connected in sequence and have the same height, and specifically comprises the following steps:
saving Z before modification1Height Z2
Taking out all the water channel information in the reverse order in the water channel aggregate table;
traversing and circulating all the water channel information in the water channel aggregate table in the reverse order arrangement;
setting the current compared water channel as a target water channel, and comparing whether the height of the target water channel is equal to Z2If yes, modifying the target water channel height to be new Z1Storing the height value into the water channel collection table, updating the target water channel model, returning to the traversal loop step, and continuously comparing the information of the last section of the target water channel, wherein the last section of the water channel is automatically changed into the target water channel; if not, exiting the traversal loop.
6. The method for dynamically creating a mold cooling water channel according to claim 5, wherein in step S8, a mouse is left clicked, the mouse click event is triggered, otherwise, the mouse click event is not triggered.
7. The method for dynamically creating the mold cooling water channel according to claim 5 or 6, wherein the working plane in the step S2 is a mouse point pointing working plane, and the two-dimensional coordinate end point B of the water channel in the working plane is obtained in real time by dragging a mouse cursor in the step S5.
8. The method for dynamically creating mold cooling water channels according to claim 7, further comprising the step of automatically determining the shortest drilling direction of each water channel, specifically:
after a water channel starting point and a water channel end point are obtained, the water channel starting point and the water channel end point are respectively extended to be intersected with a mold along the direction of the water channel, the starting point is extended and then is intersected with the mold to obtain an intersection point C, the end point is extended and then is intersected with the mold to obtain an intersection point D, and the distance between the point C and the end point is h1The distance between the point D and the starting point is h2
If h1<h2Setting the point C as a drilling point; if h1>h2Setting the point D as a drilling point; if h1=h2And setting the point C or the point D as a drilling point.
9. The method for dynamically creating a mold cooling channel as recited in claim 8, wherein a channel stopper feature is drawn at the set channel drilling point.
10. Method for the dynamic creation of a cooling channel for a mold according to claim 8 or 9, characterized in that the method can also be extended for the creation of a cooling channel through two parts of a mold, in particular for the creation of a predetermined Z parallel to the working plane in each case in the two parts of a mold1A height plane, then two-dimensional point coordinates are obtained on the working plane, and the two-dimensional point coordinates are respectively projected to the preset Z of the two parts1Generating 3d coordinate points on the elevation planeEstablishing a cooling water channel passing through the two parts of the mold through the 3d coordinate points and passing through the Z coordinate points1The altitude modification event modifies successive and level channel altitudes.
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 CN106777491A (en) 2017-05-31
CN106777491B true 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)

Families Citing this family (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 (5)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9216532B2 (en) * 2014-02-14 2015-12-22 GM Global Technology Operations LLC Injection mold assembly

Patent Citations (5)

* 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

Also Published As

Publication number Publication date
CN106777491A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN109033671B (en) Revit-based building block filler wall model modeling method capable of calculating engineering quantity
CN102622477B (en) Three-dimensional process model evolution generation method applied to digitalized process design
US9171400B2 (en) Creating a surface from a plurality of 3D curves
CN108312321A (en) A kind of material distributing machine automatic distributing method, device and automatic distributing system
Jong et al. Automatic process planning of mold components with integration of feature recognition and group technology
CN108182318A (en) A kind of method of the plastic geometry mouldability analysis based on UG NX systems
CN110688691A (en) Software design method for freely drawing table top based on Kujiale cloud design platform
JP2001357088A (en) Three-dimensional modeling system having parametric function, and parameter editing method by the same
CN111898990A (en) Building construction progress management method
CN103020381A (en) Three-dimensional mechanical in-process model sequential modeling method based on removal feature recognition
CN111612911A (en) Dynamo-based point cloud BIM automatic modeling method
CN106777491B (en) Method for dynamically creating mold cooling water channel
JP2962369B2 (en) Method of operating graphics display system and method of storing data
CN106326588B (en) A kind of method of BIM auxiliary dam storehouse surface design
JPH0476606A (en) Curve extracting device and nc programming system
CN109685897B (en) House type drawing method for drawing door and window opening by one-step dragging
CN107016714B (en) Method for filling closed curve graph
CN109448115A (en) Processing method, device and the computer equipment of threedimensional model
CN109165399A (en) A kind of automatized three-dimensional Buildings Modeling method and system based on SketchUp API
Kumar et al. A system for design of multicavity die casting dies from part product model
CN112765700A (en) Wall building block arrangement model generation method and device and computer equipment
CN102609592A (en) Machining process model sequential modeling method based on characteristic identification removal
CN103996218A (en) Method for establishing flexible three-dimensional part model database
CN105022896A (en) Method and device for APDL modelling based on dynamic numbering
Lee et al. Efficient modeling method of sheet objects

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
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.