CN115186320A - How to generate build documentation - Google Patents
How to generate build documentation Download PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/12—Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63H—TOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
- A63H33/00—Other toys
- A63H33/04—Building blocks, strips, or similar building parts
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
- G06T13/20—3D [Three Dimensional] animation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/05—Geographic 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
Description
技术领域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,在图形用户搭建界面,支持用户从左侧积木库中拖拽积木件到搭建区中进行造型拼搭,保存造型拼搭中的积木件的序号、编号、三维坐标、旋转信息、大小信息至搭建文档。
参考图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
在本实施例中,用户将搜索出的需要的积木件拖动到搭建区210进行搭建,所谓搭建,是指将新拖动来的积木件按照该积木件的连接部位拼搭到之前搭建的半成品的模型上或将两个半成品拼搭在一起,例如,将拼搭好的手与手臂拼搭在一起。搭建区210显示当前最新拼搭的造型,该造型可以是拼搭到一半积木造型,也可以是拼搭完成的一个造型。图中是展示的拼搭完成的一个机器人。该机器人上的积木件都是渲染有颜色的,这里为符合说明书附图的要求只显示了线稿图。In this embodiment, the user drags the searched building blocks to the
在本实施例中,被拖拽到搭建区210的积木件的编号在右侧积木列表区220展示。积木列表区220中积木件从上往下的排列顺序是积木件被拖动到搭建区210的顺序。对于积木列表区220的每一行,前面的数字是该积木件被拖进来的序号,后面的一串数字是该积木件的编号,最后的图标,表示定位,点击该图标,具有显示器的电子设备会根据该积木件的序号查找到位于搭建区210中造型中该积木件的坐标,对该积木件进行描边高亮显示,让用户迅速找到该积木件。在本实施例的其他可选的实现方式中,图标后面还支持添加备注。In this embodiment, the numbers of the building blocks dragged to the
在本实施例中,将搭建信息保存至搭建文档。一个复杂的积木造型需要用百上千个积木件,这些积木件需要图纸制作者即用户借助拼搭工具一个一个拼搭在一些。搭建文档会按照顺序记录每个拼搭步骤:新添加的积木件的序号、编号、三维位置信息、旋转信息、根据旋转信息计算的四元数值、大小尺寸信息等。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
<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
在本实施例中,对被拖拽入搭建区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
继续参考图2的图形用户搭建界面,在右侧底部有个分组图标221,电子设备接收用户点击分组按钮221后,将界面跳转到图形用户分组界面。Continuing to refer to the GUI of FIG. 2 , there is a
步骤102,在图形用户分组界面,以列表的形式显示搭建文档中的积木件的序号及编号,支持用户创建分组,支持分组内继续嵌套分组,支持将上述列表中的积木件添加到各分组内,保存各分组信息至上述搭建文档。
继续参考图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
在本实施例中,低一级的分组会相较于高一级的分组进行缩进,而有的分组嵌套比较深,所以在本实施例的其他可选的实现方式中,左侧的分组树不进行缩进。当然,在其他实施例中,支持用户自由切换上述两种方式。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
在本实施例中,每个分组代表一个拼搭步骤。在分组下面添加积木件,表示该搭建步骤需要用到的积木件。具体添加积木件步骤如下:右侧的列表320每次只显示15个积木件的信息。先点击选中积木件,然后将选中的积木件拖拽到相应左侧分组下面。一旦积木件被拖拽到分组下面,则将该积木件在列表320中变成灰色,不在支持拖动。在代码实现层面上,在xml格式搭建文件中,在为每个积木件设置是否已经被分组的一个标签,如果该积木件已经被分组,则为该积木件渲染灰色阴影,该积木件不在支持拖动。作为示例,如图3所示,将右侧的列表320中序号1编号为072502、序号2编号为010110的积木件拖动到一号手指分组下面。将右侧的列表320中序号3编号为010110的积木件拖动到二号手指分组下面。将右侧的列表320中序号4编号为010110的积木件拖动到三号手指分组下面。另外,点击列表320积木件编号后面的图标,该积木件的编号在左侧分组树中高亮显示。便于用户快速定位到该积木件。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
在本实施例中,每个分组下面的积木件的个数是不设限的。例如,需要将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
在本实施例中,如果添加的积木件出现错误,可以点击工具栏上的撤销图标304,撤销刚才的动作。另外,对于显示区330显示的积木件及造型,支持用户通过工具栏上的放大图标305、缩小图标306对其进行放大和缩小。在图形用户分组界面支持用户将一个积木件从一个分组拖拽到另一个分组中,调整积木件的分组。In this embodiment, if there is an error in the added building block, you can click the undo
在本实施例的其他可选的实现方式中,一旦积木件被拖拽到分组下面,则该积木件将不在积木列表中显示。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
步骤103,在图形用户编辑界面,支持用户对每个分组对应的拼搭步骤进行三维拼搭动画制作,将制作三维拼搭动画的设置信息保存至上述搭建文档。
继续参考图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
在本实施例中,右侧的分组列表421按照分组树从上往下、从里往外的顺序排列。每个分组代表一个搭建步骤。该分组列表421是顺序排列的,排列的顺序即搭建步骤的顺序。In this embodiment, the
在本实施例中,点击右侧分组列表421中的分组,则该搭建步骤用到的积木件和/或模型的三维模型会显示在编辑区410。作为示例:用户点击一号手指分组,则该分组内编号072502对应的积木件长销415、编号010110对应的积木件90度5孔梁的三维模型会显示在编辑区410。In this embodiment, click a group in the
在本实施例中,借助工具栏上的一系列工具制作三维动画。工具栏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
在本实施例中,如果积木件和/或模型的拼搭部位被遮挡,可通过工具栏的视角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
在本实施例中,积木产品是有大量的积木件拼插而成。在一个部位要连续的拼搭好几个积木件,所以本次拼搭步骤可以沿用上一个拼搭步骤或其他拼搭步骤的视角,只需点击工具栏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
在本实施例中,上述制作三维动画的设置信息会被保存到搭建文档,将相关的元素保存到分组时建立的<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
在本实施例中,在图形用户编辑界面搭建区410的下端具有一系列图标。用于辅助步骤编辑。例如,向前翻页图标431,点击该图标,编辑区会显示上一个搭建步骤。播放图标432,点击该图标播放此步骤对应的三维拼搭动画。向后翻页图标433,点击该图标跳转到下一个拼搭步骤。跳转434图标,在该图标后面的空白框中输入欲跳到的页数,点击确定,则跳转到相应页数。每一页为一个三维动画编辑步骤。标注436,在后图标后面的空白框中输入欲提醒的文字,该文字会在搭建页面的右下角显示。In this embodiment, there are a series of icons at the lower end of the
在本实施例中,先为一号手指制作三维拼搭动画,将积木件072502、010110拼搭在一起后形成造型,点击向后翻页图标433或点击右侧列表中分组名称二号手指,跳转到二号手指搭建。在编辑区410会显示上一步一号手指搭建完的造型和新添加的积木件010110。即下一步骤显示的造型有可能是上一个步骤拼搭好的造型。In this embodiment, first create a three-dimensional building animation for the first finger, and then build the
在本实施例中,某一个搭建步骤是两个造型间拼搭,例如,左手臂分组为将拼搭好的左手与左臂进行拼搭。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-
在本实施例中,在图形用户编辑界面编辑步骤的时候,发现积木件的分组有问题,则迅速返回图形用户分组界面,定定位到选中的积木件或分组。具体的:在图形用户步骤编辑界面的右侧分组列表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
在本实施例中,积木造型的零件可能成百上千。为提高灵活性和搭建效率。不要求在图形用户搭建界面搭建完完整的造型,才能分组。同样不要求所有积木件都分组后,才能步骤编辑。支持用户在图形用户搭建界面、图形用户分组界面、图形用户编辑界面自由的跳转切换,让设计师根据自己的习惯,灵活安排搭建进度、分组进度、步骤编辑进度。所以在各界面都具有切换图标。例如,在图形用户编辑界面的右下角具有返回分组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
在本实施例中,每隔预设间间隔自动保存用户在图形用户搭建界面、图形用户分组界面、图形用户编辑界面的操作至搭建文档。防止操作不当或电子设备死机而丢失数据。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)
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)
| 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)
| 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 |
-
2022
- 2022-07-12 CN CN202210815375.8A patent/CN115186320A/en active Pending
Patent Citations (1)
| 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)
| 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)
| 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 |