doc: translate documentation

This commit is contained in:
yyc12345 2024-07-26 09:46:16 +08:00
parent 24ac07a3b3
commit 47a8d81ecd
2 changed files with 85 additions and 8 deletions

View File

@ -1,4 +1,81 @@
# Add Rail
!!! info "Work in Progress"
This part of manual still work in progress.
In the 3D view, click `Add - Rails` to expand the Add Rails menu. The menu is shown on the left side of the image below.
![](../imgs/rail-adder.png)
The right side of the picture above shows the interface for adding some rails, and we will introduce them in turn later, from top to bottom on the right side are: Add Rail Section, Add Straight Rail, Add Side Rail, Add Arc Rail, and Add Spiral Rail.
!!! info "Rails with non-standard data"
BBP's rail adding menu is designed for new players to add rails quickly, and is not designed for skilled mapper to add rails. For cases where you need rails with non-standard data, such as rails with non-standard spacing or non-standard section, you need to build the rail section with Blender's own Circle operation, and then generate the entire rail with the Extrude, Bridge, or Spiral modifiers. In this way, you can control all the parameters of each step to meet your specific needs for rail parameters.
!!! info "Source of the rail parameters"
The various parameters of rails used in the Rails Add menu are derived from actual in-game measurements and from the experience of several mappers in the Ballance community over more than a decade.
The rail section radius and gauge are derived from years of mapping experience and measurements. Side rail tilt degree data is calculated by BallanceBug. Mono and double rail transition sinking data from the calculation by Imbalanced Dream. Spiral rail spacing is measured from Level 9 and Level 13.
## Rail Sections
In the Add Rails menu, under the `Sections` category, you can add rail sections. A rail section is the outline of a rail, and the creation of a rail section is usually the first step in the creation of various types of shaped rails, e.g. rails made by lofting, extruding etc.
### Rail Section
To create a rail section, you can choose in the panel to create a mono or double rail section.
When creating a mono rail section, the octagonal rail section is automatically created with the flat side edge facing up, while the double rail section is not (vertex tip facing up). If you need to change this behavior, you need to go into edit mode after creation and manually rotate the vertices of the rail section so that the flat side or vertex tip of the rail section faces up.
### Transition Section
The mono and double rail transition section will create a rail section that is suitable for mono and double rail transitions. This rail section is created without specifying any parameters.
## Straight Rails
In the Add Rails menu, under the `Straight Rails` category, you can add straight rails.
### Straight Rail
A Straight Rail is a straight rail of rail. To create a straight rail you need to specify a Length. You can also choose to create a straight double rail or a mono rail.
When creating a mono rail, similar to a section, the flat side of the rail section is automatically turned upwards, and this behavior can be modified by entering edit mode after creation and then rotating.
The creation of straight rails also supports the capping properties, which are controlled by the Start Cap and End Cap options located under Rail Cap, which are checked to cap the corresponding end. Capping is the process of automatically adding face for the end of a rail and correctly handling its normal. This is usually done to ensure that the rail is aesthetically pleasing where it comes into contact with other surfaces or objects, rail-to-rail joints do not need to be capped.
### Transition Rail
Mono and double transition rail can often be seen as an advanced use of Transition Section creation, where the section created by the transition section is extruded and the normals are taken care of to produce the result created by this option. To create a mono or double transition rail you need to specify a Length, which is also supported by the capping property.
### Side Rail
Side rails are created by specifying a Side Type which can be either Normal (for paper or wood balls) or Stone Specific (for stone ball specific). Side rails for paper and wood balls are the usual side rails that stone balls cannot pass through. Stone Specific side rails are side rails that are more tilted and can be passed by stone balls, and of course, paper and wood balls.
In addition to the side rail type, side rail creation also requires the Length and capping attributes.
## Curve Rails
In the Add Rails menu, under the `Curve Rails` category, you can add curved rails.
### Arc Rail
The first thing you need to do with an arc rail is to specify the Angle and Radius, which indicates how much the rail will turn at what radius. Generally speaking, angles of 90, 180, and 270 degrees are more common, but any number of degrees can be specified. The radius is usually adjusted as needed. For the double rail arc, the radius is the distence between arc rail rotation center to the double rail section center. For the mono rail arc rail, is the distence between arc rail rotation center to the mono rail section center.
Steps of the arc rail, the number of steps indicates the number of segments of the arc rail, the larger the number, the smoother the arc rail looks, relatively, the vertices will be more, the storage space and rendering requirements are also higher, so you need to choose a reasonable value.
Arc rails also support double-rail mono-rail selection, you can create mono-rail arc rails and double-rail arc rails. The capping attribute is also supported.
### Spiral Rail
Spiral rail, or spiral double rail, is similar to arc rail in that you need to specify Radius, which is the radius of rotation, but not the angle, since it always rotates in 360 degrees.
Spiral rails have an Iterations property, which indicates how many times the rail will spiral up, and a Screw property, which indicates the distance between each iteration.
The spiral rail also needs to set the Steps property, which has the same meaning as the arc rail. However, it should be noted that the number of steps refers to the number of steps in each iteration, not the overall number of steps. Therefore, when adjusting the iteration attribute, you do not need to change the Steps attribute again.
Side Spiral Rail also has a capping property.
### Side Spiral Rail
Side Spiral Rail, similar to spiral rail, but the ball is rolled along the side, similar to side rail.
Side Spiral Rail does not have a Screw property, because Side Spiral Rail is designed so that adjacent spins share a common edge, so the screw is fixed.
The Radius, Iterations and Steps attributes in the Side Spiral Rail settings have the same meaning as the spiral rail. Side Spiral Rail also have a capping attribute.

