[go: up one dir, main page]

CN115186320A - How to generate build documentation - Google Patents

How to generate build documentation Download PDF

Info

Publication number
CN115186320A
CN115186320A CN202210815375.8A CN202210815375A CN115186320A CN 115186320 A CN115186320 A CN 115186320A CN 202210815375 A CN202210815375 A CN 202210815375A CN 115186320 A CN115186320 A CN 115186320A
Authority
CN
China
Prior art keywords
building
interface
building block
generating
group
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
CN202210815375.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.)
Beijing Aiqi Technology Co ltd
Original Assignee
Beijing Aiqi 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 Beijing Aiqi Technology Co ltd filed Critical Beijing Aiqi Technology Co ltd
Priority to CN202210815375.8A priority Critical patent/CN115186320A/en
Publication of CN115186320A publication Critical patent/CN115186320A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63HTOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
    • A63H33/00Other toys
    • A63H33/04Building blocks, strips, or similar building parts
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models

Landscapes

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

Abstract

The application discloses a method for generating a build document. One embodiment of the method comprises: building an interface by a graphical user, dragging building blocks from a building block library on the left side by the user to a building area for modeling and splicing, and storing the serial number, the three-dimensional coordinate, the rotation information and the size information of the building blocks in the modeling and splicing to a building document; displaying the sequence numbers and the serial numbers of the building blocks in the built document in a list form on a graphical user grouping interface, supporting a user to create a nestable group, supporting the building blocks in the list to be added into each group, and storing information of each group; and on a graphical user editing interface, a user is supported to carry out three-dimensional splicing animation production on the splicing steps corresponding to each group, and the setting information during production is stored in the construction document. The implementation mode realizes that the building files are adopted to store the building block information, the building steps and the set information, and the manufacturing process is simple, convenient and efficient through the graphical user interface, is convenient for leakage detection and defect repair, and is high in efficiency.

Description

生成搭建文档的方法How to generate build documentation

技术领域technical field

本申请涉及玩具领域,具体涉及积木玩具三维动态电子图纸的搭建文档的生成方法。The present application relates to the field of toys, in particular to a method for generating a construction document of a three-dimensional dynamic electronic drawing of a building block toy.

背景技术Background technique

积木玩具由众多积木件拼搭而成。有些造型复杂的积木玩具由成百上千,甚至上万个积木件拼搭而成。图纸用于展示该按照什么顺序一步一步的组装积木件以拼搭出完整造型。对于儿童、无丰富玩积木经验的人来说,图纸至关重要。Building block toys are made up of many building blocks. Some complex building block toys are made up of hundreds or even tens of thousands of building blocks. Drawings are used to show in what order the building blocks should be assembled step by step to create a complete shape. For children, people who have no experience with building blocks, drawings are very important.

目前多采用纸质图纸。制作纸质图纸时,初期通常需要依托大量人力进行二维图像渲染,将积木搭建的每一个步骤通过图片一一呈现出来。中间的修改校验环节需要反复输出纸质图纸,即发现错误或某些部分设计不太合理时需要再次修正重新打印图纸,最终得到可供使用的搭建图纸。这种制作纸质搭建图纸的方式过程比较繁杂、效率低、容错率较低,且校验修改成本较高,且输出最终完整图纸的时间较长,不太符合环保理念。At present, paper drawings are mostly used. When making paper drawings, it usually requires a lot of manpower to render two-dimensional images in the initial stage, and each step of building blocks is presented one by one through pictures. The intermediate revision and verification process requires repeated output of paper drawings, that is, when errors are found or some parts of the design are unreasonable, the drawings need to be corrected and reprinted, and finally ready-to-use construction drawings are obtained. This method of making paper construction drawings is complicated, inefficient, and has a low error-tolerance rate. The cost of verification and modification is high, and it takes a long time to output the final complete drawings, which is not in line with the concept of environmental protection.

发明内容SUMMARY OF THE INVENTION

本申请的目的在于提出一种全新的生成搭建文档的方法,来解决以上背景技术部分提到的技术问题。The purpose of this application is to propose a brand-new method for generating a building document to solve the technical problems mentioned in the above background art.

本申请提供了一种生成搭建文档的方法,所述方法包括:在图形用户搭建界面,支持用户从左侧积木库中拖拽积木件到搭建区中进行造型拼搭,保存所述造型拼搭中的积木件的序号、编号、三维坐标、旋转信息、大小信息至搭建文档;在图形用户分组界面,以列表的形式显示所述搭建文档中的积木件的序号及编号,支持用户创建分组,支持分组内继续嵌套分组,支持将所述列表中的积木件添加到各分组内,保存各分组信息至所述搭建文档;在图形用户编辑界面,支持用户对每个分组对应的拼搭步骤进行三维拼搭动画制作,将制作三维拼搭动画的设置信息保存至所述搭建文档。The present application provides a method for generating a building document. The method includes: on a graphical user building interface, supporting a user to drag and drop building blocks from a building block library on the left to a building area for modeling and building, and saving the modeling and building. The serial number, serial number, three-dimensional coordinate, rotation information, and size information of the building blocks in the document are sent to the building document; in the GUI grouping interface, the serial numbers and numbers of the building blocks in the building document are displayed in the form of a list, which supports users to create groups. Supports nested groups within groups, supports adding building blocks in the list to each group, and saves the information of each group to the building document; in the GUI editing interface, supports the building steps corresponding to each group by the user The three-dimensional building animation is produced, and the setting information for producing the three-dimensional building animation is saved to the building document.

在一些实施例中,所述制作三维动画的设置信息包括但不限于:摄像机视角、摄像机距离、飞入方向、移动距离。In some embodiments, the setting information for making a three-dimensional animation includes, but is not limited to, a camera angle of view, a camera distance, a flying direction, and a moving distance.

在一些实施例中,所述方法还包括:在所述图形用户搭建界面,对被拖拽入所述搭建区的积木件进行移动、旋转、视角切换操作,用于拼搭造型。In some embodiments, the method further includes: on the graphical user building interface, performing moving, rotating, and viewing angle switching operations on the building blocks dragged into the building area for building shapes.

在一些实施例中,所述方法还包括:在所述图形用户搭建界面,所述被拖拽的用于搭建造型的积木件,按照被拖拽的顺序在右侧积木列表中显示,支持用户选中所述右侧积木列表中任意一个积木件,则显示于所述搭建区的造型中对应的该积木件被描边高亮显示。In some embodiments, the method further includes: in the graphical user building interface, the dragged building blocks for building shapes are displayed in a list of building blocks on the right in the order of being dragged to support the user Select any building block in the building block list on the right, and the corresponding building block in the shape displayed in the building area will be highlighted by stroke.

在一些实施例中,所述方法还包括:在所述图形用户搭建界面,被选中的所述搭建区中的造型中的积木件被设置为隐藏,则该被选中的积木件将被隐藏不在显示;对被隐藏的积木件遮挡的积木件进行修改后,设置所述被隐藏的积木件再次显示在造型中。In some embodiments, the method further includes: in the graphical user building interface, if the selected building block in the building area is set to be hidden, then the selected building block will be hidden and not Display; after modifying the building blocks covered by the hidden building blocks, set the hidden building blocks to be displayed in the modeling again.

在一些实施例中,所述方法还包括:根据积木件的类型、颜色搜索积木件。In some embodiments, the method further includes: searching for building blocks according to the type and color of the building blocks.

在一些实施例中,所述方法还包括:更换被选中的积木件的颜色。In some embodiments, the method further includes changing the color of the selected building block.

在一些实施例中,所述方法还包括:对于呈对称结构的造型,在搭建完一部分造型后,选中该造型进行XYZ三种轴向任一轴向的对称操作,得到对称的造型。In some embodiments, the method further includes: for a shape having a symmetrical structure, after building a part of the shape, selecting the shape to perform a symmetrical operation on any of the three axes of XYZ to obtain a symmetrical shape.

在一些实施例中,所述方法还包括:在所述图形用户分组界面,通过新建、删除、撤销操作创建分组。In some embodiments, the method further includes: in the GUI grouping interface, creating a group by creating, deleting, and canceling operations.

在一些实施例中,所述方法还包括:在所述图形用户分组界面,所述列表中的积木件一旦被添加到分组内,则该积木件不在支持重复添加到分组内,且所述列表中该积木件被设置灰色阴影。In some embodiments, the method further includes: in the graphical user grouping interface, once a building block in the list is added to a group, the building block does not support repeated addition to a group, and the list In this block is set a shade of gray.

在一些实施例中,所述方法还包括:在所述图形用户分组界面,对被选中的分组按照从上往下、从里往外渲染被添加进来的积木件,渲染后的造型在所述图形用户分组界面中间的显示区进行显示。In some embodiments, the method further includes: on the GUI grouping interface, rendering the added building blocks for the selected group from top to bottom and from the inside to the outside, and the rendered shape is displayed in the graphic The display area in the middle of the user group interface is displayed.

在一些实施例中,所述方法还包括:在所述图形用户编辑界面,设置摄像机视角、摄像机距离、飞入方向、移动距离制作三维拼搭动画。In some embodiments, the method further includes: in the graphical user editing interface, setting a camera angle of view, a camera distance, a flying-in direction, and a moving distance to create a three-dimensional building animation.

在一些实施例中,所述方法还包括:复制其他分组的摄像机视角、摄像机距离。In some embodiments, the method further includes: copying the camera angles of view and camera distances of other groups.

在一些实施例中,所述方法还包括:所述图形用户编辑界面支持向前翻页、向后翻页、跳转至输入的目标页、播放三维搭建动画、添加文字标注。In some embodiments, the method further includes: the graphical user editing interface supports page forwarding, backward page turning, jumping to the input target page, playing a three-dimensional building animation, and adding text annotations.

在一些实施例中,所述方法还包括:在所述图形用户编辑界面,选中积木件,点击选中返回搭建图标,则切换至所述图形用户搭建界面,在所述图形用户搭建界面搭建区内的造型中的该积木件被高亮显示。In some embodiments, the method further includes: in the graphical user editing interface, selecting a building block, clicking and selecting a return to build icon, then switching to the graphical user building interface, and in the graphical user building interface building area The block piece is highlighted in the shape of the .

