CN109241621A - A kind of water knife parquets technology discussed based on computer graphic with curvilinear figure Boolean calculation - Google Patents

A kind of water knife parquets technology discussed based on computer graphic with curvilinear figure Boolean calculation Download PDF

Info

Publication number
CN109241621A
CN109241621A CN201811033399.8A CN201811033399A CN109241621A CN 109241621 A CN109241621 A CN 109241621A CN 201811033399 A CN201811033399 A CN 201811033399A CN 109241621 A CN109241621 A CN 109241621A
Authority
CN
China
Prior art keywords
water knife
boolean calculation
curvilinear
curl
rendering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811033399.8A
Other languages
Chinese (zh)
Other versions
CN109241621B (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.)
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 CN201811033399.8A priority Critical patent/CN109241621B/en
Publication of CN109241621A publication Critical patent/CN109241621A/en
Application granted granted Critical
Publication of CN109241621B publication Critical patent/CN109241621B/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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Civil Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of water knife parquets technologies discussed based on computer graphic with curvilinear figure Boolean calculation, this is discussed based on computer graphic and the water knife parquets technical step of curvilinear figure Boolean calculation is as follows: the material (such as cad file) of water knife figure S1: being converted to the multi-section-line data being made of straight line and circular arc, S2: all intersection points of lines are found out and lines are interrupted, it lays the foundation for search closed figure, S3: all closed figures (supporting curl) is found out using Euler's table algorithm, S4: the input customized brick information of user, S5: it is misplaced according to the customized bricklayer's spacing rule little progress line displacement of user, S6: curl figure is carried out trigonometric ratio using pure mathematics algorithm and submits to the rendering of video card progress effect picture.Technology used in the present invention is versatile, as a result accurately, has excellent performance, and data volume is small, supports secondary editor, facilitates replacement texture and material and adjustment size, can apply to a variety of design schemes.

Description

