WO2019149195A1 - Processing method and apparatus for dynamic generation of drawing - Google Patents

Processing method and apparatus for dynamic generation of drawing Download PDF

Info

Publication number
WO2019149195A1
WO2019149195A1 PCT/CN2019/073731 CN2019073731W WO2019149195A1 WO 2019149195 A1 WO2019149195 A1 WO 2019149195A1 CN 2019073731 W CN2019073731 W CN 2019073731W WO 2019149195 A1 WO2019149195 A1 WO 2019149195A1
Authority
WO
WIPO (PCT)
Prior art keywords
industrial
vector
size
vector diagram
area
Prior art date
Application number
PCT/CN2019/073731
Other languages
French (fr)
Chinese (zh)
Inventor
林振峰
Original Assignee
杭州优工品科技有限公司
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 杭州优工品科技有限公司 filed Critical 杭州优工品科技有限公司
Publication of WO2019149195A1 publication Critical patent/WO2019149195A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Definitions

  • the present application relates to the technical field of industrial component drawing generation, and in particular to a processing method and device for dynamically generating drawings.
  • the main purpose of the present application is to provide a processing scheme for dynamically generating drawings to solve the technical problem of drawing a large amount of vector work of different industrial parts.
  • a processing method for dynamically generating a drawing is provided.
  • the method further includes:
  • the method further includes:
  • the drawing model of the vector diagram is selected before establishing the association relationship between the vector diagram and the industrial component.
  • the obtaining the key dimension map of the dimension data includes:
  • the size of the unadjusted area is marked on the key dimension map to obtain a detailed size map.
  • adjusting the vector size according to the product parameter comprises:
  • the size of the area is adjusted according to the value of the product parameter.
  • a processing device dynamically generated according to the drawings of the present application includes:
  • a parameter receiving unit configured to receive industrial components selected by the user and their product parameters
  • a vector acquisition unit for obtaining a vector diagram of the industrial component, and a vector diagram corresponding to the industrial component of the same category;
  • a dimensioning unit configured to adjust the size of the vector image according to the product parameter to obtain a key dimension map of the dimension data.
  • the device further includes:
  • a database generation unit for receiving all industrial parts and storing them in a large database of industrial parts before acquiring a vector diagram of industrial parts
  • the association setting unit is used to establish the association relationship between the vector diagram and the industrial component, and the different vector diagrams store the dimensions of different positions.
  • association setting unit includes:
  • the model selection module is configured to select a drawing model of the vector diagram before establishing an association relationship between the vector diagram and the industrial component.
  • the dimensioning unit further includes:
  • An area module is further used to obtain an unadjusted area on the vector image
  • the dimensioning unit includes:
  • a position determining module configured to determine a location of the industrial component according to the product parameter
  • a region determining module configured to determine an area corresponding to the location on the vector image
  • a size adjustment module for adjusting the size of the area according to the value of the product parameter.
  • the purpose of reducing the drawing of the industrial parts by realizing the drawing of the industrial parts by adjusting the size of one vector element is realized by using a vector diagram.
  • the technical effect of the amount of drawing, and thus solve the technical problem of improving the custom industrial parts users can not view the corresponding drawings.
  • FIG. 1 is a schematic flow chart of an embodiment of a method for dynamically generating a drawing according to the present application
  • FIG. 2 is a schematic flow chart of another embodiment of a method for dynamically generating a drawing according to the present application
  • FIG. 3 is a schematic flow chart of an embodiment of adjusting the vector diagram according to the present application.
  • FIG. 4 is a schematic flow chart of an embodiment of a processing device for dynamically generating drawings according to the present application.
  • FIG. 1 is a schematic flow chart of an embodiment of a method for dynamically generating a drawing according to the present application.
  • the method includes S101 to S103.
  • S101 Receive industrial components selected by the user and their product parameters.
  • the industrial products are determined by standards (such as national standard, landmark or enterprise standard), parts categories (such as bolts, nuts, studs, etc.), and small categories of parts (such as hexagon bolts, flange bolts, etc.).
  • standards such as national standard, landmark or enterprise standard
  • parts categories such as bolts, nuts, studs, etc.
  • small categories of parts such as hexagon bolts, flange bolts, etc.
  • Each industrial component has a different structure that is composed of the components, the product parameters of which are different structural parameters of the industrial component, such as the product parameters of the hexagonal bolt from the head parameter, the screw parameter.
  • the step further includes: receiving all industrial parts and storing them in a large database of industrial parts before acquiring the vector diagram of the industrial parts; categorizing the industrial parts, establishing vector images and different categories The relationship between industrial components, different vector images are stored in different positions.
  • This application captures a large number of industrial parts by using big data technology to prevent the omission of industrial parts.
  • the classification of industrial parts reduces the number of vector images, and realizes the generation of drawings of industrial parts of different specifications by adjusting the size of one vector.
  • the drawing model of the vector diagram is selected.
  • the industrial parts described in this application use SVG vector graphics, which are clearly structured to facilitate viewing of various locations of industrial components.
  • the method described in the present application not only realizes the work of reducing the drawing of drawings of different industrial parts, but also can carry out dimensioning according to a vector picture selected by the user, thereby improving the efficiency of the production and design of the industrial parts.
  • the method described in the present application is particularly suitable for the industrial component drawing generation scheme for providing the industrial component customization function, and the product parameter setting on the vector diagram of the similar industrial component can be achieved without providing the actual product.
  • the method described in the present application can be applied to both the PC side and the mobile end (such as a mobile phone, an iPad, etc.), and can be accessed through a browser (such as IE, 360, Google, Firefox, etc.) on the PC side or the mobile end.
  • Browser implementation, on the mobile side can also be implemented through the APP to adapt to the needs of mobile office; in the specific implementation, the mainstream HTML5, JQuery, CSS3, Bootstrap and other front-end display technologies can be adopted, and the responsive layout is compatible with the above various browsing. Device.
  • FIG. 2 is a schematic flow chart of another embodiment of a processing method for dynamically generating drawings according to the present application.
  • the method includes S201 to S203.
  • the unadjusted area generally includes a pitch of a thread, a tooth width, and the like.
  • the size standard of the industrial parts is completely determined by the standard of the unadjusted area size on the key dimension drawing, thereby ensuring that the user can fully understand the industrial parts and prevent the problem from the vector angle. View other parameters.
  • FIG. 3 is a schematic flow chart of an embodiment of adjusting the vector diagram according to the present application.
  • the method includes S301 to S303.
  • each product parameter position is achieved by the present embodiment, thereby ensuring adjustment of the dimensional accuracy of the vector image.
  • the apparatus includes:
  • a parameter receiving unit 10 configured to receive an industrial component selected by a user and a product parameter thereof;
  • the vector acquisition unit 20 is configured to acquire a vector diagram of the industrial component, and a vector diagram corresponding to the industrial component of the same category;
  • the dimensioning unit 30 is configured to adjust the size of the vector image according to the product parameter to obtain a key dimension map of the dimension data.
  • the device further includes:
  • a database generation unit for receiving all industrial components and storing them in a large database of industrial components before acquiring a vector diagram of industrial components
  • the association setting unit is used to establish the association relationship between the vector diagram and the industrial component, and the different vector diagrams store the dimensions of different positions.
  • association setting unit includes:
  • the model selection module is configured to select a drawing model of the vector diagram before establishing an association relationship between the vector diagram and the industrial component.
  • the dimensioning unit further includes:
  • An area module is further used to obtain an unadjusted area on the vector image
  • the dimensioning unit includes:
  • a position determining module configured to determine a location of the industrial component according to the product parameter
  • a region determining module configured to determine an area corresponding to the location on the vector diagram
  • a size adjustment module for adjusting the size of the area according to the value of the product parameter.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in a storage device by a computing device, or they may be fabricated into individual integrated circuit modules, or Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Processing Or Creating Images (AREA)

