Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

3.0 KB
Raw Blame
# What's New: Help > What's New opens the newest version's feature cards (docs/guide/whats-new.md, its ```features
# block); Esc closes it, Try it opens the feature, Full release notes opens the guide chapter, which shows the last
# three versions in full and folds the older ones into groups.
# The window is pinned to 0.10.7's five cards (SF_WHATS_NEW_VERSION), so this stays valid after each release; the guide
# chapter below is pinned to 0.11.16 (SF_GUIDE_VERSION), so it checks 0.11.16's section before and after the release.
env SF_WHATS_NEW_VERSION 0.10.7
env SF_GUIDE_VERSION 0.11.16
run ui_look look=classic layout=classic        # written for the Classic look and the classic palette bar and shelves
run new_sphere subdivisions=3
click "Help##palette.help"
click "What's New##help.whats_new"
wait 0.5
expect_value whats_new_open == 1
expect_value whats_new_cards == 5
expect_text "What's new in 0.10.7"
expect_text "A new look"
expect_text "Clearer memberships"
expect_text "Full alphas, every brush"
expect_text "Native Wayland"
expect_text "Benchmark your machine"
expect "Try it##whats_new.try.0"
expect "Read more##whats_new.try.3"
shot whats-new-popup

# Esc closes it; nothing under it moved.
key escape
wait 0.3
expect_value whats_new_open == 0

# Tab to the third card, Enter tries it: the custom brush Clay Slab is selected (#75's full alphas).
click "Help##palette.help"
click "What's New##help.whats_new"
wait 0.4
key tab
key tab
key tab
key enter
wait 0.3
expect_value whats_new_open == 0
expect_value whats_new_tries == 1
expect_value custom_brush_active == 1

# Try it on the first card switches to the new look.
click "Help##palette.help"
click "What's New##help.whats_new"
wait 0.4
click "Try it##whats_new.try.0"
wait 0.3
expect_value whats_new_tries == 2
expect_value whats_new_open == 0
expect_value look == 1
expect_value shell_layout == 1

# The same window in Forge Terminal (the look's colours), then Full release notes: the guide chapter.
run ui_look look=forge scheme=tokyo_night layout=classic   # Forge Terminal's colours, with the palette bar for the clicks
click "Help##palette.help"
click "What's New##help.whats_new"
wait 0.5
shot whats-new-popup-forge
click "Full release notes##whats_new"
wait 0.3
expect_value whats_new_open == 0
expect_value guide_open == 1
expect_guide whats-new.md
expect_text "Version 0.11.16"
expect_text "One gizmo for move, rotate and scale, symmetric cuts, and clearer labels."
expect_text "Version 0.11.15"
expect_text "Micro sculpting fixed, a 3D tube pen, and tools for tidy Parts."
expect_text "Version 0.11.14"
expect_text "A deformation stack, a slimmer layout, and palettes that open on small screens."
expect_value whats_new_contents == 6
expect_value whats_new_expanded == 1
shot whats-new-guide

# The end of the chapter: a quiet line about supporting SculptForge; its button only asks for the website's page
# (UI tests never start a browser).
expect_text "If it helps your work, you can support its development."
expect "Support SculptForge##whats_new"
expect_value support_requests == 0