View File

@ -1,10 +1,10 @@
# 添加钢轨
在3D视图中点击`Add - Components`可展开添加钢轨菜单。菜单如下图左侧所示。
在3D视图中点击`Add - Rails`可展开添加钢轨菜单。菜单如下图左侧所示。
![](../imgs/rail-adder.png)
上图右侧则展示了一些机关添加的界面会在后续依次介绍它们右侧从上到下分别是添加Rail Section钢轨截面添加Straight Rail直钢轨添加Side Rail侧轨添加Arc Rail圆弧轨添加Spiral Rail螺旋轨
上图右侧则展示了一些钢轨添加的界面会在后续依次介绍它们右侧从上到下分别是添加Rail Section钢轨截面添加Straight Rail直钢轨添加Side Rail侧轨添加Arc Rail圆弧轨添加Spiral Rail螺旋轨
!!! info "非标准数据的钢轨"
BBP的钢轨添加菜单是为新手玩家快速添加钢轨而设计的并不是为老手添加钢轨而设计的。对于需要非标准数据的钢轨的情况例如具有非标准间距或非标准截面的钢轨你需要通过Blender自带的创建圆操作构建钢轨截面然后通过挤出桥接又或者螺旋修改器生成整个钢轨。在这样的创作过程中你可以随意控制每个步骤的所有参数以满足你对钢轨参数的特殊需求。
@ -16,7 +16,7 @@
## 钢轨截面
在添加机关菜单中,`Sections`分类下的是钢轨截面的添加。钢轨截面是钢轨的轮廓,钢轨截面的创建通常是各类异形钢轨的创建的开始步骤,例如通过放样,挤出等操作制作钢轨。
在添加钢轨菜单中,`Sections`分类下的是钢轨截面的添加。钢轨截面是钢轨的轮廓,钢轨截面的创建通常是各类异形钢轨的创建的开始步骤,例如通过放样,挤出等操作制作钢轨。
### Rail Section
@ -30,7 +30,7 @@
## 直线钢轨
在添加机关菜单中,`Straight Rails`分类下的是直线钢轨的添加。
在添加钢轨菜单中,`Straight Rails`分类下的是直线钢轨的添加。
### Straight Rail
@ -52,7 +52,7 @@
## 曲线钢轨
在添加机关菜单中,`Curve Rails`分类下的是曲线钢轨的添加。
在添加钢轨菜单中,`Curve Rails`分类下的是曲线钢轨的添加。
### Arc Rail
@ -78,4 +78,4 @@
侧边螺旋轨没有螺距属性,因为侧边螺旋轨在设计上,相邻的旋进是共用一条边的,因此螺距是固定的。
侧边螺旋轨设定中的Radius半径Iterations迭代和Steps步数属性含义均与螺旋轨一致。螺旋轨也有封盖属性。
侧边螺旋轨设定中的Radius半径Iterations迭代和Steps步数属性含义均与螺旋轨一致。侧边螺旋轨也有封盖属性。