Repository navigation
Releases
OpenCAD2D 2.1.1
OpenCAD2D 2.1.1, a free 2D CAD program for Windows that works like AutoCAD 2021.
Security fix. In 2.1.0 a Python tool's requirements.txt could make pip run a package's build code before you were asked to install its packages (a line such as evil --no-binary evil). 2.1.1 reads requirements.txt against an allow-list (package names, extras, versions and a marker only) and pip installs wheels only. Update if you use Python tools from others.
This release also carries the fixes of a full review of the code since 2.1.0: drawings are saved through a temporary file with a .bak (ISAVEBAK), AutoLISP entmod and the settings file can no longer be corrupted, CTB plot styles pick the pen by colour index, and many more, listed below.
The setup OpenCAD2D-Setup-2.1.1.exe is attached below (per-user install, .NET included, no administrator needed). The Python package is pip install opencad2d==2.1.1. Tools made by others: https://opencad2d.com/share
Changes since 2.1.0
- FIXED. A setting an
@on_unloadfunction sets as the app closes is written to the settings file (the save was posted to a
window thread that no longer ran, so it was lost).run_manycalled from a tool folder the app imports by its path (named like a
module, or with a dot) raises aValueErrorthat says why for more than one worker or atimeout, where the workers could not
import the function and failed with a traceback each. - FIXED. A Python tool's snap finder that reads
setting()is answered while a command of the same tool waits at a prompt
(get_point,get_entity,cmd(..., PAUSE)): the finder's thread has a connection of its own to the channel of the tools, where
before it waited for the prompt's, so the tool's snaps were dead while the user picked a point for it (the question went
unanswered until the prompt ended). - FIXED.
@on_unloadruns when the app closes, as the guide says: each tool's process is told to leave and given up to 5
seconds altogether to run its unloaders before it is ended (a tool in the middle of a command is ended at once). A tool's token
is taken back only after its unloaders have run, so an unloader can read and set the tool's settings; what an unloader prints goes
to the app's log. Theon_unloadexample no longer callswrite, which raises there. - FIXED.
connect()inside a Python tool connects to the channel of the tools, the app that started the tool, as the guide says:
it needs no "Allow other programs to connect" and is the right app when several are running (before it raised "No OpenCAD2D is
running" with the setting off).connect(pid=...)andconnect(drawing=...)look for a running app as before. - FIXED. Text a tool command printed without ending the line, before it failed or was cancelled, no longer starts the first line of
the next command (abchello): it is written to its own run, or dropped where the app has ended the run. - FIXED.
run_manyno longer lets one item bring the run down: a value the caller cannot rebuild is that item's error with a
timeout (it raised out of the call) and in the pool (it broke the pool, failing every item after it), and an item that calls
sys.exitis its error in the pool, withworkers=1and with a timeout (it raisedSystemExitout of the call, or was a
lost worker). - FIXED. A tool whose folder is named like a module that is loaded or installed (
json,queue) or has a dot or a space in its name
(Stairs.v2) loads and binds its commands: it is imported by its path under a name of its own. A snap finder that raises with a
lone surrogate in its message (an unpaired one in a Windows file name) no longer ends the tool's snap thread for good: the question
is answered with an error and the next is answered. - FIXED. The DrawRandom Python sample (PYRANDOM) ends cleanly on Enter at "Specify opposite corner" instead of failing with an
AttributeError. - FIXED. The guide's stub numbers are those of the generator now (938 types, 19 547 members, 19 namespaces, 36 members named
None,TrueorFalse, three types writtenAny), the Ctrl+C sentence for the pool path ofrun_manysays that the running
items are not waited for, and the tool tests oftests/pythonrun on both runtimes, as a tool does on a machine without .NET 8. - FIXED. A Python tool whose packages could not be installed no longer leaves a half-made venv behind: deleting it is tried again,
five times in 1.5 s, where a virus scanner or the indexer still holds a file of the pip run that has just ended (a single try that
failed left the folder in place). - FIXED. Uninstalling OpenCAD2D removes the .dxf and .dwg file association on a first install too: the uninstaller's check of
the registry ran when the setup was run, before the association existed, so it never ran--unregisterand a double-click on a DXF
afterwards said "Windows cannot find ...OpenCAD2D.exe".OpenCAD2D.exe --unregisternow decides when it runs: it leaves an
association that names another folder's OpenCAD2D.exe and removes one that names itself. - FIXED. A setup over an installed OpenCAD2D no longer overwrites a sample Plugin or Python tool you edited (a sample folder you
deleted comes back), and uninstalling removes the__pycache__that running a sample Python tool wrote. - FIXED.
OpenCAD2D.exe --screenshotremoves its settings and plugin folders under the temporary folder when it ends, and those
of earlier runs that were killed or are a day old; they piled up (1 960 folders, 137 MB after a test run). - FIXED. A save no longer writes over the drawing in place: the file is written to a temporary file beside it (
plan.dxf.<guid>.tmp)
and put in the place of the old one only when whole, so that a disk that fills, a share that drops or a crash part way leaves the old
file as it was (the old way left a truncated file and no other copy). Where the replace is refused (a file another program holds) the
finished file is copied over, as a plain write would, so a save never fails where the old way worked; a drawing that is a symbolic link
is written where it leads. QSAVE, SAVEAS and SAVE keep the old file asplan.bakbeside it, for a DXF and a DWG, as AutoCAD does with
ISAVEBAK 1 (a read-onlyplan.bakis cleared and replaced; one another program holds is left and the save made without a
backup, said in the log). NEW. ISAVEBAK (1 at the start, 0 for no backup) is kept in Global settings (saveBackup), as AutoCAD keeps it in
its registry, so every drawing and session follows it, and so do the saves Remote and the MCP attached to the app make (they go
through the window's Save As); only the MCP's local backend and plugin code callingCadDocument.Save/SaveAskeep no.bak.
A file another program holds open is still written, by copying the finished file over it, with the old one copied toplan.bak.
DXFOUT, the autosave copy and the other drawing writers (WBLOCK, the transmittal) are atomic too. - FIXED. A typed SAVEAS (FILEDIA 0 or no window), QSAVE of a drawing with no file, and DXFOUT onto a file that is there now ask
"A drawing with this name already exists." and "Do you want to replace it? :" and write only on Yes, as AutoCAD 2021 does (checked in
accoreconsole: SAVEAS asks after the file, DXFOUT after the settings, and a SAVEAS to the drawing's own file does not ask); the file was
replaced without a word, and a script written for AutoCAD that answers Y had its answer read as a command (Unknown command "Y"). - FIXED. RECOVER opens a DWG: it is read by the DWG reader and audited with its errors fixed, as a drawing of no file "plan.dwg
(recovered)"; a sound DWG was read as DXF text and gave "Nothing could be recovered". - FIXED. UNDO Mark and Back work as AutoCAD's marks do: marks stack, Back goes to the latest and uses it up (the next Back goes to
the one before, or asks "This will undo everything. OK?"), and a mark whose step an undo has taken back is gone; before, one place was
kept for ever, so a second Back said "Mark encountered" at a mark that was no more, and left objects erased. - FIXED. UNDO Control One keeps the last step alone after REDO too: after
U U,UNDO Control One,REDO REDOa second U still
undid the step before the last. - FIXED. DXFOUT, and the MCP tools that write a copy, write the objects ISOLATEOBJECTS or HIDEOBJECTS hid as shown, as SAVEAS does:
the copy of a drawing with one line isolated held every other object invisible. - FIXED. A tangent, parallel or other constraint solves far from the origin: a drawing in millimetres on a national grid
(X near 5E8, Y near 2.3E9) answered "Constraints cannot be satisfied" or left the objects not tangent, as the solver's steps and
tolerances were those of a drawing near the origin. Drawings within 1E6 mm of the origin are solved as before, bit for bit. - FIXED. A constraint correction of 0.1 mm at 2.3E9 mm from the origin is written to the object: the solution was taken for rounding
where it differed by less than 1E-10 of the number (0.23 mm there); the threshold stops growing at 1E6 (1E-4 mm). - FIXED. A save writes the editing time and the user's timer into the file (
$TDINDWG,$TDUSRTIMER,$USRTIMER), as AutoCAD does,
so TIME's total editing time and the timer carry on from the earlier sessions; they went back to what the file held when it was opened.
The clocks of TIME now start when the drawing is opened, not when TIME is first used. - FIXED. PASTECLIP of viewports copied on a layout into model space no longer puts VIEWPORT objects there: they are left out and
said, and the other objects pasted. - FIXED. Windows logging off, shutting down or restarting no longer ends OpenCAD2D with no question: the app asks
"Save changes to ...?" for the drawings with changes, as AutoCAD does, and Cancel stops the logoff or shutd...
OpenCAD2D 2.1.0
OpenCAD2D 2.1.0, a free 2D CAD program for Windows that works like AutoCAD 2021.
The setup OpenCAD2D-Setup-2.1.0.exe is attached below (per-user install, .NET included, no administrator needed). The Python package is pip install opencad2d==2.1.0. Tools made by others: https://opencad2d.com/share
Changes since 2.0.0
- NEW. SHAREDOWNLOAD and the From Share button (Manage tab, Applications) show Download from Share: paste a tool's link
(https://opencad2d.com/share/stairs; the link box has the keyboard when the window opens and is filled from the clipboard
when it is empty and the clipboard holds a Share link), press Find, and the window shows its cover picture, name,
summary, type, live version and
author, SHA-256, what is on this PC (the same file, a newer or an older one, or "Changed on this PC" where a file was edited since,
by hashing the files against theshare.jsonthe install left in the tool's folder), the review, the commands it adds and the file
with its licence. Nothing runs unless "Load it now, and at every start" is ticked: ticked, Download saves it in the folder its kind
loads from (AutoLISP inLisps\<slug>, a Python tool inPythons\<slug>, C# source inPlugins\<slug>) and loads it through
Load/Unload Applications' loaders; unticked it is saved inShare\<slug>beside them, which the app never loads from ("Saved; not
loaded. Load it from the Applications window."); the … button picks another folder. Every file's SHA-256 is checked against Share's
API in a hidden staging folder outside the folders the app walks, the new tool folder is built there and swapped for the old one (a
mismatch, a locked file, a cancel, a zip entry with a path out of the folder, a stream, a Windows device name, a name in another
case or a file that is not source leaves the old version as it was), and a file you changed is never overwritten without asking:
Update and Download again ask first and keep a copy as<name>.local-<date>. Each request has a time limit and a size limit, a
redirect is an error, files come only from opencad2d.com, a dropped connection and a full disk are told apart, and Close cancels.
Share is asked only when Find or Download is pressed: no update check, no call in the background. - NEW. The DRAWINGS list can show the open drawings only: a 20 by 20 button left of Open in its header (two stacked sheets)
turns it. On, which is how the app starts, the button is pressed and the list holds
just the drawings open in the app, each once under its folder (folders in the order their first drawing was opened, drawings
in the order they were opened), a drawing never saved under "Not saved", every row with its close cross (the drawing in front is the selected row).
The chips count these rows only; search, double click, the right-click menu and plugin items work as in the
full list, and Refresh rereads the folders in the full view only. Opening or closing a drawing updates the list at once. Off, the list shows every DWG and DXF file of the folders as before. The
choice is kept in the global settings (GlobalSettings.DrawingsShowOpenOnly, on by default) and set from code with
MainViewModel.DrawingsShowOpenOnly. - CHANGED. The New, Modify and Override dimension style dialog lays each tab out in group boxes as AutoCAD 2021 does, not as one
column of rows: a 1 px bordered box per group with its title in the top line (Dimension lines, Extension lines, Arrowheads, Centre
marks, Text appearance, Text placement, Linear dimensions, Angular dimensions, Alternate units, Tolerance format and the rest),
the preview at the top right (300 wide) with the right column's boxes under it (Arc length symbol, Radius jog dimension, Text
alignment, Scale for dimension features, Fine tuning, Angular dimensions, Placement), the left column's boxes beside it, and the
Extension lines of the Lines tab across the width in two columns. The two Suppress pairs sit on one row each ("Suppress: [ ] Dim
line 1 [ ] Dim line 2", "Suppress: [ ] Ext line 1 [ ] Ext line 2"), the variables of both beside the caption. The window is 860 by
660 (it was 960 by 660), with the Description across its width; a tab that does not fit scrolls. The lists of the right column and
the two long lists of the Fit tab sit under their labels at the width of their box. Tab goes through the left column, the right
column and the wide boxes, then the buttons: the preview's Fit button, in every style dialog that has a preview, is no longer a tab stop (it still works with
the mouse and a double click). Fields, bindings and variables are unchanged, but four labels changed: DIMZIN, DIMALTZ and DIMTZIN now read
"Leading and trailing" (under boxes titled Zero suppression, Zero suppression and Tolerance zero suppression; the angular DIMAZIN
keeps "Zero suppression"), and DIMLFAC reads "Scale factor" (under Measurement scale, it was "Measurement scale factor"). Group
titles changed or were added: "Radius jog dimension" (was "Radius dimension jog"), and the new boxes Display (the Display alternate
units box), Measurement scale, Zero suppression (linear and alternate) and Tolerance zero suppression. Group boxes have one shared style (StyleGroupBox). - FIXED. Esc did nothing after a routine's dialog (
start_dialog, such as a LISP edit-text command asking for the next
object): the main window is switched off while a dialog is shown, which took the keyboard from the element that held it, and
nothing took it back, so keys reached no part of the workspace until a click on the canvas gave it focus. The element that
held the keyboard when the dialog opened holds it again when it closes, and where that cannot be (it was in a popup or another
window, or nothing held it) the canvas takes it, so that typing reaches the command line. - FIXED. An MTEXT of Korean (or Chinese, Japanese) words could be hovered, picked and crossed only over the left part of
its lines. A run in a TrueType font whose file the core does not read (Gulim and Batang are.ttccollections) was given a pick
box of 0.6 of its height a letter, where the canvas draws a Hangul syllable a full em wide, an em being 1 / 0.72 of the height
(about 1.39, a box 2.3 times too narrow for a line of syllables): a point or a crossing window over the right of a line found
nothing. The box now takes the width the layout set the run by. A TEXT or ATTRIB of such letters (Hangul, Han including the
letters past the first plane, kana, full-width forms) in a TrueType font had the same guess and is measured the same way, by the
file's advances brought to the canvas's (as an MTEXT run is) or by the canvas's measure where the file is not read; words of other
letters keep the guess. The width reaches beyond picking: the box of a QTEXT, the grey ground of a field, the frame TEXTALIGN
sets texts by, the width MIRROR turns a centred TEXT about with MIRRTEXT 0, the extents that ZOOM Extents fits and the list reports, and the
boxof the Remote and JSON export are those of the new width for such a TEXT, and for any MTEXT run in a face whose file is
not read. - CHANGED. A double click on a style in the Styles list of the Dimension Style Manager, the Text Style, Multileader Style, Table Style
and Multiline Style dialogs makes that style current, as the dialog's Set Current button does (a click on a row only, not on the empty area
under the rows or the scroll bar; one undo step and the same words in the dialog, except in the Multiline Style dialog, where Set Current
only marks the style and OK applies it), where the Dimension Style Manager, the Multileader Style Manager and the Multiline Style
dialog opened Modify and the Text and Table Style dialogs did nothing; Modify… stays the button for that. The foot of the two managers says so: "14 styles · double-click a
style to make it current". - FIXED. A light line along the top edge of the Modify Dimension Style window, and of the Modify Multileader Style, Modify Table
Style, Sheet Set Manager and Transmittal Report windows: a window with no frame of the system that can be resized is given a thin
frame by Windows 10 and 11 unless it says it has none. Each now carries aWindowChromewith no caption and no glass frame, as the Text
Window and the palettes already did. - CHANGED. The canvas draws a text under 5 pixels high as a solid bar of its colour the size of its box, never under a pixel each way, as
AutoCAD 2021 draws the lines of a sheet zoomed out to its extents; before, a text under 3 pixels high was left out (so the small words of
a sheet vanished when it was zoomed out) and one of 3 to 5 pixels was a speck of letters. Text of 5 pixels or more is drawn in its
letters as before; a plot and a PDF are unchanged, and the pictures ofrender_png/render_svg,render_masksand the Remote screenshot follow the canvas (their guides now say a bar where they said "left out"). A zoom-extents redraw of 50 000 small
texts takes about 27 ms (9 ms with them left out) at under 3 pixels high and 28 ms (was 150 ms) at 3 to 5 pixels. A text of several lines is a bar for each line, each as wide as its own line. - NEW. Global settings
smallTextAsBarsand its row "Draw text too small to read (as AutoCAD; off hides it when zoomed out)" under Appearance, Display (GlobalSettings.SmallTextAsBars,CanvasOptions.SmallTextAsBars, on by default) and the
variableSMALLTEXTBARS(OpenCAD2D's own,ON/OFF): off, the canvas goes back to leaving a text under 3 pixels high out and drawing
one of 3 to 5 pixels in its letters. - NEW. Remote
drawing.GetLayouts(),drawing.GetLinetypes()anddrawing.GetBlocks()(the requestslayoutDetails,
linetypeDetailsandblockSummaries): the layouts in tab order with paper name, size, units (millimetres,inchesorpixels),
plot rotation, entity count, current/model flags and each pape...
OpenCAD2D 2.0.0
OpenCAD2D 2.0.0, a free 2D CAD program for Windows that works like AutoCAD 2021.
The setup OpenCAD2D-Setup-2.0.0.exe is attached below (per-user install, .NET included, no administrator needed). The Python package is pip install opencad2d==2.0.0.
Changes since 1.0.0
-
NEW. eTransmit of a sheet set (A12): the eTransmit item of the Sheet List's set, subset and sheet menus opens
Create Transmittal, the reduced dialog of AutoCAD's. Its Sheets tab ticks the sheets to send, its Files Table lists
what they need (the .dst, the drawings, their external references, images, PDF underlays and data-link files, the
sheet creation templates, the page setup overrides file, the plot style tables of the layouts, and font files found
beside the drawings), and OK writes one zip,<set folder>\Transmittals\<set name>.zipunless changed, with a
transmittal.txtreport. The zip keeps the folders of the set; a file outside the set's folder goes inFiles, and a
path that would then be wrong is written again in the copy (the original is never touched). Unzipped elsewhere, the
set opens and every sheet and external reference is found. New public members:CadTransmittal,
CadTransmittalFile,CadTransmittalFileKind,CadTransmittalResult. -
FIXED. The fields of the attributes of a title block were lost when a layout was brought in with a template whose chosen layout
is not the first (LAYOUT Template, New Sheet and Import of a sheet set, Save As template): the layout was copied without the FIELD
behind each attribute, so the words stayed as they were and a\AcVaror\AcSmfield never updated again. The copy keeps the
fields (the cause was in the core library: itsWblockCloneObjectsdropped the field of a copied text, attribute or dimension, which
Paste and Insert of a drawing suffered too); Lib brings the fix. -
FIXED. The fields and formulas in the cells of tables were never evaluated again on open, save or regen: they were looked for
only through the drawing's list of fields, which the fields of a table's cells are not in (a cell given a field with Insert Field, or a
table AutoCAD saved, which owns them by the text of its block). The tables of the spaces are looked through as well. -
NEW. OPENSHEETSET and NEWSHEETSET (A12): OPENSHEETSET shows the palette's Open dialog or, with FILEDIA 0 or no window, asks
"Enter name of sheet set to open:" as AutoCAD 2021's -OPENSHEETSET does (also a command of its own), answering "File can not be
opened." and "Sheet Set file is not valid." in AutoCAD's words; NEWSHEETSET asks the wizard's pages on the command line (an example
set or existing drawings, the name, the description, the folder of the.dst, a folder hierarchy of the subsets), AutoCAD having no
typed form of it. The set made or opened is opened in the Sheet Set Manager. -
NEW. The variables SSLOCATE and SSMAUTOOPEN (0 or 1, 1), SSMPOLLTIME (20 to 600, 60), SSMSHEETSTATUS (0 to 2, 2), SSMSTATE (1 while the
palette is shown) and SSFOUND (the set found for the drawing), with the defaults, ranges and messages AutoCAD 2021 gave in its
console, shared by the drawings and kept in the settings file. A drawing that is a sheet opens its set when it opens (SSLOCATE), found
again where the set was moved with its sheets, and shows the palette (SSMAUTOOPEN). -
NEW. The lock file of a sheet set (A12): a set opened for editing writes
Name.DBLbeside it as AutoCAD does (58 bytes of text with
\r\r\nline ends: the user and the machine) and deletes it when closed; a set whose file is read-only, or whose lock is another
user's, opens read-only with the lock and the user's name in its tooltip, and refuses every change. A lock of this user on this
machine is taken over. -
NEW. The sheet list table (A12, engine):
CadSheetListTable.Insertputs a table of the set's sheets in set order in a layout, with the
subsets as merged header rows where asked, the number and title cells as sheet set fields bound to their sheets with AutoCAD's
hyperlink switch, and its settings kept in the table;Updatelists the set again after a sheet was added or removed, in one undo step. -
NEW. Insert Sheet List Table and its table's right-click items (A12): the item of the Sheet List's menus opens a dialog in the
design's two tabs, Table Data (the title text, a column for each line with its data type and heading, Add, Remove, Move Up and Move
Down; the data types include the custom properties of the sheets) and Subsets and Sheets (the set's tree with check boxes, a checked
subset taking in the sheets added to it later), with the table style and its preview and Include Subsets as Headers in Output; OK asks
"Specify insertion point:" and draws the table in the sheet's layout in one undo step. A cell of the table has Update Sheet List
Table (lists the set again, the cells typed by hand are lost, said on the command line) and Edit Sheet List Table Settings… (the same
dialog on the settings the table keeps) at the top of its right-click menu.CadSheetListTable.Updatetakes new settings and
ReadSetFilenames the set a table was made from. -
NEW. Example sheet sets (A12): New Sheet Set and OpenCAD2D Metric Sheet Set (the subsets General, Plans and Details, the properties
Client, Project Address, Drawn By and Checked By) with the template OpenCAD2D-sheets-mm.dwt (an A1 layout with a frame and a title
block of sheet set fields), in a SheetSetExamples folder beside the program; our own, not AutoCAD's. -
CHANGED. New Sheet and Import Layouts as Sheets bind the
\AcSmfields of the new sheet's layout to the sheet once the set is saved
(the fields of a title block show the sheet's own words, and AutoCAD shows them too); the fields and the operations read a drawing's
sheet set mark with one reader,CadSheetSetHint. -
NEW. The Sheet Views and Model Views tabs of the Sheet Set Manager (A12): Sheet Views lists the views placed on the
sheets, by category or by sheet (the scale each was placed at in grey), with New View Category, Rename and Remove Category,
Set Category (by menu, or by dragging a view onto a category), Rename & Renumber View with Previous and Next, and Display,
which opens the sheet and shows the view. Model Views lists the set's resource locations (folders), the drawings in them
and their named model views, read from the closed files, with Add New Location, Remove Location, Refresh and Open. Place on
Sheet, from the menu or by dragging a view or a drawing onto the drawing area, attaches the drawing as an xref (Attach, as AutoCAD's own sample sheets do) in
model space of the sheet's drawing (once), makes a viewport on the current layout at a scale of the drawing's list (the
view's last scale, else 1:100; the Scale option changes it), saves a named view round the viewport, and records a sheet view
in the set (the next number on the sheet, the view's name for a title), as one undo step; the named view is what AutoCAD's
own sheet views point at (checked on its sample sheets). New public members:CadSheetSetPlacement,
CadPlaceOnSheetPlan,CadPlaceOnSheetResult,CadSheetSetResources,CadModelView, and a setter for
CadSheetView.Category. The label block (Place View Label Block) and callout blocks are left out. -
NEW. Publish a sheet set (A12): the Publish items of the Sheet List write the sheets of the set, a subset or the
selected sheets to one multi-sheet PDF or a PDF for each sheet, in set order, as the set's Sheet Set PDF Publish
Options say (folder, one file or a file each, file name asked for or not). A sheet left out of publishing, and the
sheets of a subset whose Publish Sheets in Subset is off, are told on the command line and not written. A file for
each sheet is named "A-101 Ground Floor Plan.pdf" as AutoCAD names it. The PDF carries AutoCAD's bookmarks: "Sheets
and Views" with a bookmark for each page. Publish Using Page Setup Override and Publish in Reverse Order work; the
progress window's Cancel stops at the next sheet. The.dsdof Publish Dialog Box… saysIsSheetSet=TRUE. New
public members:CadSheetSetPublish,CadSheetSet.PublishOptions,CadSheetSubset.PublishSheets,
CadPublishOptions.CreateBookmarks/IncludeHyperlinks,CadPublishList.AddLayout/SheetSetName,
CadPdfBookmark, and overloads ofCadPdfWriter.WritePagesandCadPublisher.Publish(with progress and cancel).
An existing publish writes the same bytes as before (18 pages, same SHA-256). -
NEW. The Create Sheet Set wizard (A12, NEWSHEETSET's window): New Sheet Set… of the Sheet Set Manager opens a 660 by 470
wizard with the pages of the route down the left. From an example sheet set: Sheet Set Example (the examples listed, or
browse to any.dst), Sheet Set Details (name, description, the folder of the.dst, Create a folder hierarchy based on
subsets, Sheet Set Properties…) and Confirm. From existing drawings: Sheet Set Details, Choose Layouts (a tree of folder,
drawing and layout with tick boxes, mixed boxes above, a layout with a#or a sheet of another set grey with its reason) with
Import Options (Prefix sheet titles with file name, Create subsets based on folder structure, Ignore top level folder, all on
and kept in the settings), and Confirm with the Sheet Set Preview. Next is grey while the page's red line says what is wrong
(an empty or unfit name, a.dstthat is there already, an example that is no sheet set, no layout ticked); nothing is written
before Finish, which makes the set, opens it in the palette and puts it first in Recent. The route, the folder and the
import options are kept for the next time. The guide isdocs/presenter/sheet-sets.md. -
NEW. The Sheet Set Manager (A12, the palette): SHEETSET shows it as a floating window beside the drawing and
SHEETSETHIDE closes it. The sheet set control lists the sets open (the cu...
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.