Commit Graph

21914 Commits

Author SHA1 Message Date
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
Yorik van Havre
328f038f01 Fixed editmode bugs in Draft & Arch 2012-02-13 20:13:13 -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
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
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
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
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
Yorik van Havre
60568c00f7 Auto workbench switching when editing a wall's base sketch 2012-02-05 15:27:03 -02:00
Yorik van Havre
47765a1844 Added 2D displaymode to Arch walls 2012-02-04 20:35:35 -02:00
Yorik van Havre
d22d654007 Added multi-taskboxes example to TemplatePyMod TaskPanel example 2012-02-04 20:35:35 -02:00
Yorik van Havre
bce32cc2ef 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
1af6a3c2b1 Bugfixes in Draft Snap 2012-02-04 20:35:35 -02:00
Yorik van Havre
26602b2aa3 Fixed numeric input in Arch Walls coordinates 2012-02-04 20:35:35 -02:00
Yorik van Havre
8d01d70038 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
Jose Luis Cercós pita
079e3e5cb5 Fixed some messages 2012-02-04 18:50:14 +01:00
wmayer
a4f2a44dd2 Directly create solid from Part.makeWedge 2012-02-03 15:59:10 +01:00
Jose Luis Cercós pita
239adc604b Merge branch 'freecad-ship' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad into freecad-ship 2012-02-03 11:34:54 +01:00
Jose Luis Cercós pita
74a7b963e7 Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad into freecad-ship 2012-02-03 11:33:36 +01:00
wmayer
67793c6c8d + add blacklists to exlude files from being archived by Git 2012-02-02 17:00:33 +01:00
Jose Luis Cercós Pita
f0955a3f46 Fix error when try to fuse border into constant sections edges. Now constant edges are fused into border. 2012-02-01 15:28:12 +01:00
Jose Luis Cercós Pita
cc36febead Updated examples loader in order to allow load s60 katamaran version. 2012-02-01 14:14:16 +01:00
Jose Luis Cercós Pita
84c33bffde Added s60 katamaran model geometry example 2012-02-01 14:10:53 +01:00
Jose Luis Cercós Pita
1a88ead7ab Added multibody support. 2012-02-01 14:02:27 +01:00
Jose Luis Cercós Pita
9325530778 Reduced tolerance looking for aproximately variables 2012-01-31 16:33:12 +01:00
Jose Luis Cercós Pita
0e090ee032 Fixed bad points sort algorithm 2012-01-31 10:30:24 +01:00
Jose Luis Cercós Pita
c59ae2a843 Solved ghost empty sections 2012-01-31 10:02:30 +01:00
Jose Luis Cercós Pita
395ae7036e Error saving data fixed 2012-01-31 09:39:09 +01:00
Jose Luis Cercós Pita
f3556210dc Fixed 0 length dimensions error related 2012-01-31 09:35:42 +01:00
Jose Luis Cercós Pita
9795913334 Fixed bad warning message aboput empty sections. 2012-01-31 09:34:42 +01:00
Jose Luis Cercós Pita
822beda220 Merge branch 'freecad-ship' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad into freecad-ship 2012-01-30 14:25:21 +01:00
jriegel
dbe3cd949d Merge remote-tracking branch 'svn/trunk' 2012-01-30 08:04:37 +01:00
Jose Luis Cercós pita
a0d0c68162 Added examples loader functionality 2012-01-29 19:44:03 +01:00
Jose Luis Cercós pita
58dc011e38 Fixed bad bounds calculation when several surfaces have been selected 2012-01-29 19:43:35 +01:00
Jose Luis Cercós pita
70636dfe14 Added s60 & Combatant 5415 hull examples 2012-01-29 19:41:27 +01:00
Jose Luis Cercós pita
9e325abf70 Small syntax error fix 2012-01-29 19:29:25 +01:00
Jose Luis Cercós pita
e9ea84439b Small syntax error fix 2012-01-29 19:28:24 +01:00
Jose Luis Cercós pita
13fb0e2cca Added examples loader tool (without functionality yet) 2012-01-29 19:11:55 +01:00
Jose Luis Cercós pita
5a344ed796 Added icons to examples loader tool 2012-01-29 18:48:45 +01:00
Jose Luis Cercós pita
9aa506130d Changed create ship error to suggest create geometry or download it 2012-01-29 18:31:09 +01:00