CutBear is version 0.1.5 and lives in its own repository at github.com/morganlowe/CutBear.
CutBear is the local-first sign-vinyl cutting companion to
ImageBear (formerly PhotoBear). It is a pure-Rust
workspace with no accounts, cloud calls, telemetry, or generative AI. The
desktop application uses eframe/egui; every cutter-facing calculation also
runs headlessly through cutbear-core and cutbear-cli.
CutBear uses ImageBear's editor-core document engine at the dedicated
editor-core-v1.2.2 engine tag for RPSD, PSD, SVG, PDF, DXF, and image import.
EPS and PostScript are read by CutBear's own cutbear-core importer rather
than the engine, so a vector file like ohgeeze.eps cuts its true cubic
curves. It does not bundle or launch the ImageBear application. The tagged
engine is fetched by Cargo during a source build.
CutBear's current mark is shipped as two layered SVGs:
assets/cutbear-logo.svgis the primary logo used in this README and in the documentation.assets/cutbear-icon.svgis the square application icon used by the desktop app, portable archives, and package metadata.assets/cutbear-icon-1024.pngis the raster source forpackaging/cutbear.icoand the macOSAppIcon.icns; the Debian package installs it as the application icon.
Every portable archive includes both SVG files. The Windows installer and macOS application bundle use native icon formats generated from the 1024 px source during release packaging.
| Goal | Application |
|---|---|
| Cut vinyl, make signs, or send jobs to a plotter | CutBear |
| Edit photos, composites, vectors, text, and animation | ImageBear |
| Edit a design and then cut it | Save an RPSD or PSD in ImageBear, then open it in CutBear |
ImageBear 1.1.0 included the cutter workspace. CutBear is now a separate application with its own releases. Download CutBear here; you do not need to install ImageBear unless you also want to edit the artwork.
Existing ImageBear RPSD and PSD projects open directly in CutBear. There is no project conversion step. See COMPATIBILITY.md for the engine tag and release matrix.
Download the latest CutBear build from the CutBear Releases page.
| Platform | Asset | Run |
|---|---|---|
| Linux x86_64 | cutbear_0.1.5_amd64.deb |
sudo apt install ./cutbear_0.1.5_amd64.deb |
| Linux x86_64 | cutbear-linux-x86_64.tar.gz |
Extract, then run ./cutbear/cutbear |
| Windows x86_64 | cutbear-windows-x86_64-setup.exe |
Run the installer |
| Windows x86_64 | cutbear-windows-x86_64.zip |
Extract, then run cutbear.exe |
| macOS Apple Silicon | cutbear-macos-aarch64.zip |
Extract CutBear.app and drag it to Applications |
Each archive contains the cutbear desktop application, cutbear-cli, this
README, the project license, and both the CutBear logo and app icon. SHA-256
manifests are published beside every archive. The macOS build is unsigned, so
the first launch may require right-clicking the app and choosing Open. The CLI is the
cutbear-cli file beside the app in the macOS archive.
| Crate | Purpose |
|---|---|
cutbear-core |
Geometry cleanup, blade offset and overcut, weeding aids, inside-out ordering, preflight, material presets, PDF and DXF import, HP-GL/GP-GL/DMPL encoders, TCP/CUPS/file transports. No GUI dependency. |
cutbear-plotter |
Cut planning, SVG and raster tracing, tiling, serial transport, and the cancellable send worker. |
cutbear-ui |
The cutter workspace shown by the standalone application. |
cutbear-app |
Standalone eframe shell. The binary is named cutbear. |
cutbear-cli |
Headless inspection, preflight, protocol export, and TCP/CUPS/serial sending. |
The CAD-like path and transport work stays testable without a window. The
document model comes from ImageBear's editor-core (published upstream as
photobear-editor-core); the cutter production
layer is owned by this repository.
Requirements:
- Rust 1.85 or newer with Cargo (edition 2024)
- Linux: X11 and Wayland development headers
- Windows: MSVC build tools
- macOS: Xcode command line tools
On Debian or Ubuntu, install the Linux windowing dependencies with:
sudo apt-get install -y \
libxkbcommon-dev libwayland-dev libx11-dev libxcursor-dev \
libxrandr-dev libxi-dev libgl1-mesa-devClone and run:
git clone https://github.com/morganlowe/CutBear.git
cd CutBear
cargo run -p cutbear-app --releaseCargo fetches the pinned ImageBear editor-core tag on the first build. The
desktop binary is written to target/release/cutbear.
At launch, use New Project... to create a blank project from a name and a physical width and height in millimetres or inches. Add Artwork... then brings SVG, PDF, AI, DXF, EPS, or image files into that project without replacing it.
Open an ImageBear RPSD or PSD project directly to cut its vector layers, text
layers, and imported SVG paths. Text layers cut the font's true Bezier glyph
outlines, counters included; raster layers reach the blade through Trace
active layer, which traces the layer's cached pixels. Save the project in
ImageBear first, then open the .rpsd or .psd file here.
Changed projects are autosaved as lossless recovery snapshots after a short
delay, and the project name shows * while changes are pending. If CutBear
closes unexpectedly, the next launch restores the snapshot and its original
source path. Closing normally removes the recovery snapshot.
# Inspect a document and list its cuttable layers
cargo run -p cutbear-cli -- inspect artwork.rpsd
# Run preflight and print blocking errors and warnings
cargo run -p cutbear-cli -- preflight artwork.svg
# Compile a protocol stream for archival or manual transfer
cargo run -p cutbear-cli -- encode artwork.svg cut.plt --protocol hpgl
cargo run -p cutbear-cli -- encode artwork.pdf cut.plt --protocol hpgl
cargo run -p cutbear-cli -- encode artwork.dxf cut.plt --protocol hpgl
# Send to a network plotter
cargo run -p cutbear-cli -- send artwork.svg --tcp 192.168.1.50:9100
# Send through a local CUPS raw queue
cargo run -p cutbear-cli -- send artwork.svg --cups cutter-raw
# Send through a serial port
cargo run -p cutbear-cli -- send artwork.dxf --serial /dev/ttyUSB0
# List material starting points and supported protocols
cargo run -p cutbear-cli -- materials
cargo run -p cutbear-cli -- protocolsEncode and send accept --material, --passes, --offset, --overcut,
--weed-box, --weed-margin, --weed-split-horizontal,
--weed-split-vertical, and --no-order. The CLI refuses to write or send a
job that has blocking preflight errors.
Material presets are starting points, not certified recipes. Test a scrap corner before a production run, especially for reflective film and HTV. GP-GL and DMPL output is marked experimental until it has been verified on hardware.
The standalone app can simulate a cut before sending. Simulate in the job pane runs a cutter head along the selected sheet at its feed rate, draws the completed path in orange, and shows the elapsed and estimated seconds. The slider scrubs to any point in the job, and Reset returns to the start. Show cut order numbers each path and draws travel moves so the order can be checked before sending.
cutbear-core runs the same ordered pipeline for the preview, the desktop
sender, and the CLI:
- Deduplicate points, remove zero-length paths, close safe contours, and simplify with Ramer-Douglas-Peucker.
- Compensate closed paths for the drag-knife pivot offset and extend the overcut past each start point, then weld overlapping closed paths when welding is enabled.
- Sort inner details before outer borders and choose the nearest reasonable start point for each path.
- Add an outer weeding box and horizontal or vertical easy-weed split lines only where an empty band exists.
- Repeat each path for the requested pass count.
- Run preflight against the selected media and report duplicate, tiny, narrow-gap, zero-length, open, self-intersecting, and out-of-bounds geometry. Duplicates and self-intersections are found through a bucket index rather than every pair, and the correction is applied before the media fit is finalized.
Implemented in this repository:
- Standalone app and headless CLI.
- New Project creation and Add Artwork import for blank standalone projects.
- Autosave and crash recovery for open projects, with a dirty marker and clean-shutdown cleanup.
- PDF, Adobe Illustrator, PostScript/EPS, and DXF vector import with unit conversion. EPS lines, curves, and arcs stay exact Bezier anchors, and show text follows its findfont font as glyph Bezier anchors, so it cuts as drawn instead of as a traced raster. SVG and PDF text is outlined through the installed fonts, including rotated text; a missing font is reported and only that text is skipped. Images, forms, and clipping are reported.
- Direct SVG cutting, raster tracing, selection cuts, copies, mirroring, tiling, registration crosses, and the operator-confirmed batch queue.
- Smart cleanup, blade offset, overcut, inside-out ordering, weeding box and split lines, material presets, preflight, and multi-pass output.
- Boolean weld, subtract, intersect, and exclude of overlapping closed paths.
Weld is exposed in the app and as
--weldin the CLI; subtract, intersect, and exclude have controls in the Design panel. Each operation replaces both source layers with the combined result. - A calibration pattern of a ruler, nested squares, cross, and scale bar,
exported as HP-GL by
cutbear-cli calibrate, plus a per-machine scale and origin correction applied after placement and stored with the job preset. - Preflight that also measures the gap between non-adjacent segments, so a long thin sliver is caught, and that treats near-duplicate paths within a configurable tolerance as duplicates.
- Serial HP-GL sending in the app; HP-GL, GP-GL, and DMPL export; TCP and CUPS raw sending from the CLI.
- Fail-closed sending. Every job starts with a pen-up, cancellation and
transport failures make a best-effort
PU;plus flush, and dropping a running job lifts the blade before the worker exits. - SVG text detection covers
<text>,<tspan>, fallback family lists, and inlinestyle="font-family: ..."; CSS<style>rules and external stylesheets are not resolved yet. - Durable autosaves. Snapshots and source paths are synced before rename;
stale temporary files are cleaned, and a corrupt snapshot is quarantined
as
recovery.rpsd.corruptinstead of blocking startup. - Reproducible release archives and Debian packages, post-publish checksum and archive verification, and Windows/macOS workspace checks in CI.
Not yet implemented from the product proposal:
- True-shape nesting with part-in-part placement.
- Native USB bulk transfer and live carriage/roll controls.
- Print-and-cut optical registration, barcode recall, job costing, inventory, mockups, variable data, and watch folders.
Those gaps are tracked in the roadmap and the product proposal.
The offline quality gate is:
make gate
cargo fmt --all -- --checkNo physical cutter is attached to this development machine. Serial output, force, registration, and multi-machine behavior still need hardware verification; automated tests cover encoding, geometry, tiling, preflight, and transport framing.
CutBear has no network client for accounts, telemetry, or updates. The network transports are limited to the plotter address supplied by the operator. File parsers and serial/TCP/CUPS transport paths are the highest-risk surfaces.
Report a suspected vulnerability privately through GitHub Security Advisories.
CutBear is released under the Apache License 2.0.
CutBear is an independent project and is not affiliated with, endorsed by, or sponsored by Adobe, Roland, or Graphtec. Photoshop and PSD are trademarks of Adobe Inc.