Improved rendering and export of asymmetric dimensions

Started by bdeck, February 08, 2019, 04:19:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bdeck

Here's a solution that seems to fix problems caused by drawing asymmetric dimensions (eg off-center text, differing arrows) from right-to-left or top-to-bottom.

This macro draws the dimension using one of the standard dimension commands, and it then modifies the location of point #4 of the dimension. The reason point 4 needs fixing appears related to  Imsi's providing "left/right" answers to "first/second" questions.

The macro creates progressive dimensions that render and export correctly, by drawing them as a subset of baseline dimensions with zero space between dim lines..  (In recent versions DC has exported progressive dimensions as exploded lines and text)

Point 3 also appears to be out of place when dimensions are drawn in reverse order, but moving point 3 did not seem to make any noticeable difference.in rendering.

After the dimension is drawn, a moveable menu will appear in the center of the screen, offering to flip the text before closing.

Note that regardless of whether you flip the text, the horizontal text in an exported dwg or dxf file will appear upright, but horizontal dimension text in the exported file will appear upside down when imported back into DCad. This error appears to result from DCad developers using buggy exports as their models for import routines.

Please advise if you find any problems in rendering or exporting, or in reimporting exported dimensions.

Regards,
bd