A kind of water knife parquets technology discussed based on computer graphic with curvilinear figure Boolean calculation
Technical field
The present invention relates to water knife parquets technical fields, specially a kind of to be discussed and curvilinear figure Boolean calculation based on computer graphic Water knife parquets technology.
Background technique
Water knife has a wide range of application, and the market demand is big, in the design scheme of tile work customization software, has complexity more than 80% Water knife moulding.Common tile work designer is relatively difficult using the Software Creates water cutting die type such as CAD or 3Dmax.Because learning It is big to practise these software costs high time long difficulty, and structure is complicated for water knife, data volume is big.For the model of these Software Creates, Also lack certain flexibility, secondary editor can not be carried out and dynamic brickwork joint is cut.Therefore, water is used for response designer The demand of knife proposes that automatically generating water knife 3d solution to model based on CAD data determines scheme.
Summary of the invention
The purpose of the present invention is to provide a kind of water knife parquets skills discussed based on computer graphic with curvilinear figure Boolean calculation Art should be discussed based on computer graphic and the water knife parquets technical step of curvilinear figure Boolean calculation is as follows:
S1: the material (such as cad file) of water knife figure is converted into the multi-section-line data being made of straight line and circular arc, therefore The first step first uses the circle of curvature scheduling algorithm in calculus that will usually contain non-circular curve such as spline curve in cad file, oval Arc etc. is converted to straight line or circular arc, and using CAD original starting point+terminal+convexity mode, the equation of straight line and circular arc is united One, ease for use is effectively improved;
S2: finding out all intersection points of lines and lines interrupted, and lays the foundation for search closed figure;
S3: finding out all closed figures (supporting curl) using Euler's table algorithm, using the intersection point generated in S2, and it is every A intersection point the information such as uses by which lines, we can establish Euler's relation table, is then sorted, can be looked for by angle All closed figures out;
S4: the input customized brick information of user, water knife figure can be spliced by multiple bricks on final product and At, therefore computer will simulate this effect, must just cut to water knife figure, be abstracted into mathematics level, then be brick The intersection of figure and water knife figure is can be obtained with Boolean calculation as a result, being carried out using Boolean calculation to the figure that S3 is generated It cuts;
S5: it is misplaced according to the customized bricklayer's spacing rule little progress line displacement of user, water knife figure often carries internal slope brick Seam, but CAD producer tends not to a brickwork joint part to drawing out, and program is just needed to carry out automatic identification at this time, and And the offset of stepping type is carried out along the normal direction of figure, to realize the automatic generation function of slope brickwork joint;
S6: curl figure is carried out trigonometric ratio using pure mathematics algorithm and submits to the rendering of video card progress effect picture, mesh Preceding video card rendering is all based on triangular facet, does not support polygon directly, especially with curl, therefore before submitting rendering, I Also need the figure that calculates to carry out trigonometric ratio, to realize the rendering of 3D effect figure.
Compared with prior art, as a result quasi- the beneficial effects of the present invention are: technology used in the present invention is versatile Really, it has excellent performance, data volume is small, supports secondary editor, facilitates replacement texture and material and adjustment size, can apply to a variety of Design scheme.
Detailed description of the invention
Fig. 1 is display renderings of the cad file of the present invention in AutoCAD;
Fig. 2 is that curl figure of the present invention carries out trigonometric ratio and submits to the effect rendering figure of video card progress.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, to this Invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, not For limiting the present invention.
Embodiment 1
Referring to Fig. 1, the present invention provides a kind of technical solution: one kind is discussed based on computer graphic and curvilinear figure Boolean calculation Water knife parquets technology, should based on computer graphic discuss and curvilinear figure Boolean calculation water knife parquets technical step it is as follows:
S1: the material (such as cad file) of water knife figure is converted into the multi-section-line data being made of straight line and circular arc, therefore The first step first uses the circle of curvature scheduling algorithm in calculus that will usually contain non-circular curve such as spline curve in cad file, oval Arc etc. is converted to straight line or circular arc, and using CAD original starting point+terminal+convexity mode, the equation of straight line and circular arc is united One, ease for use is effectively improved;
S2: finding out all intersection points of lines and lines interrupted, and lays the foundation for search closed figure;
S3: finding out all closed figures (supporting curl) using Euler's table algorithm, using the intersection point generated in S2, and it is every A intersection point the information such as uses by which lines, we can establish Euler's relation table, is then sorted, can be looked for by angle All closed figures out;
S4: the input customized brick information of user, water knife figure can be spliced by multiple bricks on final product and At, therefore computer will simulate this effect, must just cut to water knife figure, be abstracted into mathematics level, then be brick The intersection of figure and water knife figure is can be obtained with Boolean calculation as a result, being carried out using Boolean calculation to the figure that S3 is generated It cuts;
S5: it is misplaced according to the customized bricklayer's spacing rule little progress line displacement of user, water knife figure often carries internal slope brick Seam, but CAD producer tends not to a brickwork joint part to drawing out, and program is just needed to carry out automatic identification at this time, and And the offset of stepping type is carried out along the normal direction of figure, to realize the automatic generation function of slope brickwork joint;
S6: curl figure is carried out trigonometric ratio using pure mathematics algorithm and submits to the rendering of video card progress effect picture, mesh Preceding video card rendering is all based on triangular facet, does not support polygon directly, especially with curl, therefore before submitting rendering, I Also need the figure that calculates to carry out trigonometric ratio, to realize the rendering of 3D effect figure.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, Anyone skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.

Claims (1)

1. a kind of water knife parquets technology discussed based on computer graphic with curvilinear figure Boolean calculation, it is characterised in that: should be based on The water knife parquets technical step of calculation machine graph theory and curvilinear figure Boolean calculation is as follows:
S1: the material (such as cad file) of water knife figure is converted into the multi-section-line data being made of straight line and circular arc, therefore first Step first will usually contain non-circular curve such as spline curve, elliptic arc etc. with the circle of curvature scheduling algorithm in calculus in cad file Straight line or circular arc are converted to, using CAD original starting point+terminal+convexity mode, the equation of straight line and circular arc obtains unification, Ease for use is effectively improved;
S2: finding out all intersection points of lines and lines interrupted, and lays the foundation for search closed figure;
S3: all closed figures (supporting curl) is found out using Euler's table algorithm, utilizes the intersection point and each friendship generated in S2 Point the information such as uses by which lines, we can establish Euler's relation table, then by angle sequence, can find out institute Some closed figures;
S4: the input customized brick information of user, water knife figure can be spliced on final product by multiple bricks, because This computer will simulate this effect, must just cut to water knife figure, be abstracted into mathematics level, then for brick figure and The intersection of water knife figure is can be obtained with Boolean calculation as a result, being cut using Boolean calculation to the S3 figure generated;
S5: misplacing according to the customized bricklayer's spacing rule little progress line displacement of user, and water knife figure often carries internal slope brickwork joint, but It is that CAD producer tends not to a brickwork joint part to drawing out, program is just needed to carry out automatic identification at this time, and along The normal direction of figure carries out the offset of stepping type, to realize the automatic generation function of slope brickwork joint;
Curl figure: being carried out trigonometric ratio using pure mathematics algorithm and submit to the rendering of video card progress effect picture by S6, aobvious at present Card rendering is all based on triangular facet, does not support polygon directly, and especially with curl, therefore before submitting rendering, we are also It needs the figure calculated to carry out trigonometric ratio, to realize the rendering of 3D effect figure.
CN201811033399.8A 2018-09-05 2018-09-05 Water jet pattern splicing method based on computer graph theory and curve graph Boolean operation Active CN109241621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811033399.8A CN109241621B (en) 2018-09-05 2018-09-05 Water jet pattern splicing method based on computer graph theory and curve graph Boolean operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811033399.8A CN109241621B (en) 2018-09-05 2018-09-05 Water jet pattern splicing method based on computer graph theory and curve graph Boolean operation

