We should probably start a new topic on this, but I would love to try and spearhead this. I've actually already begun! I started a wiki page to just keep track of my thoughts as I comprehend the current status and methods of the Drawing module, and to add new stuff that I program:yorikvanhavre wrote:Off-topic (let's begin with good old habits ): I think one of the things we need to tackle for 0.14 is how to put dimensions on the drawing view. I'll redo all the draft dimension tool, but maybe it's time for something more ambitious...
Hey! I know these parts from somewhere!
If approach from the macro would be used (centerpoint and maximum width/height) then it would probably be possible to have "recompute" support for drawing views? Right now in Drawing Workbench if you create drawing of part and if you change the size of the part then you would have to manually change scale/position for each view. I think it might be possible to simply "recompute" the drawing if centerpoint and maximum width/height would be used and this data would be stored and could be used later on? I don't know if this (recompute) would affect for example dimensions because it shouldn't delete them but dimensions should persist and new scale factor should be used. This is one important thing i think should be implemented for great drawing/dimension support in FreeCAD.I would like to integrate that as a command into Part or Drawing workbench..
That comes down to the fact that Y axis is different in CAD and SVG.triplus wrote:I have one questions about (recent) changes introduced to FreeCAD. I am not sure i am after "solution" because after Luke work lands everything will probably work differently but still:
My macro does not work as it used to work. Something probably changed because looking at First Angle Isometric View in the past one would set Direction 1,1,1 Rotation 60. This changed to Direction 1,-1,1 Rotation 60? At least based on opening old .fcstd files from my archive in current FreeCAD master version this is how i get correct Isometric View back and quick test in my macro indicates this is the case?
There is a recently change in the Draft workbench. The Draft-workbench Drawing projection gives now the same projection as the Drawing-workbench projection button. So you can have the same property settings in both projections and can combine both projections easily.triplus wrote:My macro does not work as it used to work. Something probably changed
Thanks for detailed explanation.Because originally Drawing work bench was mostly SVG oriented in many important ways, it was originally to the SVG standard, origin top left, but after some discussion a consensus was reached that it should be changed the much more common, and CAD default, origin bottom left.
Well the change (orientation standard) that affects my macro also affects all .FCstd files containing drawings that where made before the change was introduced. Views are oriented differently.There is a recently change in the Draft workbench. The Draft-workbench Drawing projection gives now the same projection as the Drawing-workbench projection button. So you can have the same property settings in both projections and can combine both projections easily.
This should nothing change for functions used from the Drawing workbench.
My view is, mrlukeparry needs some help from others before the new DW workbench will land.triplus wrote:Basically ATM this does not make much sense because new DW workbench will land and will change things all around. But imagine that would not be the case and just because of some "administration difference" all .FCstd files created in the past do not show the views correctly anymore.