# Sketchup Create Toolbar Icon

> Create or convert SketchUp toolbar icons and cursor images. Use when authoring new toolbar icons, cursor images, or converting existing .svg files to the macOS .pdf format.

- Skill: `sketchup/sketchup-create-toolbar-icon` (Agent Skill)
- Install (CLI): `npx skillmds@latest add sketchup/sketchup-create-toolbar-icon`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sketchup/sketchup-create-toolbar-icon/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: sketchup (https://skillmd.com/u/sketchup)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/sketchup/sketchup-create-toolbar-icon

---


# Create a SketchUp Toolbar Icon or Cursor Image

SketchUp extensions distribute to both Windows and macOS users. Each platform uses a different vector format for toolbar icons and cursors.

## Format and sizes

- **Windows:** `.svg`
- **macOS:** `.pdf`
- **Large icons:** 32x32 including 4px empty padding between artwork and image edge.
- **Small icons:** 24x24 including 4px empty padding between artwork and image edge.

Both formats should be shipped with the extension. Write a small utility that picks the right extension at runtime and reuse it for each command.

## Authoring workflow

1. Author the icon as `.svg`.
2. Convert to `.pdf` for macOS using Inkscape CLI.

Inkscape may not be on `PATH`. Use the default installation paths:

- **Windows:** `"/c/Program Files/Inkscape/bin/inkscape.exe"`
- **macOS:** `/Applications/Inkscape.app/Contents/MacOS/inkscape`

Conversion command:

```sh
inkscape input.svg --export-filename=output.pdf
```

## Runtime icon selection

Provide a helper that resolves the correct file extension for the current platform and reuse it from every command registration site, instead of branching in each place.