Publications (2)

Publication Number Publication Date
CN109241621A true CN109241621A (en) 2019-01-18
CN109241621B CN109241621B (en) 2023-06-16

Family

ID=65067237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811033399.8A Active CN109241621B (en) 2018-09-05 2018-09-05 Water jet pattern splicing method based on computer graph theory and curve graph Boolean operation

Country Status (1)

Country Link
CN (1) CN109241621B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109934927A (en) * 2019-03-06 2019-06-25 广东三维家信息科技有限公司 Cloud water knife treating method and apparatus based on cloud server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566506A (en) * 2011-12-23 2012-07-11 东南大学 Online coordination control and Petri net verification method combined with water cutting process
CN106898028A (en) * 2017-01-18 2017-06-27 深圳市百能信息技术有限公司 A kind of segmental arc polygon two dimension boolean operation method
CN108287971A (en) * 2018-01-31 2018-07-17 广东三维家信息科技有限公司 A kind of CAD data generation 3D model methods based on the application of water knife

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566506A (en) * 2011-12-23 2012-07-11 东南大学 Online coordination control and Petri net verification method combined with water cutting process
CN106898028A (en) * 2017-01-18 2017-06-27 深圳市百能信息技术有限公司 A kind of segmental arc polygon two dimension boolean operation method
CN108287971A (en) * 2018-01-31 2018-07-17 广东三维家信息科技有限公司 A kind of CAD data generation 3D model methods based on the application of water knife

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109934927A (en) * 2019-03-06 2019-06-25 广东三维家信息科技有限公司 Cloud water knife treating method and apparatus based on cloud server

Also Published As

Publication number Publication date
CN109241621B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
US9645648B2 (en) Audio computer system for interacting within a virtual reality environment
CN107193372B (en) Projection method from multiple rectangular planes at arbitrary positions to variable projection center
CN101140516A (en) Method and system for dynamic laying-out interface element
WO2006004894A3 (en) Apparatus and methods for haptic rendering using data in a graphics pipeline
CN105204802A (en) Control information processing method and device
CN102779175B (en) Method for processing image in CAD (Computer Aided Design) format by using data in XML (Extensive Makeup Language) format
US10147240B2 (en) Product image processing method, and apparatus and system thereof
WO2020259682A1 (en) Three-dimensional point cloud-based initial viewing angle control and presentation method and system
CN111161129B (en) Three-dimensional interaction design method and system for two-dimensional image
CN106066688A (en) A kind of virtual reality exchange method based on Wearable glove and device
CN109241621A (en) A kind of water knife parquets technology discussed based on computer graphic with curvilinear figure Boolean calculation
CN110782534B (en) 3D character color gradient method, medium, equipment and device
CN103677791A (en) Icon processing method and electronic device
US20240303026A1 (en) Method and device for multiple-terminal collaboratively updating displayed content
CN103236042A (en) Self-adaptive picture processing method and device
CN113723072A (en) RPA (resilient packet Access) and AI (Artificial Intelligence) combined model fusion result acquisition method and device and electronic equipment
CN111580658A (en) AR-based conference method and device and electronic equipment
JP2011107889A (en) Design support program and design support device
KR101740380B1 (en) Method for implementation 3 dimension character using 2 dimension images
KR910012997A (en) Shading Apparatus and Method for Computer Graphics
CN103616989B (en) Method and device for automatically adjusting position of cursor and mobile terminal
Han et al. Ar pottery: Experiencing pottery making in the augmented space
CN109062416A (en) Map state conversion method and device
TWI796729B (en) Virtual reality interaction method, electronic device, and storage medium
CN104516733B (en) A kind of optimization method and device of visual control

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