Commit Graph

23859 Commits

Author SHA1 Message Date
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
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
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
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
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
Yorik van Havre
d3150bc3ab Auto workbench switching when editing a wall's base sketch 2012-02-05 15:27:03 -02: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
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
Jose Luis Cercós pita
c598d0b9da Fixed some messages 2012-02-04 18:50:14 +01:00
wmayer
70b5e3dec4 Directly create solid from Part.makeWedge 2012-02-03 15:59:10 +01:00
Jose Luis Cercós pita
1d0c18b535 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
0fd3a1ae84 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
39f84738ed + add blacklists to exlude files from being archived by Git 2012-02-02 17:00:33 +01:00
Jose Luis Cercós Pita
d16ca2d5f1 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
0b340ec47f Updated examples loader in order to allow load s60 katamaran version. 2012-02-01 14:14:16 +01:00
Jose Luis Cercós Pita
2d8503c631 Added s60 katamaran model geometry example 2012-02-01 14:10:53 +01:00
Jose Luis Cercós Pita
d7c64dd2df Added multibody support. 2012-02-01 14:02:27 +01:00
Jose Luis Cercós Pita
fab2267823 Reduced tolerance looking for aproximately variables 2012-01-31 16:33:12 +01:00
Jose Luis Cercós Pita
8e45a3a6ca Fixed bad points sort algorithm 2012-01-31 10:30:24 +01:00
Jose Luis Cercós Pita
a2fea44907 Solved ghost empty sections 2012-01-31 10:02:30 +01:00
Jose Luis Cercós Pita
0c22497af5 Error saving data fixed 2012-01-31 09:39:09 +01:00
Jose Luis Cercós Pita
2bd4213683 Fixed 0 length dimensions error related 2012-01-31 09:35:42 +01:00
Jose Luis Cercós Pita
40f08129a2 Fixed bad warning message aboput empty sections. 2012-01-31 09:34:42 +01:00
Jose Luis Cercós Pita
f37ac4c202 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
faca963004 Merge remote-tracking branch 'svn/trunk' 2012-01-30 08:04:37 +01:00
Jose Luis Cercós pita
ca825a40fc Added examples loader functionality 2012-01-29 19:44:03 +01:00
Jose Luis Cercós pita
6c648890c4 Fixed bad bounds calculation when several surfaces have been selected 2012-01-29 19:43:35 +01:00
Jose Luis Cercós pita
ac539c642d Added s60 & Combatant 5415 hull examples 2012-01-29 19:41:27 +01:00
Jose Luis Cercós pita
050ad94d8d Small syntax error fix 2012-01-29 19:29:25 +01:00
Jose Luis Cercós pita
1fa3d1c78d Small syntax error fix 2012-01-29 19:28:24 +01:00
Jose Luis Cercós pita
cd93c9b453 Added examples loader tool (without functionality yet) 2012-01-29 19:11:55 +01:00
Jose Luis Cercós pita
1d61659beb Added icons to examples loader tool 2012-01-29 18:48:45 +01:00
Jose Luis Cercós pita
9f77661c24 Changed create ship error to suggest create geometry or download it 2012-01-29 18:31:09 +01:00
Jose Luis Cercós pita
51685137d1 Created transversal areas curve plot tool 2012-01-29 18:17: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
wmayer
1d10676d5d 0000581: crash when editing duplicated sketch
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5427 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-27 10:53:51 +00:00
Yorik van Havre
f1952ed9a4 Added special behaviour to Draft snap for working with walls 2012-01-26 10:03:09 -02:00
Yorik van Havre
a7e9d873d4 Used new Part importBREP method in Arch IFC importer 2012-01-26 10:01:36 -02:00