Repository navigation
Release 0.30.1: Creality G-code pictures, ZIP previews, start page names, Viewer page - #86
Merged
Merged
Conversation
…n file names
- G-code pictures written by Creality Print were not found: it writes the size as "96*96"
(png / jpg blocks) or "300 300" (thumbnail block) instead of "300x300". Those G-codes had no
picture on the start page's card nor in the side panel. Both readers now accept x, * or a space
(as the Windows Explorer thumbnails already did).
- A long file name without spaces ("3DBenchy_PLA_K1C_220_60.gcode") was cut off at the card's
edge: a label only wraps at spaces. wrap_lines breaks it where fit_lines measured it would.
- "&" in a file name showed as "_" + underline in the recent list and the Recent menu (Qt's key
marker); it is written "&&" there now.
- The card's name and folder are plain text: a name like "<b>bold.gcode" (allowed on Linux and
macOS) showed as bold text without the tag.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ge in four boxes - ZIP files get a preview on the start page's card: a picture file in the ZIP (the maker's photo or render, from images/ and similar folders first, in the ZIP's own order), else the picture of its first 3MF, else that of its first G-code. Only that one part is read, within the ZIP limits (pictures up to 64 MB, a 3MF inside up to 32 MB, the first 4 MB of a G-code); icons under 2 KB and macOS resource forks are skipped. Tested on real Printables/Thingiverse downloads. - Settings -> Viewer: "Other" is now "Measure, View and Check" (the toolbar buttons its settings belong to), and a new "Start page" box has "Show a preview of recent files when the mouse is over them" (on). Off: no card, and no file is read until it is opened. Graphics comes fourth. - The card's text is measured on the labels' real width (the card's border left them 2 px narrower than the picture, so the longest line could touch the edge). - Guide (en, ar, nl) and README: the ZIP previews and the switch. New texts: drafts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…de, ZIP), names, Viewer page
…mes, Viewer page Version 0.30.1 and its changelog in English, Arabic and Dutch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… macOS CI fix - Website and README: a "Start page" row in the features (en, ar, nl), a picture of the start page with its preview card under the guide's paragraph about it, and the theme picker (Settings -> Appearance) in the website's Themes section. Both pictures in Light, Dark and Ember (the theme picker one was older than the Toolbar page); tools/make_screenshots.py makes them (and got --only, to make some pictures without re-taking all). - tests/test_recent_preview.py opened Settings through the main window, which asks the graphics driver for the GPU name: that crashes on GitHub's headless Macs (both Mac builds failed). It now opens the dialog directly with a stand-in GPU name, like the other Settings tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 0.30.1. Merging publishes the release (and the website, whose guide pages changed).
Fixed
300*300or300 300, which wasn't recognised (since 0.3.0). The Windows Explorer thumbnails already read it.&showed as an underlined letter in the recent list and the Recent menu; a name like<b>x.gcodewas read as formatting on the card (Linux/macOS).New
images/first, in the ZIP's own order), else the first 3MF's picture, else the first G-code's. Only that one part is read, within the ZIP safety limits.Tested by @sevagjb as a portable build. Arabic and Dutch: texts and changelog reviewed; guide updated (en, ar, nl).
Checked
793 tests pass;
mkdocs build --strictpasses.Generated by Claude Code