Skip to content

OpenCAD2D 1.0.0

Choose a tag to compare

@nguyenthanguth nguyenthanguth released this 23 Nov 13:59

Download

  • Windows app: OpenCAD2D-Setup-1.0.0.exe below. It installs for the current user, with no administrator and no .NET needed, into %LocalAppData%\Programs\OpenCAD2D. The setup is not signed yet, so SmartScreen may warn on the first run: More info > Run anyway.
  • Python: pip install opencad2d (Windows x64, CPython 3.11 to 3.15, 64-bit).
  • .NET: dotnet add package OpenCAD2D.Core.
  • Docs: https://nguyenthanguth.github.io/opencad2d/

Changes

BREAKING. The CAD app of GeometryHelper is now OpenCAD2D, in a repository of its own. The history of its files came
along; the notes of its earlier changes are in GeometryHelper's CHANGELOG.md up to 13.12.0, under the names
GeometryHelper.Cad, GeometryHelper.Cad.Wpf and GeometryHelper.Cad.App.

  • Names.
    • The libraries: GeometryHelper.Cad is the assembly OpenCAD2D.Core with the namespace OpenCAD2D, and
      GeometryHelper.Cad.Wpf, .Cad.Python, .Cad.Remote are OpenCAD2D.Wpf, OpenCAD2D.Python, OpenCAD2D.Remote
      (assembly and namespace). Class names are unchanged. A C# plugin references OpenCAD2D.Core.dll (and
      OpenCAD2D.Wpf.dll for UI) and writes using OpenCAD2D;.
    • The app is OpenCAD2D.exe, shown as OpenCAD2D in its title, Task Manager and Explorer.
  • Python. The package is opencad2d: from opencad2d.cad import command. from opencad2d import command works
    too: the package hands out the names of opencad2d.cad. The variable that picks the runtime is OPENCAD2D_RUNTIME.
    The stubs of the .NET names are two packages, GeometryHelper-stubs and OpenCAD2D-stubs.
  • The user's files.
    • Settings, plot styles, templates, tool palettes, the crash log, the plugin list and filter.nfl are kept in
      %AppData%\OpenCAD2D. The first start copies them from %AppData%\GeometryHelper\Drawing and
      %AppData%\GeometryHelper\Dxf, and leaves those folders as they were.
    • Running apps announce themselves in %LocalAppData%\OpenCAD2D\Remote, and the pipe of an app is
      OpenCAD2D.<process id>.
    • FIXED. Only a start that opens the window copies the old folders: OpenCAD2D.exe --screenshot, --register
      and --unregister leave %AppData%\OpenCAD2D alone. NEW. CadAppHost.ShowsWindow(args) tells which
      arguments open the window.
  • CHANGED. A new icon, for the app and for a drawing file: on a white rounded tile, a blue O holds a C, and the C
    holds the letters AD. The docs site carries it as its logo.
  • Files in Explorer. .dxf and .dwg files are associated through the ProgID OpenCAD2D.Drawing. Writing or
    removing the association takes out GeometryHelper.Drawing, so "Open with" lists the app once.
  • The core. GeometryHelper (geometry, DXF, DWG) is used as Lib\GeometryHelper.dll, built from GeometryHelper's
    6bb8136e.
  • NEW. Packages: the Python package opencad2d on PyPI (pip install opencad2d), and the API on nuget.org as
    OpenCAD2D.Core and OpenCAD2D.Remote, which depend on the GeometryHelper package of the version in Lib. The
    core's default fonts, hatch patterns, linetypes and template come with OpenCAD2D.Core and are copied beside the
    program that uses it. A published GitHub Release puts out the wheel and the packages together.
  • NEW. A Windows installer, OpenCAD2D-Setup-<version>.exe (78 MB for 1.0.0), built by
    tools\installer\make-installer.ps1 with Inno Setup 6 and by the workflow publish-installer.yml, which attaches it
    to a GitHub Release. It carries the .NET 8 runtime, so no .NET is needed on the machine; it installs for the current
    user with no administrator, into %LocalAppData%\Programs\OpenCAD2D, with a Start menu shortcut, a desktop shortcut
    (not ticked by default) and a ticked task that associates .dxf and .dwg files (OpenCAD2D.exe --register).
    Installing over a running app closes it first. Uninstalling removes only what the setup installed and takes the file
    association out where it names that install; the settings in %AppData%\OpenCAD2D and the files a user added to
    Lisps, Pythons, Plugins and Fonts stay. Not signed, so SmartScreen warns on the first run.