CN110245442A - A kind of analogy method and device of door-plate engraving process - Google Patents

A kind of analogy method and device of door-plate engraving process Download PDF

Info

Publication number
CN110245442A
CN110245442A CN201910541421.8A CN201910541421A CN110245442A CN 110245442 A CN110245442 A CN 110245442A CN 201910541421 A CN201910541421 A CN 201910541421A CN 110245442 A CN110245442 A CN 110245442A
Authority
CN
China
Prior art keywords
simulated
icking tool
door
plate
carved
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.)
Pending
Application number
CN201910541421.8A
Other languages
Chinese (zh)
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.)
Guangdong 3vjia Information Technology Co Ltd
Original Assignee
Guangdong 3vjia 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 Guangdong 3vjia Information Technology Co Ltd filed Critical Guangdong 3vjia Information Technology Co Ltd
Priority to CN201910541421.8A priority Critical patent/CN110245442A/en
Publication of CN110245442A publication Critical patent/CN110245442A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Numerical Control (AREA)

Abstract

The present invention provides the analogy methods and device of a kind of door-plate engraving process, are related to the technical field of data processing, comprising: obtain the attribute data of icking tool to be simulated and the attribute data of door-plate to be carved;The attribute data of attribute data and door-plate to be carved based on icking tool to be simulated constructs the three-dimensional enveloping solid for scanning body and door-plate to be carved of icking tool to be simulated;Obtain the cutter track data of icking tool to be simulated, wherein cutter track data treat the motion profile during the engraving of engraving door-plate for characterizing icking tool to be simulated;Body, the three-dimensional enveloping solid of door-plate to be carved and cutter track data are scanned based on icking tool to be simulated, the engraving process that icking tool to be simulated treats engraving door-plate is simulated, solves low success rate of technical problem during treating the practical engraving that processing door-plate carries out in the prior art.

Description

A kind of analogy method and device of door-plate engraving process
Technical field
The present invention relates to the technical fields of data processing, more particularly, to the analogy method and dress of a kind of door-plate engraving process It sets.
Background technique
It is at present comparative maturity in industrial processing field based on the emulation technology of computer dynamic image hotpoint.In work It is most crucial and difficulty maximum one that industry, which emulates engraving field, cutting and material removal simulation in Virtual Numerical Control Machine Tools emulation, A module.Its difficulty is that workpiece and cutter and cutter scan the boolean operation etc. between modeling, cutter and the workpiece of body.Its In, the problem of due to solid modelling and boolean operation time complexity, the real-time simulation for complex part surface model is more difficult To realize.Such as the engraving emulation technology of woodworking door-plate, most of at present is based on solid modelling method and based on image Boolean operation method, solid modelling method precision is high, but seems that the time insufficient for the boolean operation of complex model.Cloth based on image Although your operation speed is fast, doing rotation scaling translation to 3D model after molding in 3D scene can constantly count again Calculation leads to Caton.If the engraving process for not treating engraving door-plate is simulated, it is likely that can occur during actually engraving Situations such as processing failure, design mistake, the cost for causing door-plate to be carved improve.
In view of the above-mentioned problems, not putting forward effective solutions also.
Summary of the invention
In view of this, the purpose of the present invention is to provide the analogy method and device of a kind of door-plate engraving process, to alleviate Low success rate of technical problem during treating the practical engraving that processing door-plate carries out in the prior art.
In a first aspect, the embodiment of the invention provides a kind of analogy methods of door-plate engraving process, comprising: obtain wait simulate The attribute data of the attribute data of icking tool and door-plate to be carved;Attribute data based on the icking tool to be simulated and described to be carved The attribute data of door-plate constructs the three-dimensional enveloping solid for scanning body and the door-plate to be carved of the icking tool to be simulated;Obtain institute State the cutter track data of icking tool to be simulated, wherein the cutter track data are for characterizing the icking tool to be simulated to the door to be carved Motion profile during the engraving of plate;The three-dimensional envelope for scanning body, the door-plate to be carved based on the icking tool to be simulated Body and the cutter track data simulate the icking tool to be simulated to the engraving process of the door-plate to be carved.
Further, the attribute data of attribute data and the door-plate to be carved based on the icking tool to be simulated, building The scan body and the three-dimensional enveloping solid of the door-plate to be carved of the icking tool to be simulated include: the category based on the icking tool to be simulated Property data construct the icking tool to be simulated scan body;Based on the attribute data of the door-plate to be carved, construct described to be carved The three-dimensional enveloping solid of door-plate.
Further, the attribute data based on the icking tool to be simulated, the body that scans for constructing the icking tool to be simulated include: Based on the attribute data of the icking tool to be simulated, the sectional view of the icking tool to be simulated is constructed;Using B reps, to described Sectional view is handled, and the extrusion of icking tool to be simulated and the rotary body of the icking tool to be simulated are obtained;It is grasped using boolean It opposes the rotary body and the extrusion is handled, generate the icking tool to be simulated scans body.
Further, the attribute data based on the door-plate to be carved constructs the three-dimensional enveloping solid of the door-plate to be carved Include:
Based on the attribute data of the door-plate to be carved, the threedimensional model of the door-plate to be carved is constructed;
The bounding box data of target face in the threedimensional model of the door-plate to be carved are determined based on OBBs algorithm;Wherein, The target face is face corresponding with the face to be carved of the door-plate to be carved in the threedimensional model;According to presetting discrete essence It spends and discrete processes is carried out to the bounding box data of the target face, obtain the grid model of the target face;Based on the grid Model and the threedimensional model determine the point data of initial Z-MAP point and the initial Z-MAP point, wherein the initial Z- MAP point is the intersection point between the Z-direction vector of mesh point and the boundary of the threedimensional model of the grid model, described initial The point data of Z-MAP point is used to characterize the Z-direction vector length between the mesh point and the intersection point;Based on the initial Z- The point data of MAP point constructs the three-dimensional enveloping solid of the door-plate to be carved.
Further, body, the three-dimensional enveloping solid of the door-plate to be carved and described are scanned based on the icking tool to be simulated Cutter track data, simulating the icking tool to be simulated includes: based on the cutter track data, really to the engraving process of the door-plate to be carved Set the goal the point data of Z-MAP point and the target Z-MAP point, wherein the target Z-MAP point is the icking tool to be simulated The intersection point between the Z-direction vector of the mesh point of body and the grid model is scanned, the point data of the target Z-MAP point is used for Indicate the corresponding Z-direction vector length of the target Z-MAP point;Point data based on the target Z-MAP point and described initial The point data of Z-MAP point determines final Z-MAP point;Using tri patch algorithm, the final Z-MAP point is handled, The icking tool to be simulated is obtained to the engraving process of the door-plate to be carved.
Further, the point data of point data and the initial Z-MAP point based on the target Z-MAP point, is determined If the Z-direction vector length that the point data that final Z-MAP point includes: the target Z-MAP point indicates is greater than the initial Z-MAP The Z-direction vector length that the point data of point indicates, then be determined as the final Z-MAP point for the initial Z-MAP point;If described What the point data that the Z-direction vector length that the point data of target Z-MAP point indicates is less than or equal to the initial Z-MAP point indicated The target Z-MAP point is then determined as the final Z-MAP point by Z-direction vector length.
Further, be based on the cutter track data, determine target Z-MAP point and the target Z-MAP point data include: by The icking tool to be simulated to scan body discrete for three-dimensional point set, and the three-dimensional point set is projected to the face OXY of three-dimensional system of coordinate, Obtain target point set;The encirclement of the convex closure and the icking tool to be simulated of the icking tool to be simulated is determined based on the target point set Box;Based on the cutter track data, the bounding box data of the convex closure of the icking tool to be simulated and the icking tool to be simulated determine target Transformation matrix, wherein the object transformation matrix include: the convex closure of the icking tool to be simulated transformation matrix and/or it is described to The matrix of the bounding box of icking tool is simulated, the object transformation matrix is for characterizing the icking tool to be simulated to the door-plate to be carved Engraving during the icking tool to be simulated location information;Three based on the object transformation matrix and the door-plate to be carved Enveloping solid is tieed up, determines target Z-MAP point and the target Z-MAP point data.
Second aspect, the embodiment of the invention provides a kind of simulators of door-plate engraving process, comprising: first obtains list Member, construction unit, second acquisition unit and analogue unit, wherein the first acquisition unit is for obtaining icking tool to be simulated The attribute data of attribute data and door-plate to be carved;The construction unit for based on the icking tool to be simulated attribute data and The attribute data of the door-plate to be carved constructs the three-dimensional envelope for scanning body and the door-plate to be carved of the icking tool to be simulated Body;The second acquisition unit is used to obtain the cutter track data of the icking tool to be simulated, wherein the cutter track data are for characterizing The icking tool to be simulated is to the motion profile during the engraving of the door-plate to be carved;The analogue unit is used for based on described Icking tool to be simulated scans body, the three-dimensional enveloping solid of the door-plate to be carved and the cutter track data, and simulation is described to carve wait simulate Engraving process of the knife to the door-plate to be carved.
Further, the construction unit is also used to: the attribute data building based on the icking tool to be simulated is described to mould Quasi- icking tool scans body;Based on the attribute data of the door-plate to be carved, the three-dimensional enveloping solid of the door-plate to be carved is constructed.
Further, the construction unit is also used to: the attribute data based on the icking tool to be simulated, and building is described to mould The sectional view of quasi- icking tool;Using B reps, the sectional view is handled, obtains the extrusion of the icking tool to be simulated With the rotary body of the icking tool to be simulated;The rotary body and the extrusion are handled using boolean operation, generate institute That states icking tool to be simulated scans body.
In embodiments of the present invention, firstly, obtaining the attribute data of icking tool to be simulated and the attribute data of door-plate to be carved; Then, the attribute data of attribute data and door-plate to be carved based on icking tool to be simulated, construct icking tool to be simulated scan body and The three-dimensional enveloping solid of door-plate to be carved;Then, the cutter track data of icking tool to be simulated are obtained, wherein cutter track data for characterize to Simulation icking tool treats the motion profile during the engraving of engraving door-plate;Finally, scanning body, to be carved based on icking tool to be simulated The three-dimensional enveloping solid and cutter track data of door-plate simulate the engraving process that icking tool to be simulated treats engraving door-plate.
The embodiment of the present invention, the process that processing door-plate is treated by treating simulation icking tool carry out analogue simulation, can According to the engraving process of simulation, judge whether will appear processing failure during icking tool treats the practical engraving for processing door-plate Situation has reached the mesh that can judge whether will appear engraving failure before the actual processing that icking tool treats processing door-plate , and then solve icking tool in the prior art and treat low success rate of technical problem in the actual processing engraving of processing door-plate, from And realize the technical effect for reducing door-plate engraving cost.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification, claims And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow chart for the analogy method that a kind of door-plate provided in an embodiment of the present invention carves process;
Fig. 2 is the flow chart provided in an embodiment of the present invention for constructing cutter to be simulated and scanning the method for body;
Fig. 3 is the flow chart of the method for the envelope diagram of building door-plate to be carved provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram for the simulator that a kind of door-plate provided in an embodiment of the present invention carves process.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Embodiment one:
According to embodiments of the present invention, a kind of embodiment of the analogy method of door-plate engraving process is provided, needs to illustrate It is that step shown in the flowchart of the accompanying drawings can execute in a computer system such as a set of computer executable instructions, Also, although logical order is shown in flow charts, and it in some cases, can be to be different from sequence execution herein Shown or described step.
Fig. 1 is a kind of flow chart of the analogy method of door-plate engraving process according to an embodiment of the present invention, as shown in Figure 1, This method comprises the following steps:
Step S102 obtains the attribute data of icking tool to be simulated and the attribute data of door-plate to be carved;
Step S104, the attribute data of attribute data and the door-plate to be carved based on the icking tool to be simulated, building The three-dimensional enveloping solid for scanning body and the door-plate to be carved of the icking tool to be simulated;
Step S106 obtains the cutter track data of the icking tool to be simulated, wherein the cutter track data for characterize it is described to Icking tool is simulated to the motion profile during the engraving of the door-plate to be carved;
Step S108 scans body, the three-dimensional enveloping solid of the door-plate to be carved and described based on the icking tool to be simulated Cutter track data simulate the icking tool to be simulated to the engraving process of the door-plate to be carved.
The embodiment of the present invention, the process that processing door-plate is treated by treating simulation icking tool carry out analogue simulation, can According to the engraving process of simulation, judge whether will appear processing failure during icking tool treats the practical engraving for processing door-plate Situation has reached the mesh that can judge whether will appear engraving failure before the actual processing that icking tool treats processing door-plate , and then solve icking tool in the prior art and treat low success rate of technical problem in the actual processing engraving of processing door-plate, from And realize the technical effect for reducing door-plate engraving cost.
It should be noted that the attribute data of icking tool to be simulated includes: categorical data, length data, fixed position data Deng.
The attribute data of door-plate to be processed includes: the wire frame data of door-plate to be processed, the plate thickness data of door-plate to be processed, to Process the installation position data etc. of door-plate.
In embodiments of the present invention, step S104 further includes following steps:
Step S11, based on the attribute data of the icking tool to be simulated, construct the icking tool to be simulated scans body;
Step S12 constructs the three-dimensional enveloping solid of the door-plate to be carved based on the attribute data of the door-plate to be carved.
In embodiments of the present invention, scanning body is a kind of moving object geometrical model and numerical control processing, robot work A basic theory problem in the research fields such as space and mechanical space layout.
As shown in Fig. 2, step S11 the following steps are included:
Step S111 constructs the sectional view of the icking tool to be simulated based on the attribute data of the icking tool to be simulated;
Step S112 is handled the sectional view using B reps, obtains the stretching of the icking tool to be simulated The rotary body of body and the icking tool to be simulated;
Step S113 is handled the rotary body and the extrusion using boolean operation, is generated described wait simulate Icking tool scans body.
In embodiments of the present invention, firstly, according to the attribute data of icking tool to be simulated, the section of icking tool to be simulated is constructed Figure.
Then, the function that can create rotary body and extrusion according to any section 2D using B reps, treats mould The sectional view of quasi- icking tool is handled, and the extrusion of icking tool to be simulated and the rotary body of the icking tool to be simulated are obtained.
It should be noted that indicating the model of three-dimensional body in computer, classifies according to geometrical feature, generally may be used To be divided into three kinds: wire-frame model, surface model and physical model.If classified according to the method for indicating object, entity mould Type can substantially be divided into exploded representation method, construction representation CSG (Constructive Solid Geometry) and boundary table Show method BREP (Boundary Representation) three categories.
B reps are accurately to describe threedimensional model according to the surface of vertex, side and the face composition to modeling object The method of entity.The advantages of this method is rapidly to draw three-dimensional or wire-frame model.
It therefore, can rapidly and efficiently in such a way that the sectional view that B reps treat simulation icking tool is handled Obtain the extrusion of icking tool to be simulated and the rotary body of the icking tool to be simulated.
Finally, using boolean operation, the both ends of the extrusion of icking tool to be simulated and the rotary body of icking tool to be simulated are solved Union, and body is scanned according to the Topology generation of union icking tool to be simulated.
It should be noted that boolean operation is to be combined the operation of calculating to geometric graphic element, wherein boolean operation packet It includes: intersecting, subtract, cutting, be bonded, overlap joint mutually divides and waits operation.Boolean operation be not only applicable in simple voxel in pel, Suitable for the complex geometric models being passed to from 3 d modeling system.
As shown in figure 3, step S12 the following steps are included:
Step S121 constructs the threedimensional model of the door-plate to be carved based on the attribute data of the door-plate to be carved;
Step S122 determines the bounding box number of target face in the threedimensional model of the door-plate to be carved based on OBBs algorithm According to, wherein the target face is face corresponding with the face to be carved of the door-plate to be carved in the threedimensional model;
Step S123 carries out discrete processes to the bounding box data of the target face according to discrete precision is preset, obtains institute State the grid model of target face;
Step S124 is based on the grid model and the threedimensional model, determines initial Z-MAP point and the initial Z- The point data of MAP point, wherein Z-direction vector and the three-dimensional of the initial Z-MAP point for the mesh point of the grid model Intersection point between the boundary of model, the point data of the initial Z-MAP point is for characterizing between the mesh point and the intersection point Z-direction vector length;
Step S125 is based on the initial Z-MAP point, constructs the three-dimensional enveloping solid of the door-plate to be carved.
In embodiments of the present invention, firstly, according to the attribute data of door-plate to be carved, the three of the door-plate to be carved are constructed Dimension module.
Then, face (that is, target face) corresponding with the face to be carved of door-plate to be carved in threedimensional model is projected to three It ties up in coordinate system, which is located on the face OXY of three-dimensional system of coordinate, and is solved using OBBs algorithm, the packet of target face Enclose box data.
It should be noted that OBBs algorithm is a kind of algorithm for solving discrete point set Optimal packet confining space, basic thought It is the simple solid of and characteristic slightly larger with volume (referred to as bounding box) approximatively to replace complicated geometric object.
Common bounding box has AABB bounding box, surrounds ball, oriented bounding box OBB and fixed direction hull FDH.Collision Test problems have a wide range of applications in fields such as virtual reality, computer aided design and manufacture, game and robots, even As key technology.And OBBs algorithm is one of the important method for carrying out interference and collision Preliminary detection.
Then, discrete processes are carried out according to bounding box data of the preset discrete precision to target face, obtains the target of m*n The grid model in face.
It should be noted that above-mentioned preset discrete precision can by operator's sets itself according to the actual situation, It is not specifically limited in the embodiment of the present invention.
Then, the Z-direction vector of the mesh point of the grid model of target face and the threedimensional model of door-plate to be carved are solved The length of the intersection point on boundary, the intersection point to mesh point can be as the vector length of the intersection point, since this method is similar to Z-MAP Method, therefore the intersection point is denoted as initial Z-MAP point, the vector length of the intersection point is denoted as the point data of initial Z-MAP point.
It should be noted that Z-Map Stock-remaining Model is a kind of geometrical model for describing allowance, in blank process constantly The mathematical model of variation is made of a large amount of Z-Map point, Z-Map Stock-remaining Model can reflect strictly according to the facts the in due course Restzustand of blank, It automatic identification machining area and can calculate simple.
Finally, constructing the enveloping solid of door-plate to be carved according to the mesh point of initial Z-MAP point and grid model.
It should be noted that enveloping solid is a kind of totally enclosed curved surface, the attribute such as density, inertia of certain " body " are assigned Deng, and Boolean calculation can be carried out with entity, by the face outside extracting, entity is converted by the face of extraction.
In embodiments of the present invention, step S108 further includes following steps:
Step S21 is based on the cutter track data, determines the point data of target Z-MAP point and the target Z-MAP point, In, the target Z-MAP point be the mesh point for scanning body and the grid model of the icking tool to be simulated Z-direction vector it Between intersection point, the point data of the target Z-MAP point is for indicating the corresponding Z-direction vector length of the target Z-MAP point;
Step S22, the point data of point data and the initial Z-MAP point based on the target Z-MAP point, is determined most Whole Z-MAP point;
Step S23 is handled the final Z-MAP point using tri patch algorithm, obtains the icking tool to be simulated To the engraving process of the door-plate to be carved.
In embodiments of the present invention, in order to determine the point data of target Z-MAP point and target Z-MAP point, firstly, will be to Simulation icking tool to scan body discrete for three-dimensional point set, and three-dimensional point set is projected to the face OXY of three-dimensional system of coordinate, obtains target point Collection.
Then, the convex closure of icking tool to be simulated and the bounding box of icking tool to be simulated are calculated according to the three-dimensional point set, it is preferred that The bounding box of icking tool to be simulated is AABB bounding box.
Then, the bounding box of the convex closure of icking tool to be simulated and icking tool to be simulated is done into matrix change along different engraving tracks It changes, determines the transformation matrix of the transformation matrix of the convex closure of icking tool to be simulated and the bounding box of icking tool to be simulated.
It should be noted that due to during treating engraving door-plate and being carved, depiction be not it is continuous, It therefore include the engraving track of multiple icking tools to be simulated in cutter track data.
Finally, solving the Z-direction vector of initial Z-MAP point and the curved surface of icking tool to be simulated according to object transformation matrix Intersection point, and the intersection point is determined as target Z-MAP point, by the Z-direction between target Z-MAP point and the mesh point of grid model Vector length is determined as the point data of target Z-MAP point.
In addition, it should also be noted that, the Z-direction vector and icking tool to be simulated for solving initial Z-MAP point curved surface Intersection point process before, need to determine by the position of the AABB bounding box for scanning body of icking tool to be simulated in bounding box Interior initial Z-Map point;It is then determined source is in Z-Map point initial in the convex closure for scanning body of icking tool to be simulated.Finally, asking Solve the intersection point of the Z-direction vector of initial Z-MAP point and the curved surface of icking tool to be simulated.
After the point data for determining target Z-MAP point and target Z-MAP point, need to judge the point of target Z-MAP point The size between Z-direction vector length that the point data of Z-direction vector length and initial Z-MAP point that data indicate indicates is closed System.
If the point data that the Z-direction vector length that the point data of target Z-MAP point indicates is greater than initial Z-MAP point indicates Z-direction vector length, then initial Z-MAP point is determined as final Z-MAP point.
If the Z-direction vector length that the point data of target Z-MAP point indicates is less than or equal to the points of initial Z-MAP point According to the Z-direction vector length of expression, then target Z-MAP point is determined as final Z-MAP point.
After determining target Z-MAP point, final Z-MAP point is connected by tri patch, to realize door The simulation of plate engraving process.
By execute above-mentioned steps S21 to step S123, can generate icking tool to be simulated treat engraving door-plate engraving it is complete The threedimensional model of the door-plate to be carved obtained after, and then operator can be according to the threedimensional model of the door-plate to be carved, really Whether fixed threedimensional model generated after the completion of simulating icking tool and treating the engraving process for carving door-plate meets the set goal.
Embodiment two:
The present invention also provides a kind of simulators of door-plate engraving process, and the device is for executing the embodiment of the present invention The analogy method for stating the engraving process of door-plate provided by content is the mould of door-plate engraving process provided in an embodiment of the present invention below The specific introduction of quasi- device.
Fig. 4 is the schematic diagram for the simulator that door-plate carves process, which includes: first acquisition unit 10, and building is single Member 20, second acquisition unit 30 and analogue unit 40.
The first acquisition unit 10 is used to obtain the attribute data of icking tool to be simulated and the attribute data of door-plate to be carved;
The construction unit 20 is used for the attribute of attribute data and the door-plate to be carved based on the icking tool to be simulated Data construct the three-dimensional enveloping solid for scanning body and the door-plate to be carved of the icking tool to be simulated;
The second acquisition unit 30 is used to obtain the cutter track data of the icking tool to be simulated, wherein the cutter track data For characterizing the icking tool to be simulated to the motion profile during the engraving of the door-plate to be carved;
The analogue unit 40 is used for the three-dimensional envelope for scanning body, the door-plate to be carved based on the icking tool to be simulated Body and the cutter track data simulate the icking tool to be simulated to the engraving process of the door-plate to be carved.
The embodiment of the present invention, the process that processing door-plate is treated by treating simulation icking tool carry out analogue simulation, can According to the engraving process of simulation, judge whether will appear processing failure during icking tool treats the practical engraving for processing door-plate Situation has reached the mesh that can judge whether will appear engraving failure before the actual processing that icking tool treats processing door-plate , and then solve icking tool in the prior art and treat low success rate of technical problem in the actual processing engraving of processing door-plate, from And realize the technical effect for reducing door-plate engraving cost.
Preferably, the construction unit is also used to: the attribute data building based on the icking tool to be simulated is described wait simulate Icking tool scans body;Based on the attribute data of the door-plate to be carved, the three-dimensional enveloping solid of the door-plate to be carved is constructed.
Preferably, the construction unit is also used to: the attribute data based on the icking tool to be simulated, and building is described wait simulate The sectional view of icking tool;Based on the sectional view, the rotary body of the icking tool to be simulated is constructed;Using B reps and it is described to The cutter track data for simulating icking tool, handle the sectional view, obtain the extrusion of the icking tool to be simulated;It is grasped using boolean It opposes the rotary body and the extrusion is handled, generate the icking tool to be simulated scans body.
Preferably, construction unit is also used to: the attribute data based on the door-plate to be carved, constructs the door-plate to be carved Threedimensional model;The bounding box data of target face in the threedimensional model of the door-plate to be carved are determined based on OBBs algorithm;Its In, the target face is face corresponding with the face to be carved of the door-plate to be carved in the threedimensional model;According to preset from It dissipates precision and discrete processes is carried out to the bounding box data of the target face, obtain the grid model of the target face;Based on described Grid model and the threedimensional model determine the point data of initial Z-MAP point and the initial Z-MAP point, wherein described initial Z-MAP point is the intersection point between the Z-direction vector of mesh point and the boundary of the threedimensional model of the grid model, described first The point data of beginning Z-MAP point is used to characterize the Z-direction vector length between the mesh point and the intersection point;Based on described initial The point data of Z-MAP point constructs the three-dimensional enveloping solid of the door-plate to be carved.
Preferably, the analogue unit is also used to: being based on the cutter track data, is determined target Z-MAP point and the target The point data of Z-MAP point, wherein the target Z-MAP point scans body and the grid model for the icking tool to be simulated Intersection point between the Z-direction vector of mesh point, the point data of the target Z-MAP point is for indicating the target Z-MAP point pair The Z-direction vector length answered;The point data of point data and the initial Z-MAP point based on the target Z-MAP point, is determined Final Z-MAP point;Using tri patch algorithm, the final Z-MAP point is handled, obtains the icking tool to be simulated to institute State the engraving process of door-plate to be carved.
Preferably, the analogue unit is also used to: if the Z-direction vector that the point data of the target Z-MAP point indicates is long Degree is greater than the Z-direction vector length that the point data of the initial Z-MAP point indicates, then the initial Z-MAP point is determined as institute State final Z-MAP point;If the Z-direction vector length that the point data of the target Z-MAP point indicates is less than or equal to described initial The Z-direction vector length that the point data of Z-MAP point indicates, then be determined as the final Z-MAP point for the target Z-MAP point.
Preferably, the analogue unit is also used to: by the icking tool to be simulated to scan body discrete for three-dimensional point set, and will The three-dimensional point set is projected to the face OXY of three-dimensional system of coordinate, obtains target point set;Based on the target point set determine it is described to Simulate the convex closure of icking tool and the bounding box of the icking tool to be simulated;Based on the cutter track data, the convex closure of the icking tool to be simulated With the bounding box data of the icking tool to be simulated, object transformation matrix is determined, wherein the object transformation matrix includes: described The matrix of the bounding box of the transformation matrix of the convex closure of icking tool to be simulated and/or the icking tool to be simulated, the object transformation matrix For characterizing the icking tool to be simulated to the location information of icking tool to be simulated described during the engraving of the door-plate to be carved;Base In the three-dimensional enveloping solid of the object transformation matrix and the door-plate to be carved, target Z-MAP point and the target Z-MAP are determined Point data.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition Concrete meaning in invention.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical", The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation, It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ", " third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, Only a kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be through some communication interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of analogy method of door-plate engraving process characterized by comprising
Obtain the attribute data of icking tool to be simulated and the attribute data of door-plate to be carved;
The attribute data of attribute data and the door-plate to be carved based on the icking tool to be simulated constructs the icking tool to be simulated The three-dimensional enveloping solid for scanning body and the door-plate to be carved;
Obtain the cutter track data of the icking tool to be simulated, wherein the cutter track data are for characterizing the icking tool to be simulated to institute State the motion profile during the engraving of door-plate to be carved;
Body, the three-dimensional enveloping solid of the door-plate to be carved and the cutter track data, simulation are scanned based on the icking tool to be simulated Engraving process of the icking tool to be simulated to the door-plate to be carved.
2. the method according to claim 1, wherein attribute data based on the icking tool to be simulated and it is described to The attribute data of door-plate is carved, the three-dimensional enveloping solid packet for scanning body and the door-plate to be carved of the icking tool to be simulated is constructed It includes:
Based on the attribute data of the icking tool to be simulated, construct the icking tool to be simulated scans body;
Based on the attribute data of the door-plate to be carved, the three-dimensional enveloping solid of the door-plate to be carved is constructed.
3. according to the method described in claim 2, it is characterized in that, the attribute data based on the icking tool to be simulated, constructs institute The body that scans for stating icking tool to be simulated includes:
Based on the attribute data of the icking tool to be simulated, the sectional view of the icking tool to be simulated is constructed;
Using B reps, the sectional view is handled, obtains the extrusion of the icking tool to be simulated and described to mould The rotary body of quasi- icking tool;
The rotary body and the extrusion are handled using boolean operation, generate the icking tool to be simulated scans body.
4. the method according to claim 1, wherein the attribute data based on the door-plate to be carved, constructs institute The three-dimensional enveloping solid for stating door-plate to be carved includes:
Based on the attribute data of the door-plate to be carved, the threedimensional model of the door-plate to be carved is constructed;
The bounding box data of target face in the threedimensional model of the door-plate to be carved are determined based on OBBs algorithm, wherein described Target face is face corresponding with the face to be carved of the door-plate to be carved in the threedimensional model;
Discrete processes are carried out to the bounding box data of the target face according to discrete precision is preset, obtain the grid of the target face Model;
Based on the grid model and the threedimensional model, the point data of initial Z-MAP point and the initial Z-MAP point is determined, Wherein, the initial Z-MAP point is between the Z-direction vector of mesh point and the boundary of the threedimensional model of the grid model Intersection point, the Z-direction vector that the point data of the initial Z-MAP point is used to characterize between the mesh point and the intersection point is long Degree;
Based on the initial Z-MAP point, the three-dimensional enveloping solid of the door-plate to be carved is constructed.
5. according to the method described in claim 4, it is characterized in that, scanning body, be described wait carve based on the icking tool to be simulated Carve door-plate three-dimensional enveloping solid and the cutter track data, simulate the icking tool to be simulated to the engraving process of the door-plate to be carved Include:
Based on the cutter track data, the point data of target Z-MAP point and the target Z-MAP point is determined, wherein the target Z- MAP point is the intersection point between the Z-direction vector of the mesh point for scanning body and the grid model of the icking tool to be simulated, described The point data of target Z-MAP point is for indicating the corresponding Z-direction vector length of the target Z-MAP point;
The point data of point data and the initial Z-MAP point based on the target Z-MAP point, determines final Z-MAP point;
Using tri patch algorithm, the final Z-MAP point is handled, obtains the icking tool to be simulated to described to be carved The engraving process of door-plate.
6. according to the method described in claim 5, it is characterized in that, point data based on the target Z-MAP point and it is described just The point data of beginning Z-MAP point determines that final Z-MAP point includes:
If the point data of the target Z-MAP point is greater than the point data of the initial Z-MAP point, by the initial Z-MAP point It is determined as the final Z-MAP point;
If the point data of the target Z-MAP point is less than or equal to the point data of the initial Z-MAP point, by the target Z- MAP point is determined as the final Z-MAP point.
7. according to the method described in claim 5, it is characterized in that, determining target Z-MAP point and institute based on the cutter track data Stating target Z-MAP point data includes:
By the icking tool to be simulated to scan body discrete for three-dimensional point set, and the three-dimensional point set is projected to three-dimensional system of coordinate The face OXY, obtains target point set;
The convex closure of icking tool to be simulated and the bounding box of the icking tool to be simulated are determined based on the target point set;
Based on the cutter track data, the bounding box of the convex closure of the icking tool to be simulated and the icking tool to be simulated determines that target becomes Change matrix, wherein the object transformation matrix includes: the transformation matrix of the convex closure of the icking tool to be simulated and/or described to mould The transformation matrix of the bounding box of quasi- icking tool, the object transformation matrix is for characterizing the icking tool to be simulated to the door to be carved The location information of the icking tool to be simulated during the engraving of plate;
Three-dimensional enveloping solid based on the object transformation matrix and the door-plate to be carved determines the target Z-MAP point and institute State target Z-MAP point data.
8. a kind of simulator of door-plate engraving process characterized by comprising first acquisition unit, construction unit, second obtains Take unit and analogue unit, wherein
The first acquisition unit is used to obtain the attribute data of icking tool to be simulated and the attribute data of door-plate to be carved;
The construction unit is used for the attribute data of attribute data and the door-plate to be carved based on the icking tool to be simulated, structure Build the three-dimensional enveloping solid for scanning body and the door-plate to be carved of the icking tool to be simulated;
The second acquisition unit is used to obtain the cutter track data of the icking tool to be simulated, wherein the cutter track data are used for table The icking tool to be simulated is levied to the motion profile during the engraving of the door-plate to be carved;
The analogue unit is used to scan body, the three-dimensional enveloping solid of the door-plate to be carved and institute based on the icking tool to be simulated Cutter track data are stated, simulate the icking tool to be simulated to the engraving process of the door-plate to be carved.
9. device according to claim 8, which is characterized in that the construction unit is also used to:
The attribute data building icking tool to be simulated based on the icking tool to be simulated scans body;
Based on the attribute data of the door-plate to be carved, the three-dimensional enveloping solid of the door-plate to be carved is constructed.
10. device according to claim 9, which is characterized in that the construction unit is also used to:
Based on the attribute data of the icking tool to be simulated, the sectional view of the icking tool to be simulated is constructed;
Using B reps, the sectional view is handled, obtains the extrusion of the icking tool to be simulated and described to mould The rotary body of quasi- icking tool;
The rotary body and the extrusion are handled using boolean operation, generate the icking tool to be simulated scans body.
CN201910541421.8A 2019-06-20 2019-06-20 A kind of analogy method and device of door-plate engraving process Pending CN110245442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910541421.8A CN110245442A (en) 2019-06-20 2019-06-20 A kind of analogy method and device of door-plate engraving process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910541421.8A CN110245442A (en) 2019-06-20 2019-06-20 A kind of analogy method and device of door-plate engraving process

