diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md index 0172d1bc..136f57b6 100644 --- a/ATTRIBUTION.md +++ b/ATTRIBUTION.md @@ -4,9 +4,9 @@ Every non-code asset in this repository (images, icons, fonts, example drawings, here with its author, source and licence. `cargo xtask assets` (part of `cargo xtask ci`) fails if an asset file is missing from this table. -**Policy (mandatory):** RustDraft contains **no Autodesk, Adobe or Avid iconography, images, +**Policy (mandatory):** DraftCraft (released as RustDraft) contains **no Autodesk, Adobe or Avid iconography, images, artwork, fonts, hatch patterns, linetypes, templates or presets.** Every asset is original work by -the RustDraft and CADCraft contributors or third-party material under an open licence (OSI open source, public domain +the RustDraft/DraftCraft and CADCraft contributors, WithShalom Studios' DraftCraft brand art, or third-party material under an open licence (OSI open source, public domain / CC0, or Creative Commons that allows redistribution). Screenshots of Autodesk software are never committed. Font files are not added here: shared fonts live in [storytold/craft-fonts](https://github.com/storytold/craft-fonts), an optional build input. @@ -14,8 +14,8 @@ committed. Font files are not added here: shared fonts live in Generated-in-code assets are original and have no file to list. They were written by the CADCraft contributors (RustDraft is based on CADCraft), except where a line names Skryx Dev: - the UI icon set (`crates/ui-egui/src/icons.rs`); -- the ribbon's pictures of the Arc and Circle methods and its application-button mark - (`crates/ui-egui/src/ribbon.rs`), by Skryx Dev; +- the ribbon's pictures of the Arc and Circle methods and its application-button mark (the + letters DC, for DraftCraft) (`crates/ui-egui/src/ribbon.rs`), by Skryx Dev; - the "RustDraft Stroke" single-stroke drafting font (`crates/fonts/src/stroke.rs`); - the standard linetype and hatch-pattern libraries (`crates/doc/src/library.rs`; industry-common names, our own dash/spacing values); @@ -29,29 +29,26 @@ contributors (RustDraft is based on CADCraft), except where a line names Skryx D | `krilla 0.8.2 / icc/sGrey-v4.icc` (dependency-embedded) | Clinton Ingram | [craft-libs 9f89fe8 vendor/krilla/icc/sGrey-v4.icc](https://github.com/storytold/craft-libs/blob/9f89fe8f6d72ab4db4cc06f186381a6a254463ab/vendor/krilla/icc/sGrey-v4.icc) (Krilla 0.8.2 upstream 3ffdf0588cf98050aad6edba51ca70162e1fb5b5) | CC0-1.0 | Embedded by the pinned PDF writer (`craft-pdf` 0.1.0, Krilla 0.8.2); unmodified dependency asset, no file copied into this repository. SHA-256 `00c0f94e09127520a17dc0e1d9264b5702081d96dbdb1549ee88e3631ce42a9d`. | | `krilla 0.8.2 / icc/sRGB-v2-magic.icc` (dependency-embedded) | Clinton Ingram | [craft-libs 9f89fe8 vendor/krilla/icc/sRGB-v2-magic.icc](https://github.com/storytold/craft-libs/blob/9f89fe8f6d72ab4db4cc06f186381a6a254463ab/vendor/krilla/icc/sRGB-v2-magic.icc) (Krilla 0.8.2 upstream 3ffdf0588cf98050aad6edba51ca70162e1fb5b5) | CC0-1.0 | Embedded by the pinned PDF writer (`craft-pdf` 0.1.0, Krilla 0.8.2); unmodified dependency asset, no file copied into this repository. SHA-256 `af4efe28f6d311799865f325ba39184a2e978b113ca74124d60af7de22b105f4`. | | `krilla 0.8.2 / icc/sRGB-v4.icc` (dependency-embedded) | Clinton Ingram | [craft-libs 9f89fe8 vendor/krilla/icc/sRGB-v4.icc](https://github.com/storytold/craft-libs/blob/9f89fe8f6d72ab4db4cc06f186381a6a254463ab/vendor/krilla/icc/sRGB-v4.icc) (Krilla 0.8.2 upstream 3ffdf0588cf98050aad6edba51ca70162e1fb5b5) | CC0-1.0 | Embedded by the pinned PDF writer (`craft-pdf` 0.1.0, Krilla 0.8.2); unmodified dependency asset, no file copied into this repository. SHA-256 `c56e1685d888f5edb92fe07f2750f387f8fe8e91b32ff8fb0b56bfbbb9458353`. | -| `assets/app-icon/hicolor/128x128/apps/dev.skryx.rustdraft.png` | Skryx Dev | generated from `assets/app-icon/rustdraft-1024.png` | MIT OR Apache-2.0 | Linux hicolor icon | -| `assets/app-icon/hicolor/16x16/apps/dev.skryx.rustdraft.png` | Skryx Dev | generated from `assets/app-icon/rustdraft-1024.png` | MIT OR Apache-2.0 | Linux hicolor icon | -| `assets/app-icon/hicolor/24x24/apps/dev.skryx.rustdraft.png` | Skryx Dev | generated from `assets/app-icon/rustdraft-1024.png` | MIT OR Apache-2.0 | Linux hicolor icon | -| `assets/app-icon/hicolor/256x256/apps/dev.skryx.rustdraft.png` | Skryx Dev | generated from `assets/app-icon/rustdraft-1024.png` | MIT OR Apache-2.0 | Linux hicolor icon | -| `assets/app-icon/hicolor/32x32/apps/dev.skryx.rustdraft.png` | Skryx Dev | generated from `assets/app-icon/rustdraft-1024.png` | MIT OR Apache-2.0 | Linux hicolor icon | -| `assets/app-icon/hicolor/48x48/apps/dev.skryx.rustdraft.png` | Skryx Dev | generated from `assets/app-icon/rustdraft-1024.png` | MIT OR Apache-2.0 | Linux hicolor icon | -| `assets/app-icon/hicolor/512x512/apps/dev.skryx.rustdraft.png` | Skryx Dev | generated from `assets/app-icon/rustdraft-1024.png` | MIT OR Apache-2.0 | Linux hicolor icon | -| `assets/app-icon/hicolor/64x64/apps/dev.skryx.rustdraft.png` | Skryx Dev | generated from `assets/app-icon/rustdraft-1024.png` | MIT OR Apache-2.0 | Linux hicolor icon | -| `assets/app-icon/src/rustdraft-icon.svg` | Skryx Dev | original work for RustDraft (2026-11-06): overlapping R and D monogram on a blue drafting grid, letters drawn as paths (no font) | MIT OR Apache-2.0 | Master of the app icon (full bleed) | -| `assets/app-icon/src/rustdraft-icon-macos.svg` | Skryx Dev | original work for RustDraft (2026-11-06), the same monogram in an 824-point squircle on the 1024 macOS icon grid | MIT OR Apache-2.0 | Master of the macOS icon | -| `assets/app-icon/src/rustdraft-icon-square.svg` | Skryx Dev | original work for RustDraft (2026-11-06), the same monogram full-bleed, the art of the macOS 26+ icon | MIT OR Apache-2.0 | Source of `RustDraft.icon` | +| `assets/app-icon/hicolor/128x128/apps/dev.skryx.rustdraft.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | Linux hicolor icon | +| `assets/app-icon/hicolor/16x16/apps/dev.skryx.rustdraft.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | Linux hicolor icon | +| `assets/app-icon/hicolor/24x24/apps/dev.skryx.rustdraft.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | Linux hicolor icon | +| `assets/app-icon/hicolor/256x256/apps/dev.skryx.rustdraft.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | Linux hicolor icon | +| `assets/app-icon/hicolor/32x32/apps/dev.skryx.rustdraft.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | Linux hicolor icon | +| `assets/app-icon/hicolor/48x48/apps/dev.skryx.rustdraft.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | Linux hicolor icon | +| `assets/app-icon/hicolor/512x512/apps/dev.skryx.rustdraft.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | Linux hicolor icon | +| `assets/app-icon/hicolor/64x64/apps/dev.skryx.rustdraft.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | Linux hicolor icon | | `docs/screenshots/rustdraft-ribbon.png` | Skryx Dev | screenshot of RustDraft 1.0.0 (2026-11-07) showing its own sample drawing; no third-party software or artwork | MIT OR Apache-2.0 | README illustration: the ribbon's Home tab | | `docs/screenshots/rustdraft-arc-menu.png` | Skryx Dev | screenshot of RustDraft 1.0.0 (2026-11-07) showing its own sample drawing; no third-party software or artwork | MIT OR Apache-2.0 | README illustration: the Arc drop-down | | `docs/screenshots/rustdraft-properties.png` | Skryx Dev | screenshot of RustDraft 1.0.0 (2026-11-07) showing its own sample drawing; no third-party software or artwork | MIT OR Apache-2.0 | README illustration: selection grips and the Properties palette | | `docs/screenshots/rustdraft-layout.png` | Skryx Dev | screenshot of RustDraft 1.0.0 (2026-11-07) showing its own sample drawing; no third-party software or artwork | MIT OR Apache-2.0 | README illustration: a layout with a viewport | -| `assets/app-icon/src/RustDraft.icon/Assets/rustdraft-art.png` | Skryx Dev | rendered from `assets/app-icon/src/rustdraft-icon-square.svg` | MIT OR Apache-2.0 | Layer of the Icon Composer icon (macOS 26+, compiled by actool) | -| `assets/app-icon/src/RustDraft.icon/icon.json` | Skryx Dev | original work for RustDraft (2026-11-06): the Icon Composer description of the macOS 26+ icon | MIT OR Apache-2.0 | Compiled by actool into Assets.car | -| `assets/app-icon/rustdraft.icns` | Skryx Dev | generated (packaging/icons.sh) | MIT OR Apache-2.0 | macOS icon | -| `assets/app-icon/rustdraft.ico` | Skryx Dev | generated (packaging/icons.sh) | MIT OR Apache-2.0 | Windows icon | -| `assets/app-icon/rustdraft-64.png` | Skryx Dev | generated | MIT OR Apache-2.0 | | -| `assets/app-icon/rustdraft-256.png` | Skryx Dev | generated | MIT OR Apache-2.0 | | -| `assets/app-icon/rustdraft-1024.png` | Skryx Dev | generated | MIT OR Apache-2.0 | | -| `assets/app-icon/rustdraft-macos-512.png` | Skryx Dev | generated (macOS margin variant) | MIT OR Apache-2.0 | | +| `assets/app-icon/src/RustDraft.icon/Assets/rustdraft-art.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | Layer of the Icon Composer icon (macOS 26+, compiled by actool) | +| `assets/app-icon/src/RustDraft.icon/icon.json` | Skryx Dev | original work for RustDraft (2026-11-06): the Icon Composer description of the macOS 26+ icon | MIT OR Apache-2.0 | Compiled by actool into Assets.car; fill colour set to DraftCraft blueprint blue (#0e3463) for the DraftCraft art layer | +| `assets/app-icon/rustdraft.icns` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | macOS icon | +| `assets/app-icon/rustdraft.ico` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | Windows icon | +| `assets/app-icon/rustdraft-64.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | | +| `assets/app-icon/rustdraft-256.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | | +| `assets/app-icon/rustdraft-1024.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | | +| `assets/app-icon/rustdraft-macos-512.png` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | | | `examples/apartment.dxf` | CADCraft contributors | sample drawing made with the CLI's commands | MIT OR Apache-2.0 | Original | ## Interface translations @@ -75,3 +72,7 @@ contributors (RustDraft is based on CADCraft), except where a line names Skryx D | `crates/ui-egui/src/i18n/tr.tsv` | @ogzhnklvz (AI-assisted) | Original Turkish translations of CADCraft's English strings | MIT OR Apache-2.0 (`LICENSE-MIT`, `LICENSE-APACHE`) | No proprietary localization resources copied; written from the English strings, no other catalog used as a source; the running app reviewed by a native speaker | | `crates/ui-egui/src/i18n/el.tsv` | @Camthalion77 with ChatGPT (AI-assisted) | Original Greek translations of CADCraft's English strings | MIT OR Apache-2.0 (`LICENSE-MIT`, `LICENSE-APACHE`) | No proprietary localization resources copied; independent native proofreading pending | | `crates/ui-egui/src/i18n/vi.tsv` | @2ez4gcx with Claude Code (AI-assisted) | Original Vietnamese translations of CADCraft's English strings | MIT OR Apache-2.0 (`LICENSE-MIT`, `LICENSE-APACHE`) | No proprietary localization resources copied; terminology chosen with a native speaker, full proofreading pending | +| `assets/app-icon/src/draftcraft-icon.svg` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | DraftCraft app icon master (full bleed): a drafting compass and the arc it drew on a blueprint-blue tile with a drafting grid; the PNGs, `.ico`, `.icns` and the Icon Composer art layer are rendered from it | +| `assets/app-icon/src/draftcraft-icon-macos.svg` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/compass-icon.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft) (2026) | MIT OR Apache-2.0 (the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | the same icon on Apple's icon grid (with its margin), for `rustdraft-macos-512.png` and `rustdraft.icns` | +| `docs/brand/draftcraft-logo.svg` | WithShalom Studios (DraftCraft) | original work for DraftCraft, drawn by `packaging/draftcraft-logo.py` in [withshalom/draftcraft](https://github.com/withshalom/draftcraft): the app icon beside the wordmark with ™, Source Sans 3 (SIL OFL 1.1, from storytold/craft-fonts) converted to outlines | MIT OR Apache-2.0 (the wordmark's glyph outlines: SIL OFL 1.1; the DraftCraft name and marks: [docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt)) | README logo | +| `docs/brand/draftcraft-logo-dark.svg` | WithShalom Studios (DraftCraft) | as `docs/brand/draftcraft-logo.svg`, light type | as `docs/brand/draftcraft-logo.svg` | README logo for dark backgrounds | diff --git a/NOTICE b/NOTICE index 6d197922..8e7ecba2 100644 --- a/NOTICE +++ b/NOTICE @@ -1,13 +1,18 @@ -RustDraft +DraftCraft™ (released as RustDraft) Copyright (c) 2026 Skryx Dev. -RustDraft is based on CADCraft (https://github.com/storytold/cadcraft): +DraftCraft is based on CADCraft (https://github.com/storytold/cadcraft): Copyright (c) 2026 ArtCraft Team and the CADCraft contributors. Both are licensed under the MIT License or the Apache License, Version 2.0, at your option -(LICENSE-MIT, LICENSE-APACHE). RustDraft is not made, sponsored or endorsed by the ArtCraft Team +(LICENSE-MIT, LICENSE-APACHE). DraftCraft is not made, sponsored or endorsed by the ArtCraft Team or the CADCraft project; it contains none of the ArtCraft names, wordmarks or logos. +DraftCraft™ and the DraftCraft logo are trademarks of WithShalom Studios, which created the name, the +logo and the app icon and first claimed the trademark. They are used in this repository by agreement +and are not covered by the license above: the code may be forked and redistributed, but a modified +version should not be presented as DraftCraft. Their terms are in docs/brand/LICENSE-brand.txt. + Third-party material Software dependencies are listed in Cargo.lock. One is under a weak-copyleft licence: the acadrust @@ -16,12 +21,12 @@ Mozilla Public License 2.0 and is used unmodified as a separate library (crates/ is available from crates.io and the repository above. -RustDraft's icons, drafting font, hatch patterns and linetypes are drawn or defined in code. +DraftCraft's icons, drafting font, hatch patterns and linetypes are drawn or defined in code. The UI also bundles the egui font inputs described below. The per-file list is in ATTRIBUTION.md. Builds made with the optional craft-fonts input (CRAFT_FONTS_DIR) embed the fonts listed in its ATTRIBUTION.md, each under the SIL Open Font License 1.1. -RustDraft is an independent project and is not affiliated with, sponsored by or endorsed by +DraftCraft is an independent project and is not affiliated with, sponsored by or endorsed by Autodesk, Inc. AutoCAD and DWG are trademarks of Autodesk, Inc. diff --git a/README.md b/README.md index c0f34f88..987b8505 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,13 @@

- RustDraft icon + + + DraftCraft™: a drafting compass that has just drawn an arc, on a dark blueprint-blue tile with a drafting grid, beside the name DraftCraft with Draft in bold +

-

RustDraft

-

Support me on Ko-fi - Join the RustDraft Discord + Join the DraftCraft Discord

@@ -20,13 +21,20 @@ License: MIT or Apache-2.0

+> [!NOTE] +> **DraftCraft™ was RustDraft.** The program is RustDraft by [SkryxDev](https://github.com/SkryxDev), built on +> [CADCraft](https://github.com/storytold/cadcraft); the DraftCraft name and logo are +> [WithShalom Studios](https://github.com/withshalom)' brand, used here by agreement +> ([`docs/brand/LICENSE-brand.txt`](docs/brand/LICENSE-brand.txt)). The rename is under way: the installers, the +> app bundle, the program files and the settings folder still carry the name RustDraft for now. +

- RustDraft with the Home tab of the ribbon and the sample drawing: a mounting bracket with dimensions, a section view and a title block + DraftCraft with the Home tab of the ribbon and the sample drawing: a mounting bracket with dimensions, a section view and a title block

--- -RustDraft is a 2D CAD application for drafting, dimensioning and plotting drawings, written from the +DraftCraft™ is a 2D CAD application for drafting, dimensioning and plotting drawings, written from the ground up in Rust. It opens and saves **DWG** and **DXF** files, speaks AutoCAD's command names and prompts at its command line, and puts everything in a **Windows-style ribbon** — the same on macOS, Windows and Linux, so you find the tools where you expect them on any computer. It is also built to be driven by @@ -142,15 +150,15 @@ icons for your menu. Every package also contains `rustdraft-cli`, the headless command-line tool and MCP server. -**Updates** — when RustDraft starts it asks GitHub whether a newer release is out and, if there is one, +**Updates** — when DraftCraft starts it asks GitHub whether a newer release is out and, if there is one, asks whether you want it: **Download** opens the release page. **Help › Check for Updates…** checks at any -time. That one request to `api.github.com` is all RustDraft sends; set `RUSTDRAFT_NO_UPDATE_CHECK=1` to turn +time. That one request to `api.github.com` is all DraftCraft sends; set `RUSTDRAFT_NO_UPDATE_CHECK=1` to turn it off. ## Use it with AI agents -RustDraft ships an [MCP](https://modelcontextprotocol.io) server. Add it to Claude Desktop, Claude Code -or any MCP client, and the agent draws in the open RustDraft window while you watch (on macOS it opens +DraftCraft ships an [MCP](https://modelcontextprotocol.io) server. Add it to Claude Desktop, Claude Code +or any MCP client, and the agent draws in the open DraftCraft window while you watch (on macOS it opens the app when needed): ```json @@ -199,7 +207,7 @@ cargo build --release -p rustdraft -p rustdraft-cli The programs are written to `target/release/` (`rustdraft` and `rustdraft-cli`). The interface fonts for Chinese, Japanese, Korean, Arabic, Thai and more come from the optional [craft-fonts](https://github.com/storytold/craft-fonts) repository: clone it and set -`CRAFT_FONTS_DIR=/path/to/craft-fonts` before building to embed them. Without it RustDraft uses the fonts +`CRAFT_FONTS_DIR=/path/to/craft-fonts` before building to embed them. Without it DraftCraft uses the fonts installed on your system. The quality checks — formatting, clippy, tests, asset licences, crate layering and the web build — run @@ -242,14 +250,14 @@ apps/ command runs behind a guard that restores the drawing and reports an error instead of crashing. - **Drawing happens on the GPU** through wgpu (Metal, DirectX 12, Vulkan), with a CPU fallback. - **No borrowed artwork.** Every icon is drawn in code, and the hatch patterns, linetypes and drafting - font are RustDraft's own definitions; [ATTRIBUTION.md](ATTRIBUTION.md) lists every asset file. + font are DraftCraft's own definitions; [ATTRIBUTION.md](ATTRIBUTION.md) lists every asset file. Settings, logs and autosaves live in `~/Library/Application Support/RustDraft` on macOS, `%APPDATA%\RustDraft` on Windows and `~/.config/rustdraft` on Linux. ## Status -RustDraft is young. 2D drafting, dimensioning, layouts and plotting work; 3D modelling is not there yet, +DraftCraft is young. 2D drafting, dimensioning, layouts and plotting work; 3D modelling is not there yet, and some object types that DWG/DXF files can contain can be lost on save. [ROADMAP.md](ROADMAP.md) lists what works, what is missing and what comes next. @@ -264,15 +272,21 @@ Pull requests are welcome too: fork the repository, make your change on a branch ## License -RustDraft is licensed under the [MIT License](LICENSE-MIT) or the [Apache License 2.0](LICENSE-APACHE), +DraftCraft is licensed under the [MIT License](LICENSE-MIT) or the [Apache License 2.0](LICENSE-APACHE), at your option. Third-party material is listed in [NOTICE](NOTICE) and [ATTRIBUTION.md](ATTRIBUTION.md). +DraftCraft™ and the DraftCraft logo are trademarks of WithShalom Studios, who first made the name and the +trademark claim. The licences above cover the code, not the name or the logo: you may fork and redistribute +the code, but a modified version should not be presented as DraftCraft. Their terms are in +[docs/brand/LICENSE-brand.txt](docs/brand/LICENSE-brand.txt). + ## Credits -Made by **[SkryxDev](https://github.com/SkryxDev)**. +Made by **[SkryxDev](https://github.com/SkryxDev)**. The DraftCraft™ name and logo are by +**[WithShalom Studios](https://github.com/withshalom)**. -RustDraft is based on [CADCraft](https://github.com/storytold/cadcraft) by the ArtCraft Team and the +DraftCraft is based on [CADCraft](https://github.com/storytold/cadcraft) by the ArtCraft Team and the CADCraft contributors, used under the same MIT OR Apache-2.0 licence; their copyright notice is kept in -[LICENSE-MIT](LICENSE-MIT) and [NOTICE](NOTICE). RustDraft is an independent project: it is not made, +[LICENSE-MIT](LICENSE-MIT) and [NOTICE](NOTICE). DraftCraft is an independent project: it is not made, sponsored or endorsed by them, and it is not affiliated with, sponsored by or endorsed by Autodesk, Inc. AutoCAD and DWG are trademarks of Autodesk, Inc., named here only to describe compatibility. diff --git a/apps/rustdraft-cli/src/args.rs b/apps/rustdraft-cli/src/args.rs index 7471b9a4..f1539cc1 100644 --- a/apps/rustdraft-cli/src/args.rs +++ b/apps/rustdraft-cli/src/args.rs @@ -64,7 +64,7 @@ fn convert_long_about() -> &'static str { }) } -/// rustdraft-cli: headless RustDraft +/// rustdraft-cli: headless DraftCraft #[derive(Parser)] #[command(name = "rustdraft-cli", version = rustdraft_engine::build_version(), arg_required_else_help = true)] pub(crate) struct Cli { diff --git a/apps/rustdraft-cli/tests/it/help.rs b/apps/rustdraft-cli/tests/it/help.rs index 858c3723..67b1095f 100644 --- a/apps/rustdraft-cli/tests/it/help.rs +++ b/apps/rustdraft-cli/tests/it/help.rs @@ -9,7 +9,7 @@ fn help_flags_print_help_to_stdout_and_exit_zero() { let out = Command::new(env!("CARGO_BIN_EXE_rustdraft-cli")).args(args).output().expect("run rustdraft-cli"); assert!(out.status.success(), "{args:?}: {:?}", out.status); let stdout = String::from_utf8_lossy(&out.stdout); - assert!(stdout.starts_with("rustdraft-cli: headless RustDraft\n"), "{args:?}: {stdout:?}"); + assert!(stdout.starts_with("rustdraft-cli: headless DraftCraft\n"), "{args:?}: {stdout:?}"); assert!(String::from_utf8_lossy(&out.stderr).is_empty(), "{args:?}: stderr should be empty"); } } @@ -19,5 +19,5 @@ fn bare_invocation_reports_on_stderr() { let out = Command::new(env!("CARGO_BIN_EXE_rustdraft-cli")).output().expect("run rustdraft-cli"); assert_eq!(out.status.code(), Some(2)); assert!(out.stdout.is_empty(), "bare invocation keeps its help on stderr"); - assert!(String::from_utf8_lossy(&out.stderr).starts_with("rustdraft-cli: headless RustDraft\n")); + assert!(String::from_utf8_lossy(&out.stderr).starts_with("rustdraft-cli: headless DraftCraft\n")); } diff --git a/apps/rustdraft-cli/tests/it/usage.rs b/apps/rustdraft-cli/tests/it/usage.rs index b493cc1f..e0c58e15 100644 --- a/apps/rustdraft-cli/tests/it/usage.rs +++ b/apps/rustdraft-cli/tests/it/usage.rs @@ -95,13 +95,13 @@ fn top_level_requests() { run_cases( "top", &[ - case("--help", &["--help"], 0, Line("rustdraft-cli: headless RustDraft"), Empty), - case("-h", &["-h"], 0, Line("rustdraft-cli: headless RustDraft"), Empty), - case("help", &["help"], 0, Line("rustdraft-cli: headless RustDraft"), Empty), + case("--help", &["--help"], 0, Line("rustdraft-cli: headless DraftCraft"), Empty), + case("-h", &["-h"], 0, Line("rustdraft-cli: headless DraftCraft"), Empty), + case("help", &["help"], 0, Line("rustdraft-cli: headless DraftCraft"), Empty), case("--version", &["--version"], 0, Starts("rustdraft-cli "), Empty), case("-V", &["-V"], 0, Starts("rustdraft-cli "), Empty), case("version is not a subcommand", &["version"], 2, Empty, Line("error: unrecognized subcommand 'version'")), - case("bare", &[], 2, Empty, Line("rustdraft-cli: headless RustDraft")), + case("bare", &[], 2, Empty, Line("rustdraft-cli: headless DraftCraft")), case("unknown subcommand", &["foo"], 2, Empty, Line("error: unrecognized subcommand 'foo'")), case("unknown top-level flag", &["--bogus"], 2, Empty, Line("error: unexpected argument '--bogus' found")), case("empty subcommand", &[""], 2, Empty, Line("error: unrecognized subcommand ''")), diff --git a/apps/rustdraft-web/index.html b/apps/rustdraft-web/index.html index ced8d1a0..d36264d3 100644 --- a/apps/rustdraft-web/index.html +++ b/apps/rustdraft-web/index.html @@ -3,7 +3,7 @@ - RustDraft + DraftCraft