Commit Graph

223 Commits

Author SHA1 Message Date
wmayer
7110c55c33 + fixes #0001689: Show name of the drawing page in the tab of the drawing 2014-08-18 14:44:28 +02:00
wmayer
6556bc776a + fixes #0001689: Show name of the drawing page in the tab of the drawing 2014-08-16 15:08:55 +02:00
Yorik van Havre
b33d8f6244 Draft - Allow to export Drawing pages to DXF - fixes #1686
* Uses DXF algos of the Drawing module instead of the Draft dxf library
* Uses a DXF template with the same name as the SVG template, if existing
* Only Draft, Arch, Part and Annotation views are currently supported
* Drawing module's projectToDXF() now returns only a fragment instead of a full DXF file
2014-08-15 18:14:17 -03:00
jriegel
95923c3afc remove Standard_String.hxx, no longer needed 2014-08-13 21:04:27 +02:00
jriegel
7767f0e6c7 Fix for VC11, should be backwards compatible 2014-08-13 21:01:27 +02:00
wmayer
7939027c98 + fixes #0001682: Crash after updating editable texts in drawing 2014-08-13 12:49:09 +02:00
wmayer
4ad43e60b0 + fixes #0001667: 'Save file' disabled when viewing a drawing 2014-08-11 22:59:16 +02:00
Yorik van Havre
7778988faa Drawing: Allow to select the page in which to create a view feature - fixes #1668 2014-08-07 22:00:31 -03:00
Yorik van Havre
dc3ebfb502 Fix in Drawing page object - fixes #1540
* Changing the editable texts updates the page automatically
* Added a doc.recompute() after creating a new page
2014-08-07 10:39:33 -03:00
jriegel
ec2198107b move build specifier in own cMake group 2014-08-03 20:53:19 +02:00
wmayer
ecbda2772e + fixes #0001628: Fixed A4 Drawing Template 2014-07-23 13:56:16 +02:00
Sebastian Hoogen
a0454af685 remove all references to BRepMesh 2014-07-18 10:43:16 +02:00
Yorik van Havre
940f7e69ba Updated translations 2014-05-24 17:35:20 -03:00
wmayer
6b89c03181 Add initial support for different libdir (jobermayr) 2014-05-10 12:57:38 +02:00
wmayer
3b6d07833d + compile with clang 2014-05-05 16:24:01 +02:00
mdinger
337f05d56e Move python module prefix and suffix properties into macro to be set together 2014-05-03 16:00:30 +02:00
wmayer
66de74d14a + Remove redefinition of /EHa which causes warnings with QtCreator 2014-04-30 19:21:49 +02:00
wmayer
1a7cea9b59 + Fix prefix of Python extensions built with MinGW 2014-04-30 18:22:52 +02:00
mdinger
f890d1d1cb Fix precompiled header build error 2014-04-30 13:41:19 +02:00
mdinger
a17cce3559 Remove unnecessary quotes. 2014-04-30 13:41:16 +02:00
mdinger
1942bb7906 Apply SET_BIN_DIR macro to Mod 2014-04-30 13:41:13 +02:00
Daniel Falck
4d2d7b65ae forgot to add include file for this 2014-04-23 19:39:57 -03:00
Daniel Falck
3abe4d460d had trouble rebasing so added tanderson's commits by copy paste method 2014-04-23 19:39:57 -03:00
Yorik van Havre
6f896d8f22 Draft: Added Layer tool - issue #1504 2014-04-17 18:18:51 -03:00
Yorik van Havre
3a8d83bed9 Updated ts files from source 2014-03-10 20:36:59 -03:00
wmayer
9367488293 + fixes #0001312: Save sheet doesn't write the file in some directories 2014-03-04 10:38:40 +01:00
wmayer
daf8b1d49e + fixes #0001447: Crash when opening task dialog for orthographic projection while another task dialog is open 2014-02-27 11:14:53 +01:00
Sebastian Hoogen
9c5f1c216d Drawing: approximate rational splines and enforece only GeomAbs_C0 2014-01-18 11:50:57 +01:00
Sebastian Hoogen
15089556cd Updated ISO7200 based drawing templates
added Working space and Title block tags
2014-01-15 12:03:55 -02:00
jriegel
3cbc877f6b fix some warnings 2014-01-12 16:25:47 +01:00
jriegel
3f52b88c5b Fix for Windows 2014-01-12 16:21:07 +01:00
j-dowsett
83c9017eff Rewrite of OrthoViews. Detect page size and titleblock from tags in SVG template. Separation of logic from GUI. Much improved logic. No longer uses python to manipulate views - calls C++ methods directly. Can now support more views, and axonometric views in any position. 2014-01-10 11:33:34 +00:00
j-dowsett
c1a2348e33 Applying tanderson's patch to replace invertY with (1,-1) scaling of SVG itself. Commented out invertY as no longer used. 2014-01-10 11:31:14 +00:00
Yorik van Havre
eab159b6ee Drawing: Added property to set hidden line width - fixes #606 2014-01-01 14:41:39 -02:00
wmayer
c304c71b93 fixes #0001337: Add american templates to Drawing workbench 'New Drawing' drop-down button 2013-12-24 12:39:15 +01:00
j-dowsett
7348d0d497 Added manual scaling to axonometric view 2013-12-15 11:26:54 +00:00
j-dowsett
7d159360c4 Correctly identify standard template files 2013-12-15 11:26:54 +00:00
j-dowsett
ad9c33b9d6 Correctly enables/disables axonometric tab when axonometric view added/removed. 2013-12-15 11:26:54 +00:00
j-dowsett
fe5884aa85 Fixed overwriting of axo view when ortho views changed. 2013-12-15 11:26:54 +00:00
j-dowsett
88c1ae6a24 Fix to axonometric projection for objects not centred at y = 0 2013-12-15 11:26:53 +00:00
j-dowsett
ce5fad80dd Added functionality for axonometric views in orthogrpahic projection tool 2013-12-15 11:26:53 +00:00
Yorik van Havre
1f2c5b04bb Drawing: Symbol command
A new symbol command and Drawing::FeatureViewSymbol object allow to
load the contents of an external svg file and place it as a symbol
on a Drawing page. This symbol can then be moved and rescaled.
2013-11-01 19:12:09 -02:00
wmayer
4686118f2a + Make Python API more pythonic 2013-10-11 13:57:05 +02:00
wmayer
31afafcba6 + Fix double to float cast 2013-10-10 17:15:03 +02:00
jriegel
664c1d4862 Integrate Werners & Jans double branch
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02:00
wmayer
f1f3151345 +Relicense from GPL to LGPL 2013-09-19 11:21:03 +02:00
Yorik van Havre
e157152c96 Modified a couple of icons (Raytracing and Drawing) to give a more unified look 2013-09-16 12:18:15 -03:00
Yorik van Havre
42fdbefc54 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
wmayer
5b46a86056 0001155: FreeCAD crashed while creating a loft of two ellipses 2013-06-20 13:12:31 +02:00
wmayer
b36ffe63fd Activate OSD signals on Linux 2013-06-12 23:15:53 +02:00
wmayer
8122723360 Switch new selection style explicitly off for some types 2013-04-28 17:23:54 +02:00
wmayer
cf07e511b3 Add project shape command to Drawing menu 2013-01-02 14:39:07 +01:00
Yorik van Havre
f4a47f089c Updated with latest crowdin translations 2012-12-18 13:28:11 -02:00
Yorik van Havre
71b1777e8a Updated translation strings 2012-12-07 10:56:57 -02:00
wmayer
64e1c3635d Fix build failures with automake 2012-12-06 20:13:24 +01:00
wmayer
90a7787f08 Add DXF export of Drawing module to export command 2012-11-30 16:42:30 +01:00
wmayer
98c2c18c84 Remove Svg prefix from enum type 2012-11-29 11:52:42 +01:00
Yorik van Havre
9934a1dc0f Added new translations to makefiles 2012-10-30 10:49:36 -02:00
Yorik van Havre
be940cbd06 Updated translations from crowdin
* Updated the updateTranslations.py tool so it can now work with
  unzipped folders, and it updates qt resource files when necessary.
