Skip to content

v0.0.54

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 09:55

Release Notes — v0.0.54

Covers changes from v0.0.53 to v0.0.54.

Import DXF and SVG

  • Two new sketch tools, DXF and SVG (shortcuts dx and sv), bring a 2D drawing into a sketch: a laser profile, a supplier's outline, a logo. Its curves are written as the sketch's own line, arc, circle, ellipse, eArc and bezier statements, which you can drag, constrain, trim and extrude. The file is read once and nothing links back to it.

    import-dxf-placing
  • The drawing appears on the sketch plane in a frame with handles. Drag it, a corner or the knob to place it. The dialog sets the file's unit, a scale and the layers to bring in. Anything left out or approximated is listed under Warnings.

  • Join ends that meet writes a coincident wherever two ends touch. Fix in place also pins the drawing where it lands, so the sketch is fully constrained as soon as it is imported.

    import-dxf-fixed
  • Text comes in as text() statements, when the font is installed. A toggle turns it on or off: off by default for a DXF, on for an SVG.

  • Construction lines (DXF XLINE and RAY) and Inkscape guides come in as guide lines, behind a toggle that starts off. DXF points come in as point() statements.

  • An SVG is flattened through every transform, group and nested viewport. The page's lower-left corner sits on the sketch origin, and its circles come back as circles even when they were drawn as arcs or beziers.

    import-svg-placing

Sketching

  • New primitive: Elliptical Arc (shortcut ea), an open piece of an ellipse. Click the centre, size RX and RY, then click where the arc starts and ends. In code it is eArc(start, end, center, rx, ry, rotation). It takes constraints, Mirror and Copy like the other curves.

    elliptical-arc

Extrude

  • The Extrude dialog can extrude a picked face. Click a planar face of a solid for the profile and it is swept as it is, with no sketch. Code could already do this with extrude(10, e.endFaces()); now the dialog can too.

  • cut() takes a face too: cut(5, e.endFaces()) sinks the faces into their own solid.

    extrude-face

Assemblies

  • Whole assembly now exports to DXF and SVG too: every part where it sits, drawn on one sheet, with parts in front hiding what is behind them. From the terminal: npx fluidcad export svg --plane front in an assembly.

    assembly-drawing
  • The Insert part dialog places new parts in a row beside the assembly instead of on the origin.

Agent

  • An install from FluidCAD Hub now asks with a card. It shows the package as the hub describes it (version, publisher, license, installs, exports), where it will go, and whether it is an upgrade, already installed or deprecated. Install, Always or Deny. Always stops asking until you turn it back on in Settings › Agent.

    agent-install-card
  • Send a message while the agent is working and it waits its turn. Up to ten wait above the message box, each with a × to take it back, and each one starts its own turn when the agent is done. After a stop or an error they wait until you click Send.

    agent-queued

Desktop app

  • Linux now has an rpm package beside the AppImage and the deb. The deb and rpm update through your package manager.

MCP server

  • export with assembly: true draws the whole assembly to DXF and SVG.

Bug Fixes

  • An extrude with a distance of zero now fails the build instead of hanging the engine (#103).
  • A point() in a sketch now draws its dot. Before, it could be picked but not seen.