Skip to content

BamCam v0.9.4

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 19:06
· 12 commits to main since this release

BamCam 0.9.4 brings parametric sketches, AppImages for Linux, a plugin interface for windows with many values, and demos of every kind of plugin. It collects the betas 0.9.4-beta.1 to beta.8.

New: parametric sketches

Draw ▸ Sketch (or the toolbar button; double-click a sketch to edit it again): lines, rectangles, circles, arcs and points held in place by constraints and dimensions, so that changing a dimension or a variable reshapes the part.

  • Sketch mode in the drawing, with a bar of icons: lines in a chain (nearly horizontal or vertical lines get that constraint), rectangles, circles, points, dashed construction geometry. Arc (A) goes start, end, then a point on the arc, as Draw ▸ Arc; Arc (Centre) (Shift+A) goes centre, start, end. Clicking an existing point joins to it.
  • Constraints: coincident, horizontal, vertical, parallel, perpendicular, tangent, equal, midpoint, symmetric, fix. A constraint that contradicts others or repeats them is refused, with the reason in the message window; a midpoint or a coincidence that includes an earlier "point on object" replaces it.
  • Dimensions: length, distance, point to line, along X or Y only (X 60 / Y 30), radius, diameter, angle; to the origin by selecting the cross. Double-click a dimension to change it; one that would over-constrain becomes a reference dimension.
  • Variables and formulas: Variables... holds named values; a dimension can be Width - Edge or Height / 2.
  • Fillet and chamfer of corners, with the radius or length as a dimension.
  • Colours show what is fully determined, can still move or conflicts. Dragging uses the grid and object snap.
  • The outlines of a sketch are what operations machine; drawings also store them as plain polylines, so CamBam shows them. Example: examples/Sketch (mounting plate).cb.
  • New, Open and Close keep a sketch being edited first, as Finish.

New

  • AppImages for Linux (x86_64, aarch64) next to the .tar.gz archives: make the file executable (chmod +x) and start it, nothing to install (issue 41).
  • Linux: software rendering by default. With OpenGL, some graphics drivers (often without a compositor, e.g. on LinuxCNC machines) made the window flicker whenever the mouse moved. Tools ▸ Options ▸ Display ▸ Linux Rendering switches between Software and OpenGL (from the next start); --rendering or BAMCAM_RENDERING choose a mode for one start. A note explains it once.
  • Squircle window: Draw ▸ Squircle... opens a window with the values and a live preview, like the Squircle Pro plugin for CamBam; a double-click on a squircle opens it again with its values.
  • Double-click in the Drawing tab edits an object as a double-click in the drawing does.
  • Updates: Help ▸ Also Offer Betas switches the betas of the update check on or off; the question at the first start offers finished releases only, also betas, or no check.

Fixed

  • Post processors edited in the System tab are saved to the .cbpp file in the post folder of the system folder; a built-in post processor or one of a CamBam installation is saved there as a copy of the same name, which takes its place from then on (issue 34).
  • THC templates in .cbpp files: <TorchHeightControlOn> / <TorchHeightControlOff> are read as well as <ThcOn> / <ThcOff>.
  • A drawing dropped on the window asks about unsaved changes before it replaces the open one.
  • Zoom To Fit in the sketch mode includes the sketch being edited.

For plugin and script authors

  • ctx.AskValues(title, values, preview): many values in one window without designing it. Write a class with a property per value; BamCam shows a field for each (numbers, check boxes, lists for enums, text), with an optional live preview; Cancel puts the values back. Scripts can use it too (issue 43).
  • host.AddEntityEditor<T>(...): what a double-click on a plugin's object opens.
  • Plugin demos: plugins/community/BamCam.Example has one menu entry for each way of writing a plugin, each in its own file: a simple command, many values (AskValues), an own window (Avalonia), a mouse tool, changing the selection, a parametric object with a double-click editor, a machining operation, a file format, reading the G-code. It replaces samples/BamCam.SamplePlugin; install community-BamCam.Example-2.0.0.zip to try the demos.
  • The plugin guide explains windows with many values, keeping BamCam current when building against it, and syncing a fork before sharing a further plugin (issue 42).

Community plugins

Install them from the assets below with Tools ▸ Plugins ▸ Install from ZIP.... Community plugins are not tested like BamCam itself.

  • Wrap G-Code (X to A) by Geoffrey G Roy (community-GeoffRoy.WrapGCode-1.0.1.zip): writes a copy of a G-code file for a 4th axis, with the X values replaced by A angles.
  • Revolve XY by Geoffrey G Roy (community-GeoffRoy.RevolveXY-1.0.0.zip): revolves a shape drawn in X,Y about the Z axis and makes a surface of it.
  • Plugin Demos (community-BamCam.Example-2.0.0.zip): see above.

Full Changelog: v0.9.3...v0.9.4