Abstract

Provided are a processing method and apparatus for the dynamic generation of a drawing, said method comprising: receiving product parameters selected by a user (S101); obtaining a vector diagram of an industrial component, different industrial components corresponding to different vector diagrams (S102); adjusting the size of said vector diagram according to said product parameters to obtain a key dimension diagram having labeled dimension data (S103). Using the vector diagram means, industrial components are classified and the objective of drawing drawings having different specifications of industrial components is achieved by means of adjusting one vector diagram; thus the technical effect of reducing the amount of drawing of industrial component drawings is achieved, and further, the technical problem that a user improving a custom industrial component is unable to view a corresponding drawing is solved.

Description

图纸动态生成的处理方法及装置Processing method and device for dynamically generating drawings 技术领域Technical field
本申请涉及工业零部件图纸生成技术领域,具体而言,涉及一种图纸动态生成的处理方法及装置。The present application relates to the technical field of industrial component drawing generation, and in particular to a processing method and device for dynamically generating drawings.
背景技术Background technique
工业零部件,尤其是紧固件(如螺栓、螺钉、螺柱、螺母、垫圈等)涉及的行业非常广泛,小到手机大到飞机的工业产品都需要紧固件进行连接,是工业产品的基础性配套产业。为了进行工业零部件的生产、设计等工作,这就需要一个工业零部件绘制一个图纸。这种通过图纸为用户详细了解工业零部件的方式直接加大了工业零部件图纸的工作量,不利于工业零部件的管理。Industrial parts, especially fasteners (such as bolts, screws, studs, nuts, washers, etc.) are involved in a wide range of industries, ranging from mobile phones to aircraft industrial products that require fasteners for connection. Basic supporting industries. In order to carry out the production and design of industrial parts, it is necessary to draw a drawing of an industrial part. This way of drawing detailed information on industrial parts through drawings directly increases the workload of industrial parts drawings, which is not conducive to the management of industrial parts.
发明内容Summary of the invention
本申请的主要目的在于提供一种图纸动态生成的处理方案,以解决绘制不同工业零部件矢量图工作量大的技术问题。The main purpose of the present application is to provide a processing scheme for dynamically generating drawings to solve the technical problem of drawing a large amount of vector work of different industrial parts.
为了实现上述目的,根据本申请的一个方面,提供了一种图纸动态生成的处理方法。In order to achieve the above object, according to an aspect of the present application, a processing method for dynamically generating a drawing is provided.
根据本申请的图纸动态生成的处理方法包括:The processing methods dynamically generated according to the drawings of the present application include:
接收用户选择的工业零部件及其产品参数;Receiving industrial components selected by the user and their product parameters;
获取工业零部件的矢量图,同类别的工业零部件对应一个矢量图;Obtain a vector diagram of industrial parts, corresponding to a vector drawing of industrial parts of the same category;
根据所述产品参数调整所述矢量图尺寸,得到标注尺寸数据的关键尺寸图。Adjusting the size of the vector image according to the product parameter to obtain a key size map of the dimension data.
进一步地,所述方法还包括:Further, the method further includes:
在获取工业零部件的矢量图前,接收所有工业零部件并存储至工业零部件大数据库;Receive all industrial parts and store them in a large database of industrial parts before acquiring the vector drawings of industrial parts;
建立矢量图与工业零部件的关联关系,不同的矢量图存储有不同位置的尺寸。Establish the association between vector graphics and industrial components. Different vector graphics store dimensions in different locations.
进一步地,所述方法还包括:Further, the method further includes:
在建立矢量图与工业零部件的关联关系前,选定所述矢量图的绘制模型。The drawing model of the vector diagram is selected before establishing the association relationship between the vector diagram and the industrial component.
进一步地,所述得到标注尺寸数据的关键尺寸图,还包括:Further, the obtaining the key dimension map of the dimension data includes:
获取矢量图上的未调整区域;Get the unadjusted area on the vector image;
获取所述未调整区域的尺寸;Obtaining a size of the unadjusted area;
在所述关键尺寸图上标注所述未调整区域的尺寸,得到详细尺寸图。The size of the unadjusted area is marked on the key dimension map to obtain a detailed size map.
进一步地,根据所述产品参数调整所述矢量图尺寸,包括:Further, adjusting the vector size according to the product parameter comprises:
根据所述产品参数确定所述工业零部件的位置;Determining a location of the industrial component based on the product parameter;
在所述矢量图上确定所述位置对应的区域;Determining an area corresponding to the location on the vector diagram;
根据所述产品参数的数值调整所述区域的尺寸。The size of the area is adjusted according to the value of the product parameter.
为了实现上述目的,根据本申请的另一方面,提供了一种图纸动态生成的处理装置。In order to achieve the above object, according to another aspect of the present application, a processing apparatus for dynamically generating drawings is provided.
根据本申请的图纸动态生成的处理装置包括:A processing device dynamically generated according to the drawings of the present application includes:
参数接收单元,用于接收用户选择的工业零部件及其产品参数;a parameter receiving unit, configured to receive industrial components selected by the user and their product parameters;
矢量图获取单元,用于获取所述工业零部件的矢量图,同类别的工业零部件对应一个矢量图;a vector acquisition unit for obtaining a vector diagram of the industrial component, and a vector diagram corresponding to the industrial component of the same category;
尺寸标注单元,用于根据所述产品参数调整所述矢量图尺寸,得到标注尺寸数据的关键尺寸图。And a dimensioning unit, configured to adjust the size of the vector image according to the product parameter to obtain a key dimension map of the dimension data.
进一步地,所述装置还包括:Further, the device further includes:
数据库生成单元,用于在获取工业零部件的矢量图前,接收所有工业零部件并存储至工业零部件大数据库;a database generation unit for receiving all industrial parts and storing them in a large database of industrial parts before acquiring a vector diagram of industrial parts;
关联设置单元,用于建立矢量图与工业零部件的关联关系,不同的矢量图存储有不同位置的尺寸。The association setting unit is used to establish the association relationship between the vector diagram and the industrial component, and the different vector diagrams store the dimensions of different positions.
进一步地,所述关联设置单元包括:Further, the association setting unit includes:
模型选定模块,用于在建立矢量图与工业零部件的关联关系前,选定所述矢量图的绘制模型。The model selection module is configured to select a drawing model of the vector diagram before establishing an association relationship between the vector diagram and the industrial component.
进一步地,所述尺寸标注单元还包括:Further, the dimensioning unit further includes:
再标注区域模块,用于获取矢量图上的未调整区域;An area module is further used to obtain an unadjusted area on the vector image;
再标注尺寸模块,用于获取所述未调整区域的尺寸,再标注模块,用于在所述关键尺寸图上标注所述未调整区域的尺寸,得到详细尺寸图。And dimensioning the module for obtaining the size of the unadjusted area, and then labeling the module, for marking the size of the unadjusted area on the key dimension drawing to obtain a detailed size map.
进一步地,所述尺寸标注单元包括:Further, the dimensioning unit includes:
位置确定模块,用于根据所述产品参数确定所述工业零部件的位置;a position determining module, configured to determine a location of the industrial component according to the product parameter;
区域确定模块,用于在所述矢量图上确定所述位置对应的区域;a region determining module, configured to determine an area corresponding to the location on the vector image;
尺寸调整模块,用于根据所述产品参数的数值调整所述区域的尺寸。A size adjustment module for adjusting the size of the area according to the value of the product parameter.
在本申请实施例中,采用矢量图的方式,通过对工业零部件的分类实现了通过调整一个矢量图的尺寸达到绘制不同规格工业零部件的图纸的目的,从而实现了降低对工业零部件图纸的绘制量的技术效果,进而解决了提高定制工业零部件用户无法查看对应的图纸的技术问题。In the embodiment of the present application, the purpose of reducing the drawing of the industrial parts by realizing the drawing of the industrial parts by adjusting the size of one vector element is realized by using a vector diagram. The technical effect of the amount of drawing, and thus solve the technical problem of improving the custom industrial parts users can not view the corresponding drawings.
附图说明DRAWINGS
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described herein are provided to provide a further understanding of the present disclosure, which is a part of the present disclosure, and the description of the present disclosure and the description thereof are not intended to limit the disclosure. In the drawing:
图1为本申请所述的图纸动态生成的处理方法一个实施例的流程示意图;1 is a schematic flow chart of an embodiment of a method for dynamically generating a drawing according to the present application;
图2为本申请所述的图纸动态生成的处理方法另一个实施例的流程示意图;2 is a schematic flow chart of another embodiment of a method for dynamically generating a drawing according to the present application;
图3为本申请调整所述矢量图一个实施例的流程示意图;以及3 is a schematic flow chart of an embodiment of adjusting the vector diagram according to the present application;
图4为本申请所述的图纸动态生成的处理装置一个实施例的流程示意图。FIG. 4 is a schematic flow chart of an embodiment of a processing device for dynamically generating drawings according to the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is an embodiment of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "comprising" and "having" and any variations thereof are used in the specification and claims of the present application and the above description, and are intended to cover non-exclusive inclusions, for example, including a series of steps or units. Processes, methods, systems, products, or devices are not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not explicitly listed or inherent to such processes, methods, products, or devices.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings.
图1所示为本申请所述的图纸动态生成的处理方法一个实施例的流程示意图。FIG. 1 is a schematic flow chart of an embodiment of a method for dynamically generating a drawing according to the present application.
所述方法包括S101~S103。The method includes S101 to S103.
S101、接收用户选择的工业零部件及其产品参数。所述工业产品由标准(如国标、地标或企标)、零件类别(如螺栓、螺帽、螺柱等零件名称)、对零件类别的小类别(如六角螺栓、法兰螺栓等)确定,每个工业零部件有组成其的不同结构进行确定,所述产品参数该工业零部件的不同结构的参数,如六角螺栓的产品参数由头部参数、螺杆参数。S101. Receive industrial components selected by the user and their product parameters. The industrial products are determined by standards (such as national standard, landmark or enterprise standard), parts categories (such as bolts, nuts, studs, etc.), and small categories of parts (such as hexagon bolts, flange bolts, etc.). Each industrial component has a different structure that is composed of the components, the product parameters of which are different structural parameters of the industrial component, such as the product parameters of the hexagonal bolt from the head parameter, the screw parameter.
S102、获取所述工业零部件的矢量图,同类别的工业零部件对应一个矢量图。S102. Obtain a vector diagram of the industrial component, and correspond to a vector diagram of the industrial component of the same category.
在一些实施例,该步骤还包括:在获取工业零部件的矢量图前,接收所有工业零部件并存储至工业零部件大数据库;将工业零部件进行归类后,建立矢量图与不同类别的工业零部件的关联关系,不同的矢量图存储有不同位置的尺寸。本申请通过利用大数据技术获取大量工业零部件,防止遗漏工业零部件。而对工业零部件的分类则减少了矢量图的数量,实现了通过调整一个矢量图的尺寸实现不同规格工业零部件的图纸的生成目的。In some embodiments, the step further includes: receiving all industrial parts and storing them in a large database of industrial parts before acquiring the vector diagram of the industrial parts; categorizing the industrial parts, establishing vector images and different categories The relationship between industrial components, different vector images are stored in different positions. This application captures a large number of industrial parts by using big data technology to prevent the omission of industrial parts. The classification of industrial parts reduces the number of vector images, and realizes the generation of drawings of industrial parts of different specifications by adjusting the size of one vector.
进一步地,在建立矢量图与工业零部件的关联关系前,选定所述矢量图的绘制模型。本申请中所述工业零部件采用的是SVG矢量图,这种矢量图结构清晰,便于对工业零部件各个位置的查看。Further, before the association between the vector diagram and the industrial component is established, the drawing model of the vector diagram is selected. The industrial parts described in this application use SVG vector graphics, which are clearly structured to facilitate viewing of various locations of industrial components.
S103、根据所述产品参数调整所述矢量图的尺寸,得到标注尺寸数据的关键尺寸图。S103. Adjust a size of the vector image according to the product parameter to obtain a key size map of the dimension data.
本申请所述的方法不仅实现了降低不同工业零部件图纸绘制的工作量,更能够根据用户选定的产品参数一个矢量图上进行尺寸标注,提高了用户对工业零部件生产、设计的效率。与此同时,本申请所述的方法尤其适应与于提供工业零部件定制功能的工业零部件图纸生成方案中,通过同类工业零部件的矢量图上产品参数的设置,达到无需提供实际产品就能快速实现工业零部件设计的目的。例如,六角螺栓的矢量图,六角螺栓由头部和螺杆组成的紧固件。The method described in the present application not only realizes the work of reducing the drawing of drawings of different industrial parts, but also can carry out dimensioning according to a vector picture selected by the user, thereby improving the efficiency of the production and design of the industrial parts. At the same time, the method described in the present application is particularly suitable for the industrial component drawing generation scheme for providing the industrial component customization function, and the product parameter setting on the vector diagram of the similar industrial component can be achieved without providing the actual product. Quickly achieve the purpose of industrial component design. For example, a vector diagram of a hex bolt, a hexagonal bolt consisting of a head and a screw.
本申请所述的方法既可以应用在PC端,也可以应用在移动端(如手机、ipad 等),不论在PC端还是移动端,都可以通过浏览器(如IE、360、谷歌、火狐等浏览器)实现,在移动端还可以通过APP实现,以适应移动化办公需求;具体实现时,可以采用主流的HTML5、JQuery、CSS3、Bootstrap等前端展示技术,响应式布局,兼容上述多种浏览器。The method described in the present application can be applied to both the PC side and the mobile end (such as a mobile phone, an iPad, etc.), and can be accessed through a browser (such as IE, 360, Google, Firefox, etc.) on the PC side or the mobile end. Browser implementation, on the mobile side can also be implemented through the APP to adapt to the needs of mobile office; in the specific implementation, the mainstream HTML5, JQuery, CSS3, Bootstrap and other front-end display technologies can be adopted, and the responsive layout is compatible with the above various browsing. Device.
图2为本申请所述的图纸动态生成的处理方法另一个实施例的流程示意图。所述方法包括S201~S203。FIG. 2 is a schematic flow chart of another embodiment of a processing method for dynamically generating drawings according to the present application. The method includes S201 to S203.
S201、在得到标注尺寸数据的关键尺寸图后,获取矢量图上的未调整区域。S201. After obtaining the key size map of the dimension data, obtain an unadjusted area on the vector image.
具体地,所述未调整区域一般包括螺纹的间距、牙宽等。Specifically, the unadjusted area generally includes a pitch of a thread, a tooth width, and the like.
S202、获取所述未调整区域的尺寸。S202. Acquire a size of the unadjusted area.
S203、在所述关键尺寸图上标注所述未调整区域的尺寸,得到详细尺寸图。S203. Mark the size of the unadjusted area on the key dimension map to obtain a detailed size map.
本实施例通过对所述关键尺寸图上未调整区域尺寸的标准,对工业零部件整个进行了尺寸标准,保证了用户能够对该工业零部件进行全方位了解,防止因矢量图角度的问题无法查看到其他参数。In this embodiment, the size standard of the industrial parts is completely determined by the standard of the unadjusted area size on the key dimension drawing, thereby ensuring that the user can fully understand the industrial parts and prevent the problem from the vector angle. View other parameters.
图3为本申请调整所述矢量图一个实施例的流程示意图。所述方法包括S301~S303。FIG. 3 is a schematic flow chart of an embodiment of adjusting the vector diagram according to the present application. The method includes S301 to S303.
S301、根据所述产品参数确定所述工业零部件的位置。S301. Determine a location of the industrial component according to the product parameter.
S302、在所述矢量图上确定所述位置对应的区域。S302. Determine an area corresponding to the location on the vector diagram.
S303、根据所述产品参数的数值调整所述区域的尺寸。S303. Adjust a size of the area according to a value of the product parameter.
通过本实施例实现了对每个产品参数位置的定位,从而保证调整所述矢量图尺寸精确度。The positioning of each product parameter position is achieved by the present embodiment, thereby ensuring adjustment of the dimensional accuracy of the vector image.
需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。It should be noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer executable instructions, and, although shown in the flowchart, The steps shown or described may be performed in an order different than that herein.
根据本发明实施例,还提供了一种用于实施上述图纸动态生成的处理的装置,如图4所示,该装置包括:According to an embodiment of the present invention, there is also provided an apparatus for implementing a process for dynamically generating the above-mentioned drawings. As shown in FIG. 4, the apparatus includes:
参数接收单元10,用于接收用户选择的工业零部件及其产品参数;a parameter receiving unit 10, configured to receive an industrial component selected by a user and a product parameter thereof;
矢量图获取单元20,用于获取所述工业零部件的矢量图,同类别的工业零部件对应一个矢量图;The vector acquisition unit 20 is configured to acquire a vector diagram of the industrial component, and a vector diagram corresponding to the industrial component of the same category;
尺寸标注单元30,用于根据所述产品参数调整所述矢量图的尺寸,得到标 注尺寸数据的关键尺寸图。The dimensioning unit 30 is configured to adjust the size of the vector image according to the product parameter to obtain a key dimension map of the dimension data.
进一步地,所述装置还包括:Further, the device further includes:
数据库生成单元,用于在获取工业零部件的矢量图前,接收所有工业零部件并存储至工业零部件大数据库;以及a database generation unit for receiving all industrial components and storing them in a large database of industrial components before acquiring a vector diagram of industrial components;
关联设置单元,用于建立矢量图与工业零部件的关联关系,不同的矢量图存储有不同位置的尺寸。The association setting unit is used to establish the association relationship between the vector diagram and the industrial component, and the different vector diagrams store the dimensions of different positions.
进一步地,所述关联设置单元包括:Further, the association setting unit includes:
模型选定模块,用于在建立矢量图与工业零部件的关联关系前,选定所述矢量图的绘制模型。The model selection module is configured to select a drawing model of the vector diagram before establishing an association relationship between the vector diagram and the industrial component.
进一步地,所述尺寸标注单元还包括:Further, the dimensioning unit further includes:
再标注区域模块,用于获取矢量图上的未调整区域;以及An area module is further used to obtain an unadjusted area on the vector image;
再标注尺寸模块,用于获取所述未调整区域的尺寸,再标注模块,用于在所述关键尺寸图上标注所述未调整区域的尺寸,得到详细尺寸图。And dimensioning the module for obtaining the size of the unadjusted area, and then labeling the module, for marking the size of the unadjusted area on the key dimension drawing to obtain a detailed size map.
进一步地,所述尺寸标注单元包括:Further, the dimensioning unit includes:
位置确定模块,用于根据所述产品参数确定所述工业零部件的位置;a position determining module, configured to determine a location of the industrial component according to the product parameter;
区域确定模块,用于在所述矢量图上确定所述位置对应的区域;以及a region determining module, configured to determine an area corresponding to the location on the vector diagram;
尺寸调整模块,用于根据所述产品参数的数值调整所述区域的尺寸。A size adjustment module for adjusting the size of the area according to the value of the product parameter.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in a storage device by a computing device, or they may be fabricated into individual integrated circuit modules, or Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only the preferred embodiment of the present application, and is not intended to limit the present application, and various changes and modifications may be made to the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application are intended to be included within the scope of the present application.

