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.
C++ 3d3d-sculptingcppdear-imguidigital-sculptingfbxgame-developmentgaussian-splattinggltfimage-to-3dmcpopenglopenusdsculptingtext-to-3dunreal-engine
Merge branch 'feat/blenderkeys' into feat/v095
islandmed63c93f21d239
diff --cc CHANGELOG.mdindex 764ed6a8,c783354b..69d04513--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -7,16 -7,23 +7,31 @@@ All notable changes to SculptForge are## [Unreleased]### Added+- ZSpheres (Tool > ZSpheres, #8): block out a base mesh from connected spheres. Draw grows a sphere from another (the drag sets its size) or adds a joint on a link, Move and Scale set the proportions, Alt+click deletes, Symmetry mirrors every edit, Preview (A) shows the skin, and Make Mesh builds it as a new watertight quad SubTool with a polygroup per link, keeping the ZSpheres hidden to edit again. Undoable, saved in projects, and scriptable (zsphere_new, zsphere_add, zsphere_set, zsphere_delete, zsphere_insert, zsphere_preview, zsphere_make_mesh, zsphere_list).+ - A Blender input style (#12): **Preferences > Input > Style > Blender**, also at the top of the Controls window.+ Middle-drag orbits, Shift+middle pans, Ctrl+middle zooms, and Alt+left-drag does the same for pens and+ trackpads (Emulate 3 Button Mouse); Ctrl inverts a stroke, Shift smooths; F / Shift+F set the radius and+ strength; Blender 4.2+'s Sculpt Mode keys pick the nearest brushes (V Draw, S Smooth, P Pinch, I Inflate,+ G Grab, C Clay Strips, Shift+C Crease, K Snake Hook, Shift+T Scrape as Flatten) and M the Mask brush+ (Ctrl+drag unmasks); Alt+M / Ctrl+I clear / invert the mask; H / Shift+H / Alt+H hide, isolate and show+ polygroups; Alt+1 / Alt+2 step the subdivision levels; Home frames everything. Choosing it sets Rotation to+ Turntable. **Emulate Numpad** makes the number row work as the numpad.+ - **Import Blender keymap...**: reads a keymap exported from Blender (the .py file, as text: it is never run) and+ takes the 3D View and Sculpt keys SculptForge has an equivalent for. Also the `blender_keymap_import` command.+ - Numpad views in every input style: Numpad 1 / 3 / 7 front, right, top (Ctrl: back, left, bottom), Numpad 5+ orthographic, Numpad 4 / 6 / 8 / 2 orbit in 15 degree steps, Numpad 9 the other side, Numpad . frames the+ active SubTool, Numpad Plus / Minus zoom.+ - An orthographic view. The axis views turn it on until the view is rotated again (Blender's Auto Perspective).### Fixed+- The Blender Bridge add-on zip was missing `zbrush_keys.py`, so Blender refused to install it ("cannot import name zbrush_keys", #10). The zip now carries every module, and the packaging check fails if one is left out.+- Rotating, panning and zooming with the pen tip on the background only shook the view with some tablets (a Ugee+ M708 on Linux, #7): their drivers send stray mouse events between the pen's, and the view followed both. The+ pen now moves the view by its own motion only, and lifting the pen ends a view drag as it ends a stroke.+- The S / U / I / O slider closed as soon as you grabbed it, and could open away from the cursor (#9, seen on+ Windows). It now opens with its knob (the current value) right under the brush cursor, at any UI scale and+ with a pen, and stays open while you drag until you let go, click elsewhere or press Esc.+ - B, M, S and the LightBox key followed the built-in key even after you gave the action another one.## [0.9.4] - 2026-10-29diff --cc src/app/App.cppindex 918e2a11,0f0017e1..dfd762d6--- a/src/app/App.cpp+++ b/src/app/App.cpp@@@ -693,8 -693,8 +693,9 @@@ void App::onMouseDown(float x, float yif (eraserAction() == PenAction::EraseMask && previewLod_ < 0 && pick(x, y, hit)) beginMaskStroke(x, y);return;}+ if (blenderStyle() && blenderNavigationDown(button)) return; // middle / Alt+left / right drags navigateif (button == SDL_BUTTON_LEFT) {+ if (zsphereMouseDown(x, y, mod)) return; // a ZSphere SubTool takes clicks on it (PanelZSpheres.cpp)if (polygroupMouseDown(x, y, mod)) return;if (maskSelectMouseDown(x, y, mod)) return;if (gizmoMouseDown(x, y, mod)) return; // Gizmo 3D handles, pivot clicks (Gizmo.cpp)diff --cc src/app/UiTest.cppindex e9d05623,e840bc60..fc00c555--- a/src/app/UiTest.cpp+++ b/src/app/UiTest.cpp@@@ -8,11 -8,10 +8,12 @@@//// click LABEL / double_click LABEL / right_click LABEL / hover LABEL// type LABEL TEXT click a text field and type into it- // key COMBO e.g. enter, escape, ctrl+z, ctrl+shift+z, 3, comma, backtick, tab, f3, space, minus+ // key COMBO e.g. enter, escape, ctrl+z, ctrl+shift+z, 3, comma, backtick, tab, f3, space, minus,+ // home, numpad1, ctrl+numpad7, numpad., numpadplus// hold MODS ctrl / shift / alt / ctrl+shift ... or none (for strokes and drags)// stroke U0 V0 U1 V1 [S] brush stroke across the model (fractions of its on-screen bounds)+// view_drag X0 Y0 X1 Y1 [S] left-drag in the viewport at window fractions, gliding there first like stroke (same+// point twice = a click)// drag X0 Y0 X1 Y1 [S] [release] left-drag in window fractions (rectangle hide, sliders...); release:// let go of the held modifiers halfway (ZBrush's Alt-drag, release Alt to zoom)// drag_item LABEL DX DY [S] left-drag from the item by DX DY pixels (scrubbing, dragging a tile out)@@@ -83,8 -83,9 +86,10 @@@// last_stroke_dabs (dabs of the last finished stroke), stroke_type (0 Dots, 1 DragRect,// 2 DragDot, 3 Spray, 4 LazyMouse), vdms (VDM brush maps), vdm_files (.sfvdm in the library)// z_intensity, smooth_intensity, rgb_intensity (0-100), focal_shift (-100..100), draw_size,+// size_popup_open (the S / U / I / O slider), size_knob_x / size_knob_y (its knob, pixels),- // quickmenu_open, lazy_mouse, input_style (0 ZBrush, 1 SculptForge), brush_type (BrushType+ // quickmenu_open, lazy_mouse, input_style (0 ZBrush, 1 SculptForge, 2 Blender), turntable,+ // camera_ortho, mask_brush (Blender's Mask brush on), shortcut_conflicts (keys two actions+ // claim), brush_type (BrushType// index, -1 for a custom brush or Paint), last_dab_x / last_dab_y (window pixels), paint_r// gizmo_mode (0 Draw, 1 Move, 2 Scale, 3 Rotate), gizmo_hover (handle under the cursor,// 0 = none, in gizmo_drag's order from 1), gizmo_falloff, pivot_x / pivot_y / pivot_z,