Commit Graph

31830 Commits

Author SHA1 Message Date
Yorik van Havre
4e8cafa4c3 Extended the DrawStryle property to all Part-based objects
ViewProvider of Part objects now have a DrawStyle property
that allow them to display with solid, dashed, dotted or
dashdotted linestyles.
2012-02-23 13:28:56 -02:00
wmayer
72ae257ac4 Filter out AddShape property in PartDesign view provider 2012-02-23 11:06:26 +01:00
Yorik van Havre
50297e0394 Added DrawStyles to Draft objects
+ Draft Viewproviders now have a "DrawStyle" property which
allows to set solid, dashed, dotted or dashdotted linestyles.
2012-02-22 00:01:30 -02:00
Yorik van Havre
b0993fee36 Fixed dimension text height bug in Draft DXF import 2012-02-21 17:45:49 -02:00
Yorik van Havre
e533af6b96 Further improvements to Draft DXF importer
+ further removals of acad-specific text formatting
+ fixed text alignment
+ support of POINT entities
+ support of LEADER entities
2012-02-21 12:28:07 -02:00
wmayer
82edf65cb1 Fix build error with VC++ 2012-02-21 11:11:57 +01:00
wmayer
0256f79fd4 New functions added to orhto views (Joe Dowsett) 2012-02-20 20:53:54 +01:00
wmayer
32a76796e8 Apply patch from Joe Dowsett 2012-02-20 20:39:19 +01:00
Yorik van Havre
96a26a9dda More fixes to Draft DXF importer
+ Fixed *blocks embedded in std blocks
+ Fixed text color
+ Added text size pref setting
+ Further fixes to text formatting
2012-02-19 20:20:41 -02:00
Yorik van Havre
6d331e92ba Couple of fixes in Draft DXF importer
+ fixed default draft point color
+ fixed bug in polylines with bulge = almost zero
+ fixed bug in text attributes display
2012-02-19 17:31:28 -02:00
wmayer
837ddf5f38 Support of INSTALL target on Windows (VC++ and MinGW) 2012-02-17 21:41:00 +01:00
Jose Luis Cercós pita
73ccf475c9 Added some hydrostatics computation. 2012-02-17 13:41:50 +01:00
Jose Luis Cercós pita
aa7511c55d Created loadable hydrostatics task panel. 2012-02-17 11:41:41 +01:00
Jose Luis Cercós pita
da2ea6a8af Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad into freecad-ship 2012-02-17 10:57: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
Yorik van Havre
6f6d78daed Fixed editmode bugs in Draft & Arch 2012-02-13 20:13:13 -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
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