boxespy/boxes
Matthijs Kooijman db1da4ec12 Fix hole positions offset by burn in FingerHoleEdge
When rendering the FingerHoleEdge, the current position would be
corrected for burn (e.g. it would be on the center of the laser path,
rather than the actual edge of the final part). However, the FingerHoles
class (or actually the rectangularHole method called by it) that draws
the actual holes already corrects for burn, which caused the hole
position to be offset by the burn value.

This offset was particularly problematic when making a sliding lid,
since the holes would not align perfectly with the lid, making it hard
to close the lid. With this change, the sliding slots in the side walls
and the holes in the back wall align perfectly (though only when the lid
settings have zero play, which is a separate problem).

This commit fixes FingerHoleEdge (and its subclass LidHoleEdge), but
there might be other users of the FingerHole class (usually indirectly
through boxes.fingerHolesAt) that still have the same problem.
2019-07-27 13:30:06 +02:00
..
generators Remove no longer needed line in _template.py 2019-07-18 20:55:07 +02:00
Color.py Implement proper color handling 2019-02-03 16:28:02 +01:00
__init__.py forward holesSettings to hexHolesRectangle from within rectangularWall 2019-07-21 01:21:55 +02:00
edges.py Fix hole positions offset by burn in FingerHoleEdge 2019-07-27 13:30:06 +02:00
formats.py Add metadata as a xml comment 2019-07-07 13:43:04 +02:00
gears.py Make docstrings ready for autodoc 2019-02-13 09:01:20 +01:00
lids.py Fix traceback for top_edge == "L" 2019-02-10 19:49:51 +01:00
parts.py Add tabs to .parts 2019-02-14 17:34:22 +01:00
pulley.py Fix pulley size calculation for r_axle being None 2017-03-29 07:40:17 +02:00
robot.py Robot parts: Initial commit 2017-02-22 22:33:22 +01:00
servos.py Fix Servo.choices() and use it in robotarm 2017-02-25 19:59:16 +01:00
svgutil.py link: http -> https 2019-07-20 00:23:29 +02:00
vectors.py Add tangent() function 2017-02-22 20:01:28 +01:00