run2_exploded-view-layout
Improved layout strategy for technical exploded-view diagrams with better spacing and visual balance.
- License 许可
- MIT
- 最近更新
- 2026-10-02
- Stars
- ★ 93
- Forks
- 8
01 前言 Front Matter
- name
- run2_exploded-view-layout
- description
- Improved layout strategy for technical exploded-view diagrams with better spacing and visual balance.
03 SKILL.md 正文
Exploded-View Layout — Improved Strategy
Key Improvement: Vertical Distribution
Instead of fixed START_Y with large bottom gap, calculate layout to fill the available space between header and footer zones.
header_zone = 0 to ~350px (title, subtitle, separator)
content_zone = 400px to (H - 350px) (layers + gaps)
footer_zone = last 300px (metadata, scale bar)
Dynamic Gap Calculation
available_h = footer_y - header_end_y - padding
total_layer_h = sum(layer['height'] for layer in layers)
gap = (available_h - total_layer_h) // (len(layers) - 1)
# Clamp gap to reasonable range
gap = max(80, min(gap, 250))
Layer Stack (5 layers, top to bottom)
- Outer Casing (160px) — Corporate Dark #141413, vent slots
- Thermal Management (100px) — Secondary Accent #CC785C, heat channels
- PCB Assembly (140px) — Tertiary Accent #EDA100, chips + traces
- Battery Pack (110px) — Dark neutral #4A4A48, cell outlines
- Interface Board (90px) — Dark neutral w/ Primary Accent #D97757 connectors
Annotation Positioning
- All labels right-aligned at a consistent x-position
- Leader line starts at layer right edge + 10px
- Leader line ends at label x - 20px
- Label name: bold, 30px, corporate dark
- Description: regular, 24px, muted gray, 1-2 lines
Isometric Depth Cues
- Each layer slightly narrower than the one above: -20px per layer
- OR all same width for clean engineering aesthetic (preferred for minimalist style)
- Subtle shadow beneath each layer using cream-dark (#D5D3C9)
Additional Polish
- Part numbers (e.g., "NV-001") next to each layer
- Hatching/crosshatch patterns for material indication
- Dimension callouts on select layers
- Exploded offset consistent (same gap throughout)
04 同仓库更多 Skills
object_counter
Count occurrences of an object in the image using computer vision algorithm.
travel-planning-workflow
Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.
bundled-dataset-search-tool
invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.
glm-output
Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final /root/metrics.json.
glm-calibration
Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.
glm-basics
A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.