Repository navigation
Releases
BamCam v0.9.5-beta.4
Beta: tested automatically and by hand on Windows, but not yet on a machine. Please report what behaves differently.
New: convert drawing objects into a sketch
Edit ▸ Convert To ▸ Sketch turns the selected polylines, lines, arcs, circles and rectangles into one sketch in their place, for example an imported drawing that should get dimensions. Ends that meet stay joined (also with the origin), horizontal and vertical lines keep their direction and smooth joins of arcs stay tangent. There are no dimensions yet: double-click the sketch and add them. Operations that used the objects use the sketch. The objects must lie at one height (Z); at most 1500 segments at once.
Changed
- The prompt line and the sketch bar lie over the top of the drawing: the drawing no longer moves down whenever a prompt appears or the sketch mode starts or ends.
Fixed
- Leaving the sketch mode with Esc left its yellow prompt line behind.
- Shapes in a sketch that touch at a point or share an edge stay separate outlines instead of being joined into one.
Also since 0.9.4
- Axis indicator in the lower left corner of the drawing; a click on an arrow tip looks along that axis (0.9.5-beta.3).
- The simulation shows toolpaths of operations without a tool diameter (0.9.5-beta.3).
- Linux:
.deband.rpmpackages for x64 and arm64 (0.9.5-beta.2). - AltGr + left drag rotates the view as Alt does, also on Linux (0.9.5-beta.1).
Full Changelog: v0.9.5-beta.3...v0.9.5-beta.4
BamCam v0.9.5-beta.3
Beta: tested automatically and by hand on Windows, but not yet on a machine. Please report what behaves differently.
New: axis indicator
X, Y and Z arrows in the lower left corner of the drawing turn with the view and show from where you look at the drawing, also when the axes through the origin are out of sight. A click on an arrow tip looks along that axis (Z: XY plane, Y: XZ plane, X: YZ plane), a click on its centre gives the isometric view. View ▸ Show Axis Indicator (or Tools ▸ Options ▸ Display) hides it.
Fixed
- Simulation without a tool diameter: an operation without a tool diameter (a profile then runs on the line, with a warning) made toolpaths that the 3D simulation did not show, its tool being thinner than a cell. Every tool now cuts at least the cells it passes, which also shows engraving tools thinner than a cell. To machine such a part, give the operation a tool number or diameter.
Also since 0.9.4
- Linux:
.deband.rpmpackages for x64 and arm64, installed withsudo apt install ./BamCam-...deborsudo dnf install ./BamCam-...rpm(0.9.5-beta.2). - AltGr + left drag rotates the view as Alt does, also on Linux (0.9.5-beta.1).
Full Changelog: v0.9.5-beta.2...v0.9.5-beta.3
BamCam v0.9.5-beta.2
Beta: tested automatically and by hand on Windows, but not yet on a machine. Please report what behaves differently.
Linux: .deb and .rpm packages
Next to the AppImages and .tar.gz archives there are now packages for the package manager, for x64 and arm64:
.deb(Debian, Ubuntu, Linux Mint, LinuxCNC):sudo apt install ./BamCam-0.9.5-beta.2-linux-x64.deb.rpm(Fedora, openSUSE):sudo dnf install ./BamCam-0.9.5-beta.2-linux-x64.rpm
They install BamCam to /usr/lib/bamcam with the command bamcam, a menu entry, the icon and the .cb file type, and fetch the libraries BamCam needs. A newer package is installed the same way over it; sudo apt remove bamcam or sudo dnf remove bamcam removes it. The packages are not signed and there is no package source yet, so apt upgrade does not update BamCam: BamCam's update check tells you about new versions as before.
The packages are new: please report whether they install and start on your distribution.
Also since 0.9.4
- AltGr (the right Alt key) + left drag rotates the view as Alt does, also on Linux (0.9.5-beta.1).
Full Changelog: v0.9.5-beta.1...v0.9.5-beta.2
BamCam v0.9.5-beta.1
Beta: tested automatically and by hand on Windows, but not yet on a machine. Please report what behaves differently.
AltGr rotates the view
AltGr (the right Alt key) + left drag now rotates the view as Alt + left drag does; a double-click with it held resets the view. On Linux, AltGr is not reported as Alt, so it did not rotate there before. AltGr still types characters such as @ in text fields.
Full Changelog: v0.9.4...v0.9.5-beta.1
BamCam v0.9.4
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 - EdgeorHeight / 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.gzarchives: 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);
--renderingorBAMCAM_RENDERINGchoose 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
.cbppfile in thepostfolder 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
.cbppfiles:<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; installcommunity-BamCam.Example-2.0.0.zipto 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
BamCam v0.9.4-beta.8
Beta: tested automatically and by hand on Windows, but not yet on a machine. Please report what behaves differently.
For plugin authors: demos of every kind
The example community plugin is now a set of demos, one menu entry for each way of writing a plugin, each in its own file with a short explanation at the top: plugins/community/BamCam.Example. Look up the one you need and copy it.
| Demo | Menu entry | Shows |
|---|---|---|
| 1 | Draw ▸ Regular Polygon (Demo)... | A simple command asking numbers (AskNumber) |
| 2 | Draw ▸ Bolt Circle (Demo)... | Many values in one window without designing it (AskValues): number, whole number, list, check box and text fields with a preview, kept for the session |
| 3 | Draw ▸ Rounded Rectangle (Demo)... | A window of your own layout (Avalonia) |
| 4 | Draw ▸ Star (Demo, 2 clicks), toolbar button | A mouse tool with a preview |
| 5 | Edit ▸ Raise / Lower Selection (Demo)..., toolbar button with a menu | Changing the selection as one undo step; commands sharing a toolbar button |
| 6 | Draw ▸ Gear (Demo) | A parametric object with a double-click editor |
| 7 | Machining ▸ Facing (sample) | A machining operation |
| 8 | File ▸ Open / Export, XYZ point list | A file format |
| 9 | Machining ▸ G-code Statistics (Demo) | Reading the G-code of the drawing, and a post processor macro |
It builds against an installed BamCam like your own plugin (0.9.4-beta.7 or later). To try the demos, install community-BamCam.Example-2.0.0.zip below with Tools ▸ Plugins ▸ Install from ZIP.... Reported in issue 43.
The former samples/BamCam.SamplePlugin of the repository is part of it now.
Full Changelog: v0.9.4-beta.7...v0.9.4-beta.8
BamCam v0.9.4-beta.7
Beta: tested automatically and by hand on Windows, but not yet on a machine. Please report what behaves differently.
Linux: software rendering by default
BamCam now draws its windows with the processor on Linux. With OpenGL, some graphics drivers (often without a compositor, for example on LinuxCNC machines) made the window flicker whenever the mouse moved and briefly show what is behind it; software rendering does not. A note explains this once at the first start.
- Tools ▸ Options ▸ Display ▸ Linux Rendering: Software (default) or OpenGL, from the next start. OpenGL can be faster with very large drawings if your graphics card handles it well.
- The start option
--renderingand the variableBAMCAM_RENDERING(from beta.6) still take precedence, for trying a mode out.
For plugin and script authors
ctx.AskValues(title, values, preview): asks for many values in one window without designing one. Write a class with a property per value; BamCam shows a field for each, as in its property grid (numbers, check boxes, lists for enums, text;[DisplayName],[Description],[Category]). Cancel puts the values back. The optionalpreviewdraws outlines beside the fields and follows every change. Scripts of the Scripts menu can use it too. See Windows with many values. Reported in issue 43.- The plugin guide now says to keep BamCam current when building against it: examples use the newest plugin API (
AddEntityEditorsince beta.5,AskValuessince this beta).
Full Changelog: v0.9.4-beta.6...v0.9.4-beta.7
BamCam v0.9.4-beta.6
Beta: tested automatically and by hand on Windows, but not yet on a machine. Please report what behaves differently.
Linux: flickering window
With some graphics drivers, often without a compositor (for example on LinuxCNC machines), the window can flicker whenever the mouse moves and briefly show what is behind it. BamCam can now draw without OpenGL:
./BamCam-0.9.4-beta.6-x86_64.AppImage --rendering software
or, for the .tar.gz, BAMCAM_RENDERING=software ./BamCam. egl, glx and vulkan can be given too, several with commas in the order to try; software is always the fallback. The message window shows the choice at start.
If this fixes the flickering on your machine (or does not), please tell us which mode works, with your distribution and graphics card: this decides whether software drawing becomes the default on Linux.
Full Changelog: v0.9.4-beta.5...v0.9.4-beta.6
BamCam v0.9.4-beta.5
Beta: tested automatically and by hand on Windows, but not yet on a machine. Please report what behaves differently.
New
- Squircle window: Draw ▸ Squircle... opens a window like the one of the Squircle Pro plugin for CamBam: the values on the left, a live preview on the right, Make Squircle / Close. It starts with the values of the last squircle of the session. A double-click on a squircle, in the drawing or in the Drawing tab, opens it again with its values; the values can also still be changed in the properties.
For plugin authors
- Windows with many values: a new section in the plugin guide shows how a plugin opens its own window with Avalonia, with the Squircle window as a complete example. Reported in issue 43.
host.AddEntityEditor<T>(...): sets what a double-click on a plugin's object opens, e.g. its own window instead of editing its points.- Sharing a further plugin: the guide now says to sync the fork first (Sync fork ▸ Discard commits), so that a new pull request holds only the new plugin. Reported in issue 42.
Full Changelog: v0.9.4-beta.4...v0.9.4-beta.5
BamCam v0.9.4-beta.4
Beta: tested automatically and by hand on Windows, but not yet on a machine. Please report what behaves differently.
New
- AppImages for Linux:
BamCam-0.9.4-beta.4-x86_64.AppImageand-aarch64.AppImage, next to the.tar.gzarchives. Make the file executable (chmod +x) and start it, nothing to install. Built automatically and not yet tried on a Linux desktop: please report whether it starts on your distribution. Reported in issue 41. - Sketch button in the toolbar (after Text): starts a new sketch and stays highlighted while the sketch mode is active.
- Double-click in the Drawing tab edits an object as a double-click in the drawing does: a sketch in the sketch mode, a text in its dialog, a script object in the script editor, other objects by their points.
Full Changelog: v0.9.4-beta.3...v0.9.4-beta.4