wmayer
a79ce8d823
add missing std:: namespace to build on Debian 10
2019-08-21 23:56:46 +02:00
Markus Lampert
e13c09235f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
luzpaz
c4dd42de98
Typos: Various workbenches and misc.
...
[skip ci]
2017-12-25 10:58:10 +01:00
WandererFan
ba5f618f93
Fix Drawing/TechDraw BSplines
...
In some cases the Geom_BSplineCurve returned by
BrepAdaptor_Curve.BSpline() does not have the
same endpoints as the original Edge and should
not be used in place of Approx_Curve3d.
2017-06-28 22:14:01 +02:00
WandererFan
6ac399e5aa
Handle "floating" straight edges in Svg
...
BRep_Tool::Polygon3D assumes the edge has polygon representation -
ie already been "tesselated". this is not true for all edges,
especially "floating edges".
2017-06-23 08:14:46 +02:00
WandererFan
d8eec8c7e1
Fix #1937 mis-shapen projections in TechDraw and Drawing
...
Complex curves need more bezier segments for accurate representation.
2017-05-30 15:44:38 +02:00
Peter Lama
fa4bebf2e0
Use OCCT Handle macro for Handle_ classes
...
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
wmayer
81ddb1c6c0
fix -Wextra & -Wdeprecated in Drawing
2016-09-22 15:29:10 +02:00
wmayer
cb73d010bb
+ port to OCC 7.0
2016-05-14 16:53:27 +02:00
wmayer
7198bd8f03
+ handle degenerated ellipse for SVG output
2016-01-11 13:01:01 +01:00
Yorik van Havre
bfd50ee684
Draft: workaround for exporting DXF with R14+ templates - fixes 2177
...
- Adapted Drawing algos to export R14+ compatible DXF code
- Added option in DXF prefs to disable groups (not supported in R14+ templates)
2015-12-18 10:47:14 -02:00
Sebastian Hoogen
8421a0b951
disable conversion of BSplines to circles in SVG drawing output
...
partly revert 0a31bebaed
2015-02-10 15:45:34 +01:00
Sebastian Hoogen
6a0bcfbaee
set the max. segments in BSpline approximation to 50
...
in Draft and Drawing WBs
2015-02-08 15:14:32 +01:00
Sebastian Hoogen
c7c53a0312
Use splines in dxf drawing output
2015-01-20 20:08:40 -02:00
wmayer
a2fc7133a9
+ fixes #0001912 : Drawing Workbench Not Displaying Views of Cylindrical Parts.
2015-01-12 01:43:48 +01:00
wmayer
519d161492
+ support Bezier curves for SVG output
2015-01-11 16:02:27 +01:00
wmayer
87e4296d7d
+ fixes #0001898 : Drawing workbench draws cylinder in orthographic projection wrong
2015-01-11 01:46:31 +01:00
Sebastian Hoogen
b5e9f28cd4
revise drawing dxf ellipse export
2015-01-05 12:26:51 +01:00
Sebastian Hoogen
29ea3d1a14
remove all references to BRepMesh
2014-07-18 10:43:16 +02:00
Sebastian Hoogen
f48d95d93c
Drawing: approximate rational splines and enforece only GeomAbs_C0
2014-01-18 11:50:57 +01:00
wmayer
d427cfa664
+ fix ellipse problem in SVG output (j-dowsett)
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5199 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-28 15:14:27 +00:00
wmayer
c1bf4a6cb2
+ fix ellipse problem in SVG output (j-dowsett)
...
+ fix wrong indentation
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5160 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-23 14:18:47 +00:00
wmayer
f23037936a
+ fix ellipse problem in SVG output (j-dowsett)
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5159 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-23 10:01:09 +00:00
wmayer
d6f12c823c
+ use generic method for ellipses for now
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5153 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-22 08:43:44 +00:00
wmayer
10b33d91fa
+ fix SVG generation of ellipse
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5151 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-21 09:41:10 +00:00
wmayer
4682540efc
+ separate SVG & DXF output from projection algorithm and move to own classes
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5020 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-14 16:56:57 +00:00