18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-03 10:05:23 +01:00
Files
maszyna/tests
maj00r ab3ec7a42e fix(vehicle): articulated joints keep their length, hoses bend smoothly from their cocks, buffers take the deflection of their end
- A joint of two cars (a rooted bonebend whose head is held to the whole turn of the next car) keeps the pieces of
  its spine as long as made (bones::keep_lengths): the bellows and the roof cables turn with the cars, no longer
  stretched and pressed by the play of the articulated coupling as the train brakes and pulls.
- The turn is spread evenly along a rooted bend only for such a joint; a hose hanging from its cock (rooted, its
  head held to a line) turns along its chain, and is halved into small triangles like any other hose.
- Each buffer is pressed in by the deflection of its end as the coupling has it (half the distance of the
  couplers, or that of the end in the physical model of the coupling) and by half of what its head stands nearer
  to the one it meets than the axis does: on the straight as before, on a curve the inside more.

Assets (SVN pctga, scratchpad tool weze.py, not committed there yet): the .mmd of 404 vehicles get hose chains
(hz_*: from each cock of pneumatic<n>[r]_On and cpneumatic<n>[r]_On to the point the heads share with the next
vehicle), and those with automatic couplers a bone turning coupler<n>/cctrl<n>_on towards the pivot of the next
one; the EN57 through a new attachments_<stem>_w.inc. The whole control cables of ukrotnienie.py are rehung
smoothly from socket to socket. Without them the vehicles are drawn as before.
2026-11-26 00:24:14 +01:00
..