在一些实施例中,所述方法还包括:在所述图形用户编辑界面,选中积木件或分组,点击选中返回分组图标,则切换至所述图形用户分组界面,该积木件或分组被高亮显示。In some embodiments, the method further includes: in the graphical user editing interface, select a building block or group, click and select a return group icon, then switch to the graphical user group interface, and the building block or group is highlighted show.

在一些实施例中,所述方法还包括:每隔预设间间隔自动保存用户在所述图形用户搭建界面、图形用户分组界面、图形用户编辑界面的操作至所述搭建文档。In some embodiments, the method further includes: automatically saving the user's operations on the GUI, GUI grouping, and GUI editing interface to the building document at preset intervals.

在一些实施例中,所述方法还包括:将若干个搭建文档合并为一个搭建文档。In some embodiments, the method further includes: merging several building documents into one building document.

在一些实施例中,所述方法还包括:以Excel表格的形式导出当前造型的积木件信息,所述积木件信息包括积木件的编号、中文名称、图片、颜色、个数及总体积木件的数量。In some embodiments, the method further includes: exporting the building block information of the current shape in the form of an Excel table, where the building block information includes the number, Chinese name, picture, color, number, and total volume of the building block. quantity.

本发明设计出一种通过3D搭建软件进行积木造型的搭建,开发便于用户直观、直接操作的图形用户界面。先在图形用户搭建界面筛选积木件进行一步一步造型的拼搭,保存所述拼搭的造型中的积木件的序号、编号、三维坐标、旋转信息、大小信息至搭建文档;然后,在图形用户分组界面创建嵌套的分组,为分组添加积木件,切割搭建步骤,并将分组信息保存到搭建文档,最后,在图形用户编辑界面,对每个分组对应的拼搭步骤进行三维拼搭动画制作,将制作三维拼搭动画的设置信息保存至所述搭建文档。因搭建文档保存的是积木件信息及一系列设置信息,便于用户排查疏漏及进行修改,效率高。通过上述搭建文档可渲染出动态三维搭建图纸,将搭建步骤动态可视化,使得搭建过程更为直观,让用户迅速读懂搭建过程。The invention designs a building block modeling through 3D building software, and develops a graphical user interface that is convenient for users to operate intuitively and directly. First, select the building blocks in the GUI to build the building step by step, and save the serial number, serial number, 3D coordinates, rotation information, and size information of the building blocks in the assembled shape to the building document; then, in the GUI The grouping interface creates nested groups, adds building blocks to the groups, cuts the building steps, and saves the group information to the building document. Finally, in the graphical user editing interface, the corresponding building steps of each group are 3D building animations. , and save the setting information for making the three-dimensional building animation to the building document. Because the construction document saves the building block information and a series of setting information, it is convenient for users to check omissions and make modifications, and the efficiency is high. Through the above construction documents, dynamic 3D construction drawings can be rendered, and the construction steps can be dynamically visualized, which makes the construction process more intuitive and allows users to quickly understand the construction process.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1是根据本申请的生成搭建文档的一个实施例的流程图;FIG. 1 is a flow chart of an embodiment of generating a build document according to the present application;

图2是本申请一实施例中图形用户搭建界面的简易示意图;FIG. 2 is a simple schematic diagram of a graphical user building interface in an embodiment of the present application;

图3是本申请一实施例中图形用户分组界面的简易示意图;3 is a simple schematic diagram of a graphical user grouping interface in an embodiment of the present application;

图4是本申请一实施例中图形用户编辑界面的简易示意图。FIG. 4 is a simple schematic diagram of a graphical user editing interface in an embodiment of the present application.

具体实施方式Detailed ways

下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the related invention, but not to limit the invention. In addition, it should be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

为方便搭建动态三维图纸,本发明开发了一款具有图形用户界面的搭建软件,该软件主要安装于具有显示器的电子设备上。例如,台式电脑、笔记本电脑、平板等设备上。该软件具有多个界面供用户搭建三维电子图纸。本发明的生成搭建文档的方法由上述具有显示器的电子设备执行。In order to facilitate the construction of dynamic three-dimensional drawings, the present invention develops a construction software with a graphical user interface, which is mainly installed on an electronic device with a display. For example, on desktop computers, laptops, tablets and other devices. The software has multiple interfaces for users to build 3D electronic drawings. The method for generating a building document of the present invention is performed by the above-mentioned electronic device having a display.

参考图1,该图示出了根据本申请的生成搭建文档的一个实施例的流程图。所述生成搭建文档的方法,包括以下步骤:Referring to FIG. 1 , this figure shows a flowchart of one embodiment of generating a build document according to the present application. The method for generating a building document includes the following steps:

步骤101,在图形用户搭建界面,支持用户从左侧积木库中拖拽积木件到搭建区中进行造型拼搭,保存造型拼搭中的积木件的序号、编号、三维坐标、旋转信息、大小信息至搭建文档。Step 101 , in the GUI of the graphical user building, support the user to drag and drop building blocks from the building block library on the left to the building area for modeling and assembling, and save the serial number, serial number, 3D coordinates, rotation information, and size of the building blocks in the modeling and assembling. information to the build documentation.

参考图2,该图是本申请一实施例中图形用户搭建界面的简易示意图。如图2所示,图形用户搭建界面主要分成4个区,上面的工具栏230、左边为搜索区、中间为搭建区210、右边为积木列表区220。所有的积木件图片、三维模型等信息都会存储在数据库或文件中,为便于用户查找搜索积木件,搜索区又被分成3部分,最上面的积木类别区201、中间的是颜色区202、最下面是搜索结果展示区203,积木类别区示例了6个积木类别,真实页面上至少有十几个积木类别。如图2所示,对每个积木类别,显示具有代表性的一个积木件,积木件下面写着该类别的名称。该图中展示的6个积木类别为:销类、孔梁类、齿条类、齿轮类、面板类、传感器类。在颜色区202罗列着很多颜色块,为了配合不同积木产品的配色,即使同一个积木件也会存在多个颜色。因说明书附图不能使用颜色,所以用方块加数字表示。图中共列出了16个颜色块,即从数字1到数字16,这16个颜色块依次为:白色、灰色、黑色、浅黄色、黄色、深红色、粉色、红色、深红色、蓝色、深蓝色、绿色、深绿色、橘色、紫色、卡其色。最下面的是搜索结果展示区203。当用户要所搜某一个积木件时,先在积木类别区201选择大的类,在颜色区202选择颜色,符合上述2个条件的积木件会在搜索结果展示区203展示。作为示例:用户用鼠标或手指触控点击齿轮类,然后选择颜色块白色,即色块1,则符合上面条件的3个白色齿轮在搜索结果展示区203显示,因说明书附图不能使用颜色,所以该3个齿轮都是用的线稿图展示。在代码层面上,使用的是具有条件的搜索语句,从数据库或文中的搜索符合条件的积木件,将所搜到的积木件的图展示在展示区203,供用户选择。Referring to FIG. 2 , this figure is a simple schematic diagram of a graphical user building interface in an embodiment of the present application. As shown in FIG. 2 , the GUI building interface is mainly divided into 4 areas, the upper toolbar 230 , the search area on the left, the building area 210 in the middle, and the building block list area 220 on the right. All building block pictures, 3D models and other information will be stored in the database or file. In order to facilitate users to find and search for building blocks, the search area is divided into three parts, the top building block category area 201, the middle is the color area 202, the most The following is the search result display area 203, the building block category area exemplifies 6 building block categories, and there are at least a dozen building block categories on the real page. As shown in Figure 2, for each building block category, a representative building block is displayed, and the name of the category is written under the building block. The 6 types of building blocks shown in this figure are: pins, hole beams, racks, gears, panels, and sensors. Many color blocks are listed in the color area 202. In order to match the color matching of different building block products, even the same building block may have multiple colors. Since the drawings in the description cannot use colors, they are represented by squares and numbers. A total of 16 color blocks are listed in the figure, from number 1 to number 16. The 16 color blocks are: white, gray, black, light yellow, yellow, dark red, pink, red, dark red, blue, Dark blue, green, dark green, orange, purple, khaki. At the bottom is the search result display area 203 . When the user wants to search for a certain building block, first select a large category in the building block category area 201 , and select a color in the color area 202 , and building blocks that meet the above two conditions will be displayed in the search result display area 203 . As an example: the user clicks on the gear class with a mouse or finger touch, and then selects the color block white, that is, color block 1, then the three white gears that meet the above conditions are displayed in the search result display area 203. Because the drawings in the description cannot use colors, Therefore, the three gears are all displayed in line art. At the code level, a conditional search statement is used to search for building blocks that meet the conditions from a database or text, and a graph of the searched building blocks is displayed in the display area 203 for the user to choose.

在本实施例中,用户将搜索出的需要的积木件拖动到搭建区210进行搭建,所谓搭建,是指将新拖动来的积木件按照该积木件的连接部位拼搭到之前搭建的半成品的模型上或将两个半成品拼搭在一起,例如,将拼搭好的手与手臂拼搭在一起。搭建区210显示当前最新拼搭的造型,该造型可以是拼搭到一半积木造型,也可以是拼搭完成的一个造型。图中是展示的拼搭完成的一个机器人。该机器人上的积木件都是渲染有颜色的,这里为符合说明书附图的要求只显示了线稿图。In this embodiment, the user drags the searched building blocks to the construction area 210 for construction. The so-called building means that the newly dragged building blocks are assembled to the previously built building blocks according to the connection parts of the building blocks. On a semi-finished model or by building two semi-finished products together, for example, the assembled hands and arms. The building area 210 displays the latest currently constructed shape, which may be a half-built block shape, or may be a completed shape. The picture shows a completed robot on display. The building blocks on the robot are all rendered in color, and only line drawings are shown here to meet the requirements of the drawings in the instructions.

