Skip to content

v0.9.4

Latest

Choose a tag to compare

@HakanSeven12 HakanSeven12 released this 08 Aug 00:23
· 32 commits to main since this release

Drawings that disagree with themselves

A dimension carries a block holding its picture, and that block is the picture — AutoCAD requires it, BricsCAD draws it when present. OCS re-derived every dimension from the style instead, so a file whose style disagreed with what it actually drew came out wrong: text hundreds of times too tall, extension lines running most of a million units past the points they measure. Dimensions are now drawn from the picture they carry, with the old path as the fallback and the picture dropped whenever a style or property edit makes it stale.

Two-line angular dimensions were measuring the wrong thing entirely — reading the stored vertex as the centre rather than intersecting the two lines that define the angle. A ten-degree angle came out as two hundred and seventy, a shallow one as nearly a full circle.

Text was being scaled by the annotation scale whenever its style carried the annotative flag, whether or not the text had any representation at that scale. A twenty-floor drawing had 1144 pieces of text a hundred times too tall.

Units

The status-bar units button wrote a variable nothing on screen reads, so picking a unit appeared to do nothing. It now sets the length format, each option shown beside a sample of itself. UNITS opens a real dialog — length and angle format and precision, the direction zero points, the insertion unit — with a sample drawn by the same formatters the drawing uses. DWGUNITS converts: model geometry, viewport framing, header defaults and dimension styles together in one undo step.

Typed input reads back everything the drawing writes: 5'-9 1/2", 9-1/2, 1/2, 45d20'6", 50g, @72'8"<n45d20'6"e. Prompts that take a length or an angle read the same forms.

Also

  • Function keys no longer cancel the running command — F8 mid-LINE constrains the rest of the line instead of abandoning it (F7, F9, F10 too)
  • STRETCH stays on the selection stage when a window catches nothing, and Enter ends the stage as it does everywhere else
  • Paper layouts got their desk and page edge back; floating viewports no longer paint themselves black over the sheet
  • LAYTRANS translates layers onto a set taken from another drawing
  • Selection modes at "Select objects" — Window, Crossing, Fence, WPolygon, CPolygon, All, Add, Remove — shared with TRIM and EXTEND
  • One list of visual styles behind every way of choosing one
  • Docked block palette
  • Perpendicular object snap tracking (#696, @gianlucafiore)
  • TCOUNT numbers text instead of prefixing it, with start, increment and Overwrite / Prefix / Suffix (#698, @gianlucafiore)
  • Solid tessellation: sphere caps trimmed, cone radius read from the major axis, torn cylinder walls closed, SAT records no longer split on a # inside a string
  • A text height the style has fixed is no longer offered for editing