* Updated existing translations, changed a couple of language codes:
  es -> es-ES, pt -> pt-BR, zh -> zh-CN, se -> sv-SE
* Added new translations that have more than 50% translated:
  cs, hu, ro, sk, zh-TW, tr
2012-10-30 09:59:55 -02:00
wmayer
a62da7f2f3 Use user-defined tolerance for tessellation 2012-10-08 14:10:53 +02:00
wmayer
e11e4ba9ff Set tessellation tolerance in Drawing by user 2012-10-07 17:07:23 +02:00
wmayer
1f94f0846e Fix translation issues 2012-08-31 13:11:52 +02:00
Yorik van Havre
3a8f6dff59 Updated translation files 2012-08-16 16:09:56 -03:00
wmayer
08bfdc4875 Automatically create actions for each template 2012-07-22 14:56:25 +02:00
wmayer
17506c8d7e Check at runtime if drawing page is there 2012-07-21 09:47:44 +02:00
wmayer
f6cf5227ed 0000749: PI was not declared in this scope - compile error 2012-06-14 13:01:07 +02:00
wmayer
b4aff85333 Fix critical warnings 2012-06-13 18:49:10 +02:00
wmayer
178010bb39 Fix build errors with autotools 2012-06-12 01:00:17 +02:00
wmayer
291dbfa054 Fix issues in autotools 2012-06-11 23:06:09 +02:00
wmayer
104f9d5225 Fix build errors with autotools, fix a couple of grave bugs 2012-06-11 21:19:49 +02:00
wmayer
769528e86e Set number if decimals in property editor according to user settings 2012-06-11 18:25:56 +02:00
wmayer
3bd569252c Raise exception in Drawing module for unsupported objects 2012-06-05 13:55:56 +02:00
Yorik van Havre
1a79480bd6 Added 0000145 : Drawing clip objects 2012-05-16 16:31:02 -03:00
Yorik van Havre
d4b5a079d9 Refined Drawing::FeatureViewAnnotation
+ Now goes inside an existing page automatically
+ Supports Rotation value
2012-05-03 16:04:48 -03:00
Yorik van Havre
2dc62d783e Added 0000602 : Annotations object for Drawing pages 2012-05-02 18:16:41 -03:00
Yorik van Havre
c3ab6afd86 Set Drawing hidden linewidth to half the normal linewidth 2012-04-18 10:02:15 -03:00
Yorik van Havre
25c81962f8 Added LineWidth property to Part DrawingViews
Views of Part objects, when added to a DrawingPage, now
have an adjustable LineWidth property, set to 0.35 by default.
2012-04-17 20:52:27 -03:00
wmayer
2e3e3f0467 0000672: Loading Example Drawing extraction crashes at Baseclass.cpp line 115 2012-04-16 15:57:10 +02:00
wmayer
3f06cf75ea add drawing view to the list of document views 2012-03-31 14:09:47 +02:00
wmayer
fcb4d396a1 Add program options --output and --hidden and implement PDF as export format 2012-03-31 13:25:01 +02:00
wmayer
2e062ab797 0000652: Polish language not available even if translation is available in source 2012-03-25 13:38:32 +02:00
wmayer
b75d56687a Fix layout in ortho view task panel 2012-03-11 09:35:44 +01:00
Sebastian Hoogen
4ece6a3a67 new ISO 7200 compliant drawing template 2012-02-23 21:06:04 +01:00
Sebastian Hoogen
1279c0927c Drawing templates: changed default inkscape unit to mm 2012-02-23 21:06:03 +01:00
wmayer
2ba9354492 Fix build error with VC++ 2012-02-21 11:11:57 +01:00
wmayer
3891ad218f New functions added to orhto views (Joe Dowsett) 2012-02-20 20:53:54 +01:00
wmayer
c782b9e732 Apply patch from Joe Dowsett 2012-02-20 20:39:19 +01:00
wmayer
5f140253fa Support of INSTALL target on Windows (VC++ and MinGW) 2012-02-17 21:41:00 +01:00
wmayer
c4122e059e Fix INSTALL target in cmake files 2012-02-16 23:35:54 +01:00
wmayer
3c76fc176e Fix INSTALL target in cmake files 2012-02-16 21:22:42 +01:00
Sebastian Hoogen
41337f61a6 Added viewbox and mm units to Drawing templates 2012-02-12 10:38:46 +01:00
Yorik van Havre
7b6eab3781 Added Drawing_OpenBrowserView command
While the Drawing viewer is still based on QtSvg,
I added this little button to make it handy to
check how a page renders in the webkit window.
2012-01-19 21:01:57 -02:00
Yorik van Havre
671930f61e Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-01-08 13:49:42 -02:00
Yorik van Havre
447600bf5a added xml namespace to A3_Landscape template 2012-01-08 13:40:30 -02:00
wmayer
776a083dce + support multi-selection when inserting objects to drawing page
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5390 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-05 18:50:56 +00:00
unknown
9363b63a09 Merge remote-tracking branch 'svn/trunk' 2011-12-31 15:02:30 +01:00
Yorik van Havre
a9d2f1c678 + more small fixes to DrawingPage 2011-12-30 13:02:33 -02:00
wmayer
dfbea1de96 + move vec_traits into its own module
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5363 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-30 11:45:28 +00:00
Yorik van Havre
529b92cbfe + small fixes to the Drawing Page 2011-12-29 23:23:37 -02:00
Yorik van Havre
c6b0c86989 added editable texts to the default A3 template 2011-12-29 19:33:46 -02:00
Yorik van Havre
59f1485005 Added editable texts to DrawingPage
- Editable texts can be added to templates by adding a
  freecad:editable="textName" attribute to SVG <text> tags