在本实施例中,被拖拽到搭建区210的积木件的编号在右侧积木列表区220展示。积木列表区220中积木件从上往下的排列顺序是积木件被拖动到搭建区210的顺序。对于积木列表区220的每一行,前面的数字是该积木件被拖进来的序号,后面的一串数字是该积木件的编号,最后的

Figure BDA0003742088920000061
图标,表示定位,点击该
Figure BDA0003742088920000063
图标,具有显示器的电子设备会根据该积木件的序号查找到位于搭建区210中造型中该积木件的坐标,对该积木件进行描边高亮显示,让用户迅速找到该积木件。在本实施例的其他可选的实现方式中,
Figure BDA0003742088920000062
图标后面还支持添加备注。In this embodiment, the numbers of the building blocks dragged to the building area 210 are displayed in the building block list area 220 on the right. The order in which the building blocks are arranged from top to bottom in the building block list area 220 is the order in which the building blocks are dragged to the building area 210 . For each row of the building block list area 220, the preceding number is the serial number of the building block that was dragged in, the following series of numbers is the number of the building block, and the last number is the number of the building block.
Figure BDA0003742088920000061
icon, indicating positioning, click the
Figure BDA0003742088920000063
icon, the electronic device with the display will find the coordinates of the building block in the modeling in the building area 210 according to the serial number of the building block, and highlight the building block by stroke, so that the user can quickly find the building block. In other optional implementation manners of this embodiment,
Figure BDA0003742088920000062
It also supports adding notes after the icon.

在本实施例中,将搭建信息保存至搭建文档。一个复杂的积木造型需要用百上千个积木件,这些积木件需要图纸制作者即用户借助拼搭工具一个一个拼搭在一些。搭建文档会按照顺序记录每个拼搭步骤:新添加的积木件的序号、编号、三维位置信息、旋转信息、根据旋转信息计算的四元数值、大小尺寸信息等。In this embodiment, the building information is saved to the building document. A complex building block shape requires hundreds or thousands of building blocks, and these building blocks need to be built one by one by the drawing maker, i.e. the user, with the help of building tools. The building document will record each building step in order: the serial number, serial number, 3D position information, rotation information, quaternion value calculated according to the rotation information, size and size information of the newly added building block.

在本实施例中,搭建文档为XML格式,采用XML语句记录拼搭的每一步,参考下面截取的搭建文件。在<StepModel>…</StepModel>间记录搭建的一次步骤。<ThisIndex>1</ThisIndex>表示积木件的序列为1,即拼搭造型采用的第1个积木件。<ModelName>072502</ModelName>表示积木件的编号为072502,<Pos>(-0.002523,0.101523,0.000000,)</Pos>为积木件在XYZ三维坐标系下的的三维位置信息,<Rot>(0.000000,0.000000,1.000000,0.000000,)</Rot>为积木件的四元数值。积木件在拼搭时会进行一定角度的旋转,该四元数值是根据旋转信息计算得到的。<EulerRot>(0.000000,0.000000,180.000000,)</EulerRot>表示在XYZ三维坐标系下的旋转信息。<Size>(1.000000,1.000000,1.000000,)</Size>表示积木件的尺寸信息。下面的XML搭建文档还记录了序号为2的积木件信息。如XML文件所示,采用<StepModel>元素记录每一个搭建步骤。In this embodiment, the construction document is in XML format, and XML statements are used to record each step of construction, and refer to the construction file intercepted below. Record a step of the build between <StepModel>…</StepModel>. <ThisIndex>1</ThisIndex> indicates that the sequence of building blocks is 1, that is, the first building block used in the building shape. <ModelName>072502</ModelName> indicates that the number of the building block is 072502, <Pos>(-0.002523,0.101523,0.000000,)</Pos> is the three-dimensional position information of the building block in the XYZ three-dimensional coordinate system, <Rot> (0.000000,0.000000,1.000000,0.000000,)</Rot> is the quaternion value of the building block. The building blocks will rotate at a certain angle when they are assembled, and the quaternion value is calculated based on the rotation information. <EulerRot>(0.000000,0.000000,180.000000,)</EulerRot> represents the rotation information in the XYZ three-dimensional coordinate system. <Size>(1.000000,1.000000,1.000000,)</Size> indicates the size information of the building block. The following XML construction document also records the information of the building block with serial number 2. Each build step is recorded using the <StepModel> element as shown in the XML file.

<AllModel><AllModel>

<StepModel><StepModel>

<ThisIndex>1</ThisIndex><ThisIndex>1</ThisIndex>

<ModelName>072502</ModelName><ModelName>072502</ModelName>

<Pos>(-0.002523,0.101523,0.000000,)</Pos><Pos>(-0.002523,0.101523,0.000000,)</Pos>

<Rot>(0.000000,0.000000,1.000000,0.000000,)</Rot><Rot>(0.000000,0.000000,1.000000,0.000000,)</Rot>

<EulerRot>(0.000000,0.000000,180.000000,)</EulerRot><EulerRot>(0.000000,0.000000,180.000000,)</EulerRot>

<Size>(1.000000,1.000000,1.000000,)</Size><Size>(1.000000,1.000000,1.000000,)</Size>

</StepModel></StepModel>

<StepModel><StepModel>

<ThisIndex>2</ThisIndex><ThisIndex>2</ThisIndex>

<ModelName>010110</ModelName><ModelName>010110</ModelName>

<Pos>(-0.196638,0.000050,-0.001473,)</Pos><Pos>(-0.196638,0.000050,-0.001473,)</Pos>

<Rot>(0.000000,-0.707107,0.000000,0.707107,)</Rot><Rot>(0.000000,-0.707107,0.000000,0.707107,)</Rot>

<EulerRot>(0.000000,270.000000,0.000000,)</EulerRot><EulerRot>(0.000000,270.000000,0.000000,)</EulerRot>

<Size>(1.000060,1.000000,1.000060,)</Size><Size>(1.000060,1.000000,1.000060,)</Size>

</StepModel></StepModel>

<AllModel><AllModel>

在本实施例中,模型被拼搭一部分之后,被保存、关闭。当下次在具有显示器的电子设备上再次打开图形用户搭建界面时,电子设备会解析XML搭建文件,将XML搭建文件中的积木件序号、编号解析出来,在图形用户搭建界面的右边以积木列表的形式显示。右侧积木件列表每次显示9个积木件的信息,可以向下滑动积木件列表,显示下面的积木件。另外,当再次打开图形用户搭建界面时,电子设备会按顺序解析XML搭建文件中的一个个的<StepModel>…</StepModel>元素,渲染出最新搭建的造型。具体的:在搭建区210,电子设备根据<StepModel>…</StepModel>的子元素,根据积木件的编号去查询积木库,读取该积木库的三维模型,根据<StepModel>…</StepModel>的子元素记录的三维位置信息、四元数值、旋转信息、尺寸信息等信息渲染出所有积木件,组建成当前最新进展的造型。In this embodiment, the model is saved and closed after being partially assembled. When the GUI is opened again on an electronic device with a display next time, the electronic device will parse the XML building file, parse out the serial numbers and numbers of the building blocks in the XML building file, and display the building block list on the right side of the GUI. form display. The building block list on the right displays information of 9 building blocks at a time. You can slide down the building block list to display the following building blocks. In addition, when the GUI is opened again, the electronic device will sequentially parse the <StepModel>...</StepModel> elements in the XML construction file one by one, and render the newly constructed shape. Specifically: in the construction area 210, the electronic device queries the building block library according to the sub-elements of <StepModel>…</StepModel> and the number of the building block piece, reads the three-dimensional model of the building block library, and reads the three-dimensional model of the building block library according to the sub-elements of <StepModel>…</StepModel>. The three-dimensional position information, quaternion value, rotation information, size information and other information recorded by the sub-elements of > render all the building blocks and form the latest development.

