feat(rebar): add downward 90° hooks (135 mm) to P6 crossties in 3D rebar model

This commit is contained in:
ypshim committed 2026-10-22 17:45:22 +09:00
1 parent 4aa8dbb3cb
commit a2317caf6c
15 files changed
+740 -133

No files matched your search

+3 -4
View File
@@ -805,10 +805,9 @@ function renderRebar(): void {
const body = el('tbody');
for (const r of shown) {
const tr = el('tr');
const nameCell = el('td', r.name);
nameCell.classList.add('bar-no');
// Clicking a 번호 highlights that row (시안: 번호를 누르면 그 철근만 강조).
nameCell.addEventListener('click', () => {
const nameCell = el('td', r.name, 'bar-no');
// Clicking a row (any cell) focuses that bar in the table and in 3D; clicking it again clears it (시안: 번호를 누르면 그 철근만 강조).
tr.addEventListener('click', () => {
state.rebarFocus = state.rebarFocus === r.name ? null : r.name;
renderAll();
});