From f0027028a373508b40bf9a5fb6dd7c81b94dbc3c Mon Sep 17 00:00:00 2001 From: Denis Chevalier Date: Mon, 10 Aug 2026 17:35:33 +0200 Subject: switch u-channel diagram from svg to cetz --- mechanical-specifications.typ | 196 ++++++++- pictures/l-channel.svg | 980 ------------------------------------------ pictures/u-channel.svg | 401 ----------------- 3 files changed, 193 insertions(+), 1384 deletions(-) delete mode 100644 pictures/l-channel.svg delete mode 100644 pictures/u-channel.svg diff --git a/mechanical-specifications.typ b/mechanical-specifications.typ index 465702e..11fe05c 100644 --- a/mechanical-specifications.typ +++ b/mechanical-specifications.typ @@ -744,9 +744,199 @@ interlocking U-shaped steel channel: ===== U-channel (cover) #figure( - image("pictures/u-channel.svg"), - caption: [U-channel (cover) construction], -) + cetz.canvas({ + import cetz.draw: * + + // Scale factor: 1 mm = 0.060 drawing units + let s = 0.060 + + let h = 165.1 * s // 4.953 mm + let d = 152.4 * s // 4.572 mm + let w = 35.7 * s // 1.071 mm + let f = 8.0 * s // 0.240 mm (8 mm flange overlap) + let t = 1.2 * s // Sheet metal thickness (1.2 mm) + + let y-bot = 0 + let y-top = h + + // ========================================== + // 1. FRONT ELEVATION (U-Profile End View: 35.7 x 165.1 mm) + // ========================================== + let x-front-start = 0 + let x-front-end = x-front-start + w + let x-front-mid = (x-front-start + x-front-end) / 2 + + // View Title + content((x-front-mid, y-top + 0.8), text( + size: 8.5pt, + weight: "bold", + )[FRONT ELEVATION]) + + // U-Channel Sheet Metal Cross-Section Outline + // Top Limb + rect( + (x-front-start, y-top - t), + (x-front-end, y-top), + fill: luma(210), + stroke: 0.8pt + black, + ) + // Right Side Wall + rect( + (x-front-end - t, y-bot), + (x-front-end, y-top), + fill: luma(230), + stroke: 0.8pt + black, + ) + // Bottom Limb + rect( + (x-front-start, y-bot), + (x-front-end, y-bot + t), + fill: luma(210), + stroke: 0.8pt + black, + ) + + // Inner Cavity Hatch/Indicator Line + line( + (x-front-start, y-bot + t), + (x-front-end - t, y-bot + t), + (x-front-end - t, y-top - t), + (x-front-start, y-top - t), + stroke: (paint: luma(140), thickness: 0.5pt, dash: "dotted"), + ) + + // Front Width Dimension (35.7 mm) + line( + (x-front-start, y-bot), + (x-front-start, y-bot - 0.6), + stroke: 0.4pt + luma(140), + ) + line( + (x-front-end, y-bot), + (x-front-end, y-bot - 0.6), + stroke: 0.4pt + luma(140), + ) + line( + (x-front-start, y-bot - 0.6), + (x-front-end, y-bot - 0.6), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.10, + stroke: 0.6pt + black, + ) + content((x-front-mid, y-bot - 0.9), text(size: 7pt)[$qty(35.7, "mm")$]) + + // Front Height Dimension (165.1 mm) + line( + (x-front-start, y-bot), + (x-front-start - 0.6, y-bot), + stroke: 0.4pt + luma(140), + ) + line( + (x-front-start, y-top), + (x-front-start - 0.6, y-top), + stroke: 0.4pt + luma(140), + ) + line( + (x-front-start - 0.6, y-bot), + (x-front-start - 0.6, y-top), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.10, + stroke: 0.6pt + black, + ) + content( + (x-front-start - 0.9, (y-bot + y-top) / 2), + text(size: 7pt)[$qty(165.1, "mm")$], + angle: 90deg, + ) + + // ========================================== + // 2. RIGHT ELEVATION (Inner Face View: 152.4 x 165.1 mm) + // ========================================== + let x-right-start = 3.5 + let x-right-end = x-right-start + d + let x-right-mid = (x-right-start + x-right-end) / 2 + + // View Title + content((x-right-mid, y-top + 0.8), text( + size: 8.5pt, + weight: "bold", + )[RIGHT ELEVATION (INNER FACE)]) + + // Main Right Wall Sheet Metal Surface + rect( + (x-right-start, y-bot), + (x-right-end, y-top), + fill: luma(245), + stroke: 1.2pt + black, + ) + + // Masked Unpainted Perimeter Area (8mm border where it mates with L-channel flanges) + rect( + (x-right-start + f, y-bot + f), + (x-right-end - f, y-top - f), + fill: luma(230), + stroke: (paint: luma(130), thickness: 0.7pt, dash: "dashed"), + ) + content( + (x-right-mid, (y-bot + y-top) / 2), + text(size: 7.5pt, fill: luma(100))[Painted Central Surface], + ) + + // Countersunk Through-Holes (Crosshair + concentric circles for 90-deg countersink) + let draw-csink(cx, cy) = { + circle((cx, cy), radius: 0.10, fill: white, stroke: 0.6pt + black) + circle((cx, cy), radius: 0.05, fill: luma(180), stroke: 0.4pt + black) + line((cx - 0.13, cy), (cx + 0.13, cy), stroke: 0.3pt + luma(120)) + line((cx, cy - 0.13), (cx, cy + 0.13), stroke: 0.3pt + luma(120)) + } + + // Top & Bottom Edge Countersunk Hole Pattern (matching top/bottom flanges) + draw-csink(x-right-start + 30.0 * s, y-top - f / 2) + draw-csink(x-right-start + 122.4 * s, y-top - f / 2) + draw-csink(x-right-start + 30.0 * s, y-bot + f / 2) + draw-csink(x-right-start + 122.4 * s, y-bot + f / 2) + + // Front & Rear Edge Countersunk Hole Pattern + draw-csink(x-right-start + f / 2, y-bot + 30.0 * s) + draw-csink(x-right-start + f / 2, y-top - 30.0 * s) + draw-csink(x-right-end - f / 2, y-bot + 30.0 * s) + draw-csink(x-right-end - f / 2, y-top - 30.0 * s) + + // Depth Dimension (152.4 mm) + line( + (x-right-start, y-bot), + (x-right-start, y-bot - 0.6), + stroke: 0.4pt + luma(140), + ) + line( + (x-right-end, y-bot), + (x-right-end, y-bot - 0.6), + stroke: 0.4pt + luma(140), + ) + line( + (x-right-start, y-bot - 0.6), + (x-right-end, y-bot - 0.6), + mark: (start: "stealth", end: "stealth"), + mark-size: 0.10, + stroke: 0.6pt + black, + ) + content((x-right-mid, y-bot - 0.9), text(size: 7pt)[$qty(152.4, "mm")$]) + + // Masked Border Callout Annotation + line( + (x-right-start + f / 2, y-top - 15.0 * s), + (x-right-start - 0.5, y-top - 1.0), + stroke: 0.5pt + black, + ) + content( + (x-right-start - 0.5, y-top), + text(size: 6.5pt)[Masked unpainted perimeter \ + (8 mm EMI contact area)], + anchor: "south-east", + angle: 90deg, + ) + }), + caption: [Cassette U-Channel cover technical drawings showing Front Elevation (profile) and Right Elevation (inner face showing masked unpainted EMI perimeter and countersunk hole grid).], +) / Role: EMI Shielding and Protection. / Geometry: diff --git a/pictures/l-channel.svg b/pictures/l-channel.svg deleted file mode 100644 index ae0d548..0000000 --- a/pictures/l-channel.svg +++ /dev/null @@ -1,980 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ISOMETRIC VIEW - (Showing Inward 90° Flanges & Masked Faces) - - LEFT WALL (PCB Mount) - - REAR CLOSURE - - - - - - - - - - - - - 8 mm Flanges (90° Inward) - Masked Outer Face (Unpainted) - Fitted with M3 PEM Press-Fit Nuts - - Left Wall: PCB Mount Surface - (165.1 mm × 152.4 mm) - - - REAR ELEVATION - (Outside Face View) - - 8mm Flanges (Folded Inward) - - - - - - - - - - - - 165.1 mm - - - - - 35.7 mm - (Center X: 17.85 mm) - - - 55.0 mm - - - - 130.0 mm - - BNC Cutout - (Facultative: Master Osc.) - - DB-25 Cutout - (Centered X: 17.85 mm) - - - LEFT WALL ELEVATION - (PCB Mount Surface View) - - - - - - - - - PCB Mounting Face - - - - Depth: 152.4 mm - - - - - 165.1 mm - - - - - - - - - - - - - - - - - - diff --git a/pictures/u-channel.svg b/pictures/u-channel.svg deleted file mode 100644 index 67d0e18..0000000 --- a/pictures/u-channel.svg +++ /dev/null @@ -1,401 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RIGHT SIDE ELEVATION - (Solid Wall: 165.1 mm × 152.4 mm) - - - - - - - - - - - Depth: 152.4 mm ±0.2 - - - - - Height: 165.1 mm ±0.1 - - - - - END PROFILE (FRONT VIEW) - (U-Channel Cross-Section) - - - - - - - - 35.7 mm - - Material Thickness - 1.2 mm DC01 Steel - - - - - - - - - - - - - - - - - - - - - - -- cgit