Yorik van Havre
06d708c86e
Better icons for Draft Snap
2012-03-13 18:21:01 -03:00
Yorik van Havre
65f484d7f1
Added RFE 583 - remove coin3d image loading from Draft
2012-03-13 14:18:52 -03:00
Yorik van Havre
07d7526777
Removed redundant LineStyle prop from Draft DrawingView objects
...
The printed linestyle now uses the linestyle of the source object
2012-03-13 11:55:21 -03:00
Yorik van Havre
2a23bd13ce
Finished implementing RFE 510 - Arch Axes
...
Arch axes are now printable on a Drawing sheet with the Draft tool
2012-03-13 11:41:04 -03:00
Yorik van Havre
f38e6da3c7
Fixed bug 625 in Draft importers
2012-03-12 18:45:47 -03:00
Yorik van Havre
17290798dc
New Draft Snap toolbar
...
A new toolbar will now appear when using the Draft Snap system (can
be disabled in preferences) allowing to turn snaps on/off globally
or invidually
2012-03-12 17:20:03 -03:00
Yorik van Havre
1b4147144b
Fixing again bug #569 in Draft Offset
2012-03-12 10:27:32 -03:00
Yorik van Havre
1ba8d73933
Small bugfixes in Draft
...
+ Draft point is now disabled when no document is open
+ Fix in Draft DXF import
2012-03-10 20:09:56 -03:00
Yorik van Havre
5496acdcf1
Fixed bug in Draft working plane (Jose)
2012-03-07 10:34:32 -03:00
Yorik van Havre
1ae9b6eb00
Draft DXF importer now supports hatches
...
+ hatch boundaries can now be imported as wires
2012-02-26 13:51:35 -03:00
Yorik van Havre
ee8a544f12
Fixed block mirroring and text rotation bugs in Draft DXF import
2012-02-26 12:26:13 -03:00
Yorik van Havre
00fe3fd728
Fixed more bugs in Draft SVG import
...
Fixed coordinates and text imports from librecad
2012-02-25 18:37:01 -02:00
Yorik van Havre
a7e0a4f5f3
Support rotated texts in Draft DXF import
2012-02-24 11:40:31 -02:00
Yorik van Havre
895031da83
Merge pull request #2 from 5263/svgimport
...
Several fixes and features in Draft SVG importer and 2 new SVG Drawing templates
2012-02-23 18:24:57 -08:00
Yorik van Havre
e056626c53
Fixed multi-line texts bug in Draft DXF import
2012-02-24 00:11:17 -02:00
Sebastian Hoogen
5b14931873
importSVG fixed handling of Ellipses
2012-02-23 21:06:04 +01:00
Sebastian Hoogen
96e167edc7
handling of viewBox and units in importSVG
...
The absolute values in the svg element are used in combination with the
viewBox Attribute to scale the svg to milimeter units.
If there is no viewbox attribute. 90dpi input is assumed.
2012-02-23 21:06:04 +01:00
Yorik van Havre
5c552c7b31
Allow to turn Draft snapping on/off while drawing
...
Draft snap can now be enabled or disabled while drawing by
pressing S or from the Draft menu -> Toggle snap command
2012-02-23 14:44:03 -02:00
Yorik van Havre
54da404dbd
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
Yorik van Havre
c2039f2590
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
98fc92e05a
Fixed dimension text height bug in Draft DXF import
2012-02-21 17:45:49 -02:00
Yorik van Havre
a912de03ea
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
Yorik van Havre
c69bb0999d
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
68dcabcffc
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
5f140253fa
Support of INSTALL target on Windows (VC++ and MinGW)
2012-02-17 21:41:00 +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
b613925228
importSVG reimplemented getsize using a RegEx
2012-02-12 10:20:48 +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
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
Yorik van Havre
c10c130f76
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
Yorik van Havre
0aaab4c8da
Added special behaviour to Draft snap for working with walls
2012-01-26 10:03:09 -02:00
Yorik van Havre
cb30344b6e
Small fixes in Draft tools to work with Arch objects
2012-01-25 15:35:43 -02:00
Yorik van Havre
985b7da5b3
Bugfix in Draft custom hatch patterns
2012-01-24 20:30:04 -02:00
Yorik van Havre
05dd30861f
Fixes before merging Ship
2012-01-24 15:59:00 -02:00
Yorik van Havre
9f9dd45d4d
Misc improvements to the Arch module
...
+ Added Draft box tracker
+ Fixed bug in Arch cell
+ Fixed bugs in Draft Snap
+ Better Arch Wall tool
2012-01-24 08:41:13 -02:00
Yorik van Havre
813424e90d
Added polar snap locations to Draft snap system
2012-01-21 14:42:39 -02:00
Yorik van Havre
d02c928b4b
Fixed bug #574 - Draft hatches
...
svg pattern definitions are now embedded inside the View objects,
since they don't need to be in the defs section.
2012-01-19 20:59:09 -02:00
Yorik van Havre
edb1da8a3f
Further work on Arch windows
2012-01-17 18:02:10 -02:00