在本实施例中,对被拖拽入搭建区210的积木件进行移动、旋转、视角切换操作,用于拼搭造型。在搭建区210进行积木件拼搭时,会借助图形用户搭建界面的工具栏230,在工具栏230中,存在如下功能图标:新建231、保存232、撤销233,显示234、隐藏235、颜色替换236、镜像237、六个视角切换238。在本实施例的其他可选的实现方式中,还包括如下图标中的至少一项:选中、全选中、搜索模型等。下面说下各功能图标的功能。其中,新建231用于新建一个项目,每个造型对应一个造型,项目包括搭建图纸制作。撤销233:响应于检测到撤销图标被点击,执行撤销指令,删除刚才动作、及删除刚才动作对应的写入搭建文档的信息。全选中图标:响应于检测到全选中图标被点击,执行全选中指令,搭建区210中的当前造型中的所有积木件处于选中状态,造型被选中后,可转换造型的视角、移动造型。搜索模型图标:相应于检测到搜索模型图标被点击,读取用户输入的筛选条件,根据上述筛选条件遍历搭建文件,筛选出符合条件的目标积木件,将上述目标积木件描边高亮显示,让用户更容易识别定位到。筛选时支持根据同零件、同颜色零件、同类同颜色零件进行了区分,方便用户根据特定需求批量操作。隐藏图标235:通过搜索模型或定位功能或鼠标点击选中,会选中至少一个目标积木件,搭建区中的造型中的目标积木件高亮显示,点击隐藏图标,则目标积木件将被隐藏不在显示;方便用户对被隐藏的积木件遮挡的积木件进行修改,修改后,点击显示图标234,上述被隐藏的积木件再次显示在造型中。颜色替换图标236:通过搜索模型或定位功能或鼠标点击选中,会选中至少一个目标积木件,为目标积木件选择更换的颜色,相应的造型中的目标积木件会变换颜色。便于调整产品的颜色,或设计相同造型、不同配色的几款造型。镜像图标237:很多产品的造型都是对称的,或上下对称、或左右对称、或前后对称。只需要将搭建好的相关造型进行对称即得到对称的造型,即选择原造型是在XYZ三种轴向的任意一个轴向镜像,当然也可以对一个造型进行多次镜像,例如先上下镜像、再左右镜像。示例,机器人是左右对称的,当搭建好右手、右手臂,只需要进行镜像操作,选中左右镜像,即将右手、右手臂进行左右镜像,得到左手、左手臂。镜像操作可大大节约拼搭时间、提高拼搭效率。六个视角切换图标238:为保证正确的拼搭,快速调整积木件的视角,在图形用户搭建界面,对从左侧拖拽到搭建区的积木件,先进行视角切换,从六视角即上、下、前、后、左、右,这六个视角选择一个视角进行切换,具有显示器的电子设备接收到视角切换指令,对处于搭建区的积木件进行相应的旋转。同样,为便于找到一个好的视角进行搭建,用户通过全选中图标选中搭建区的造型,然后进行六视角中的任何一个视角切换。如果对视角切换后的积木件、造型的视角仍不满意,可继续对积木件和/或子造型进行旋转,调整视角。便于找到最佳搭建视觉角度。保存图标232:响应于检测到保存图标被点击,执行保存指令,保存拼搭的当前造型的拼搭信息至搭建文件。In this embodiment, the building blocks dragged into the building area 210 are moved, rotated, and the viewing angle is switched, so as to be used for building shapes. When building blocks in the building area 210, the tool bar 230 of the GUI is used to build the interface. In the tool bar 230, there are the following function icons: New 231, Save 232, Cancel 233, Display 234, Hide 235, Color replacement 236, mirror image 237, six perspective switching 238. In other optional implementation manners of this embodiment, at least one of the following icons is further included: selected, selected all, search model, and the like. The function of each function icon is described below. Among them, New 231 is used to create a new project, each shape corresponds to a shape, and the project includes the production of construction drawings. Undo 233: In response to detecting that the undo icon is clicked, execute the undo instruction, delete the action just now, and delete the information written in the build document corresponding to the action just now. Select all icon: In response to detecting that the select all icon is clicked, the select all command is executed, and all building blocks in the current shape in the construction area 210 are in a selected state. After the shape is selected, the viewing angle of the shape can be changed and the shape can be moved. Search model icon: Corresponding to detecting that the search model icon is clicked, read the filter conditions input by the user, traverse the building file according to the above filter conditions, filter out the target building blocks that meet the conditions, and highlight the above target building blocks. Make it easier for users to identify and locate. When screening, it is supported to distinguish between the same parts, the same color parts, and the same color parts of the same type, which is convenient for users to operate in batches according to specific needs. Hide icon 235: Select at least one target building block through the search model or positioning function or mouse click, and the target building block in the modeling in the construction area will be highlighted. Click the hide icon, and the target building block will be hidden and not displayed. ; It is convenient for the user to modify the building blocks blocked by the hidden building blocks. After modification, click the display icon 234, and the above-mentioned hidden building blocks are displayed in the shape again. Color replacement icon 236: Selected by searching for a model or positioning function or clicking with a mouse, at least one target building block will be selected, and a replacement color will be selected for the target building block, and the target building block in the corresponding shape will change color. It is convenient to adjust the color of the product, or to design several shapes of the same shape but different color matching. Mirror icon 237: The shapes of many products are symmetrical, either up and down, left and right, or front and rear. You only need to make the related shapes symmetrical to get a symmetrical shape, that is, select the original shape to be mirrored in any one of the three axes of XYZ, of course, you can also mirror a shape multiple times, such as first up and down Mirror left and right. For example, the robot is left-right symmetrical. When the right hand and right arm are built, you only need to perform the mirror image operation. Select the left and right mirror image, that is, the right hand and right arm are mirrored left and right, and the left hand and left arm are obtained. The mirror operation can greatly save building time and improve building efficiency. Six viewing angle switching icon 238: In order to ensure correct construction and quickly adjust the viewing angle of the building blocks, in the GUI of the GUI, for the building blocks dragged from the left to the construction area, switch the viewing angle first, and then go up from the six viewing angles. , down, front, back, left and right, select one of the six viewing angles to switch, and the electronic device with the display receives the viewing angle switching instruction, and rotates the building blocks in the construction area accordingly. Similarly, in order to find a good viewing angle for building, the user selects the shape of the construction area by selecting the all icon, and then switches any one of the six viewing angles. If you are still not satisfied with the viewing angles of the building blocks and shapes after the viewing angle is switched, you can continue to rotate the building blocks and/or sub-shapes to adjust the viewing angle. It is easy to find the best viewing angle for building. Save icon 232: In response to detecting that the save icon is clicked, a save instruction is executed, and the building information of the current shape of the building is saved to the building file.

继续参考图2的图形用户搭建界面,在右侧底部有个分组图标221,电子设备接收用户点击分组按钮221后,将界面跳转到图形用户分组界面。Continuing to refer to the GUI of FIG. 2 , there is a grouping icon 221 at the bottom of the right side. After receiving the user's click of the grouping button 221, the electronic device jumps the interface to the GUI for grouping users.

步骤102,在图形用户分组界面,以列表的形式显示搭建文档中的积木件的序号及编号,支持用户创建分组,支持分组内继续嵌套分组,支持将上述列表中的积木件添加到各分组内,保存各分组信息至上述搭建文档。Step 102, on the graphical user grouping interface, display the serial numbers and numbers of the building blocks in the construction document in the form of a list, support the user to create groups, support continuous nesting of groups within the group, and support adding the building blocks in the above list to each group. Inside, save each grouping information to the above construction document.

继续参考图3,该图是本申请一实施例中图形用户分组界面的简易示意图。如图3所示,图形用户分组界面上面是工具栏300,工具栏300包含如下图标:创建301、删除302、保存303、撤销304、放大305、缩小306。在图形用户分组界面的左边是分组树310。通过点击工具栏上的创建301图标,界面显示一个文件夹图标,表示新创建的分组,图标的右边写入分组的名称,单击或双击文件夹图形,则打开该分组,分组下面支持继续嵌套创建分组,支持不限数量的分组嵌套。这些分组以树结构显示,这些分组是一个一个节点。其中,树是一种分支结构。如图3中,在此创建4级分组。其中,最外层、最顶层是作为根节点的机器人分组。1左手臂、2右手臂、3躯干、4履带是机器人的子节点,可以在这些分组下面继续创建子分组。例如,1左手臂下面嵌套1.1左手、1.2左臂分组;1.1左手分组下面嵌套三号手指、二号手指、一号手指分组。删除图标302,选中某一个分组,点击删除图标302,提示是否删除该分组,点击确认,则删除该分组相关的信息。303为保存图标,点击保存图标303,则分组信息都会被保存到搭建文档中。304是撤销图标,点击撤销图标304,这刚才的新建操作、拖拽积木件的操作、或删除分组操作都会被撤销掉。每次只能撤销最近的一次操作。Continue to refer to FIG. 3 , which is a simple schematic diagram of a graphical user grouping interface in an embodiment of the present application. As shown in FIG. 3 , on the GUI of the GUI is a toolbar 300 , and the toolbar 300 includes the following icons: create 301 , delete 302 , save 303 , undo 304 , zoom in 305 , and zoom out 306 . On the left side of the graphical user grouping interface is a grouping tree 310 . By clicking the Create 301 icon on the toolbar, a folder icon is displayed on the interface, indicating the newly created group. The name of the group is written on the right side of the icon. Click or double-click the folder graphic to open the group. The group supports continuous embedding. Sets to create groups, supports an unlimited number of group nesting. These groups are displayed in a tree structure, and these groups are one node at a time. Among them, a tree is a branching structure. As shown in Figure 3, a 4-level grouping is created here. Among them, the outermost layer and the topmost layer are the robot grouping as the root node. 1 left arm, 2 right arm, 3 torso, 4 crawler are child nodes of the robot, you can continue to create subgroups under these groups. For example, 1.1 left hand and 1.2 left arm grouping are nested under the 1 left arm; the third finger, the second finger, and the first finger grouping are nested under the 1.1 left hand grouping. Delete icon 302, select a certain group, click delete icon 302, prompt whether to delete the group, click OK, then delete the information related to the group. 303 is the save icon. Click the save icon 303, and the grouping information will be saved in the construction document. 304 is the undo icon. Clicking the undo icon 304 will cancel the new operation, the operation of dragging the building block, or the operation of deleting the group. Only the most recent operation can be undone at a time.

在本实施例中,低一级的分组会相较于高一级的分组进行缩进,而有的分组嵌套比较深,所以在本实施例的其他可选的实现方式中,左侧的分组树不进行缩进。当然,在其他实施例中,支持用户自由切换上述两种方式。In this embodiment, lower-level groups are indented compared to higher-level groups, and some groups are deeply nested. Therefore, in other optional implementations of this embodiment, the left-hand group is indented. Grouping trees are not indented. Of course, in other embodiments, users are supported to freely switch between the above two modes.

在本实施例中,图形用户分组界面右侧是列表320。该列表是从搭建文档中读取在图形用户搭建界面拼搭造型时按顺序存储的积木件。列表320采用先进先出数据结构存储积木件信息,上述先进先出的数据结构包括但不限于:堆栈、队列、列表。当用户向下滑动刷新列表时,遵循先进先出的原则,列表上面的n个积木件不在显示,积木件列表下面的n个积木件被加载进来。In this embodiment, on the right side of the GUI is a list 320 . This list is a list of building blocks that are read from the building documentation and stored in order when building a shape in the GUI. The list 320 uses a first-in, first-out data structure to store building block information, and the above-mentioned first-in, first-out data structure includes but is not limited to: stack, queue, and list. When the user swipes down to refresh the list, following the principle of first-in, first-out, the n building blocks above the list are not displayed, and the n building blocks below the building block list are loaded.

