→tasetup.py: dock positions are now derived algorithmically
Line 101:
Line 101:
[[Image:Bad_heading.jpg]]<br>
[[Image:Bad_heading.jpg]]<br>
−
−
===tasetup.py===
−
This file controls, amongst other things the docking behaviour of the blocks. The arithmetic operators +-*/ have equal block dimensions and dock both sides with number blocks. They are defined as having an ''ari'' docking style.
−
−
('plus','+','ari'),
−
('minus','-','ari'),
−
('product','*','ari'),
−
('division','/','ari'),
−
−
And the docking points, left and right, are given coordinates in the following code