fix(sample-v34): E格墙面去底缘白线——墙面直接连接墙顶(用户裁:白边导致两截);三档对比图材质统一版重出
This commit is contained in:
1 parent
53bf9e3f3a
commit
d92770cdf0
2 files changed
+3
-4
No files matched your search
@@ -573,8 +573,7 @@ def draw_facade(board, x0, y0, cell):
|
||||
face = face.point([min(255, int(i * 0.85)) for i in range(256)] * 3)
|
||||
board.paste(face, (x0, fy0))
|
||||
d.rectangle([x0, fy0, x0 + cell, fy0 + 1], fill=(52, 42, 32)) # 墙脚阴线(地面/墙面交界)
|
||||
d.rectangle([x0, y0 + cell - 3, x0 + cell, y0 + cell - 1],
|
||||
fill=(232, 205, 158)) # 檐口亮棱(墙面/墙顶交界,受光)
|
||||
# v3.4:墙面底缘不画任何线——墙面直接接到南侧墙顶(用户裁:白边导致两截)
|
||||
|
||||
|
||||
def is_facade_cell(gmap, x, y):
|
||||
|
||||
Reference in new issue
Block a user