在本实施例中,每个分组代表一个拼搭步骤。在分组下面添加积木件,表示该搭建步骤需要用到的积木件。具体添加积木件步骤如下:右侧的列表320每次只显示15个积木件的信息。先点击选中积木件,然后将选中的积木件拖拽到相应左侧分组下面。一旦积木件被拖拽到分组下面,则将该积木件在列表320中变成灰色,不在支持拖动。在代码实现层面上,在xml格式搭建文件中,在为每个积木件设置是否已经被分组的一个标签,如果该积木件已经被分组,则为该积木件渲染灰色阴影,该积木件不在支持拖动。作为示例,如图3所示,将右侧的列表320中序号1编号为072502、序号2编号为010110的积木件拖动到一号手指分组下面。将右侧的列表320中序号3编号为010110的积木件拖动到二号手指分组下面。将右侧的列表320中序号4编号为010110的积木件拖动到三号手指分组下面。另外,点击列表320积木件编号后面的

Figure BDA0003742088920000101
图标,该积木件的编号在左侧分组树中高亮显示。便于用户快速定位到该积木件。In this embodiment, each group represents a building step. Add building blocks under the group to indicate the building blocks needed for this building step. The specific steps for adding building blocks are as follows: the list 320 on the right only displays the information of 15 building blocks at a time. First click on the selected building block, and then drag the selected building block to the corresponding left group. Once a building block is dragged under a group, the building block is grayed out in the list 320 and no longer supports dragging. At the code implementation level, in the xml format build file, set a label for whether each building block has been grouped. If the building block has been grouped, a gray shadow is rendered for the building block, and the building block is not supported. drag. As an example, as shown in FIG. 3 , drag the building block whose serial number 1 is 072502 and the serial number 2 is 010110 in the list 320 on the right side to the bottom of the first finger group. Drag the building block numbered 010110 in the list 320 on the right to the second finger group. Drag the building block numbered 010110 in the list 320 on the right to the third finger group. Also, click on the list 320 behind the piece number
Figure BDA0003742088920000101
icon, the number of the piece is highlighted in the grouping tree on the left. It is convenient for users to quickly locate the building block.

在本实施例中,每个分组下面的积木件的个数是不设限的。例如,需要将3个短销插入7孔梁中,则这搭建步骤需要用到4个积木件。In this embodiment, the number of building blocks under each group is not limited. For example, if 3 short pins need to be inserted into a 7-hole beam, then 4 building blocks are required for this build step.

在本实施例中,以XML记录分组信息,上述分组信息包括但不限于:是否为组,是否为最外层,所在父类的位置,分组名称,分组的位置。同时记录分组下面的积木件信息,参考下面的XML搭建文档字段。所有的分组都在<AllGroupModel>…</AllGroupModel>元素之间。分组与积木件不区分,都采用<StepModel>…</StepModel>元素记录相关的信息。In this embodiment, the grouping information is recorded in XML, and the above-mentioned grouping information includes but is not limited to: whether it is a group, whether it is the outermost layer, the location of the parent class, the group name, and the location of the group. At the same time, record the information of the building blocks under the group, and refer to the XML construction document field below. All groupings are between <AllGroupModel>…</AllGroupModel> elements. There is no distinction between grouping and building blocks, and the <StepModel>…</StepModel> elements are used to record related information.

<AllGroupModel><AllGroupModel>

<StepModel><StepModel>

<isGroup>True</isGroup><isGroup>True</isGroup>

<isToOuterList>False</isToOuterList><isToOuterList>False</isToOuterList>

<allFather>0</allFather><allFather>0</allFather>

<inToFatherIndex>4</inToFatherIndex><inToFatherIndex>4</inToFatherIndex>

<thisName>一号手指</thisName><thisName>finger number one</thisName>

<thisModelPos>(0.000000,0.000000,0.000000,)</thisModelPos><thisModelPos>(0.000000,0.000000,0.000000,)</thisModelPos>

</StepModel></StepModel>

<StepModel><StepModel>

<isGroup>False</isGroup><isGroup>False</isGroup>

<isToOuterList>False</isToOuterList><isToOuterList>False</isToOuterList>

<allFather>_0</allFather><allFather>_0</allFather>

<inToModelIndex>1</inToModelIndex><inToModelIndex>1</inToModelIndex>

<inToFatherIndex>4</inToFatherIndex><inToFatherIndex>4</inToFatherIndex>

<thisName>072502</thisName><thisName>072502</thisName>

<thisModelPos>(-0.002523,0.101523,0.000000,)</thisModelPos><thisModelPos>(-0.002523,0.101523,0.000000,)</thisModelPos>

<groupMoldeRoot>-1</groupMoldeRoot><groupMoldeRoot>-1</groupMoldeRoot>

</StepModel></StepModel>

</AllGroupModel></AllGroupModel>

下面解说第一个<StepModel></StepModel>的子元素。<isGroup>True</isGroup>表示是分组,<isToOuterList>False</isToOuterList>不是最外层的根节点,<allFather>0</allFather>最外层根节点的0,<inToFatherIndex>4</inToFatherIndex>该分组上层分组节点是3,<thisName>一号手指</thisName>,分组名称叫做“一号手指”;<thisModelPos>(0.000000,0.000000,0.000000,)</thisModelPos>分组的位置。The child elements of the first <StepModel></StepModel> are explained below. <isGroup>True</isGroup> means grouping, <isToOuterList>False</isToOuterList> is not the outermost root node, <allFather>0</allFather> is 0 of the outermost root node, <inToFatherIndex>4</ inToFatherIndex>The upper-level grouping node of this group is 3, <thisName>Finger No.1</thisName>, and the group name is called "Finger No.1"; <thisModelPos>(0.000000,0.000000,0.000000,)</thisModelPos>The position of the group.

下面解说第二个<StepModel></StepModel>的子元素。<isGroup>False</isGroup>表示不是分组;<isToOuterList>False</isToOuterList>不是最外层的根节点;<allFather>_0</allFather>最外层根节点的0;<inToModelIndex>1</inToModelIndex>该积木件的序号是1;<inToFatherIndex>4</inToFatherIndex>该上层分组节点是4;<thisName>072502</thisName>该积木件编号是072502;<thisModelPos>(-0.002523,0.101523,0.000000,)</thisModelPos>该积木件的位置。The child elements of the second <StepModel></StepModel> are explained below. <isGroup>False</isGroup> means not a group; <isToOuterList>False</isToOuterList> is not the outermost root node; <allFather>_0</allFather> is 0 of the outermost root node; <inToModelIndex>1</ inToModelIndex> the serial number of this building block is 1; <inToFatherIndex>4</inToFatherIndex> the upper grouping node is 4; <thisName>072502</thisName> the building block number is 072502; <thisModelPos>(-0.002523,0.101523,0.000000 ,)</thisModelPos>The position of the block.

在本实施例中,对嵌套的分组的渲染解析搭建步骤顺序为从上往下、从里往外。因每个分组代表一个拼搭步骤,所以在为分组添加积木件时,要考虑拼搭步骤,右侧列表中积木件是按照从上往下的顺序搭建的,所以最好也采用从上往下从里往外的顺序为分组添加积木件。各分组信息是按照从上往下、从里往外的顺序保存。In this embodiment, the sequence of steps of rendering, parsing, and building nested groups is from top to bottom and from inside to outside. Since each group represents a building step, you should consider the building steps when adding building blocks to the group. The building blocks in the list on the right are built in the order from top to bottom, so it is best to use top to bottom as well. Add the building blocks to the group in order from the inside out. The information of each group is stored in the order from top to bottom and from inside to outside.

在本实施例中,图形用户分组界面的中间为积木件或造型的显示区330。点击选中右侧列表320中的积木件,则该积木件的三维模型会被渲染在显示区330显示。当用户选中某分组,则该分组下面嵌套的分组和积木件都会渲染成造型在显示区330显示。例如,用户点击一号手指分组,则根据一号手指下面的积木件072502、010110的序号,去搭建文档查询三维位置信息、旋转信息、尺寸信息等,将上述2个积木件搭建在一起的造型在显示区330中显示。当用户点击二号手指,则在嵌套的一号手指对应的子造型上,再渲染叠加新添加的积木件010110。如图3所示,当根节点机器人分组被选中,则显示区330显示的是完整机器人的造型。In this embodiment, the middle of the graphical user grouping interface is a display area 330 for building blocks or shapes. Click to select a building block in the list 320 on the right, and the three-dimensional model of the building block will be rendered and displayed in the display area 330 . When the user selects a group, the nested groups and building blocks under the group will be rendered into shapes and displayed in the display area 330 . For example, if the user clicks the No. 1 finger to group, according to the serial numbers of the building blocks 072502 and 010110 under the No. 1 finger, a document is constructed to query the three-dimensional position information, rotation information, size information, etc., and the above two building blocks are built together. displayed in the display area 330 . When the user clicks the second finger, the newly added building block 010110 is rendered and superimposed on the sub-shape corresponding to the nested first finger. As shown in FIG. 3 , when the root node robot group is selected, the display area 330 displays the shape of the complete robot.

在本实施例中,如果添加的积木件出现错误,可以点击工具栏上的撤销图标304,撤销刚才的动作。另外,对于显示区330显示的积木件及造型,支持用户通过工具栏上的放大图标305、缩小图标306对其进行放大和缩小。在图形用户分组界面支持用户将一个积木件从一个分组拖拽到另一个分组中,调整积木件的分组。In this embodiment, if there is an error in the added building block, you can click the undo icon 304 on the toolbar to undo the action just now. In addition, for the building blocks and shapes displayed in the display area 330, the user is supported to zoom in and out through the zoom-in icon 305 and the zoom-out icon 306 on the toolbar. In the GUI grouping interface, users can drag and drop a building block from one group to another to adjust the grouping of building blocks.

在本实施例的其他可选的实现方式中,一旦积木件被拖拽到分组下面,则该积木件将不在积木列表中显示。In other optional implementations of this embodiment, once a building block is dragged under a group, the building block will not be displayed in the building block list.

在图形用户分组界面右下角具有返回搭建322,被点击后,界面切换回图形用户搭建界面。另外,右下角还具有步骤编辑323,被点击后,界面切换至图形用户编辑界面。In the lower right corner of the GUI grouping interface, there is a return to build 322. After being clicked, the interface switches back to the GUI to build. In addition, there is a step editor 323 in the lower right corner. After being clicked, the interface switches to a graphical user editing interface.

