Commit Graph

8850 Commits

Author SHA1 Message Date
wmayer
f0afa802d4 Fix INSTALL target in cmake files 2012-02-17 01:43:03 +01:00
wmayer
6f6b51d470 Fix INSTALL target in cmake files 2012-02-17 00:03:30 +01:00
wmayer
340de72a3d Fix INSTALL target in cmake files 2012-02-16 23:35:54 +01:00
wmayer
52fb356392 Fix INSTALL target in cmake files 2012-02-16 21:22:42 +01:00
Yorik van Havre
709d2705cb Small fix to Draft SVG
+ fixed the location of the getrgb() function
2012-02-16 08:49:13 -02:00
wmayer
fefc3469c8 Redirect output and errors only if set in preferences 2012-02-15 12:03:26 +01:00
wmayer
c3e4a5689d Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-14 02:09:33 +01:00
wmayer
fd07754b12 Experiment with keyword expansion 2012-02-14 02:08:47 +01:00
Yorik van Havre
6f6d78daed Fixed editmode bugs in Draft & Arch 2012-02-13 20:13:13 -02:00
Yorik van Havre
09745f3030 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
034b44b713 Fixed bug #592 - SVG export of shapes containing full circles 2012-02-13 13:42:48 -02:00
Yorik van Havre
55657f36c1 Fixed bug #593 - Draft SVG representation of white objects 2012-02-13 10:44:59 -02:00
Yorik van Havre
3b66fc7239 Added arc flags calculation to Draft arcs exported to svg (shoogen) 2012-02-13 10:30:29 -02:00
Sebastian Hoogen
b70c5b4120 Added viewbox and mm units to Drawing templates 2012-02-12 10:38:46 +01:00
Sebastian Hoogen
83004e56b7 importSVG reimplemented getsize using a RegEx 2012-02-12 10:20:48 +01:00
jriegel
d20dedd541 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
e81c07752b Merge remote-tracking branch 'svn/trunk' 2012-02-11 19:15:13 +01:00
jriegel
5e6bd9076b Merge ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-11 19:14:33 +01:00
wmayer
8641d7b30e 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
7865cb752e apply SVN commit 5432 to Git 2012-02-10 15:58:11 +01:00
wmayer
5894d97354 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-10 15:30:21 +01:00
wmayer
30d41865fd 0000598: New version treats some objects as immutable 2012-02-10 15:29:23 +01:00
wmayer
f49ac3496d 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
3d56156c1d 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
15fe31b8ce 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
0bd5e02ef3 remove some old dead code 2012-02-10 00:38:13 -07:00
Sebastian Kuzminsky
e02eafc207 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
60c61a3f6d 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
67b3c28990 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-08 13:51:31 +01:00
wmayer
5d21a18504 Add distcheck target for GCC and MinGW 2012-02-08 13:50:47 +01:00
Yorik van Havre
ea28e11278 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
eada05cc7f Make dfsg tarball compiling with cmake 2012-02-07 22:24:01 +01:00
wmayer
ec1362c2b7 fix build errror with gcc 2012-02-07 20:57:41 +01:00
wmayer
a272d42152 Make dist target also working on Windows, add distdfsg target 2012-02-07 16:49:00 +01:00
wmayer
d3eabdf0e8 0000589: Some files are not properly closed 2012-02-07 14:20:22 +01:00
wmayer
62149603fa Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-07 12:18:31 +01:00
wmayer
dc8b1ec6f2 Print pythons exceptions in macros to output window 2012-02-07 12:18:10 +01:00
Yorik van Havre
0dc69af03a 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
e8b6a6fe4a 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
da16c24ab5 implement copy license information to clipboard 2012-02-06 15:40:59 +01:00
Yorik van Havre
7b3fe7c055 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
d3150bc3ab Auto workbench switching when editing a wall's base sketch 2012-02-05 15:27:03 -02:00
jriegel
9f21bf39aa 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
36a697df9f Merge remote-tracking branch 'svn/trunk' 2012-02-05 17:46:04 +01:00
wmayer
88c3e48ba3 Add makedist script and custom build target 2012-02-05 17:44:11 +01:00
jriegel
5e49fa742e 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
wmayer
41a8e745a7 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-02-05 00:55:43 +01:00
Yorik van Havre
265fbd45cd Added 2D displaymode to Arch walls 2012-02-04 20:35:35 -02:00
Yorik van Havre
7b0d274dd0 Added multi-taskboxes example to TemplatePyMod TaskPanel example 2012-02-04 20:35:35 -02:00
Yorik van Havre
c183024f91 Added additional TaskBox to Arch Wall tool
Additional parameters such as height and width
can now be set during wall drawing
2012-02-04 20:35:35 -02:00