Commit Graph

481 Commits

Author SHA1 Message Date
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
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
wmayer
70b5e3dec4 Directly create solid from Part.makeWedge 2012-02-03 15:59:10 +01:00
wmayer
39f84738ed + add blacklists to exlude files from being archived by Git 2012-02-02 17:00:33 +01: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
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
Yorik van Havre
ae9b84c70d Added Arch download function 2012-01-25 18:21:48 -02:00
Yorik van Havre
af3f9f17ed Small fixes in Draft tools to work with Arch objects 2012-01-25 15:35:43 -02:00
Yorik van Havre
276d3de3ef Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-01-24 20:31:11 -02:00
Yorik van Havre
dc9ba93a75 Bugfix in Draft custom hatch patterns 2012-01-24 20:30:04 -02:00
jriegel
3dd52ae650 Merge remote-tracking branch 'svn/trunk' 2012-01-24 20:06:48 +01:00
Jose Luis Cercós pita
106cbdf811 Deleted update data button, now data is automatically updated. 2012-01-24 16:00:08 -02:00
Jose Luis Cercós pita
4333c4fc63 Added Draft, displacement and XCB widget indicator 2012-01-24 16:00:07 -02:00
Jose Luis Cercós pita
5930aaf6f7 Fixed unstored discretization data. 2012-01-24 16:00:07 -02:00
Jose Luis Cercós pita
ec41856068 Fixed bug at file name that caused compilation fails using autotools. 2012-01-24 16:00:07 -02:00
Jose Luis Cercós pita
d4fe147a3e Fixed bug at file name that caused compilation fails using autotools. 2012-01-24 16:00:07 -02:00
Jose Luis Cercós pita
ed1dba0c97 Fixed bug that causes some boundary points can be moved when redistribute points. 2012-01-24 16:00:07 -02:00
Jose Luis Cercós pita
1c855b0f1a Using Hydrostatics tools into Areas curve widget. 2012-01-24 16:00:07 -02:00
Jose Luis Cercós pita
b95e9c3fab Added Hydrostatics development tools 2012-01-24 16:00:07 -02:00
Jose Luis Cercós pita
90729be255 Added output report to areas curve tool 2012-01-24 16:00:07 -02:00
Jose Luis Cercós pita
bed7099c1f Added Free surface 3D view update 2012-01-24 16:00:07 -02:00
Jose Luis Cercós pita
9bab122028 Started areas curve tool redevelope 2012-01-24 16:00:07 -02:00
Jose Luis Cercós pita
dde434912a Fixed bad formatted author name 2012-01-24 16:00:07 -02:00
Jose Luis Cercós pita
42025cae81 Changed license from GPL >= 2 to LGPL >= 2 2012-01-24 16:00:07 -02:00
Jose Luis Cercós pita
cb0a248174 Revocated several projects generation for each module (autotools) 2012-01-24 16:00:07 -02:00
Jose Luis Cercos Pita
cd9bc18a65 Improved Ship object to viewable & selectable object 2012-01-24 16:00:06 -02:00
Jose Luis Cercós pita
d3895aa142 Fixed multiple project generation 2012-01-24 16:00:06 -02:00
Jose Luis Cercós Pita
eb86cc8a8f Fixed QtCore.Qt.ImhFormattedNumbersOnly backward compatibility 2012-01-24 16:00:06 -02:00
Jose Luis Cercós Pita
6d5943dc6e Fixed errors using CMAKE compile tools 2012-01-24 16:00:06 -02:00
Yorik van Havre
e1c38be266 Fixes before merging Ship 2012-01-24 15:59:00 -02:00
Jose Luis Cercós pita
f9f389501f Included Ship design module into autotools installer 2012-01-24 15:47:22 -02:00
Jose Luis Cercós pita
7888c4128b Added Ship design module autotools scripts 2012-01-24 15:47:22 -02:00
Jose Luis Cercós pita
3f248ebfb7 Renamed Ship design module doxygen file correctly 2012-01-24 15:47:22 -02:00
Jose Luis Cercós pita
3c0da7c2ce Included Surfaces module into autotools installer 2012-01-24 15:47:22 -02:00