Commit Graph

1304 Commits

Author SHA1 Message Date
wmayer
5f140253fa Support of INSTALL target on Windows (VC++ and MinGW) 2012-02-17 21:41:00 +01:00
Jose Luis Cercós pita
87782c32cb Added some hydrostatics computation. 2012-02-17 13:41:50 +01:00
Jose Luis Cercós pita
6c870f2ebd Created loadable hydrostatics task panel. 2012-02-17 11:41:41 +01:00
Jose Luis Cercós pita
41c0f80bc6 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad into freecad-ship 2012-02-17 10:57:03 +01:00
wmayer
f7bb6026b1 Fix INSTALL target in cmake files 2012-02-17 01:43:03 +01:00
wmayer
905fb1a53f Fix INSTALL target in cmake files 2012-02-17 00:03:30 +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
Yorik van Havre
cda83bbd13 Small fix to Draft SVG
+ fixed the location of the getrgb() function
2012-02-16 08:49:13 -02:00
wmayer
d23f9a854e Redirect output and errors only if set in preferences 2012-02-15 12:03:26 +01:00
wmayer
c709eeba89 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-14 02:09:33 +01:00
wmayer
1cd2e2dc72 Experiment with keyword expansion 2012-02-14 02:08:47 +01:00
Yorik van Havre
328f038f01 Fixed editmode bugs in Draft & Arch 2012-02-13 20:13:13 -02:00
Yorik van Havre
b0ec0931cb Added Std_Edit FreeCAD command
That command (located in the Edit menu) toggles (enters or leaves)
the Edit mode of a selected object.
2012-02-13 20:11:14 -02:00
Yorik van Havre
edb20f1876 Fixed bug #592 - SVG export of shapes containing full circles 2012-02-13 13:42:48 -02:00
Yorik van Havre
601d292b54 Fixed bug #593 - Draft SVG representation of white objects 2012-02-13 10:44:59 -02:00
Yorik van Havre
8f075ab326 Added arc flags calculation to Draft arcs exported to svg (shoogen) 2012-02-13 10:30:29 -02:00
Sebastian Hoogen
41337f61a6 Added viewbox and mm units to Drawing templates 2012-02-12 10:38:46 +01:00
Sebastian Hoogen
b613925228 importSVG reimplemented getsize using a RegEx 2012-02-12 10:20:48 +01:00
jriegel
f53f1cee84 Merge branch 'master' into HEAD
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5436 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-02-11 18:21:09 +00:00
jriegel
839a36ea6f Merge remote-tracking branch 'svn/trunk' 2012-02-11 19:15:13 +01:00
jriegel
6b1da03e94 Merge ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-11 19:14:33 +01:00
wmayer
65863849e6 Print pythons exceptions in macros to output window (copied from Git)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5435 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-02-10 15:01:34 +00:00
wmayer
88370f19dd apply SVN commit 5432 to Git 2012-02-10 15:58:11 +01:00
wmayer
7396c528e1 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-10 15:30:21 +01:00
wmayer
0dc635f04f 0000598: New version treats some objects as immutable 2012-02-10 15:29:23 +01:00
wmayer
21e61f155e 0000598: New version treats some objects as immutable
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5434 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-02-10 14:18:14 +00:00
Jose Luis Cercós pita
b8e56edc60 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad into freecad-ship 2012-02-10 14:50:09 +01:00
Sebastian Hoogen
4b815347f2 importSVG multiple changes
reordered path command control structure
adding rounded rect and elliptical arc support
2012-02-10 09:36:12 +01:00
Sebastian Kuzminsky
a0e7e4bfcc remove some old dead code 2012-02-10 00:38:13 -07:00
Sebastian Kuzminsky
ff157cf94d export SVG as either 'Translated' or 'Raw'
There are two things a user might want when exporting to SVG:

    1. A pretty picture, to put on paper or on the screen and show
       to humans.

    2. An accurate representation of their part, for feeding to CAM
       software.

This commit adds a mechanism that lets the user select which of those
two options they want.

A new choice is added to the Draft Preferences.  The two options are:

    * "Translated (for print and display)", which acts just like before.
      The sketch is translated so it fits neatly in the display area.
      of the cartesian plane.  This is usually what you want if you're
      going to display the SVG to humans.

    * "Raw (for CAM)", which does not translate the sketch at all.
      All sketch coordinates are preserved exactly.  This is useful for
      feeding the SVG to a CAM program (like PyCAM).

The SVG export function is modified to check this new Preference setting,
and write either "Translated" or "Raw" SVGs as appropriate.
2012-02-10 00:38:04 -07:00
Sebastian Kuzminsky
5ac5814369 when exporting SVG, map user units to mm so the coordinates make sense
This commit changes SVG export so that the user unit (what SVG calls
'px') is defined to be 1 mm.

This lets us write out the native sketch coordinates in the SVG file,
and the SVG will contain a drawing of the correct size (same size as
what's in FreeCAD).
2012-02-10 00:24:21 -07:00
wmayer
6960b49098 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-08 13:51:31 +01:00
wmayer
33e946b57c Add distcheck target for GCC and MinGW 2012-02-08 13:50:47 +01:00
Yorik van Havre
c79e5d50e5 Added RFE #588 - Curved corners to Draft objects
Draft Rectangle, Wire and Polygon now have a "Fillet Radius"
property, which can be used to round their corners. Code
donated by Jacques-Antoine Gaudin
2012-02-07 20:58:44 -02:00
wmayer
fe7c57b8c5 Make dfsg tarball compiling with cmake 2012-02-07 22:24:01 +01:00
wmayer
77d103156b fix build errror with gcc 2012-02-07 20:57:41 +01:00
wmayer
60472e057f Make dist target also working on Windows, add distdfsg target 2012-02-07 16:49:00 +01:00
wmayer
a592f55473 0000589: Some files are not properly closed 2012-02-07 14:20:22 +01:00
wmayer
ab2d4bb2b2 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-07 12:18:31 +01:00
wmayer
21d3c0c81b Print pythons exceptions in macros to output window 2012-02-07 12:18:10 +01:00
Yorik van Havre
7a385f07d9 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-06 17:20:26 -02:00
Yorik van Havre
e31d6e0539 Added Draft.heal() method
This function recreates damaged Draft objects saved
with earlier versions of FreeCAD
2012-02-06 17:18:57 -02:00
wmayer
9afae903ac implement copy license information to clipboard 2012-02-06 15:40:59 +01:00
Yorik van Havre
b2a068dcc7 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-05 15:28:54 -02:00
Yorik van Havre
60568c00f7 Auto workbench switching when editing a wall's base sketch 2012-02-05 15:27:03 -02:00
jriegel
826499752e Merge branch 'master' into HEAD
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5433 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-02-05 16:49:07 +00:00
jriegel
281d74866a Merge remote-tracking branch 'svn/trunk' 2012-02-05 17:46:04 +01:00
wmayer
dcc5f1fa80 Add makedist script and custom build target 2012-02-05 17:44:11 +01:00
jriegel
2ecbd6b851 update idf import and small fixes
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5432 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-02-05 16:32:29 +00:00