CN115186320A - Method for generating building document - Google Patents

Method for generating building document 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
graphical user
interface
building block
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; CALCULATING OR 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; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

Method for generating building document
Technical Field
The application relates to the field of toys, in particular to a method for generating a building document of a three-dimensional dynamic electronic drawing of a building block toy.
Background
The building block toy is formed by splicing a plurality of building blocks. Some building block toys with complex shapes are formed by splicing hundreds of building blocks or even tens of thousands of building blocks. The drawings are used to show the sequence in which the building blocks are assembled step by step to form the complete figure. For children and people without experience of playing building blocks, the drawing is very important.
Paper drawings are mostly adopted at present. When the paper drawing is manufactured, a large amount of manpower is generally required to render two-dimensional images at the initial stage, and each step of building block construction is displayed through pictures one by one. And in the middle modification and verification link, the paper drawing needs to be repeatedly output, namely, when an error is found or some parts are not reasonably designed, the paper drawing needs to be modified again to be printed again, and finally the usable construction drawing is obtained. The method for manufacturing the paper construction drawing has the advantages of complex process, low efficiency, low fault tolerance rate, high verification and modification cost and long time for outputting the final complete drawing, and is not in accordance with the environmental protection concept.
Disclosure of Invention
The application aims to provide a brand-new method for generating a build document to solve the technical problems mentioned in the background technology section.
The application provides a method for generating a build document, which comprises the following steps: building an interface on a graphic user, supporting the user to drag building blocks from a building block library on the left side to a building area for modeling and splicing, and storing the serial number, three-dimensional coordinate, rotation information and 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 groups, supporting continuous nesting of the groups in the groups, supporting the addition of the building blocks in the list into each group, and storing information of each group into the built document; and in a graphical user editing interface, a user is supported to carry out three-dimensional spelling animation production on the spelling steps corresponding to each group, and the setting information for producing the three-dimensional spelling animation is stored in the construction document.
In some embodiments, the setup information for producing the three-dimensional animation includes, but is not limited to: camera view, camera distance, direction of flight, distance of travel.
In some embodiments, the method further comprises: and building an interface on the graphic user, and carrying out moving, rotating and visual angle switching operation on the building blocks dragged into the building area for splicing and building the shape.
In some embodiments, the method further comprises: in the graphical user building interface, the dragged building blocks for building the modeling are displayed in a right building block list according to the dragged sequence, and a user is supported to select any one of the building blocks in the right building block list, so that the corresponding building block in the modeling displayed in the building area is highlighted by tracing.
In some embodiments, the method further comprises: in the graphical user building interface, building blocks in the selected building region are set to be hidden, and the selected building blocks are hidden and not displayed; and after modifying the building block blocked by the hidden building block, setting the hidden building block to be displayed in the model again.
In some embodiments, the method further comprises: and searching the building blocks according to the types and colors of the building blocks.
In some embodiments, the method further comprises: changing the color of the selected building block.
In some embodiments, the method further comprises: for the model with a symmetrical structure, after a part of the model is built, the model is selected to carry out symmetrical operation in any one of the three axial directions of XYZ, so as to obtain a symmetrical model.
In some embodiments, the method further comprises: and creating a group through operations of creating, deleting and canceling on the graphical user group interface.
In some embodiments, 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 is not in support of repeated additions to the group, and the building block in the list is shaded gray.
In some embodiments, the method further comprises: and in the graphical user grouping interface, rendering the added building blocks of the selected group from top to bottom and from inside to outside, and displaying the rendered shape in a display area in the middle of the graphical user grouping interface.
In some embodiments, the method further comprises: and setting a camera viewing angle, a camera distance, a flying-in direction and a moving distance on the graphical user editing interface to make a three-dimensional splicing animation.
In some embodiments, the method further comprises: camera view, camera distance of other packets are duplicated.
In some embodiments, the method further comprises: the graphical user editing interface supports forward page turning, backward page turning, jumping to an input target page, playing three-dimensional construction animation and adding character labels.
In some embodiments, the method further comprises: and selecting the building block in the graphical user editing interface, clicking the selected building icon, switching to the graphical user building interface, and highlighting the building block in the model in the graphical user building interface building area.
In some embodiments, the method further comprises: and selecting a building block or a group in the graphical user editing interface, clicking the selected return group icon, switching to the graphical user group interface, and highlighting the building block or the group.
In some embodiments, the method further comprises: and automatically storing the operations of the user on the graphical user building interface, the graphical user grouping interface and the graphical user editing interface to the building document at preset intervals.
In some embodiments, the method further comprises: and combining a plurality of build documents into one build document.
In some embodiments, the method further comprises: and exporting the building block information of the current model in the form of an Excel table, wherein the building block information comprises the number, chinese name, picture, color and number of the building blocks and the number of the total building blocks.
The invention designs a graphical user interface which is used for building the building block model through 3D building software and is convenient for a user to intuitively and directly operate. Firstly, screening building blocks on a graphical user building interface to carry out one-step modeling splicing, and storing the serial number, three-dimensional coordinate, rotation information and size information of the building blocks in the spliced modeling to a building document; then, nested groups are created on a graphical user group interface, building blocks are added to the groups, the building steps are cut, group information is stored in a building document, finally, three-dimensional block animation production is carried out on the block steps corresponding to each group on the graphical user editing interface, and setting information for producing the three-dimensional block animation is stored in the building document. Because the building document stores the information of the building blocks and a series of setting information, the user can conveniently check omission and modify the information, and the efficiency is high. The dynamic three-dimensional construction drawing can be rendered through the construction document, and the construction steps are dynamically visualized, so that the construction process is more visual, and a user can quickly read the construction process.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a flow diagram of one embodiment of generating a build document according to the present application;
FIG. 2 is a simplified schematic diagram of a graphical user setup interface in one embodiment of the present application;
FIG. 3 is a simplified schematic diagram of a graphical user grouping interface in one embodiment of the subject application;
FIG. 4 is a simplified diagram of a graphical user editing interface in an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to conveniently build the dynamic three-dimensional drawing, the invention develops the building software with the graphical user interface, and the software is mainly installed on the electronic equipment with the display. Such as a desktop computer, a laptop computer, a tablet, etc. The software is provided with a plurality of interfaces for users to build three-dimensional electronic drawings. The method of generating a build document of the present invention is performed by the electronic device having a display as described above.
Referring to FIG. 1, a flow diagram of one embodiment of generating a build document according to the present application is shown. The method for generating the building document comprises the following steps:
step 101, in a graphical user building interface, a user is supported to drag building blocks from a building block library on the left side to a building area for modeling and splicing, and the sequence number, the serial number, the three-dimensional coordinate, the rotation information and the size information of the building blocks in the modeling and splicing are stored to a building document.
Reference is made to fig. 2, which is a simplified schematic diagram of a graphical user setup interface in an embodiment of the present application. As shown in FIG. 2, the graphical user setup interface is largely divided into 4 regions, a toolbar 230 on the top, a search region on the left, a build region 210 in the middle, and a building block list region 220 on the right. All information such as building block pictures, three-dimensional models and the like can be stored in a database or a file, a search area is divided into 3 parts for a user to search for building blocks conveniently, the uppermost building block type area 201, the middle color area 202 and the lowermost search result display area 203 are provided, 6 building block types are illustrated in the building block type area, and at least more than ten building block types are displayed on a real page. As shown in FIG. 2, for each building block category, a representative building block is displayed, with the name of the category written below the building block. The 6 building block categories shown in this figure are: pins, hole beams, racks, gears, panels and sensors. In the color zone 202, a plurality of color patches are listed, and even the same building block may have a plurality of colors in order to match the color scheme of different building block products. The drawings are not necessarily to scale, and are therefore indicated by squares. In the figure, 16 color blocks are listed, namely from the number 1 to the number 16, and the 16 color blocks are sequentially: white, gray, black, light yellow, magenta, pink, red, magenta, blue, cyan, green, cyan, orange, violet, khaki. The lowermost is a search result presentation area 203. When a user needs to search for a certain building block, a large class is selected in the building block type area 201, a color is selected in the color area 202, and the building block meeting the 2 conditions is displayed in the search result display area 203. As an example: the user touches and clicks gears with a mouse or a finger, then selects color block white, namely color block 1, and then 3 white gears meeting the above conditions are displayed in the search result display area 203, and since the drawings of the specification cannot use colors, the 3 gears are all displayed by line draft. On the code level, a search statement with conditions is used, building blocks meeting the conditions are searched from a database or text, and a graph of the searched building blocks is displayed in a display area 203 for a user to select.
In this embodiment, the user drags the searched building block to the building area 210 for building, i.e. the building process refers to splicing the newly dragged building block to the model of the semi-finished product built before or splicing two semi-finished products together according to the connecting position of the building block, for example, splicing the spliced hand and arm together. The construction area 210 displays the current latest construction of the building block, which may be half of the construction of the building block or a construction of the building block. The figure shows a robot with a completed puzzle. The building blocks on the robot are rendered in color, and only line drawings are displayed to meet the requirements of the drawings in the specification.
In this embodiment, the number of building blocks dragged to the build area 210 is shown in the right side building block list area 220. Building blocks in the building block list area 220 from aboveThe downward order is the order in which the building blocks are dragged to the build area 210. For each row of the block list area 220, the first digit is the serial number in which the block was dragged, the next series of digits is the block number, and the last digit is the block number
Figure BDA0003742088920000061
Icon, representing positioning, clicking on
Figure BDA0003742088920000063
The icon, the electronic device with the display can 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 the building block is highlighted and displayed, so that a user can find the building block quickly. In other alternative implementations of the present embodiment,
Figure BDA0003742088920000062
adding remarks is also supported behind the icon.
In this embodiment, the build information is saved to the build document. A complex building block configuration requires hundreds or thousands of building blocks which require the manufacturer of the drawing, i.e. the user, to put together one by one with the aid of a splicing tool. The building of the document records each spelling step in sequence: the number, the serial number, the three-dimensional position information, the rotation information, the quaternion value calculated according to the rotation information, the size and the dimension information and the like of the newly added building block.
In this embodiment, the construction document is in an XML format, and each step of the spelling is recorded by using an XML statement, referring to the construction file intercepted below. Recording a building primary step between < StepModel > … </StepModel >. < ThisIndex >1</ThisIndex > indicates that the sequence of the building blocks is 1, namely the 1 st building block used for the jigsaw puzzle shape. The number of the building block is 072502, the number of < Pos > (-0.002523,0.101523,0.000000,) </Pos > is the three-dimensional position information of the building block in an XYZ three-dimensional coordinate system, and the number of < Rot > (0.000000,0.000000,1.000000,0.000000,) </Rot > is the quaternion value of the building block. The building blocks can rotate by a certain angle when being spliced, and the quaternion value is calculated according to the rotation information. < EulerRot > (0.000000,0.000000,180.000000 >) </EulerRot > represents rotation information in an XYZ three-dimensional coordinate system. < Size > (1.000000,1.000000,1.000000,) </Size > represents the Size information of the building block. The XML build document below also records building block information with sequence number 2. As shown in the XML file, each build step is recorded with a < StepModel > element.
<AllModel>
<StepModel>
<ThisIndex>1</ThisIndex>
<ModelName>072502</ModelName>
<Pos>(-0.002523,0.101523,0.000000,)</Pos>
<Rot>(0.000000,0.000000,1.000000,0.000000,)</Rot>
<EulerRot>(0.000000,0.000000,180.000000,)</EulerRot>
<Size>(1.000000,1.000000,1.000000,)</Size>
</StepModel>
<StepModel>
<ThisIndex>2</ThisIndex>
<ModelName>010110</ModelName>
<Pos>(-0.196638,0.000050,-0.001473,)</Pos>
<Rot>(0.000000,-0.707107,0.000000,0.707107,)</Rot>
<EulerRot>(0.000000,270.000000,0.000000,)</EulerRot>
<Size>(1.000060,1.000000,1.000060,)</Size>
</StepModel>
<AllModel>
In this embodiment, after a part of the model is pieced together, the model is saved and closed. When the graphic user building interface is opened again on the electronic equipment with the display next time, the electronic equipment can analyze the XML building file, analyze the sequence number and the serial number of the building blocks in the XML building file, and display the sequence number and the serial number of the building blocks in the form of a building block list on the right side of the graphic user building interface. The right side building block list displays the information of 9 building blocks at a time, and the building block list can be slid downwards to display the following building blocks. In addition, when the graphical user building interface is opened again, the electronic equipment can sequentially analyze the elements < StepModel > … </StepModel > in the XML building file and render the newly built model. Specifically, the method comprises the following steps: in the building area 210, the electronic device queries a building block library according to the number of the building blocks according to the subelements of < StepModel > … </StepModel >, reads a three-dimensional model of the building block library, renders all building blocks according to the three-dimensional position information, the quaternion value, the rotation information, the size information and the like recorded by the subelements of < StepModel > … </StepModel >, and builds a latest progress model.
In the present embodiment, the building blocks dragged into the building region 210 are moved, rotated, and the view angle is switched for splicing the model. When building block pieces are built in the building area 210, a tool bar 230 of an interface is built by means of a graphical user, and the following function icons exist in the tool bar 230: new 231, save 232, undo 233, display 234, hide 235, color replacement 236, mirror 237, six views switch 238. In other optional implementations of this embodiment, at least one of the following icons is further included: selection, total selection, searching models, etc. The functions of the function icons are described below. The new construction 231 is used for newly constructing a project, each model corresponds to one model, and the project comprises construction drawing manufacturing. Revocation 233: and in response to detecting that the cancel icon is clicked, executing a cancel instruction, deleting the previous action and deleting the information written into the building document corresponding to the previous action. Selecting the middle icon completely: and responding to the detected click of the fully-selected icon, executing a fully-selected instruction, enabling all building blocks in the current model in the building area 210 to be in a selected state, and switching the view angle and moving the model after the model is selected. Searching for a model icon: and correspondingly detecting that the search model icon is clicked, reading the screening condition input by the user, traversing the set-up file according to the screening condition, screening the target building block which meets the condition, and highlighting the target building block by tracing to enable the user to identify and position more easily. Support during the screening and distinguished according to with the part, with the colour part, with the same class with the colour part, convenience of customers is according to specific demand batch operation. Hide icon 235: selecting at least one target building block through a search model or a positioning function or clicking by a mouse, highlighting the target building block in the model in the building area, and clicking a hidden icon to hide the target building block and not display the target building block; the user can modify the building block hidden by the hidden building block, and after modification, the user clicks the display icon 234, and the hidden building block is displayed in the model again. Color replacement icon 236: at least one target building block is selected through searching a model or selecting a positioning function or clicking and selecting by a mouse, the color of the target building block is selected for replacement, and the color of the target building block in the corresponding model is changed. The color of the product can be adjusted conveniently, or several models with the same model and different color matching can be designed. Mirror icon 237: the shapes of a plurality of products are symmetrical, or are symmetrical up and down, or symmetrical left and right, or symmetrical front and back. The symmetrical model can be obtained only by carrying out symmetry on the built related model, namely the original model is selected to be any one of the axial mirror images in the three axial directions of XYZ, and certainly, the mirror image can be carried out on one model for multiple times, such as the upper mirror image, the lower mirror image and the left mirror image. In the example, the robot is bilaterally symmetrical, when right-hand arms and right-hand arms are built, only mirror image operation is needed, and left and right mirror images are selected, namely left and right mirror images are carried out on the right-hand arms and the right-hand arms to obtain left and right arms. The mirror image operation can greatly save the splicing time and improve the splicing efficiency. Six view switching icons 238: in order to guarantee correct splicing, visual angles of the building blocks are adjusted rapidly, an interface is built by a graphical user, visual angles of the building blocks which are dragged to a building area from the left side are switched first, the six visual angles are up, down, front, back, left and right, one visual angle is selected for the six visual angles to be switched, an electronic device with a display receives a visual angle switching instruction, and the building blocks which are located in the building area are correspondingly rotated. Similarly, in order to find a good visual angle for construction, a user selects the shape of the construction area by fully selecting the icon, and then any visual angle in the six visual angles is switched. If the visual angles of the building blocks and the models after the visual angles are switched are still not satisfactory, the building blocks and/or the sub-models can be continuously rotated to adjust the visual angles. The best building visual angle is convenient to find. Save icon 232: and responding to the detected click of the storage icon, executing a storage instruction, and storing the spelling information of the current shape of the spelling to the construction file.
With continued reference to the graphical user interface of fig. 2, with a grouping icon 221 at the bottom of the right side, the electronic device jumps to the graphical user interface upon receiving a user click on the grouping icon 221.
102, displaying the sequence numbers and the serial numbers of the building blocks in the construction document in a list form on a graphical user grouping interface, supporting a user to create groups, supporting continuous nesting of the groups in the groups, supporting the addition of the building blocks in the list into each group, and storing information of each group into the construction document.
With continued reference to FIG. 3, a simplified diagram of a graphical user grouping interface is shown in one embodiment of the present application. As shown in FIG. 3, above the graphical user interface is a toolbar 300, the toolbar 300 containing the following icons: create 301, delete 302, save 303, undo 304, zoom in 305, zoom out 306. To the left of the graphical user grouping interface is a grouping tree 310. By clicking the create 301 icon on the toolbar, the interface displays a folder icon representing the newly created group, the name of the group is written into the right side of the icon, the folder graph is clicked or double clicked, the group is opened, the group is supported to be continuously nested below the group to create the group, and the unlimited number of group nesting is supported. The groups are shown in a tree structure, and the groups are a node. Wherein a tree is a kind of branching structure. As in fig. 3, a level 4 packet is created here. The outermost layer and the topmost layer are robot groups serving as root nodes. The 1 left arm, 2 right arm, 3 torso, 4 tracks are child nodes of the robot, and the creation of sub-groups can continue below these groups. For example, 1 left arm down nests 1.1 left arm, 1.2 left arm groupings; 1.1 the third finger, the second finger and the first finger are nested below the left hand group. Deleting the icon 302, selecting a certain group, clicking the deleting icon 302 to prompt whether the group is deleted, and clicking confirmation to delete the information related to the group. 303 is a save icon, and if the save icon 303 is clicked, the grouping information is saved in the build document. 304 is a cancel icon, and clicking on the cancel icon 304 undoes the last new operation, dragging a building block, or deleting a group. Only the last operation can be undone at a time.
In this embodiment, the lower level packet is indented compared to the higher level packet, and some packet nests are deeper, so in other alternative implementations of this embodiment, the left side packet tree is not indented. Of course, in other embodiments, the user is enabled to freely switch the two modes.
To the right of the graphical user grouping interface is a list 320 in this embodiment. The list is a list of building blocks read from the construction document that are stored in order as the graphical user constructs the interface collage. The list 320 stores building block information using a first-in-first-out data structure including, but not limited to: stack, queue, list. When the user slides down the refresh list, following the first-in-first-out principle, the n building blocks above the list are not displayed and the n building blocks below the building block list are loaded.
In this embodiment, each grouping represents a spelling step. Building blocks are added below the groupings to indicate the building blocks needed for the construction step. The concrete steps of adding the building blocks are as follows: the list 320 on the right displays only 15 pieces of information at a time. Clicking on a selected building block first, and then dragging the selected building block under the corresponding left grouping. Once a building block is dragged under a grouping, the building block is grayed out in the list 320 without supporting dragging. In the code implementation level, in the xml format building file, a label of whether the building blocks are grouped or not is set for each building block, if the building blocks are grouped, a gray shadow is rendered for the building blocks, and the building blocks do not support dragging. As an example, as shown in FIG. 3, the list 320 on the right has the serial number 1 072502 and the serial number 2 numberedThe building block with number 010110 is dragged under the group of fingers. The building block numbered 010110, number 3, in the list 320 on the right is dragged under the group of two fingers. The building block numbered 010110 with sequence number 4 in the list 320 on the right is dragged under the finger group three. In addition, clicking on the list 320 behind the building block number
Figure BDA0003742088920000101
An icon, the number of which is highlighted in the grouping tree on the left. The user is facilitated to quickly locate the building block.
In this embodiment, the number of building blocks below each grouping is not limited. For example, 3 short pins would need to be inserted into a 7-hole beam, and this building step would require 4 building blocks.
In this embodiment, the grouping information is recorded in XML, and the grouping information includes but is not limited to: whether the group is the outermost layer or not, the position of the parent class, the grouping name and the grouping position. And simultaneously recording the building block information below the grouping, and building a document field by referring to the XML below. All groupings are between < AllGroupModel > … </AllGroupModel > elements. Grouping and building block are not distinguished, and information related to the grouping and building block is recorded by using a StepModel … StepModel element.
<AllGroupModel>
<StepModel>
<isGroup>True</isGroup>
<isToOuterList>False</isToOuterList>
<allFather>0</allFather>
<inToFatherIndex>4</inToFatherIndex>
< thisName > finger </thisName >
<thisModelPos>(0.000000,0.000000,0.000000,)</thisModelPos>
</StepModel>
<StepModel>
<isGroup>False</isGroup>
<isToOuterList>False</isToOuterList>
<allFather>_0</allFather>
<inToModelIndex>1</inToModelIndex>
<inToFatherIndex>4</inToFatherIndex>
<thisName>072502</thisName>
<thisModelPos>(-0.002523,0.101523,0.000000,)</thisModelPos>
<groupMoldeRoot>-1</groupMoldeRoot>
</StepModel>
</AllGroupModel>
The following explains the first < stemmodel > </stemmodel > subelements. The expression of < isGroup > True </isGroup > indicates a group, < isToOutList > False </isToOutList > is not the outermost root node, < allFather >0</allFather > outermost root node, < inToFatherIndex >4</inToFatherIndex > the grouping node at the upper layer of the group is 3, < thisName > finger </thisName >, the group name is called "finger one"; < thissmodelpos > (0.000000,0.000000,0.000000 >) </thissmodelpos > packet.
The sub-elements of the second < StepModel > </StepModel > are explained below. < isGroup > False </isGroup > indicates not a group; < ispToOutList > False </ispToOutList > is not the outermost root node; < allFather > _0</allFather >0 of the outermost root node; < inToModelIndex 1 the serial number of the building block is 1; < inToFatherIndex 4 > the upper-layer packet node is 4; the number of the building block is 072502< thisName >072502</thisName >; < thisModelPos > (-0.002523,0.101523,0.000000) </thisModelPos > the position of the building block.
In this embodiment, the rendering, analyzing and building steps of the nested packet are from top to bottom and from inside to outside. Because each group represents a splicing step, when adding building blocks to the group, the splicing step is considered, and the building blocks in the right-side list are built according to the sequence from top to bottom, so that the building blocks are preferably added to the group from top to bottom and from inside to outside. The grouping information is stored from top to bottom and from inside to outside.
In this embodiment, the middle of the graphical user grouping interface is a display area 330 of building blocks or shapes. Clicking on a building block in the selected right-hand list 320 causes a three-dimensional model of the building block to be rendered for display in the display area 330. When a user selects a grouping, the nested groupings and building blocks beneath the grouping are rendered into a shape for display in the display area 330. For example, when the user clicks a group of one number of fingers, the user builds a document to inquire three-dimensional position information, rotation information, size information and the like according to the serial numbers of the building blocks 072502 and 010110 below the one number of fingers, and the models formed by building the 2 building blocks together are 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-model 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 pose of the complete robot.
In this embodiment, if the added building block is in error, the undo icon 304 on the toolbar may be clicked to undo the action just made. In addition, the building blocks and the shapes displayed in the display area 330 support the user to zoom in and out through the zoom-in icon 305 and the zoom-out icon 306 on the toolbar. The grouping of the building blocks is adjusted in a graphical user grouping interface that enables a user to drag one building block from one grouping to another.
In other alternative implementations of the present embodiment, once a block is dragged under a grouping, the block will not be displayed in the building block list.
There is a return build 322 in the lower right hand corner of the graphical user grouping interface, and after being clicked, the interface switches back to the graphical user build interface. In addition, the lower right corner also has step editing 323, and after being clicked, the interface is switched to a graphical user editing interface.
And 103, supporting the user to carry out three-dimensional splicing animation production on the splicing steps corresponding to each group on a graphical user editing interface, and storing the setting information for producing the three-dimensional splicing animation into the construction document.
With continued reference to FIG. 4, this figure is a graphical user step editing interface. And in the interface, each building step is made into a three-dimensional splicing animation. The interface mainly has an upper toolbar 400, a grouping list 421 on the right side, and an edit area 410 in the center.
In the present embodiment, the right packet list 421 is arranged in the order of the packet tree from top to bottom and from inside to outside. Each packet represents a set-up step. The grouping list 421 is arranged in order, i.e. the order of the building steps.
In this embodiment, clicking on the grouping in the right grouping list 421, the three-dimensional model of the building blocks and/or models used in the building step is displayed in the editing area 410. As an example: when the user clicks on a group of fingers, the three-dimensional model of the building block 90-degree 5-hole beam corresponding to the number 072502 and the number 010110 in the group is displayed in the editing area 410.
In this embodiment, a three-dimensional animation is produced by means of a series of tools on a toolbar. The toolbar 400 is provided with a fly-in direction 401: up, down, left, right, front, back. The fly-in direction means that when a three-dimensional animation is being made, a building block or model is set to move closer to another building block or model in one direction selected from the lower surface, the left side, the right side, the front side and the rear side. The building blocks and/or shapes to be assembled are all in a default position. I.e. a default coordinate. The model is a model built on a graphical user building interface, and is re-rendered according to information recorded in a building document and visually displayed. The moving distance and the visual angle distance of the building block or modeling flight are set through the moving distance 404 and the visual angle distance 405 on the toolbar 400, the three-dimensional jigsaw animation is made, namely the starting position and the end position are known, then the entering direction is set to the left, the information such as the moving distance and the visual angle distance is set, and the three-dimensional animation is generated. As an example: the long pin building block 415 of the selected editing area sets the flying-in direction to the left, sets the moving distance: 2.00, viewing angle distance: 6.00.
in this embodiment, if the part of the building block and/or model that is being assembled is occluded, the perspective of the building block and/or model can be adjusted via the perspective 402 of the toolbar. Wherein, the perspective 402 includes: 1. two, three, four, five, six, self and default. Wherein, one represents a positive front view, two represents a positive rear view, three represents a left view, four represents a right view, five represents a supination view, and six represents a pronation view. The user self-expresses that the user self-adjusts the visual angle, the user selects and then drags the building block and/or the model, and the visual angle is self-adjusted. Default viewing angle is indicated by default. And adjusting the visual angle of the building block and/or the model, namely changing the position of the camera, and recording the change of the visual angle in the building step through fields such as whether the camera is set, the direction of the camera, the distance of the camera and the like.
In this embodiment, the building block product is formed by splicing a plurality of building blocks. Several building blocks need to be continuously assembled at one position, so that the visual angle of the last assembling step or other assembling steps can be used in the assembling step, and only the visual angle on the toolbar 400 needs to be clicked for multiplexing 403.
In this embodiment, the setting information for creating the three-dimensional animation is saved in a build document, and related elements are saved between < StepModel > … </StepModel > elements created in grouping. The following is an intercepted construction document in an xml format, and the following elements mean that whether the camera in the step supports rotation or not, wherein the camera in the step is < ISCAMERAROTATIONCtrl > … </ISCAMERAROTATIONCtrl >; the axial direction of a building block piece or a model corresponding to < groupmoldroot > -1 </groupmoldroot >; whether the position of the camera has been set by < iscameratetype > … </iscamerateype >; < camera distance > … </camera distance > camera distance; < moveDistance > … </moveDistance > movement distance; < Cpospos > … </Cpospos > camera direction, < InToDirection > … </InToDirection > flying in direction.
<isCameraRotationCtrl>True</isCameraRotationCtrl>
<groupMoldeRoot>-1</groupMoldeRoot>
<isCameraType>1</isCameraType>
<cameraDistance>6.000000</cameraDistance>
<moveDistance>2.000000</moveDistance>
<CposPos>DEFAULT</CposPos>
<InToDirection>Situ</InToDirection>
In this embodiment, setting of the background color of the dynamic three-dimensional electronic drawing is supported, and clicking an icon on the graphical user editing interface toolbar 400 for modifying the background color 407 pops up a series of color blocks, and the background color can be changed by selecting and clicking confirmation. In addition, each three-dimensional jigsaw animation page is supported to add a labeling prompt. The character editing tool name 411 of the editing area 410 is used to write the name to be added in the blank frame behind the character editing tool name, and the label to be added is written in the blank frame behind the label 412. Delete icon 413 indicates that the item name and label are deleted. The add icon 414 represents the new multiple names and/or labels. The added name and/or label will be saved in the build document. Example (c): and adopting < tipsString > … </tipsString > to save the added annotation information.
In this embodiment, there is a series of icons at the lower end of the graphical user editing interface build area 410. For assisting step editing. For example, page icon 431 is flipped forward and clicking on this icon will display the last step of construction. And playing the icon 432, clicking the icon to play the three-dimensional jigsaw puzzle animation corresponding to the step. Page icon 433 backward, click the icon to jump to the next spelling step. And skipping 434, inputting the number of pages to be skipped in a blank frame behind the icon, and skipping to the corresponding number of pages if clicking is determined. Each page is a three-dimensional animation editing step. And 436, inputting a character to be reminded in a blank box behind the back icon, wherein the character is displayed at the lower right corner of the built page.
In this embodiment, a three-dimensional jigsaw animation is firstly made for the first finger, the building blocks 072502 and 010110 are assembled together to form a model, the page turning-back icon 433 is clicked or the finger with the group name of two in the right-side list is clicked, and the building is carried out by jumping to the second finger. The model built by the previous finger one step and the newly added building block 010110 are displayed in the editing area 410. That is, the model displayed in the next step may be the one assembled in the previous step.
In this embodiment, one of the construction steps is a spelling between two figures, for example, the left arm is grouped into a spelling with the left arm.
In the embodiment, the problem of the built model is found in the interface editing step of the graphical user, the graphical user can quickly return to the interface built by the graphical user, and the selected building block piece can be positioned. Specifically, the method comprises the following steps: and selecting the building blocks in the right grouping list 421 of the editing interface of the step of the graphical user or in the editing area 410, clicking the icon of the selected return building 409 on the toolbar, switching the interface of the electronic equipment back to the graphical user building interface, quickly positioning the building blocks in the building area 210 of the graphical user building interface through the serial numbers, the position information and the like of the building blocks, and highlighting the building blocks. The user can be quickly positioned to the building block, and subsequent modification is facilitated. For example, a building block color is replaced. The building blocks are slightly different from each other and are not spliced in place. Or the building block piece penetrates through the mold, and the inserting distance is too long, for example, a short pin is actually inserted into the hole beam by one unit at most, the thickness of the hole beam is one unit, but five quarters of the hole is inserted when rendering the picture, and the inserted short pin is too long and penetrates through the hole of the hole beam.
In this embodiment, when a problem is found in the grouping of building blocks during the editing step of the graphical user editing interface, the graphical user grouping interface is quickly returned to locate the selected building block or group. Specifically, the method comprises the following steps: selecting a building block or group in the right grouping list 421 of the graphical user step editing interface, or selecting a building block in the editing area 410, then clicking the selected return grouping 408 icon on the toolbar, the interface of the electronic device switches back to the graphical user grouping interface, quickly positions the building block or group to the building block or group by the serial number of the building block or the serial number of the group, and the relevant building block or group in the grouping tree 310 of the graphical user grouping interface is marked highlight. The user can be helped to quickly locate the group or the building block, and the user can conveniently modify the group.
In this embodiment, the building block may be formed of hundreds or thousands of parts. In order to improve the flexibility and the building efficiency. Grouping can be realized without setting up a complete model on a graphical user setting up interface. Likewise, it is not required that all building blocks be grouped before step editing can occur. The method supports the free skip switching of a user in a graphical user building interface, a graphical user grouping interface and a graphical user editing interface, and enables a designer to flexibly arrange the building progress, the grouping progress and the step editing progress according to own habits. There is a switch icon at each interface. For example, in the lower right hand corner of the graphical user editing interface, with a return packet 422, the interface switches back to the graphical user packet interface after being clicked. In addition, the lower right corner also has a return build 423, which switches the interface back to the graphical user build interface after being clicked.
In this embodiment, the operations of the user on the graphical user building interface, the graphical user grouping interface and the graphical user editing interface are automatically saved to the building document at preset intervals. Data loss due to misoperation or electronic equipment dead halt is prevented.
In this embodiment, because the modeling is spliced in a plurality of steps, in order to shorten the time for manufacturing the construction drawing, the whole modeling is split into a plurality of models, different persons are assigned to manufacture construction documents, and then the plurality of construction documents are combined into one construction document. The overall efficiency is improved.
In this embodiment, building block information is derived for the purpose of auditing, production, and the like. Clicking the building block information to derive, inquiring the building block information from the building document and the building block library, and deriving the building block information of the current shape in the form of an Excel table, wherein the building block information comprises the number, chinese name, picture, color and number of the building blocks and the number of the building blocks.
The method comprises the steps of installing drawing software on electronic devices such as a computer and a mobile phone, leading a construction document into the electronic devices or downloading the construction document from a specific website, analyzing the construction document by the drawing software, and playing three-dimensional splicing animation of each step under the control of a user.
In this embodiment, the user is supported to export a build document. The exported construction document is a dynamic drawing in an xml format, the information, the steps and the set information of all the building blocks are stored in the document, compared with the traditional paper drawing, the electronic drawing is simple and efficient in manufacturing process, convenient for omission detection and filling, and greatly saves resources. In addition, the building process has strong operability, the model of a real product can be restored through building of the simulation building blocks, the simulation building blocks are not limited to material limitation, and the real model structure can be simulated through software operation. The building blocks are grouped, and the models are structurally subdivided from top to bottom in a hierarchical structure mode, so that the step editing is clearer. Step editing and quoting animations and dynamically visualizing the construction steps, so that the construction drawing is more visual. Compared with paper drawings, the method reduces modification cost and saves time and resources.
In this embodiment, building documents in XML format are used to store building block information, steps and their set information. In other alternative implementations of the present embodiment, other formats may be used for storage, for example, JSON format.
The foregoing description is only exemplary of the preferred embodiments of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (19)