Claims (10)

  1. 一种图纸动态生成的处理方法,其特征在于,包括:A processing method for dynamically generating a drawing, characterized in that:
    接收用户选择的工业零部件及其产品参数;Receiving industrial components selected by the user and their product parameters;
    获取所述工业零部件的矢量图,同类别的工业零部件对应一个矢量图;以及Obtaining a vector diagram of the industrial component, corresponding to a vector diagram of the industrial component of the same category;
    根据所述产品参数调整所述矢量图的尺寸,得到标注尺寸数据的关键尺寸图。Adjusting the size of the vector diagram according to the product parameter to obtain a key dimension map of the dimension data.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    在获取工业零部件的矢量图前,接收所有工业零部件并存储至工业零部件大数据库;以及Receive all industrial parts and store them in a large database of industrial parts before acquiring the vector drawings of industrial parts;
    将工业零部件进行归类后,建立矢量图与不同类别的工业零部件的关联关系,不同的矢量图存储有不同位置的尺寸。After categorizing industrial components, the relationship between vector graphics and different types of industrial components is established. Different vector images store dimensions at different locations.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, wherein the method further comprises:
    在建立矢量图与工业零部件的关联关系前,选定所述矢量图的绘制模型。The drawing model of the vector diagram is selected before establishing the association relationship between the vector diagram and the industrial component.
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    在得到标注尺寸数据的关键尺寸图后,获取矢量图上的未调整区域;After obtaining the key dimension map of the dimension data, obtain the unadjusted area on the vector image;
    获取所述未调整区域的尺寸;以及Obtaining the size of the unadjusted area;
    在所述关键尺寸图上标注所述未调整区域的尺寸,得到详细尺寸图。The size of the unadjusted area is marked on the key dimension map to obtain a detailed size map.
  5. 根据权利要求1所述的方法,其特征在于,根据所述产品参数调整所述矢量图尺寸,包括:The method of claim 1 wherein adjusting the vector size according to the product parameter comprises:
    根据所述产品参数确定所述工业零部件的位置;Determining a location of the industrial component based on the product parameter;
    在所述矢量图上确定所述位置对应的区域;以及Determining an area corresponding to the location on the vector diagram;
    根据所述产品参数的数值调整所述区域的尺寸。The size of the area is adjusted according to the value of the product parameter.
  6. 一种图纸动态生成的处理装置,其特征在于,包括:A processing device for dynamically generating a drawing, comprising:
    参数接收单元,用于接收用户选择的工业零部件及其产品参数;a parameter receiving unit, configured to receive industrial components selected by the user and their product parameters;
    矢量图获取单元,用于获取所述工业零部件的矢量图,同类别的工业零部件对应一个矢量图;以及a vector acquisition unit for obtaining a vector diagram of the industrial component, and a vector diagram corresponding to the industrial component of the same category;
    尺寸标注单元,用于根据所述产品参数调整所述矢量图的尺寸,得到标注尺寸数据的关键尺寸图。And a dimensioning unit, configured to adjust a size of the vector image according to the product parameter to obtain a key dimension map of the dimension data.
  7. 根据权利要求6所述的装置,其特征在于,所述装置还包括:The device according to claim 6, wherein the device further comprises:
    数据库生成单元,用于在获取工业零部件的矢量图前,接收所有工业零部件并存储至工业零部件大数据库;以及a database generation unit for receiving all industrial components and storing them in a large database of industrial components before acquiring a vector diagram of industrial components;
    关联设置单元,用于建立矢量图与工业零部件的关联关系,不同的矢量图存储有不同位置的尺寸。The association setting unit is used to establish the association relationship between the vector diagram and the industrial component, and the different vector diagrams store the dimensions of different positions.
  8. 根据权利要求7所述的装置,其特征在于,所述关联设置单元包括:The device according to claim 7, wherein the association setting unit comprises:
    模型选定模块,用于在建立矢量图与工业零部件的关联关系前,选定所述矢量图的绘制模型。The model selection module is configured to select a drawing model of the vector diagram before establishing an association relationship between the vector diagram and the industrial component.
  9. 根据权利要求6所述的装置,其特征在于,所述装置还包括:The device according to claim 6, wherein the device further comprises:
    再标注区域模块,用于在得到标注尺寸数据的关键尺寸图后,获取矢量图上的未调整区域;And then labeling the area module, after obtaining the key size map of the dimension data, obtaining an unadjusted area on the vector image;
    再标注尺寸模块,用于获取所述未调整区域的尺寸;以及Re-dimensioning module for obtaining the size of the unadjusted area;
    再标注模块,用于在所述关键尺寸图上标注所述未调整区域的尺寸,得到详细尺寸图。And a labeling module, configured to mark the size of the unadjusted area on the key dimension map to obtain a detailed size map.
  10. 根据权利要求6所述的装置,其特征在于,所述尺寸标注单元包括:The device according to claim 6, wherein the dimensioning unit comprises:
    位置确定模块,用于根据所述产品参数确定所述工业零部件的位置;a position determining module, configured to determine a location of the industrial component according to the product parameter;
    区域确定模块,用于在所述矢量图上确定所述位置对应的区域;以及a region determining module, configured to determine an area corresponding to the location on the vector diagram;
    尺寸调整模块,用于根据所述产品参数的数值调整所述区域的尺寸。A size adjustment module for adjusting the size of the area according to the value of the product parameter.