步骤103,在图形用户编辑界面,支持用户对每个分组对应的拼搭步骤进行三维拼搭动画制作,将制作三维拼搭动画的设置信息保存至上述搭建文档。Step 103 , in the graphical user editing interface, the user is supported to make a 3D assembling animation for the assembling steps corresponding to each group, and the setting information for making the 3D assembling animation is saved to the above-mentioned building document.

继续参考图4,该图是图形用户步骤编辑界面。在该界面,将每个搭建步骤制作成三维拼搭动画。该界面主要有上面的工具栏400、右侧的分组列表421、中央部分的编辑区410。Continuing to refer to Figure 4, this figure is a graphical user step editing interface. In this interface, each building step is made into a 3D building animation. The interface mainly includes the upper toolbar 400 , the grouping list 421 on the right, and the editing area 410 in the central part.

在本实施例中,右侧的分组列表421按照分组树从上往下、从里往外的顺序排列。每个分组代表一个搭建步骤。该分组列表421是顺序排列的,排列的顺序即搭建步骤的顺序。In this embodiment, the grouping list 421 on the right is arranged in the order of the grouping tree from top to bottom and from inside to outside. Each group represents a build step. The grouping list 421 is arranged in order, and the order of arrangement is the order of building steps.

在本实施例中,点击右侧分组列表421中的分组,则该搭建步骤用到的积木件和/或模型的三维模型会显示在编辑区410。作为示例:用户点击一号手指分组,则该分组内编号072502对应的积木件长销415、编号010110对应的积木件90度5孔梁的三维模型会显示在编辑区410。In this embodiment, click a group in the group list 421 on the right, and the three-dimensional model of the building block and/or model used in the building step will be displayed in the editing area 410 . As an example: if the user clicks the first finger group, the 3D model of the long pin 415 of the building block corresponding to the number 072502 and the 90-degree 5-hole beam corresponding to the building block number 010110 in the group will be displayed in the editing area 410 .

在本实施例中,借助工具栏上的一系列工具制作三维动画。工具栏400设置有飞入方向401:上、下、左、右、前、后。飞入方向表示在制作三维动画时,设置积木件或模型是从下面、下面、左边、右边、前边、后边中选择一个方向另一个积木件或造型移动靠近。待拼搭的积木件和/或造型都一个默认位置。即一个默认的坐标。其中,模是在图形用户搭建界面搭建好的造型,在此根据搭建文档中记载信息重新渲染出来,视觉展示。通过工具栏400上的移动距离404、视角距离405设置积木件或造型飞行的移动距离和视角距离,制作出三维拼搭动画,即知道开始位置、终点位置,然后,设置入方向左、设置移动距离、视角距离等信息,生成三维动画。作为示例:选中编辑区的长销积木件415设置飞入方向左,设置移动距离:2.00,视角距离:6.00。In this embodiment, a three-dimensional animation is produced by means of a series of tools on the toolbar. The toolbar 400 is provided with fly-in directions 401: up, down, left, right, front, back. The fly-in direction means that when making a 3D animation, setting the building block or model is to choose one direction from the bottom, bottom, left, right, front, and back to move close to another building block or shape. There is a default location for the pieces and/or shapes to be built. i.e. a default coordinate. Among them, the model is the shape built on the GUI of the GUI, which is re-rendered according to the information recorded in the building document and displayed visually. Through the moving distance 404 and the viewing angle distance 405 on the toolbar 400, set the moving distance and viewing angle distance of the building block or the modeling flight, and create a three-dimensional building animation, that is, know the starting position and the ending position, and then set the input direction to the left and set the movement. Information such as distance, viewing angle distance, etc., generate 3D animation. As an example: select the long-pin block 415 in the editing area, set the fly-in direction to the left, set the moving distance: 2.00, and set the viewing distance: 6.00.

在本实施例中,如果积木件和/或模型的拼搭部位被遮挡,可通过工具栏的视角402调整积木件和/或模型的视角。其中,视角402包括:一、二、三、四、五、六、自、默。其中,一表示正前视角、二表示正后视角、三表示左视角、四表示右视角、五表示仰视角、六表示俯视角。自表示用户自调整视角,用户选中,然后拖动积木件和/或造型,自调整视角。默表示默认视角。调整积木件和/或模型的视角,相当于改变了摄像机的位置,通过摄像机是否被设置、摄像机方向、摄像机距离等字段记录本次搭建步骤中视角的改变。In this embodiment, if the building block and/or the building part of the model is blocked, the viewing angle of the building block and/or the model can be adjusted through the viewing angle 402 of the toolbar. The perspective 402 includes: one, two, three, four, five, six, self, and silent. Among them, one is the front view, the second is the rear view, the third is the left view, the fourth is the right view, the fifth is the bottom view, and the sixth is the top view. Self indicates that the user adjusts the viewing angle, the user selects, and then drags the building block and/or shape to adjust the viewing angle. Default means the default viewing angle. Adjusting the angle of view of the building block and/or model is equivalent to changing the position of the camera. The change of the angle of view in this construction step is recorded through fields such as whether the camera is set, the direction of the camera, and the distance of the camera.

在本实施例中,积木产品是有大量的积木件拼插而成。在一个部位要连续的拼搭好几个积木件,所以本次拼搭步骤可以沿用上一个拼搭步骤或其他拼搭步骤的视角,只需点击工具栏400上的视角复用403。In this embodiment, the building block product is formed by assembling a large number of building blocks. Several building blocks need to be built continuously in one part, so this building step can use the perspective of the previous building step or other building steps, just click the perspective reuse 403 on the toolbar 400.

在本实施例中,上述制作三维动画的设置信息会被保存到搭建文档,将相关的元素保存到分组时建立的<StepModel>…</StepModel>元素之间。下面为截取的一段xml格式的搭建文档,下面各元素的意思为,<isCameraRotationCtrl>…</isCameraRotationCtrl>该步骤的摄像机是否支持旋转;<groupMoldeRoot>-1</groupMoldeRoot>对应的积木件或造型的轴向;<isCameraType>…</isCameraType>是否设置过相机的位置;<cameraDistance>…</cameraDistance>摄像机距离;<moveDistance>…</moveDistance>移动距离;<CposPos>…</CposPos>摄像机方向、<InToDirection>…</InToDirection>飞入方向。In this embodiment, the above-mentioned setting information for making a three-dimensional animation will be saved in the build document, and related elements will be saved between the <StepModel>...</StepModel> elements created during grouping. The following is an intercepted xml format construction document. The meanings of the following elements are, <isCameraRotationCtrl>…</isCameraRotationCtrl> whether the camera in this step supports rotation; <groupMoldeRoot>-1</groupMoldeRoot> corresponding to the building block or shape Axial; <isCameraType>…</isCameraType> is the camera position set; <cameraDistance>…</cameraDistance> camera distance; <moveDistance>…</moveDistance> moving distance; <CposPos>…</CposPos> camera direction , <InToDirection>…</InToDirection> fly-in direction.

<isCameraRotationCtrl>True</isCameraRotationCtrl><isCameraRotationCtrl>True</isCameraRotationCtrl>

<groupMoldeRoot>-1</groupMoldeRoot><groupMoldeRoot>-1</groupMoldeRoot>

<isCameraType>1</isCameraType><isCameraType>1</isCameraType>

<cameraDistance>6.000000</cameraDistance><cameraDistance>6.000000</cameraDistance>

<moveDistance>2.000000</moveDistance><moveDistance>2.000000</moveDistance>

<CposPos>DEFAULT</CposPos><CposPos>DEFAULT</CposPos>

<InToDirection>Situ</InToDirection><InToDirection>Situ</InToDirection>

在本实施例中,支持设置动态三维电子图纸的背景颜色,点击图形用户编辑界面工具栏400上的修改背景颜色407的图标,会弹出一系列颜色块,选中,点击确认,可更换背景颜色。另外,支持每个三维拼搭动画页面添加标注提示。采用编辑区410的文字编辑工具名称411,在其后的空白框中写入欲添加的名称,在标注412后面的空白框中写入欲添加的标注。删除图标413表示删除此条名称和标注。添加图标414表示新建多条名称和/或标注。添加的名称和/或标注会被保存在搭建文档中。示例:采用<tipsString>…</tipsString>保存添加的标注信息。In this embodiment, setting the background color of dynamic 3D electronic drawings is supported. Click the icon of modify background color 407 on the toolbar 400 of the GUI editing interface, and a series of color blocks will pop up. Select and click OK to change the background color. In addition, support for adding annotation prompts to each 3D building animation page. Using the text editing tool name 411 in the editing area 410 , write the name to be added in the blank box behind it, and write the annotation to be added in the blank box behind the annotation 412 . The delete icon 413 means to delete the name and label of this item. The add icon 414 represents the creation of multiple names and/or labels. The added names and/or annotations are saved in the build document. Example: Use <tipsString>…</tipsString> to save the added annotation information.

在本实施例中,在图形用户编辑界面搭建区410的下端具有一系列图标。用于辅助步骤编辑。例如,向前翻页图标431,点击该图标,编辑区会显示上一个搭建步骤。播放图标432,点击该图标播放此步骤对应的三维拼搭动画。向后翻页图标433,点击该图标跳转到下一个拼搭步骤。跳转434图标,在该图标后面的空白框中输入欲跳到的页数,点击确定,则跳转到相应页数。每一页为一个三维动画编辑步骤。标注436,在后图标后面的空白框中输入欲提醒的文字,该文字会在搭建页面的右下角显示。In this embodiment, there are a series of icons at the lower end of the GUI construction area 410 of the GUI. Used to assist step editing. For example, turn the page forward icon 431, click this icon, and the editing area will display the previous building step. Play icon 432, click the icon to play the three-dimensional building animation corresponding to this step. Page backward icon 433, click this icon to jump to the next building step. Jump to the 434 icon, enter the number of pages you want to jump to in the blank box behind the icon, and click OK to jump to the corresponding page number. Each page is a 3D animation editing step. Mark 436, enter the text to be reminded in the blank box behind the back icon, and the text will be displayed in the lower right corner of the construction page.