1. A method of generating a build document, the method comprising:
in a graphical user building interface, a user is supported to drag building blocks from a building block library on the left side to a building area for modeling and splicing, and the sequence number, the serial number, the three-dimensional coordinate, the rotation information and the size information of the building blocks in the modeling and splicing are stored 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 groups, supporting continuous nesting of the groups in the groups, supporting the addition of the building blocks in the list into each group, and storing information of each group into the built document;
and on a graphical user editing interface, supporting a user to carry out three-dimensional splicing animation production on the splicing steps corresponding to each group, and storing the setting information for producing the three-dimensional splicing animation into the construction document.
2. A method of generating a build document according to claim 1, wherein the setup information for producing a three-dimensional animation includes but is not limited to: camera view, camera distance, direction of flight, distance of travel.
3. A method of generating a build document according to claim 1, the method further comprising:
and building an interface on the graphical user, and carrying out moving, rotating and visual angle switching operations on the building blocks dragged into the building area for splicing and building the model.
4. A method of generating a build document according to claim 1, the method further comprising:
in the graphical user building interface, the dragged building blocks for building the modeling are displayed in a right building block list according to the dragged sequence, and a user is supported to select any one of the building blocks in the right building block list, so that the corresponding building block in the modeling displayed in the building area is highlighted by tracing.
5. A method of generating a build document according to claim 1, the method further comprising:
in the graphical user building interface, building blocks in the selected building region are set to be hidden, and the selected building blocks are hidden and not displayed;
and after modifying the building block blocked by the hidden building block, setting the hidden building block to be displayed in the model again.
6. A method of generating a build document according to claim 1, the method further comprising:
and searching the building blocks according to the types and colors of the building blocks.
7. A method of generating a build document according to claim 1, the method further comprising:
changing the color of the selected building block.
8. A method of generating a build document according to claim 1, the method further comprising:
for the model with a symmetrical structure, after a part of the model is built, the model is selected to carry out symmetrical operation in any one of X, Y and Z axial directions, and a symmetrical model is obtained.
9. A method of generating a build document according to claim 1, the method further comprising:
and creating a group through operations of creating, deleting and canceling on the graphical user group interface.
10. A method of generating a build document according to claim 1, the method further comprising:
in the graphical user grouping interface, once a building block in the list is added to a group, the building block is not in support of repeated additions to the group, and the building block in the list is shaded gray.
11. A method of generating a build document according to claim 1, the method further comprising:
and in the graphical user grouping interface, rendering the added building blocks of the selected group from top to bottom and from inside to outside, and displaying the rendered shape in a display area in the middle of the graphical user grouping interface.
12. A method of generating a build document according to claim 1, the method further comprising:
and setting a camera viewing angle, a camera distance, a flying-in direction and a moving distance on the graphical user editing interface to make a three-dimensional splicing animation.
13. A method of generating a build document according to claim 12, the method further comprising:
camera view, camera distance of other packets are duplicated.
14. A method of generating a build document according to claim 1, the method further comprising:
the graphical user editing interface supports forward page turning, backward page turning, jumping to an input target page, playing three-dimensional construction animation and adding character labels.
15. A method of generating a build document according to claim 1, the method further comprising:
and selecting the building block in the graphical user editing interface, clicking the selected building icon, switching to the graphical user building interface, and highlighting the building block in the model in the graphical user building interface building area.
16. A method of generating a build document according to claim 1, the method further comprising:
and selecting a building block or a group in the graphical user editing interface, clicking the selected return group icon, switching to the graphical user group interface, and highlighting the building block or the group.
17. A method of generating a build document according to claim 1, the method further comprising:
and automatically storing the operations of the user on the graphical user building interface, the graphical user grouping interface and the graphical user editing interface to the building document at preset intervals.
18. A method of generating a build document according to claim 1, the method further comprising:
and combining a plurality of construction documents into one construction document.
19. A method of generating a build document according to claim 1, the method further comprising:
and exporting the building block information of the current model in the form of an Excel table, wherein the building block information comprises the number, chinese name, picture, color and number of the building blocks and the number of the total building blocks.
CN202210815375.8A 2022-07-12 2022-07-12 Method for generating building document Pending CN115186320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210815375.8A CN115186320A (en) 2022-07-12 2022-07-12 Method for generating building document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210815375.8A CN115186320A (en) 2022-07-12 2022-07-12 Method for generating building document

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 Method for generating building document

