mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-06 09:18:36 +01:00
feat(sleepers): the fastenings fitted on the switches crossing and the double ones: the chair of the model split into its brace and its slide plate, the slide plate from the edge of the foot of the stock rail on, not under it; the plates and the slide plates narrowed where the rails lie close, the fastening of two rails centred between them, a rail lying on the fastening of the rail beside it left without one of its own, the brace dropped where the rail beside comes too close; selftest fastencheck
This commit is contained in:
@@ -36,11 +36,15 @@ enum part : int {
|
||||
part_main, // the piece between the ends
|
||||
part_end, // the end on the -x side
|
||||
part_plate, // the fastening of a rail, its origin under the middle of the foot of the rail
|
||||
part_chair, // the slide chair of a stock rail with the blade beside it, its origin under the stock rail, the slide plate on its -x side
|
||||
part_chair, // the brace of the slide chair of a stock rail with the blade beside it, its origin under the stock rail, on its +x side
|
||||
part_check, // the fastening of a rail with another one close beside it, as a check rail or a rail of the frog, its origin under the
|
||||
// rail, the other one on its +x side
|
||||
part_slide, // the slide plate of the chair, apart from it on its -x side, from the edge of the foot of the stock rail on, shortened
|
||||
// toward it where another rail lies close
|
||||
part_count
|
||||
};
|
||||
// the names of the submodels of the parts
|
||||
inline constexpr std::array<char const *, part_count> part_names { "begin", "main", "end", "plate", "chair", "check", "slide" };
|
||||
// the parts a timber is put together from, the fastenings after them
|
||||
int constexpr timber_parts { part_end + 1 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user