在本实施例中,先为一号手指制作三维拼搭动画,将积木件072502、010110拼搭在一起后形成造型,点击向后翻页图标433或点击右侧列表中分组名称二号手指,跳转到二号手指搭建。在编辑区410会显示上一步一号手指搭建完的造型和新添加的积木件010110。即下一步骤显示的造型有可能是上一个步骤拼搭好的造型。In this embodiment, first create a three-dimensional building animation for the first finger, and then build the building blocks 072502 and 010110 together to form a shape, click the page-turning icon 433 or click the second finger of the group name in the list on the right, Jump to the second finger build. In the editing area 410, the shape constructed by the first finger in the previous step and the newly added building block 010110 will be displayed. That is, the shape displayed in the next step may be the shape assembled in the previous step.

在本实施例中,某一个搭建步骤是两个造型间拼搭,例如,左手臂分组为将拼搭好的左手与左臂进行拼搭。In this embodiment, a certain building step is to build between two shapes. For example, the left arm is grouped to build the built left hand and left arm.

在本实施例中,在图形用户编辑界面编辑步骤的时候发现搭建的造型有问题,可迅速返回图形用户搭建界面,并定位到选中的积木件。具体的:在图形用户步骤编辑界面的右侧分组列表421或在编辑区410选中积木件,然后,点击工具栏上的选中返回搭建409图标,则电子设备的界面切换回图形用户搭建界面,在图形用户搭建界面的搭建区210,通过积木件的序号、位置信息等快速定位到积木件,该积木件被描边高亮显示。帮用户快速定位到该积木件,便于后续修改。例如,替换积木件颜色。积木件差一点距离没有拼搭到位。或积木件穿模,插入的距离太过,如,一个短销实际上最多插入一个单位到孔梁中,孔梁的孔的厚度为一个单位,但渲图时插入四分之五,因插入的短销太长,都穿出孔梁的孔了。In this embodiment, if there is a problem with the built shape during the editing step of the GUI editing interface, the GUI can be quickly returned to the building block and the selected building block can be located. Specifically: in the right-hand grouping list 421 of the graphical user step editing interface or selecting the building block in the editing area 410, then, click the icon on the toolbar to select and return to building 409, the interface of the electronic device is switched back to the graphical user building interface, and in the The building area 210 of the graphical user building interface can quickly locate the building block through the serial number and location information of the building block, and the building block is highlighted by stroke. Help users to quickly locate the building block for subsequent modification. For example, replace the color of the brick pieces. The building blocks are almost too far apart and are not in place. Or the building blocks are punched through the mold, and the insertion distance is too far. For example, a short pin is actually inserted into the hole beam by at most one unit. The short pins are too long, and they all pass through the holes of the hole beam.

在本实施例中,在图形用户编辑界面编辑步骤的时候,发现积木件的分组有问题,则迅速返回图形用户分组界面,定定位到选中的积木件或分组。具体的:在图形用户步骤编辑界面的右侧分组列表421选中积木件或分组,或在编辑区410选中积木件,然后,点击工具栏上的选中返回分组408图标,则电子设备的界面切换回图形用户分组界面,通过积木件的序号或分组的序号快速定位到积木件或分组,图形用户分组界面的分组树310中相关的积木件或分组被标记高光。帮用户快速定位到分组或积木件,便于用户修改分组。In this embodiment, when a problem is found in the grouping of building blocks during the editing step of the GUI editing interface, the GUI is quickly returned to the grouping interface to locate the selected building block or group. Specifically: select a building block or group in the grouping list 421 on the right side of the graphical user step editing interface, or select a building block in the editing area 410, and then click the icon on the toolbar to select and return to the group 408, and the interface of the electronic device switches back to In the graphical user grouping interface, the building blocks or groups can be quickly located by the serial numbers of the building blocks or groups, and the relevant building blocks or groups in the grouping tree 310 of the graphical user grouping interface are marked with highlights. Help users to quickly locate groups or building blocks, so that users can modify the group easily.

在本实施例中,积木造型的零件可能成百上千。为提高灵活性和搭建效率。不要求在图形用户搭建界面搭建完完整的造型,才能分组。同样不要求所有积木件都分组后,才能步骤编辑。支持用户在图形用户搭建界面、图形用户分组界面、图形用户编辑界面自由的跳转切换,让设计师根据自己的习惯,灵活安排搭建进度、分组进度、步骤编辑进度。所以在各界面都具有切换图标。例如,在图形用户编辑界面的右下角具有返回分组422,被点击后,界面切换回图形用户分组界面。另外,右下角还具有返回搭建423,被点击后,界面切换回图形用户搭建界面。In this embodiment, there may be hundreds or thousands of building block-shaped parts. To increase flexibility and build efficiency. It is not required to build a complete shape in the GUI for grouping. It is also not required that all building blocks are grouped before they can be edited in steps. It supports users to jump and switch freely in the GUI, GUI grouping, and GUI editing interface, allowing designers to flexibly arrange the construction progress, grouping progress, and step editing progress according to their own habits. Therefore, there are switching icons in each interface. For example, there is a return group 422 in the lower right corner of the GUI editing interface. After being clicked, the interface switches back to the GUI grouping interface. In addition, the lower right corner also has a return to build 423, after being clicked, the interface switches back to the graphical user building interface.

在本实施例中,每隔预设间间隔自动保存用户在图形用户搭建界面、图形用户分组界面、图形用户编辑界面的操作至搭建文档。防止操作不当或电子设备死机而丢失数据。In this embodiment, the user's operations on the graphical user construction interface, the graphical user grouping interface, and the graphical user editing interface are automatically saved to the construction document at preset intervals. Prevent data loss due to improper operation or crash of electronic equipment.

在本实施例中,因造型的拼搭步骤比较多,为缩短制作搭建图纸的时间,将整个造型拆分成若干个造型,分给不同的人员制作搭建文档,然后,将若干个搭建文档合并为一个搭建文档。提高整体效率。In this embodiment, since there are many steps for assembling the shapes, in order to shorten the time for making the building drawings, the entire shape is divided into several shapes, which are distributed to different personnel to make the building documents, and then the several building documents are combined. for a build document. Improve overall efficiency.

在本实施例中,为便于审核、生产等用途,导出积木件信息。点击积木件信息导出,则从搭建文档及积木库中查询积木件信息,以Excel表格的形式导出当前造型的积木件信息,上述积木件信息包括积木件的编号、中文名称、图片、颜色、个数及总体积木件的数量。In this embodiment, for the convenience of auditing, production and other purposes, the building block piece information is derived. Click the building block information export to query the building block information from the construction document and the building block library, and export the building block information of the current shape in the form of an Excel table. number and total volume of wood pieces.

在电脑、手机等电子设置上安装图纸软件,将搭建文档导入或从特定网址下载搭建文件,该图纸软件会解析搭建文档,在用户的操控下播放每一步三维拼搭动画。Install the drawing software on electronic settings such as computers and mobile phones, import the building documents or download the building files from a specific website, the drawing software will parse the building documents, and play each step of the 3D building animation under the control of the user.

在本实施例中,支持用户导出搭建文档。此时导出的搭建文档为xml格式的动态图纸,该文件保存了该所有积木件信息、步骤及其设置的信息,相比传统的纸质图纸,电子图纸制作过程简捷高效,便于查漏补缺,且极大节省了资源。此外,搭建过程可操作性强,可以通过仿真积木件的搭建还原出真实产品造型,不局限于物料限制,通过软件操作模拟出真实造型结构。积木件分组,以层级结构的形式,按顺序自上而下将造型进行结构细分,使得步骤编辑更为清晰。步骤编辑引用动画,将搭建步骤动态可视化,使得搭建图纸更为直观。与纸质图纸相比,降低修改成本,节省时间与资源。In this embodiment, the user is supported to export the building document. At this time, the exported building document is a dynamic drawing in xml format, which saves the information of all the building blocks, steps and settings. Compared with the traditional paper drawings, the electronic drawing production process is simple and efficient, which is easy to check and fill in the gaps. And greatly save resources. In addition, the construction process is highly maneuverable, and the real product shape can be restored through the construction of simulated building blocks. It is not limited to material restrictions, and the real shape structure can be simulated through software operation. The building blocks are grouped, and in the form of a hierarchical structure, the shapes are subdivided in order from top to bottom, which makes the step editing clearer. Step editing reference animation, dynamic visualization of building steps, making building drawings more intuitive. Compared with paper drawings, the modification cost is reduced, saving time and resources.

在本实施例中,采用XML格式的搭建文档保存积木件信息、步骤及其设置的信息。在本实施例的其他可选的实现方式中,可以采用其他格式存储,例如,JSON格式。In this embodiment, a building document in XML format is used to save the building block information, the steps and the setting information. In other optional implementation manners of this embodiment, other formats may be used for storage, for example, JSON format.

以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover the above-mentioned technical features without departing from the inventive concept. Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above-mentioned features with the technical features disclosed in this application (but not limited to) with similar functions.

Claims (19)