PCT/CN2019/073731 2018-01-31 2019-01-29 Processing method and apparatus for dynamic generation of drawing WO2019149195A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810097967.4A CN108229061A (en) 2018-01-31 2018-01-31 The processing method and processing device of drawing dynamic generation
CN201810097967.4 2018-01-31

Publications (1)

Publication Number Publication Date
WO2019149195A1 true WO2019149195A1 (en) 2019-08-08

Family

ID=62670223

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/073731 WO2019149195A1 (en) 2018-01-31 2019-01-29 Processing method and apparatus for dynamic generation of drawing

Country Status (2)

Country Link
CN (1) CN108229061A (en)
WO (1) WO2019149195A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108229061A (en) * 2018-01-31 2018-06-29 杭州优工品科技有限公司 The processing method and processing device of drawing dynamic generation
CN111199568B (en) * 2020-01-14 2024-01-12 广州长川科技有限公司 Vector diagram drawing method and device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376152A (en) * 2014-10-31 2015-02-25 北京宇航系统工程研究所 Parametric modeling and labeling method
CN105631761A (en) * 2015-12-21 2016-06-01 国网安徽省电力公司淮北供电公司 Power line drawing management method based on SVG graphics technology
CN105718636A (en) * 2016-01-14 2016-06-29 中国南方电网有限责任公司 Automatic conversion method for station primary wiring diagram model
CN107426740A (en) * 2016-05-23 2017-12-01 大唐移动通信设备有限公司 A kind of processing method and system of pel figure
CN108229061A (en) * 2018-01-31 2018-06-29 杭州优工品科技有限公司 The processing method and processing device of drawing dynamic generation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1645925B1 (en) * 2004-10-05 2010-01-13 Dassault Systemes SolidWorks Corporation Automatic generation of tolerance schemes
CN102243663A (en) * 2011-08-01 2011-11-16 烟台杰瑞网络商贸有限公司 Dynamic labeling method based on electronic drawing
CN107610552A (en) * 2017-09-04 2018-01-19 云南电网有限责任公司昆明供电局 A kind of dynamic drawing demo system of interactive simulation operations

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376152A (en) * 2014-10-31 2015-02-25 北京宇航系统工程研究所 Parametric modeling and labeling method
CN105631761A (en) * 2015-12-21 2016-06-01 国网安徽省电力公司淮北供电公司 Power line drawing management method based on SVG graphics technology
CN105718636A (en) * 2016-01-14 2016-06-29 中国南方电网有限责任公司 Automatic conversion method for station primary wiring diagram model
CN107426740A (en) * 2016-05-23 2017-12-01 大唐移动通信设备有限公司 A kind of processing method and system of pel figure
CN108229061A (en) * 2018-01-31 2018-06-29 杭州优工品科技有限公司 The processing method and processing device of drawing dynamic generation