Publications (1)

Publication Number Publication Date
CN110245442A true CN110245442A (en) 2019-09-17

Family

ID=67888640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910541421.8A Pending CN110245442A (en) 2019-06-20 2019-06-20 A kind of analogy method and device of door-plate engraving process

Country Status (1)

Country Link
CN (1) CN110245442A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112462689A (en) * 2020-12-10 2021-03-09 德州钰雕机械设备有限公司 Method for generating handicraft digital model random carving four-axis three-linkage cutter path
CN116909211A (en) * 2023-09-12 2023-10-20 惠州市诺昂科技有限公司 Intelligent regulation and control method and system for high-precision numerical control machine tool

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096749A (en) * 2011-03-22 2011-06-15 纽威数控装备(苏州)有限公司 Static and modal analysis method of numerical control machine tool with linear guide rails
US20140052412A1 (en) * 2004-02-02 2014-02-20 United Parcel Service Of America, Inc. System and method for generating a transporting instruction using an environmental sensor
CN108515217A (en) * 2018-04-09 2018-09-11 吉林大学 A kind of ball-end milling free form surface surface topography emulation mode
CN108932387A (en) * 2018-07-06 2018-12-04 广东三维家信息科技有限公司 A method of gate is simulated based on feed path in real time

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140052412A1 (en) * 2004-02-02 2014-02-20 United Parcel Service Of America, Inc. System and method for generating a transporting instruction using an environmental sensor
CN102096749A (en) * 2011-03-22 2011-06-15 纽威数控装备(苏州)有限公司 Static and modal analysis method of numerical control machine tool with linear guide rails
CN108515217A (en) * 2018-04-09 2018-09-11 吉林大学 A kind of ball-end milling free form surface surface topography emulation mode
CN108932387A (en) * 2018-07-06 2018-12-04 广东三维家信息科技有限公司 A method of gate is simulated based on feed path in real time

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112462689A (en) * 2020-12-10 2021-03-09 德州钰雕机械设备有限公司 Method for generating handicraft digital model random carving four-axis three-linkage cutter path
CN116909211A (en) * 2023-09-12 2023-10-20 惠州市诺昂科技有限公司 Intelligent regulation and control method and system for high-precision numerical control machine tool
CN116909211B (en) * 2023-09-12 2023-11-17 惠州市诺昂科技有限公司 Intelligent regulation and control method and system for high-precision numerical control machine tool

