News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Dimension Bugs

Started by bdeck, May 23, 2020, 11:29:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bdeck

Here's a simple strategy to help the programmers get started fixing the dimensioning bugs that were introduced in version 18.

For every style of dimension
   For every combination of parameters
      For every range of arrowhead size vs radius (on angles, circles, and arcs)
         For every conceivable change made in the info box
             Draw a dimension, and note the settings.
             Export the drawing to dwg or dxf.
             View the result in Autocad and Intellicad. (Autocad and Intellicad have slight differences in rendering)
             Wherever the Autocad rendering differs from the DC rendering, the DC rendering is generally wrong.
             DO NOT use the import command to check the quality of exports.
             DO use the import command to check the quality of imports.

Example:

Bug 1
DC cannot draw a dimension with both "custom" horizontal text postion and "DimLineWithText" motion set.

DC requires a fixed horizontal position while drawing with "DimLineWithText" motion, and then requires the user to enter point-select-mode, and then edit the text location by dragging it in point select mode.

Bug 2
DC cannot export a dimension correctly if both "custom" horizontal text position and "DimLineWithText" motion are set.

Bug 3
DC cannot render a dimension correctly if text is vertically centered on the dimension line and "Use Leader" motion is set.

Fix 1
When drawing a dimension with  "DimLineWithText"  motion, "Custom" horizontal text position should be the default. A leader should be added automatically if the text is far enough outside the extension lines. This will conform to AC's default dimensioning mode  DIMTMOVE=0, and it will export directly.

If there is anyone in the universe who does not want this new behavior, let that person be the one forced to edit the dimension after drawing it.

Fix 2
DC should stop converting "custom" horizontal text position to "centered" during export.

Fix 3
Leaders should render in DC as they would render in AC.  In "DimLineWithText" mode, when text is sufficiently far outside the extension lines, a leader should be displayed.

Fix 4
In the far distant future, after export bugs have been fixed, DC should fix its dimension imports, which are  abominable, but tolerable ONLY if the user does not intend to re-export them.

Stop-gap Kludge1:
Until these bugs are fixed, whenever "custom" horizontal text position is set, DC should convert"Dim Line with Text" movement to "No Leader" prior to export. The export will be wrong, but at least the rendwring in AC will be no worse than it is DC.

For an example of these bugs, export the attached drawing to dwg or dxf, and then compare the exported rendering to the DC rendering.

bd

bdeck

Quote from: bdeck on May 23, 2020, 11:29:14 PM
Bug 1
DC cannot draw a dimension with both "custom" horizontal text postion and "DimLineWithText" motion set.

DC requires a fixed horizontal position while drawing with "DimLineWithText" motion, and then allows user to edit to "custom" by moving the text in point select mode.

Here's a 5-year old macro written to get around this part of the problem by drawing in "NoLeader" mode and then converting the dimension to "DimLineWithText" for ease of later editing.   

https://forum.designcad.com/index.php?topic=6383.msg45692#msg45692

Unfortunately one cannot fix the missing-leader bug with a macro.

bd


bdeck

#2
Quote from: bdeck on May 23, 2020, 11:29:14 PMStop-gap Kludge1:
Until these bugs are fixed, whenever "custom" horizontal text position is set, DC should convert"Dim Line with Text" movement to "No Leader" prior to export. The export will be wrong, but at least it will render in AC as it rendered in DC.

One would think it would be better yet to convert these dimensions  to "Add Leader" for exporting. That way, they would display as they should in AC.

EXCEPT:
Bug 4: When exporting a dimension using  "Add Leader," DC displaces the text inward, so that text is always misplaced, and text drawn close to the extension lines in DC is rendered as overlapping the extension lines in AC.

All exported text placement errors in "add leader" mode should be corrected.

bd