Also Published As

Publication number Publication date
CN108229061A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN104572783B (en) Webpage clicking condition display method and device
CN109711744B (en) Cleaning task automatic generation and execution evaluation method, cleaning method and device
JP2018527687A5 (en)
WO2019149195A1 (en) Processing method and apparatus for dynamic generation of drawing
CN105005980B (en) Image processing method and device
CN110941657B (en) Service data processing method and device
CN101917633A (en) Image white balance processing method, device and camera thereof
US10430482B2 (en) Customized and automated dynamic infographics
EP2741196A1 (en) Power-saving in a portable electronic device operating in a telecommunication network
WO2019242298A1 (en) Data processing method for drawing design, plm plug-in and computing device
US20190197123A1 (en) Metadata storage method, device and server
CN108550019B (en) Resume screening method and device
MX2023002790A (en) Interactive parts drawings with a real-time bill of materials.
WO2023035940A1 (en) Target object recommendation method and system
CN115905397A (en) Visual display method, device, system and medium for business data
CN107330905B (en) Image processing method, device and storage medium
US20190139168A1 (en) System and methods thereof for automated generation of an agreement related to a physical asset
US20130297380A1 (en) Inventory adjustment based on social network data
CN113436003A (en) Duration determination method, duration determination device, electronic device, medium, and program product
CN111553644B (en) Logistics line price updating method, device and system
IL233069A (en) Method and server for displaying video content
CN115052134B (en) Monitoring method and device for industrial gas enterprise and electronic equipment
US20160203329A1 (en) Workflow and user credentials
TWI691938B (en) System and method of generating moving images, computer device, and readable storage medium
CN118277425A (en) Data processing method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19748337

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19748337

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19748337

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.02.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19748337

Country of ref document: EP

Kind code of ref document: A1