Login  Register

Re: Inside-horizontal dimensions

Posted by gabriel on Mar 22, 2018; 2:21pm
URL: https://forum.librecad.org/Inside-horizontal-dimensions-tp5715827p5715828.html

Thanks so much for this addition, great work, please don't stop, keep ir coming, more implementations, please, libreCAD needs you. 

El mié., 21 mar. 2018 9:31, sankey [via LibreCAD] <[hidden email]> escribió:
I'm currently working on refactoring the code which draws dimensions, primarily to fix the appearance of "inside-horizontal" dimension text (aka.  "unidirectional", or just "horizontal").  In AutoCAD, inside-horizontal is the default dimension text style for imperial drawings, whereas "aligned" is the default for metric drawings.  LibreCAD uses aligned by default for all drawings, and for good reason: inside-horizontal is only partially implemented, and is pretty broken for linear dimensions.

This shows the basic difference between inside-horizontal and aligned styles:



Inside-horizontal mode is toggled by the DXF group code $DIMTIH (Dimension Text Inside-Horizontal), and the style is generally more palatable for viewing drawings on stationary computer monitors.  McMaster-Carr technical drawings are all rendered with inside-horizontal style dimensions, metric or not.  I'm particularly interested in it because I just really like how it looks.

There's still a fair amount of work to add full support for inside-horizontal, but I've made some decent progress so far for linear-type dimensions:

 

My changes are currently in my github fork (below).  There's a bit more work to get it reviewable, but hopefully this will become one incremental pull request in a series to add full support for inside-horizontal to LibreCAD.

https://github.com/pwnage101/LibreCAD/commits/better_horizontal_dimensions



If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Inside-horizontal-dimensions-tp5715827.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML