Commit Graph

611 Commits

Author SHA1 Message Date
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
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
Yorik van Havre
c0f0d06cc2 Allowed TaskDialogPython to display several taskboxes
The "form" attribute of Python TaskDialogs can now be
either a PyQt widget or a list of PyQt widgets.
2012-02-04 20:35:35 -02:00
Yorik van Havre
17d6948d85 Bugfixes in Draft Snap 2012-02-04 20:35:35 -02:00
Yorik van Havre
b19d09513f Fixed numeric input in Arch Walls coordinates 2012-02-04 20:35:35 -02:00
Yorik van Havre
40f85a00e2 More improvements to the Arch module
+ Draft snap can now pass the object being snapped to
+ Handle when wall is based on a closed wire
+ Handle when wall is based on a self-intersecting wire
2012-02-04 20:35:35 -02:00
wmayer
ee453416ee Show hash and branch name of Git repo in About dialog 2012-02-04 22:45:44 +01:00
jriegel
81d0340e31 Merge branch 'master' into HEAD
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5431 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-02-04 08:18:01 +00:00
jriegel
11ff9226a0 Merge remote-tracking branch 'svn/trunk' 2012-02-04 09:05:32 +01:00
wmayer
70b5e3dec4 Directly create solid from Part.makeWedge 2012-02-03 15:59:10 +01:00
jriegel
8e73a684d5 Merge branch 'master' into HEAD
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5430 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-02-02 21:48:46 +00:00
wmayer
39f84738ed + add blacklists to exlude files from being archived by Git 2012-02-02 17:00:33 +01:00
jriegel
56f43b532d Merge remote-tracking branch 'svn/trunk' 2012-02-01 22:57:46 +01:00
wmayer
b47faa165c + implement mechanism to extract version number from Git 2012-02-01 13:35:33 +01:00
wmayer
5ac59c3986 + implement mechanism to extract version number for Git
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5429 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-31 14:51:12 +00:00
jriegel
6ce66b9542 Merge branch 'master' into HEAD
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5428 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-30 07:06:56 +00:00
jriegel
faca963004 Merge remote-tracking branch 'svn/trunk' 2012-01-30 08:04:37 +01:00
Yorik van Havre
a53e4122eb Improvement to Arch Walls
+ Arch Walls are now sketch-based by default
+ Arch Walls now auto-connect when snapping to an existing wall
2012-01-27 18:55:28 -02:00