View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001810 | Draft | Bug | public | 2014-11-01 06:26 | 2015-01-17 15:19 |
Reporter | quick61 | Assigned To | yorik | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | All | ||||
Product Version | 0.14 | ||||
Summary | 0001810: Flattened SVG exports page size smaller than bounding box. | ||||
Description | When exporting a Flattened SVG of a 2D shape that contains Arcs on the outside edges, the page size is smaller than the shapes bounding box. This is not the case when the outer shape has straight edges. 2 example files are attached for reproducing the error. | ||||
Steps To Reproduce | Open one of the example files. Select all and export to Flattened SVG Open exported SVG file in FreeCAD as a Drawing or in any external SVG viewer/editor such as Inkscape. Notice shape geometry is larger than page size. To see a comparison - Open one or both of the example files and draw a rectangle around the shape. Select all and export as Flattened SVG. Open in FreeCAD as Drawing or view in an external viewer/editor. Note than with the rectangle added, the page size in now correct. | ||||
Additional Information | This bug was found while working within a FreeCAD Forum > Help topic - http://forum.freecadweb.org/viewtopic.php?f=3&t=8221 The post where first noticed - http://forum.freecadweb.org/viewtopic.php?f=3&t=8221#p67422 this bug is present in 0.14 Release on at least Linux and Windows and present in development build - OS: Kubuntu 14.04.1 LTS Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.15.4151 (Git) Branch: master Hash: ae09625140651423ed7b1035fa59395d206e532f Python version: 2.7.6 Qt version: 4.8.6 Coin version: 4.0.0a OCC version: 6.7.1 | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
|
|
|
|
Hm IIRC indeed the page extents are calculated from vertices... We should calculate them from the bounding box instead. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-11-01 06:26 | quick61 | New Issue | |
2014-11-01 06:26 | quick61 | File Added: FlattenedSVG_exportTEST1.fcstd | |
2014-11-01 06:27 | quick61 | File Added: FlattenedSVG_exportTEST2.fcstd | |
2014-11-01 15:52 | yorik | Note Added: 0005263 | |
2014-11-01 15:52 | yorik | Assigned To | => yorik |
2014-11-01 15:52 | yorik | Status | new => assigned |
2014-11-01 15:52 | yorik | Project | FreeCAD => Draft |
2015-01-17 15:19 | yorik | Changeset attached | => FreeCAD Master master 8fbe6310 |
2015-01-17 15:19 | yorik | Status | assigned => closed |
2015-01-17 15:19 | yorik | Resolution | open => fixed |