View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000114||FreeCAD||Feature||public||2010-06-29 12:10||2010-08-24 19:17|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||0.11||Fixed in Version||0.11|
|Summary||0000114: Make Draft sendToDrawing command able to output hatch pattern fills and dotted or dashed lines|
|Description||Relatively simple, just adding a dropbox to select fill type and line style. |
Line types is well supported in SVG and fill patterns looks easy to implement too:
Now just need to draw nice hatch patterns...
Then, a View object should "remember" that for when it is updated.
|Tags||No tags attached.|
Partially implemented in r3280. Draft Rectanlge and Circle objects now have SVG Output properties in their ViewObject, allowing to choose between normal ShapeColor fill and two basic patterns (Still no mechanism to specify your own patterns, that's for later).
The fill patterns don't appear in the Drawing SVG view, but they are there, and appear correctly in inkscape (bug in Drawing's SVG view? - to investigate)
Basically done, only with a couple of default styles for lines (continuous, dashed, dotted and dashdotted) and patterns (simple ANSI, cross, square, line and concrete).
All Draft-generated objects can have linestyle and fill pattern defined in their View properties. Other object types must be converted to draft wires to gain those properties.
Patterns don't appear in FreeCAD's Drawing view (probably a Qt svg rendering limitation, in firefox they also don't appear) but they appear fine when the svg doc is opened in inkscape.
There is currently no way to scale patterns and linestyles or add custom pattern types, but that can be done more or less easily in the future.
|2010-06-29 12:10||yorik||New Issue|
|2010-06-29 12:10||yorik||Status||new => assigned|
|2010-06-29 12:10||yorik||Assigned To||=> yorik|
|2010-07-02 17:23||yorik||Note Added: 0000257|
|2010-08-24 19:17||yorik||Note Added: 0000303|
|2010-08-24 19:17||yorik||Status||assigned => closed|
|2010-08-24 19:17||yorik||Resolution||open => fixed|
|2010-08-24 19:17||yorik||Fixed in Version||=> 0.11|