SketchCraft
Changelog

SketchCraft 0.3.11

Released . Release files on GitHub

Added

  • A welcome screen. When SketchCraft starts it offers a new model in a look and its units (Simple, Architectural or Visualization, each in metric or feet and inches), the starter models and examples, Open file, and the models you opened or saved lately. Learn is one click away. Help › Welcome… brings it back; a switch turns it off at start.
  • Door and Window tools. In the Arch tab, pick Door or Window, hover the side of a wall to see where it goes, and click: it’s centred where you clicked, a door on the floor and a window at its sill, cut through the wall and marked as an IFC door or window. Width, height and sill are in the card over the view. In a wall made with the Wall tool, select a placed one to change its size or sill in Entity Info. Agents use opening, opening_info and opening_edit. (#264)
  • Walls, stairs, roofs and columns keep their settings. Select one you placed and change its thickness, height, rise, pitch or roof type in Entity Info: it’s remade in place, with its doors and windows cut again. A wall you’ve edited by hand asks before your edits are replaced. While the Wall, Stairs, Roof, Column or Room tool is in use, its settings now show in a small card over the view instead of only below the library. Agents use part_info and rebuild. (#263)
  • Two themes for people coming from SketchUp. Themes › Harbor has a Web layout: floating cards along the top, a one-column tool rail, and panel tiles on the right that slide out. Harbor Desktop has a docked tool bar, document tabs, a strip of saved views, the tray on the right and a status bar (in the desktop app on macOS its menus are in the Mac menu bar). Daylight and Studio grey backdrops come with them. The other layouts are unchanged.
  • Classic Color icons and a tray. Themes › Classic Color draws every tool with an original colour icon, and the Classic layout can show a right-hand tray of collapsible panels: Entity Info, Materials, Components, Styles, Environments, Tags, Scenes and the Outliner. Turn the tray on under the Classic layout. (#228)
  • Orbit around the spot under the cursor. Orbiting (the Orbit tool, the middle button, Space and drag, a trackpad or touch) now turns around the surface point where it starts, not the middle of the view; empty sky still turns around the middle. (#224)
  • See and bring back what you’ve hidden. View › Hidden geometry (Shift+H) draws hidden things as faint dashed lines, and Edit › Unhide all has a key, Ctrl+Shift+H (⌘⇧H on a Mac). (#225)
  • Right-click on empty space. Right-clicking the empty view opens a menu: Select all, Paste, Paste in place, Zoom extents, Unhide all, the camera views and projection, and the X-ray, Shadows and Edges switches. (#227)
  • Scenes that show only some things. In Views, select the groups or objects a scene is about and click Save showing only the selection: that scene hides everything else, and things you draw later stay hidden in it too, so you no longer hide new work in every scene by hand. Other scenes show everything as before. Agents use save_view with only. (#229)
  • Smooth camera can be turned off. Camera › Smooth camera (on by default) is the glide after an orbit or a pan; turn it off and the camera stops the moment you let go of the button. The choice is remembered. (#251)
  • More of SketchUp’s Ruby API. Scripts and extensions can now use Sketchup::Tool (mouse and key events, the VCB, input points), UI::HtmlDialog, observers, timers, Follow Me and textures, and can read the faces and groups that are already in the model. Solid Inspector² (the real extension) loads and inspects a group. A table of which popular free extensions run, and what each is missing, is in the guide (SketchUp extensions: what runs). The app does not yet show an extension’s panel or feed its tool the mouse. The engine’s faces command can also return each face’s corners.
  • 3D mouse support. A 3Dconnexion SpaceMouse orbits, pans and zooms the view in the desktop app (macOS, Windows, and Linux, through spacenavd when it runs). Window › 3D mouse… sets the speed, dead zone, a flip for each axis and a lock for rotation or pan; the left button fits everything and the right goes to the iso view. The app reads the device directly, with no 3Dconnexion software bundled, and works the same without one. (#58)
  • A report after every SketchUp import. When a .skp import finishes, a SketchUp import report opens with what came across (faces, components and how many were placed, materials and how many pictures, dimensions) and what did not, each with the reason: pictures that could not be read, text labels and screen texts, dimensions that could not be placed or will not follow edits, and SketchUp tags (not imported yet). Close it with Esc or Close; Only show this when something was left out keeps it quiet for complete imports. Agents get the same as report in the import_skp result. (#36)

Changed

  • The standard views are flat. Top, Front, Right, Back and Left switch to Parallel projection, and orbiting away switches back to perspective. Parallel projection you turn on yourself stays on. In Parallel projection the scroll wheel zooms toward the cursor, and changing from one standard view to another works again. (#232)
  • Opening a file in a browser. File › Open and File › Import show the browser’s own file chooser instead of asking for a path: .sketchcraft, .skp, .fbx, .dxf and .obj open from the file you pick. Save As and exports ask for a path in the app’s own box. The desktop app keeps its system dialogs.
  • The view bar folds on a narrow window. In the Vertical layout, when the model view is narrower than 960 px, X-ray, Edges, Shadows and the other style switches fold behind ⋯ so the bar stays one row. They are in the View and Camera menus too. (#226)

Fixed

  • Undo after a refused change. When a tool’s change was refused, the next Undo did nothing and every Undo after it landed one step later than expected. A refused change is no longer an undo step. The Room tool’s windows also stay under the top of the wall.
  • Cuts never leave a solid open without saying so. A push/pull, a door or window (from the tools or placed from the library into a wall), an opening edit, a rebuilt wall or a Follow Me that would open a gap in a closed solid is now refused with a message, and the model stays as it was, instead of replying that all is well over a broken surface. Drawing or cutting a shape on a face that earlier lines or cuts had shaped no longer opens a seam along one of them, and an offset inside a group stays in that group.
  • Doors and windows keep a wall a closed solid. A third door at the foot of a wall, or any door in a closed wall, no longer leaves the wall open or with a zero-area face; and a door or window moved, copied or arrayed on top of another no longer corrupts the wall when it is rebuilt (the overlapping one is left out and the reply says so).
  • The Room tool snaps to the rooms already there. Its corners go onto a room’s corners (where its walls meet) or line up with them, and otherwise onto the grid; the hint says which. A room drawn in the gap between two rooms shares both their walls instead of building a second wall beside each.
  • Ambient occlusion no longer blanks the view. With Ambient occlusion on (the Architectural style), the model view could come up empty, with no model, grid or sky, after the view was set up again (a layout change; always in the dev build): the shading was drawn into the old view’s canvas.
  • The “+N more tools” button reads when it’s lit. With the active tool inside it, the button was blue on blue; it is white on blue like every other active tool.
  • A door leaves the wall solid. A door, from the Door tool or the library, used to leave a face lying across the doorway on the floor, so the wall showed as “Not solid: has open edges”. The floor of the doorway is open now.
  • The tool settings card sits beside the tool tip instead of on top of it.
  • Deleting a line across a face heals it. Erase the edge between two faces that lie flat together and they become one face again, as in SketchUp, instead of both disappearing. Holes left by a shape drawn inside a face fill in the same way. An edge on a fold or a corner still takes its faces with it. (#262)
  • Cleaner ambient occlusion. AO in the Architectural style no longer speckles along profile lines, now works in Parallel and the standard views, stays sharp on HiDPI screens, and scales its shading with the zoom, so it reads the same on a chair and on a whole building. (#265)
  • Push/Pull through a wall. A shape drawn on a wall and pushed to the far side now opens a hole right through, instead of leaving a face on the far side. A push past the far wall, or within a millimetre of it, stops there. (#255)
  • No black specks or wedges with Profiles on. The profile outline could show through faces it sat right behind: speckles inside open boxes and on the back of single walls, and black wedges on thin panels such as a 2.3 mm back panel. (#253, #254)
  • The floor no longer flickers through faces at ground level. (#253)
  • Shift still snaps. With the direction locked by Shift, you can still snap to a point on other geometry: the length is taken from where that point lines up on the locked direction, as in SketchUp. (#253)
  • Edges and guides win over From Point. Hovering an edge says “On Edge” again, so the Tape Measure makes a parallel guide from it, and the drawing axes count as lines to snap to. (#231)
  • Distances without a leading zero. Typing .12 (or 12.) into the Value box works. (#252)
  • Textures in perspective and in OBJ files. The plain face under a picture is no longer drawn, so the two can’t flicker against each other far away (clicking the face still selects it). An OBJ export now fails if a picture can’t be written, says which pictures it couldn’t read, and names its .mtl file and pictures folder without spaces. (#222)
  • Guides inside an open component show.
  • Drawing around a hole, and pushing through at a part’s edge. A rectangle drawn around an opening that already goes through now takes that opening with it, instead of leaving two holes on top of each other, and a notch pushed through at the edge or corner of a part leaves a closed solid with no thin face across the notch. Cuts side by side (a pocket beside a hole, two notches in a row) and a cut around a pocket stay closed solids too, at any size and on parts turned off the axes.
  • SketchUp 2017-2020 files import their materials and the pictures on them. These files came in with every face in the default color: their materials were not found at all. Now the names, colors and texture pictures come across (and the pictures of 2013-2016 files that share one between materials), each picture at the size SketchUp keeps for it. A picture that can’t be read is named in the import’s message and the material keeps its color. (#17)

Security

  • Hardening for 0.3.11.
    • Plugin and extension menus are cut to a fixed number of entries, each a clean one-line label, and a plugin adds at most 50 commands.
    • Text from plugins (names, menus, messages, command hints, the install dialog and every toast) is cleaned of control, direction and Unicode format characters wherever it is shown, so it can’t read as something else.
    • Plugin messages are rate limited everywhere they are shown, and a plugin’s result table is bounded.
    • The plugin install dialog checks a plugin’s size before reading it.
    • The plugin sandbox closes network and storage on the worker’s prototypes as well as on the worker itself, closes the old file-system entry points too, and is checked after setup: a plugin whose sandbox still has a name open is not run.
    • Extension file names, in single scripts as well as archives, may not carry control or direction characters or the names Windows keeps for devices (con, nul, com1…).
    • Files an agent or a plugin writes are opened without following links, links inside an agent’s workspace are refused (for agents allowed any path too), and that rule lasts only for the one command.
    • DWG export is written the same safe way as every other export.
    • The SketchCraft AI helper works in an empty folder that only you can use: on a shared /tmp it never takes a folder or link another user made first, and its agents fall back to modeling only when no private folder can be made.
    • The 3D mouse trusts only a spacenavd socket owned by the system or by you, so another user on the computer can’t steer the camera, and its reads no longer block the app.
    • Colours, finishes and vertex colours read from imported files, IFC files and saved models are brought into range, and material numbers are checked before saving.
    • Scene lists count toward a model’s size estimates and have limits for agents and plugins.
    • Texture file names written with a model avoid the names Windows keeps for devices.
    • Cutting work keeps its time limit in every loop, so a push/pull’s corner repair can’t freeze the app.
    • In the browser build a file is checked against a 256 MB limit before it is read into memory.
    • Questions the app asks come one at a time, and closing one answers it, so a plugin or agent can’t stack them.
    • Android: the app’s data is left out of device backups.

Thank you

Thank you to everyone who reported what got in their way in this release:

  • timrowledge: scenes that show only some things (#229), guides and edge snapping (#231), and zooming in Top view (#232).
  • jarekdudzinski: typing distances like .12 (#252).
  • Capaianca: black wedges on thin panels with Profiles on, with a detailed diagnosis (#254).