View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000145||Drawing||Feature||public||2010-08-27 17:11||2012-05-16 17:31|
|Target Version||0.13||Fixed in Version||0.13|
|Summary||0000145: Allow the use of clipping planes on Drawing pages|
|Description||This is in theory easy to achieve ( http://www.w3.org/TR/SVG/masking.html )|
It works basically like this, you define a clipPath node, then everything else can have a clip-path attribute.
<path d="..." clip-rule="evenodd" />
<rect clip-path="url(#MyClip)" ... />
The question is how to implement it... It would be fairly simple to do the same way as I did with the draft module's patterns, basically a custom view, inserted before the actual geometry, that contains the clipPath definition.
Then, each view can have a clip-path attribute, that's more or less easy.
But I'm wondering if this wouldn't be a good opportunity to reflect over all those "non-seen" svg fragments? (pattern definitions, clip-path definitions, probably more will come). Maybe create a new type of "Resource" object, which has no "appearence" properties and would always be inserted before the rest in the svg file, no matter their order in the FreeCAD document?
I'll assign this to myself provisorily, but I'd like to hear your opinion...
|Tags||No tags attached.|
|2010-08-27 17:11||yorik||New Issue|
|2010-08-27 17:11||yorik||Status||new => assigned|
|2010-08-27 17:11||yorik||Assigned To||=> yorik|
|2011-09-17 14:04||yorik||Note Added: 0001119|
|2011-09-17 14:04||yorik||Priority||normal => low|
|2011-09-17 14:04||yorik||Target Version||=> 0.13|
|2012-05-05 17:47||yorik||Project||FreeCAD => Drawing|
|2012-05-16 17:31||yorik||Note Added: 0002052|
|2012-05-16 17:31||yorik||Status||assigned => closed|
|2012-05-16 17:31||yorik||Resolution||open => fixed|
|2012-05-16 17:31||yorik||Fixed in Version||=> 0.13|