Country Status (1)

Country Link
CN (1) CN115186320A (en)

Similar Documents

Publication Publication Date Title
US5894311A (en) Computer-based visual data evaluation
EP3361368B1 (en) Ontological filtering using spatial boundary of 3d objects
US7075531B1 (en) Method of creating animation image data files
US20100011309A1 (en) Data visualisation systems
CN103246951A (en) Intelligent electromechanical equipment management system and method based on BIM (building information modeling)
JP2001067486A (en) System and method for visualizing multi-dimensional data in spreasheet and other data structure
JP3009135B2 (en) Apparatus and method for distributing design and manufacturing information across sheet metal manufacturing equipment
US9569182B2 (en) Integrated development environment and method
Vuillemot et al. Structuring visualization mock-ups at the graphical level by dividing the display space
Cannavò et al. A visual editing tool supporting the production of 3D interactive graphics assets for public exhibitions
CN115170365A (en) Virtual simulation teaching system and method based on user configuration generation
US7567850B2 (en) Method and system for creating a product parts catalog
JP3625084B2 (en) Reuse system for software parts
JP5077011B2 (en) Display control apparatus, display control method, and display control program
JP3888483B2 (en) How to display the database
Finkelstein AutoCAD 2009 and AutoCAD LT 2009 Bible
Mandel et al. QGIS 2 cookbook
CN115186320A (en) Method for generating building document
CN115859408A (en) Method for manufacturing static drawing
CN114860223B (en) Interactive editing frame, interactive object generation method and electronic equipment
Gostiša Anastasiia Klimashevskaia Jaka Konda Günther Moser
CN114780084B (en) Configuration system for collaborative multi-type interactive interface design
Krahenbuhl Learning Axure RP interactive prototypes
JP5164032B2 (en) Editing support program and program editing support method
Tickoo Solid Edge 2020 for Designers

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