- Added EditableTexts property (stringlist) to FeaturePage objects
- Instead of writing directly the SVG fragments to the temp file,
  they are scanned for editable texts, and if needed those are
  changed, then the final temp file is written, allowing for
  editable texts anywhere, even in FeatureView objects
- On changing the Template, editable texts are picked and
  stored in the EditableTexts property.
2011-12-29 19:02:58 -02:00
yorikvanhavre
a7053861b5 further work on DrawingPage 2011-12-23 19:15:14 -02:00
wmayer
4cb8920c15 + fix VS2010 build errors
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5328 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-20 10:25:52 +00:00
wmayer
74cad3c134 + fixes in ortho view (j-dowsett)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5313 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-16 10:26:27 +00:00
wmayer
498b2163e2 + fix linker error
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5312 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 22:11:19 +00:00
wmayer
5593d0515c + fix little translation issue
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5311 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 18:36:07 +00:00
wmayer
eac5828903 + add patch for ortho view (j-dowsett)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5310 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 18:31:59 +00:00
wmayer
bde949f7e4 0000519: Patch to set proper RPATH's for system wide installation on Linux
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5270 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-11 12:36:36 +00:00
wmayer
94334df562 + fix Makefile
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5268 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-11 01:15:09 +00:00
wmayer
8bcc1ffe80 + add missing file, fix Makefile
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5267 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-11 01:12:24 +00:00
wmayer
7d7631bc9d + add task panel for projections (j-dowsett)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5262 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 21:36:02 +00: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
yorikvanhavre
690e5090dc + updated finnish translations I had forgotten
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5187 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-26 14:40:06 +00:00
yorikvanhavre
c8e6df5971 + updated Drawing translations
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5171 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-24 22:46:20 +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
e35a042c2d + 0000478: Segfault on insert part into 2D drawing (workaround)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5144 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-17 10:31:04 +00:00
wmayer
c7985e5c06 + rework edit modes
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5102 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-08 21:15:49 +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
yorikvanhavre
a627f6c6f1 + added DXF output code from danielfalck to the Drawing module
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5017 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-14 15:08:05 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00