Similar Documents

Publication Publication Date Title
CN104484522B (en) A kind of construction method of robot simulation's drilling system based on reality scene
CN101890523B (en) A method for simulating numerically controlled milling using adaptively sampled distance fields
CN106041928B (en) A kind of robot manipulating task task generation method based on part model
Requicha et al. Solid modeling and beyond
Spitz et al. Accessibility analysis for planning of dimensional inspection with coordinate measuring machines
CN107972034B (en) Complex workpiece trajectory planning simulation system based on ROS platform
CN106875462B (en) Real-time digital organ cutting method based on meta-sphere model and hybrid driving method
Kim et al. A haptic-rendering technique based on hybrid surface representation
CN104204978B (en) To the method and system machining of workpiece emulated by instrument
CN105740497A (en) Simulating the machining of a workpiece
CN108648548A (en) A kind of neuro-surgery virtual operation training system
CN110245442A (en) A kind of analogy method and device of door-plate engraving process
CN110147649A (en) A kind of analogy method and device of plate process
CN103135446A (en) Motion trail authentication device of multiaxis numerical control machine tool
CN103150416B (en) The modeling body that design is represented by depth elements
Choi et al. Visualisation of rapid prototyping
Leu et al. Creation of freeform solid models in virtual reality
Puig et al. 3D simulation of tool machining
CN110262389A (en) Simulate the method and device of gate process
Obukhov et al. Real-time cutting simulation based on voxel model
EP1301876A4 (en) System and method for designing, synthesizing and analyzing computer generated mechanisms
CN110325932A (en) For simulating the mach system and method to workpiece
CN107738256A (en) A kind of teach-by-doing apery teaching robot's programing system
Cho et al. 3D volume drawing on a potter's wheel
Li et al. Real-time soft tissue modelling for webbased surgical simulation: Surfacechainmail

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190917

RJ01 Rejection of invention patent application after publication