1.一种生成搭建文档的方法,其特征在于,所述方法包括:1. A method for generating a building document, wherein the method comprises: 在图形用户搭建界面,支持用户从左侧积木库中拖拽积木件到搭建区中进行造型拼搭,保存所述造型拼搭中的积木件的序号、编号、三维坐标、旋转信息、大小信息至搭建文档;In the GUI of the GUI, users can drag and drop building blocks from the building block library on the left to the building area for modeling and building, and save the serial number, serial number, 3D coordinates, rotation information, and size information of the building blocks in the modeling building. to build documentation; 在图形用户分组界面,以列表的形式显示所述搭建文档中的积木件的序号及编号,支持用户创建分组,支持分组内继续嵌套分组,支持将所述列表中的积木件添加到各分组内,保存各分组信息至所述搭建文档;On the GUI grouping interface, the serial numbers and numbers of the building blocks in the construction document are displayed in the form of a list, which supports users to create groups, supports continuous nesting of groups within groups, and supports adding building blocks in the list to each group. Inside, save each grouping information to the construction document; 在图形用户编辑界面,支持用户对每个分组对应的拼搭步骤进行三维拼搭动画制作,将制作三维拼搭动画的设置信息保存至所述搭建文档。In the graphical user editing interface, the user is supported to create a three-dimensional building animation for the building steps corresponding to each group, and the setting information for producing the three-dimensional building animation is saved to the building document. 2.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述制作三维动画的设置信息包括但不限于:摄像机视角、摄像机距离、飞入方向、移动距离。2 . The method for generating a building document according to claim 1 , wherein the setting information for making a three-dimensional animation includes but is not limited to: camera angle of view, camera distance, flying direction, and moving distance. 3 . 3.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:3. The method for generating a building document according to claim 1, wherein the method further comprises: 在所述图形用户搭建界面,对被拖拽入所述搭建区的积木件进行移动、旋转、视角切换操作,用于拼搭造型。On the graphical user building interface, the building blocks dragged into the building area are moved, rotated, and viewing angle switching operations are performed for building shapes. 4.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:4. The method for generating a building document according to claim 1, wherein the method further comprises: 在所述图形用户搭建界面,所述被拖拽的用于搭建造型的积木件,按照被拖拽的顺序在右侧积木列表中显示,支持用户选中所述右侧积木列表中任意一个积木件,则显示于所述搭建区的造型中对应的该积木件被描边高亮显示。In the graphical user building interface, the dragged building blocks for building shapes are displayed in the right building block list in the order of being dragged, and the user is supported to select any building block in the right building block list , then the corresponding building block in the shape displayed in the construction area is highlighted by stroke. 5.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:5. A method for generating a building document according to claim 1, wherein the method further comprises: 在所述图形用户搭建界面,被选中的所述搭建区中的造型中的积木件被设置为隐藏,则该被选中的积木件将被隐藏不在显示;In the graphical user building interface, if the selected building block in the building area is set to be hidden, the selected building block will be hidden and not displayed; 对被隐藏的积木件遮挡的积木件进行修改后,设置所述被隐藏的积木件再次显示在造型中。After modifying the building blocks covered by the hidden building blocks, set the hidden building blocks to be displayed in the modeling again. 6.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:6. The method for generating a building document according to claim 1, wherein the method further comprises: 根据积木件的类型、颜色搜索积木件。Search for building blocks by their type and color. 7.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:7. The method for generating a building document according to claim 1, wherein the method further comprises: 更换被选中的积木件的颜色。Change the color of the selected building block. 8.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:8. The method for generating a building document according to claim 1, wherein the method further comprises: 对于呈对称结构的造型,在搭建完一部分造型后,选中该造型进行X Y Z三种轴向任一轴向的对称操作,得到对称的造型。For a shape with a symmetrical structure, after building a part of the shape, select the shape to perform a symmetrical operation on any of the three axes of X, Y, and Z to obtain a symmetrical shape. 9.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:9. The method for generating a building document according to claim 1, wherein the method further comprises: 在所述图形用户分组界面,通过新建、删除、撤销操作创建分组。In the GUI grouping interface, a group is created through the operations of creating, deleting, and canceling. 10.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:10. The method for generating a building document according to claim 1, wherein the method further comprises: 在所述图形用户分组界面,所述列表中的积木件一旦被添加到分组内,则该积木件不在支持重复添加到分组内,且所述列表中该积木件被设置灰色阴影。In the graphical user grouping interface, once a building block in the list is added to a group, the building block does not support repeated addition to the group, and the building block in the list is set with a gray shade. 11.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:11. The method for generating a building document according to claim 1, wherein the method further comprises: 在所述图形用户分组界面,对被选中的分组按照从上往下、从里往外渲染被添加进来的积木件,渲染后的造型在所述图形用户分组界面中间的显示区进行显示。In the graphical user grouping interface, the added building blocks are rendered for the selected group from top to bottom and from the inside to the outside, and the rendered shapes are displayed in the display area in the middle of the graphical user grouping interface. 12.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:12. The method for generating a building document according to claim 1, wherein the method further comprises: 在所述图形用户编辑界面,设置摄像机视角、摄像机距离、飞入方向、移动距离制作三维拼搭动画。In the graphical user editing interface, the camera angle of view, the camera distance, the flying direction, and the moving distance are set to create a three-dimensional building animation. 13.根据权利要求12所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:13. The method for generating a building document according to claim 12, wherein the method further comprises: 复制其他分组的摄像机视角、摄像机距离。Copy the camera angle of view and camera distance of other groups. 14.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:14. The method for generating a building document according to claim 1, wherein the method further comprises: 所述图形用户编辑界面支持向前翻页、向后翻页、跳转至输入的目标页、播放三维搭建动画、添加文字标注。The graphical user editing interface supports forward page turning, backward page turning, jumping to the input target page, playing three-dimensional construction animation, and adding text annotations. 15.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:15. The method for generating a building document according to claim 1, wherein the method further comprises: 在所述图形用户编辑界面,选中积木件,点击选中返回搭建图标,则切换至所述图形用户搭建界面,在所述图形用户搭建界面搭建区内的造型中的该积木件被高亮显示。In the GUI editing interface, select a building block, click the select and return to building icon, then switch to the GUI building interface, and the building block in the modeling area in the GUI building area is highlighted. 16.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:16. The method for generating a building document according to claim 1, wherein the method further comprises: 在所述图形用户编辑界面,选中积木件或分组,点击选中返回分组图标,则切换至所述图形用户分组界面,该积木件或分组被高亮显示。In the graphical user editing interface, select a building block or group, click the icon to select the return group, then switch to the graphical user grouping interface, and the building block or group is highlighted. 17.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:17. The method for generating a building document according to claim 1, wherein the method further comprises: 每隔预设间间隔自动保存用户在所述图形用户搭建界面、图形用户分组界面、图形用户编辑界面的操作至所述搭建文档。The user's operations on the GUI, GUI grouping, and GUI editing interface are automatically saved to the building document at preset intervals. 18.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:18. The method for generating a building document according to claim 1, wherein the method further comprises: 将若干个搭建文档合并为一个搭建文档。Combine several build documents into one build document. 19.根据权利要求1所述的一种生成搭建文档的方法,其特征在于,所述方法还包括:19. The method for generating a building document according to claim 1, wherein the method further comprises: 以Excel表格的形式导出当前造型的积木件信息,所述积木件信息包括积木件的编号、中文名称、图片、颜色、个数及总体积木件的数量。Export the building block information of the current shape in the form of an Excel table, where the building block information includes the number, Chinese name, picture, color, number, and total volume of the building block.
CN202210815375.8A 2022-07-12 2022-07-12 How to generate build documentation Pending CN115186320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210815375.8A CN115186320A (en) 2022-07-12 2022-07-12 How to generate build documentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210815375.8A CN115186320A (en) 2022-07-12 2022-07-12 How to generate build documentation

Publications (1)

Publication Number Publication Date
CN115186320A true CN115186320A (en) 2022-10-14

Family

ID=83518075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210815375.8A Pending CN115186320A (en) 2022-07-12 2022-07-12 How to generate build documentation

Country Status (1)

Country Link
CN (1) CN115186320A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117036537A (en) * 2023-08-18 2023-11-10 深圳千帜科技有限公司 Algorithm for fully automatically generating building block assembly specifications

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778414A (en) * 2021-11-11 2021-12-10 深圳市越疆科技有限公司 Machine vision communication script generation method and device based on graphical programming

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778414A (en) * 2021-11-11 2021-12-10 深圳市越疆科技有限公司 Machine vision communication script generation method and device based on graphical programming

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BRICKLINK: "bricklink Studio Version 2.1.1_1", Retrieved from the Internet <URL:https://www.bricklink.com/v3/studio/download.page> *
酷玩潮CHAO: "乐高设计软件Studio2.0新手教学视频|十分钟教你如何快速上手", Retrieved from the Internet <URL:https://baijiahao.baidu.com/s?id=1689780255501853480&rcptid=412387497998474038> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117036537A (en) * 2023-08-18 2023-11-10 深圳千帜科技有限公司 Algorithm for fully automatically generating building block assembly specifications

Similar Documents

Publication Publication Date Title
Heer et al. Prefuse: a toolkit for interactive information visualization
EP3361368B1 (en) Ontological filtering using spatial boundary of 3d objects
US5894311A (en) Computer-based visual data evaluation
KR100921357B1 (en) Product edition and simulation database system with user interactive graphical tool
US10152198B2 (en) Method and system for editing a product assembly
US20130132875A1 (en) Device having graphical user interfaces and method for developing multimedia computer applications
US20100011309A1 (en) Data visualisation systems
US20070250295A1 (en) Multidimensional modeling system and related method
US20070262984A1 (en) Automatic Generation of Building Instructions for Building Block Models
Helmers Microsoft Visio 2013 Step by Step
Falck et al. Freecad [How-To]
AU2007312951A1 (en) Web application for debate maps
US9569182B2 (en) Integrated development environment and method
Vuillemot et al. Structuring visualization mock-ups at the graphical level by dividing the display space
Finkelstein AutoCAD 2009 and AutoCAD LT 2009 Bible
CN115186320A (en) How to generate build documentation
JP5077011B2 (en) Display control apparatus, display control method, and display control program
Roth Using Microsoft Visio 2010
Murdock Google SketchUp and SketchUp Pro 7 Bible
Read et al. Mastering Autodesk Revit Architecture 2013
CN115859408A (en) Method for manufacturing static drawing
Land Improving CAD Designs with Autodesk Fusion 360: A project-based guide to modelling effective parametric designs
Finkelstein AutoCAD 2012 and AutoCAD LT 2012 Bible
Xiong et al. Dfdvis: A visual analytics system for understanding the semantics of data flow diagram
CN116795347A (en) A graphical programming system and device for automatic map synthesis

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