Coking process planning process and simulation technical method for coal chemical plant
By using algorithm scripts and LineRenderer components to realize the polyline connection between devices in the scene in the coking process planning and simulation of coal chemical factory, the problem of interleaving line segments and no flow direction is solved, and the visualization and understanding of the equipment operation process is improved.
Patent Information
- Application Number
- CN202411321700.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, in the coking process planning and simulation in coal chemical plants, the equipment connection segments are interlaced and there is no flow direction diagram, making it difficult to quickly determine the operation process of the equipment and the relationship between the equipment.
By mounting the algorithm script in the scene, you can obtain all the devices to be connected, and create a new empty object in the scene to add LineRenderer component, create a new material ball and mount a material ball with an algorithm shader to achieve polyline connection between devices.
No manpower is required to save observers' time, beautify scene visual effects, and improve visualization and understanding of device connections.
Smart Images

Figure CN119536144A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a coking process planning flow and simulation technology method for a coal chemical plant. Background Art
[0002] The existing technology only uses LineRenderer for point-to-point direct connection, that is, a line segment is connected between point A and point B, and multiple points are connected by straight lines in the same way. If there are multiple devices in the space, the line segments are intertwined and cannot be seen clearly; the line segments have no flow indication, and it is impossible to quickly determine the next step of the device. At the same time, related / non-related personnel cannot quickly understand the operation process. Summary of the invention
[0003] In order to solve the above technical problems, the purpose of the present invention is to provide a coking process planning process and simulation technology method for a coal chemical plant.
[0004] To achieve the above object, the present invention adopts the following technical solution:
[0005] A coking process planning process and simulation technology method for a coal chemical plant comprises the following steps:
[0006] Step 1: Mount the algorithm script on any object in the scene;
[0007] Step 2: Get all the devices you want to connect;
[0008] Step 3: Create a new empty object in the scene and add a LineRenderer component;
[0009] Step 4: Create a new material ball and attach it to the newly created empty object;
[0010] Step 5: Mount the algorithm shader to the new material ball.
[0011] Preferably, in the described coal chemical plant coking process planning process and simulation technology method, the algorithm script in step 1 takes the middle point between points AB as a broken line, wherein in three-dimensional space, the X-axis of the middle point is the X-axis of point A, and the Z-axis of the middle point is the Z-axis of point B.
[0012] Preferably, in the coal chemical plant coking process planning process and simulation technology method, the angle of the midpoint is greater than 90°.
[0013] Preferably, in the coal chemical plant coking process planning process and simulation technology method, in the shader calculation, in the fragment shader, since UV is a two-dimensional vector, the x and y of UV need to be passed in, then x=uv.x, y=uv.y.
[0014] Preferably, the coal chemical plant coking process planning process and simulation technology method can achieve scaling through Tilling when operating the material ball.
[0015] By means of the above scheme, the present invention has at least the following advantages:
[0016] The present invention does not require manpower to invite people to explain or give too much explanation, thus saving the time of the observer and beautifying the scene and improving the visual effect.
[0017] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 It is a schematic diagram of the process connection of the present invention. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0021] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0022] Example
[0023] like Figure 1 As shown, a coking process planning process and simulation technology method for a coal chemical plant,
[0024] The following steps are involved:
[0025] Step 1: Mount the algorithm script on any object in the scene;
[0026] Step 2: Get all the devices you want to connect;
[0027] Step 3: Create a new empty object in the scene and add a LineRenderer component;
[0028] Step 4: Create a new material ball and attach it to the newly created empty object;
[0029] Step 5: Mount the algorithm shader to the new material ball.
[0030] The algorithm script in step 1 of the present invention takes the middle point between points AB as the broken line, wherein in three-dimensional space, the X-axis of the middle point is the X-axis of point A, and the Z-axis of the middle point is the Z-axis of point B.
[0031] Wherein, the angle of the middle point is greater than 90°.
[0032] In the shader calculation of the present invention, in the fragment shader, since UV is a two-dimensional vector, the x and y of UV need to be passed in, then x=uv.x, y=uv.y.
[0033] In the present invention, scaling can be achieved through Tilling when operating the material ball.
[0034] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0035] In the description of this application, it should be noted that the terms "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the application is usually placed when in use. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0036] In addition, the terms "horizontal", "vertical" and the like do not mean that the components are required to be absolutely horizontal or vertical, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but can be slightly tilted.
[0037] In the description of this application, it should also be noted that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0038] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the technical principles of the present invention, and these improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A coking process planning process and simulation technology method for a coal chemical plant, characterized in that: The following steps are involved: Step 1: Mount the algorithm script on any object in the scene; Step 2: Get all the devices you want to connect; Step 3: Create a new empty object in the scene and add a LineRenderer component; Step 4: Create a new material ball and attach it to the newly created empty object; Step 5: Mount the algorithm shader to the new material ball.
2. A coal chemical plant coking process planning process and simulation technology method according to claim 1, characterized in that: The algorithm script in step 1 takes the middle point between points AB as the broken line, where in three-dimensional space, the X-axis of the middle point is the X-axis of point A, and the Z-axis of the middle point is the Z-axis of point B.
3. A coal chemical plant coking process planning process and simulation technology method according to claim 2, characterized in that: The angle of the midpoint is greater than 90°.
4. A coal chemical plant coking process planning process and simulation technology method according to claim 1, characterized in that: In shader calculation, in the fragment shader, since UV is a two-dimensional vector, the x and y of UV need to be passed in, then x = uv.x, y = uv.y.
5. The method for coking process planning and simulation technology of a coal chemical plant according to claim 1, characterized in that: Scaling can be achieved through Tilling when operating on the material ball.