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.

2.3 KB
Raw Blame
# The brush cursor follows the surface (#25): over the model the ring lies on it, a true circle in the plane of the
# surface there (#88: not bent over each bump), at the brush's real size; off the model it is the flat screen ring.
# Symmetry copies show as dots, not rings (#88). Preferences > Cursor: Cursor follows surface (on by default) and
# Hide ring while stroking (off by default), saved automatically.
run ui_look look=classic layout=classic        # written for the Classic look and the classic palette bar and shelves
run new_head
camera 35 10
key f
expect_value cursor_follows_surface == 1

# On the cheek, seen at an angle: the ring lies on the surface.
hover_model 0.62 0.55
expect_value surface_cursor == 1
shot on-surface

# From the front with X symmetry (on by default): a dot shows where the mirrored dab lands on the other cheek.
camera 0 0
key f
hover_model 0.3 0.55
expect_value surface_cursor == 1
expect_value cursor_copies == 2
shot symmetry
camera 35 10
key f

# A bigger brush: the ring wraps around the curve.
key ]
key ]
key ]
key ]
key ]
key ]
key ]
key ]
key ]
hover_model 0.6 0.4
expect_value surface_cursor == 1
shot on-surface-big

# Off the model: the flat screen ring.
hover_window 0.68 0.5
expect_value surface_cursor == 0
shot off-surface

# While stroking the ring stays by default...
drag_path 0.4 0.4 0.7 0.5 keep
expect_value cursor_ring == 1
release
# ...Preferences > Cursor > Hide ring while stroking leaves only the dot during a stroke.
click "Preferences##palette.preferences"
click "Cursor##preferences.cursor"
expect "Hide ring while stroking##cursor.hide_ring_stroking"
expect_value hide_ring_while_stroking == 0
click "Hide ring while stroking##cursor.hide_ring_stroking"
expect_value hide_ring_while_stroking == 1
key escape
drag_path 0.4 0.4 0.7 0.5 keep
expect_value cursor_ring == 0
shot hidden-ring-stroking
release
hover_model 0.6 0.4
expect_value cursor_ring == 1
click "Preferences##palette.preferences"
click "Hide ring while stroking##cursor.hide_ring_stroking"
expect_value hide_ring_while_stroking == 0
key escape

# Preferences > Cursor turns it off.
click "Preferences##palette.preferences"
expect "Cursor follows surface##input.surface_cursor"
click "Cursor follows surface##input.surface_cursor"
expect_value cursor_follows_surface == 0
key escape
hover_model 0.6 0.4
expect_value surface_cursor == 0
shot flat-ring