Repository navigation
OpenCAD2D 1.0.0
Download
- Windows app:
OpenCAD2D-Setup-1.0.0.exebelow. 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.Cadis the assemblyOpenCAD2D.Corewith the namespaceOpenCAD2D, and
GeometryHelper.Cad.Wpf,.Cad.Python,.Cad.RemoteareOpenCAD2D.Wpf,OpenCAD2D.Python,OpenCAD2D.Remote
(assembly and namespace). Class names are unchanged. A C# plugin referencesOpenCAD2D.Core.dll(and
OpenCAD2D.Wpf.dllfor UI) and writesusing OpenCAD2D;. - The app is
OpenCAD2D.exe, shown as OpenCAD2D in its title, Task Manager and Explorer.
- The libraries:
- Python. The package is
opencad2d:from opencad2d.cad import command.from opencad2d import commandworks
too: the package hands out the names ofopencad2d.cad. The variable that picks the runtime isOPENCAD2D_RUNTIME.
The stubs of the .NET names are two packages,GeometryHelper-stubsandOpenCAD2D-stubs. - The user's files.
- Settings, plot styles, templates, tool palettes, the crash log, the plugin list and
filter.nflare kept in
%AppData%\OpenCAD2D. The first start copies them from%AppData%\GeometryHelper\Drawingand
%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--unregisterleave%AppData%\OpenCAD2Dalone. NEW.CadAppHost.ShowsWindow(args)tells which
arguments open the window.
- Settings, plot styles, templates, tool palettes, the crash log, the plugin list and
- 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.
.dxfand.dwgfiles are associated through the ProgIDOpenCAD2D.Drawing. Writing or
removing the association takes outGeometryHelper.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
opencad2don PyPI (pip install opencad2d), and the API on nuget.org as
OpenCAD2D.CoreandOpenCAD2D.Remote, which depend on theGeometryHelperpackage of the version inLib. The
core's default fonts, hatch patterns, linetypes and template come withOpenCAD2D.Coreand 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.ps1with Inno Setup 6 and by the workflowpublish-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%\OpenCAD2Dand the files a user added to
Lisps,Pythons,PluginsandFontsstay. Not signed, so SmartScreen warns on the first run.