Commit Graph

641 Commits

Author SHA1 Message Date
Yorik van Havre
625151067c 0000802: Draft Scale 2012-07-22 20:01:45 -03:00
Yorik van Havre
f2ad945a7f Arch: small tool improvements
+ added Arch check tool (checks if all objects are valid and solid)
+ added missing icons
2012-07-22 16:41:25 -03:00
Yorik van Havre
7b0d0aa2f7 Arch: Minor fixes 2012-07-18 15:04:56 -03:00
Yorik van Havre
4e9412c0ae Draft: small fixes 2012-07-17 19:57:52 -03:00
Yorik van Havre
519d45e1f2 Arch: Easier creations of struct + axes systems
With structs and axes selected, both Arch_Axis and Arch_Structure
commands now create axis systems
2012-07-16 15:54:51 -03:00
Yorik van Havre
484c80142c Draft: small fix to snap 2012-07-11 10:54:12 -03:00
Yorik van Havre
b6b575759a 0000776: Draft icons missing at startup 2012-07-04 16:59:01 -03:00
Yorik van Havre
c7a2488da8 Arch: Mode bugfixes 2012-07-03 22:41:29 -03:00
Yorik van Havre
322260c61b Arch: Lots of bugfixes in vector rendering 2012-07-03 11:07:54 -03:00
Yorik van Havre
8fdcaa0db8 Draft: small fix to dimensions 2012-07-02 09:54:41 -03:00
Yorik van Havre
e882b8c35c Arch: fixed bugs in vector renderer 2012-07-01 13:01:25 -03:00
Yorik van Havre
9a269907aa 0000765: Z axis in Draft Array 2012-06-30 18:44:16 -03:00
Sebastian Hoogen
7147f3dd55 importSVG: create Face only if path is closed 2012-06-21 15:11:16 +02:00
Sebastian Hoogen
94d389ae1c importSVG: fixes in preserveAspectRatio and sweepflag handling 2012-06-21 14:01:27 +02:00
Yorik van Havre
9ae96083d3 Draft: Small fix to wire object 2012-06-15 18:20:52 -03:00
Yorik van Havre
00132dd2ef Draft: Fixes in the clone object 2012-06-15 10:19:23 -03:00
Yorik van Havre
a2710d2e15 Draft: Made the grid unpickable 2012-06-11 19:16:02 -03:00
Yorik van Havre
041dd32a00 0000742: Draft grid 2012-06-11 17:14:40 -03:00
Yorik van Havre
231786f579 0000737: Draft selection 2012-06-11 14:56:38 -03:00
Yorik van Havre
2efc4915a1 0000715: Draft snap 2012-06-11 14:31:27 -03:00
Yorik van Havre
1de3bb81c7 Draft: Added exttension X perpendicular snap location 2012-06-09 15:57:09 -03:00
Yorik van Havre
e7644fd3b3 Draft: remaining fixes 2012-06-07 19:58:56 -03:00
Yorik van Havre
79db35a6b5 Draft: Removed debug message 2012-06-07 18:23:50 -03:00
Yorik van Havre
fd29f4aa07 Draft: Huge bugfixing in snap and grid behaviour 2012-06-07 18:20:42 -03:00
Yorik van Havre
04d2103566 Draft: Made the grid appear on module activation 2012-06-07 10:43:32 -03:00
Yorik van Havre
fb3f051563 Draft: snap toolbar now appears on WB activation 2012-06-06 17:04:24 -03:00
Yorik van Havre
46b7d598ee Draft: Fixes in trackers
* Plane tracker can now be turned off in preferences
* Grid no longer stays in front of new objects
2012-06-06 16:45:54 -03:00
Yorik van Havre
a4b593ddd3 Draft: Fixed concrete hatch pattern 2012-06-05 20:11:47 -03:00
Yorik van Havre
f4f132540c Draft: Fixes in working plane 2012-06-05 18:53:48 -03:00
Yorik van Havre
19e747d770 0000722: Deleting Draft dimensions 2012-06-05 16:33:01 -03:00
Yorik van Havre
fbd3556aaf Draft: Added Draft_ToggleGrid() command to toggle the Draft grid 2012-06-01 15:19:21 -03:00
Yorik van Havre
7defe80054 Draft: finished the switch to Gui.doCommand() 2012-05-31 11:34:01 -03:00
Yorik van Havre
f82fb927bc Draft: fixes in commands 2012-05-31 11:34:01 -03:00
Yorik van Havre
77e618cb92 Used Gui.doCommand() in all Draft commands 2012-05-31 11:34:01 -03:00
Yorik van Havre
d9aa2712bb Testing python Gui.doCommand with the Draft Line tool 2012-05-31 11:34:01 -03:00
Yorik van Havre
54d4e2cab9 Draft: Small fix in Offset tool 2012-05-29 22:25:01 -03:00
Yorik van Havre
555c7ca516 Small GUI adjustments in Draft 2012-05-23 18:03:25 -03:00
Yorik van Havre
84d8605b83 Fixed 0000701 : Draft Wire naming 2012-05-22 17:29:50 -03:00
Yorik van Havre
5c696b181f Added 0000680 : DXF polylines with defined width 2012-05-22 17:09:06 -03:00
Yorik van Havre
532d89ee3e Further Draft lib name fixes 2012-05-22 12:00:03 -03:00
Yorik van Havre
7086b80cb3 Renamed Draft fcvec and fcgeo modules
Draft/draftlibs/fcvec becomes Draft/DraftVecUtils
Draft/draftlibs/fcgeo becomes Draft/DraftGeomUtils
2012-05-22 11:45:40 -03:00
Yorik van Havre
e607ddf55f unified yorik's email 2012-05-21 22:35:18 -03:00
Yorik van Havre
1c1dbf0b2e Fixed 0000708 - Draft DXF import 2012-05-18 16:43:48 -03:00
Yorik van Havre
56758cab50 Fixed bug in Draft Clone 2012-05-14 11:13:19 -03:00
Yorik van Havre
ba17ed0ee7 Added 0000698 : Draft Extrude 2012-05-11 16:36:21 -03:00
Yorik van Havre
612219ced8 Fixed python online documentation (patch by msocorcim) 2012-05-09 12:54:01 -03:00
Yorik van Havre
3e78f7e7a3 Added Draft_Clone command 2012-05-04 19:21:54 -03:00
Yorik van Havre
18c14eb1b0 Fixed 0000663 - Naming scheme in Draft up/downgrade 2012-05-04 18:07:33 -03:00
Yorik van Havre
c3f4871f15 Fixed a bug in Draft DXF import with solids 2012-05-04 11:44:31 -03:00
Yorik van Havre
454096a34e Bugfix in Draft toolbar mode 2012-05-03 18:57:59 -03:00
Yorik van Havre
e12bc00f9b Further fixes of 0000688 in Draft Gui 2012-05-03 13:00:01 -03:00
Sebastian Hoogen
6e69faa86d importSVG support numbers only seperated through a minus sign
in path definition. Like in files created by Adobe Ilustrator.
2012-05-03 11:11:40 +02:00
Yorik van Havre
e274524b43 Fixed 0000686: Draft upgrade looses inner holes 2012-05-02 11:37:46 -03:00
Yorik van Havre
47d53335e0 Fixed 0000688 Gui issues with Draft rectanges 2012-05-01 18:07:37 -03:00
Yorik van Havre
3baa98cd90 Fixed 0000660: Draft radial dimensions 2012-04-30 16:24:14 -03:00
Yorik van Havre
a6aa5d1bd8 Fixed bug in Arch Axes 2012-04-28 18:05:07 -03:00
Yorik van Havre
4ca7d0c5f3 Fixes in Draft default startup values 2012-04-27 15:13:44 -03:00
Sebastian Hoogen
74305424b1 Snap Draft geometry to points in Points Features 2012-04-27 18:24:17 +02:00
Yorik van Havre
0d867c983f Fixed typo in Draft 2012-04-27 09:35:49 -03:00
Yorik van Havre
857d9c00ad Big cleanup in Arch vector renderer 2012-04-26 21:05:18 -03:00
Yorik van Havre
724e40627e Small fix in Draft module 2012-04-26 09:41:11 -03:00
Yorik van Havre
76081e302c Fixed bug in Draft when switching workbenches 2012-04-25 10:34:44 -03:00
Yorik van Havre
7e560942c9 Fixed #0000681 - Bugs in Draft BSplines 2012-04-24 21:53:27 -03:00
Yorik van Havre
7c03a49dfe Fixed a bug in Draft fcgeo.sortEdges 2012-04-21 17:06:27 -03:00
Yorik van Havre
173af46744 Bugfixes in Arch Section plane 2012-04-20 13:07:42 -03:00
Yorik van Havre
bf2225c4a2 Remove unnecessary module loading at Draft init 2012-04-19 20:24:45 -03:00
Yorik van Havre
8a70eca728 Modified Draft DrawingView object to match new Drawing module linewidth style 2012-04-17 20:52:28 -03:00
Yorik van Havre
2a76595863 Fixed bug in Draft dimensions 2012-04-17 20:47:10 -03:00
Yorik van Havre
c01e948139 Fixed bug 670 - Draft grid doesn't work in more than one viewport 2012-04-17 18:55:14 -03:00
Yorik van Havre
eb0b8fbd32 Fixed bug #671 - Draft DrawingViews 2012-04-16 19:54:30 -03:00
wmayer
bf1f4600fc 0000671: Crash with Draft/Put... on sheet with PartDesignExample.FCStd 2012-04-16 16:47:09 +02:00
Yorik van Havre
1684585733 Fixed typo 2012-04-13 19:37:15 -03:00
Yorik van Havre
50d772630a fixed default Draft precision value 2012-04-13 18:23:43 -03:00
Yorik van Havre
63bfab2c0e Highighted axes on Draft grid 2012-04-12 16:28:43 -03:00
Yorik van Havre
eeb4e60162 Draft can now copy sketches 2012-04-12 16:10:45 -03:00
Yorik van Havre
feaaa25c6f Fixed max grid spacing setting in Draft 2012-04-12 11:34:30 -03:00
Yorik van Havre
e84497ff08 Draft snaps now remember their state across FreeCAD sessions 2012-04-08 12:46:51 -03:00
Yorik van Havre
4d1df2bcba Fixed bug 666 - Draft grid 2012-04-08 12:10:24 -03:00
Yorik van Havre
ab7c176f42 Fixed bug in Draft upgrade 2012-04-05 12:59:47 -03:00
Sebastian Hoogen
55d6a85216 importSVG: fix viewBox bug and allow nonuniform scaling only if
requested by 'preserveAspectRatio' attribute
2012-04-04 23:15:57 +02:00
Yorik van Havre
dafdb1fd94 Arch SectionPlane now uses the new vector renderer 2012-04-03 16:27:29 -03:00
Sebastian Hoogen
d567ba1dfe importSVG: ignore the viewBox if not absolute untis are
given for width and height and sort edges before trying to make a wire
2012-04-03 15:23:51 +02:00
Yorik van Havre
7b97498f00 Bugfixes in Draft Upgrade 2012-03-29 11:57:18 -03:00
Yorik van Havre
ee3201793c Fixed 000655 - Draft dimension default size 2012-03-28 10:45:17 -03:00
wmayer
2e062ab797 0000652: Polish language not available even if translation is available in source 2012-03-25 13:38:32 +02:00
Yorik van Havre
0f6eca5ef8 Bugfixes in Arch Windows 2012-03-24 18:26:01 -03:00
Yorik van Havre
e102ab5eca Using the Arch window tool when a window is selected now produces
a clone
2012-03-24 11:41:45 -03:00
Yorik van Havre
ac75725737 The draft module can now work without GUI 2012-03-22 11:27:09 -03:00
Yorik van Havre
343bc96bfe Fixed 0000647: Draft module startup defaults 2012-03-19 18:49:00 -03:00
Yorik van Havre
13153b6260 Fixed bug #584 in Draft Downgrade 2012-03-19 16:10:10 -03:00
Yorik van Havre
23ddc2d30f Added a Draft prefs option to hide the Snap bar after use 2012-03-19 15:45:49 -03:00
Yorik van Havre
1c4d89013b Fixed shortcuts in Arch and Draft menus 2012-03-19 15:27:15 -03:00
Yorik van Havre
09f8453b5c Small fix to DraftSnap to work with walls containing walls 2012-03-19 15:14:27 -03:00
Yorik van Havre
405e640c28 Bugfixes in Draft
+ fixed bug in Draft Edit
+ fixed bug in Draft Wire
2012-03-17 17:12:22 -03:00
Yorik van Havre
3a0d1ad42f Bugfix in Draft upgrade 2012-03-16 20:08:09 -03:00
Yorik van Havre
8bb7636bd7 Improvements in Draft Snap
+ fixed bug in parallel/extension button
+ added button for passive snap
+ fixed snap toolbar appearing outside the FreeCAD window
2012-03-16 18:29:56 -03:00
Yorik van Havre
13e5e28625 Small improvements to sphinx API docs generator 2012-03-14 13:27:07 -03:00
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
Yorik van Havre
78b3113b35 fixed bug #544 - allow to make Draft ortho dimensions with shift 2012-01-16 19:19:51 -02:00
Yorik van Havre
632af98102 Draft offset now works on BSplines 2012-01-16 19:00:34 -02:00
Yorik van Havre
7fc7ad36e2 Draft now able to snap perpendicularly to BSplines 2012-01-16 18:59:14 -02:00
Sebastian Hoogen
48c9e2fbe8 Draft importSVG reimplentation of path and transformation parsing
All basic elements besides elliptic arcs and rounded rects are now
supported
2012-01-16 18:51:04 +01:00
Yorik van Havre
dac51d6e9a fixes to Draft SVG importer (shoogen) 2012-01-14 16:14:29 -02:00
Yorik van Havre
d26ba5f11b Arch structures can now be based on axes systems 2012-01-12 12:31:11 -02:00
Yorik van Havre
0de52ff73f fixes in Draft
+ fix in Draft grid snap, point is now always projected on WP
+ fix in Draft2Sketch when dealing with arcs
2012-01-12 11:54:48 -02:00
Yorik van Havre
bb854f65b7 fixed display of Draft offset ghost in OCC mode 2012-01-11 12:54:40 -02:00
Yorik van Havre
279c6b82aa fixed bug #568 in sketch2draft when converting circles 2012-01-11 11:59:09 -02:00
Yorik van Havre
8c18fcaec4 fixed bug in draft dimensions editmode 2012-01-10 20:24:31 -02:00
Yorik van Havre
f584f47323 small bugfix in Draft constraints 2012-01-10 18:53:47 -02:00
Yorik van Havre
4b3d345ffa fixed bug #566 - undo in draft causes crash 2012-01-10 18:50:15 -02:00
Yorik van Havre
1c5f92bebe small fix in Draft importSVG
+ removed unused blocks
+ added description strings
2012-01-09 10:43:20 -02:00
Sebastian Hoogen
43e186186a Small fixes in importSVG 2012-01-09 09:54:02 +01:00
Sebastian Hoogen
432c22d9d7 New Parser for path element in importSVG 2012-01-09 07:21:42 +01:00
Sebastian Hoogen
453e85b55c fixed syntax error in importSVG 2012-01-07 22:45:09 +01:00
Sebastian Hoogen
f527a11403 Added support for ellipse, polygon and polyline in importSVG 2012-01-07 22:06:21 +01:00
Yorik van Havre
649abff877 small fixes to draft SVG import (shoogen) 2012-01-07 13:39:50 -02:00
Yorik van Havre
30f97b3124 fixed bug 564 - bug in Draft to Sketch 2012-01-06 13:40:58 -02:00
Yorik van Havre
169abb6f34 Draft SVG importer now supports quadratic and cubic curves (shoogen) 2012-01-06 13:11:19 -02:00
Yorik van Havre
3afbab3c47 small fix to the Draft module 2012-01-05 18:33:33 -02:00
Yorik van Havre
cb4e6b7d30 used precision value from preferences in Draft SVG import 2012-01-05 10:22:06 -02:00
Yorik van Havre
e2f53df835 small bugfix in Draft SVG import 2012-01-05 10:12:25 -02:00
Yorik van Havre
b84a59f977 fixed bug 562 - Draft module - problem in SVG import 2012-01-04 18:41:13 -02:00
Yorik van Havre
24ff289b65 misc updates to the Draft module
+ added an Axis property to Array objects, for polar arrays
+ added Draft.clone() API function
+ changed icon of Draft clone,array and block objects
2012-01-04 18:02:00 -02:00
Yorik van Havre
ccf878ec16 Various fixes to Draft and Arch
+ Renamed Draft Scale object to Clone
+ Removed BasePoint property from Draft Clone
+ Reenabled Draft SelectPlane tool
+ Added Draft context tools to Arch module
+ Made the Arch module load pycollada later
2012-01-04 12:06:02 -02:00
Yorik van Havre
c17ed6b3cd + small fix in Draft perpendicular snap 2012-01-03 23:29:13 -02:00
Yorik van Havre
579ab53153 + set license blocks of the Draft module to LGPL 2012-01-03 19:41:51 -02:00
Yorik van Havre
e39c328ef6 + small fixes to Draft Scale tool 2012-01-03 13:25:37 -02:00
Yorik van Havre
ef44c3e63b + added Draft Scale feature
the Draft scale tool works identically as before,
but now produces a parametric Scale feature instead of
modifying the base objects. The old behaviour is still
available to python scripting.
2012-01-02 19:24:48 -02:00
Yorik van Havre
f78d481fe4 + fixed default angle for Draft Array objects 2012-01-02 18:35:58 -02:00
Yorik van Havre
b8bcb43b66 fixed bug #556 - Premature loading of modules
The Draft and Arch modules now load heavy modules such
as Part or Sketch only when they use them, not anymore
at Init time.
2011-12-31 17:16:51 -02:00
Yorik van Havre
3e48193ada fixed bug #549 - Undo of offset objects causes Draft tools to stop functioning 2011-12-25 17:49:30 -02:00
Yorik van Havre
c6c12a1ecf added Start and End properties to 2-point Draft lines 2011-12-25 17:02:12 -02:00
Yorik van Havre
9cf345ecfb + small fix in DraftSnap 2011-12-24 14:31:30 -02:00
yorikvanhavre
1fc47ecc1a + extended DraftSnap 2011-12-24 13:35:01 -02:00
yorikvanhavre
738371ef37 + extended DraftSnap
(Git allows cool commit messages) The DraftSnap system gained
an ortho X extension snap location, the ortho snap got fixed,
and a new getPoint() method, which you can feed with a callback
function to be called when a point has been clicked.
2011-12-24 13:28:44 -02:00
wmayer
4cb8920c15 + fix VS2010 build errors
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5328 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-20 10:25:52 +00:00
yorikvanhavre
9c7f5499b1 + added Point command to the Draft module (danfalck)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5326 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-20 00:59:26 +00:00
yorikvanhavre
7ed0b0ae49 + further work on DraftSnap
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5325 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-19 15:17:22 +00:00
yorikvanhavre
5b1c692c21 + added dot icons to Draft
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5322 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 15:36:02 +00:00
yorikvanhavre
db7efd3bf3 + Draft Snapper now accepts a coin.SbVec2s as screen position
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5321 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 14:47:11 +00:00
yorikvanhavre
071b657df7 + new Draft Snap
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5316 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-16 19:54:32 +00:00
yorikvanhavre
a31aeca829 + fixed 'No main Window' bug in Draft
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5315 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-16 13:03:10 +00:00
yorikvanhavre
4748657016 + started implementing the new Draft snap
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5309 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 17:20:23 +00:00
yorikvanhavre
17fc4285d7 + fixed more filename bugs in Draft and Arch
+ reverted last changes in Draft Snap


git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5295 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-13 15:07:09 +00:00
yorikvanhavre
95bf080066 + fixing remaining bugs in Draft
+ started working on a better Snapper structure


git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5294 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-13 13:45:32 +00:00
yorikvanhavre
1302fc9751 + fixed bugs preventing the Draft module to load
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5293 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-13 11:59:49 +00:00
yorikvanhavre
257544d748 + added comments inside __init__.py files in Draft and StartPage
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5285 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-12 20:58:04 +00:00
yorikvanhavre
f5d2ae2295 + separated Draft Snap and Trackers into their own files
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5277 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-12 16:20:41 +00:00
yorikvanhavre
6c601565e2 Changing some filenames in Draft to more unified naming scheme
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5276 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-12 16:03:18 +00:00
wmayer
bde949f7e4 0000519: Patch to set proper RPATH's for system wide installation on Linux
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5270 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-11 12:36:36 +00:00
yorikvanhavre
c1b91f6f11 + splitted Draft tools in 2 toolbars
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5257 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 18:37:13 +00:00
yorikvanhavre
57fa312673 added RFE 533 - Draft Array tool
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5256 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 18:31:32 +00:00
yorikvanhavre
b75385abd8 + Draft DXF import now produces Draft Blocks if Parametric Objects import style is selected
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5246 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-09 18:56:38 +00:00
yorikvanhavre
412e25dff1 + fixed an arc orientation bug in Draft to Sketch
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5244 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-09 15:11:59 +00:00
yorikvanhavre
4f408105f9 + extended Draft2Sketch tool with items from RFE492
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5238 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-08 14:24:55 +00:00
yorikvanhavre
69cec966d6 + added Doc transaction to Draft to Sketch command
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5230 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-07 18:22:51 +00:00
yorikvanhavre
c618af29dc + added Draft2Sketch command, converts bidir between Sketch and Draft
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5227 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-06 17:18:18 +00:00
yorikvanhavre
8be90b28ba + fixed classname in Draft DXF import
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5208 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-02 18:14:24 +00:00
yorikvanhavre
2d1997b79c + making some internal classes private in Draft and Arch
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5206 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-02 15:02:41 +00:00
yorikvanhavre
be5c1e8731 + added Momentum's Draft Offset icon
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5195 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-27 20:32:08 +00:00
yorikvanhavre
0572ab0351 + updated translations of Draft & Arch modules
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5193 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-26 20:10:18 +00:00
yorikvanhavre
47db04d380 + fixed submenu translations for Draft and Arch
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5191 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-26 15:09:22 +00:00
yorikvanhavre
0dfa852071 + fixed Draft translations
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5189 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-26 14:46:45 +00:00
yorikvanhavre
690e5090dc + updated finnish translations I had forgotten
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5187 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-26 14:40:06 +00:00
yorikvanhavre
8881926b54 + refined Draft 2DShapeView icon for bad SVG renderers
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5186 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-25 22:09:02 +00:00
yorikvanhavre
398d4f73f7 + updated Draft translations
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5170 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-24 22:43:41 +00:00
yorikvanhavre
4a12666fec + fixed bug 476 in Draft DXF export
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5150 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-18 19:11:53 +00:00
yorikvanhavre
ee8242d22d + removed debug message in Draft
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5147 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-17 17:39:55 +00:00
yorikvanhavre
3784de7c76 + fixed bugs when entering manual coords in Draft Taskview mode
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5146 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-17 17:39:03 +00:00
yorikvanhavre
5f3a22073f + fixed bug 482 in Draft DXF export
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5145 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-17 15:33:36 +00:00
wmayer
1ca9395fd9 + fix in DXF export (Daniel Falck)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5135 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-15 09:02:31 +00:00
yorikvanhavre
e49fc57b21 + Draft DXF importer now supports splines (still little curvature problems)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5093 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-05 15:43:08 +00:00
yorikvanhavre
e64a9efc92 + fixed bug #473 - Precision value in Draft
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5092 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-05 14:28:29 +00:00
yorikvanhavre
0321c3cb92 + added fix from danielfalck to Draft importDXF
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5088 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-04 14:47:57 +00:00
yorikvanhavre
f76482bfe6 + added danielfalck's bugfixes in Draft DXF import
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5081 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-30 17:35:45 +00:00
yorikvanhavre
b40e4c011b + Draft dimensions exported to SVG are now reimportable as Draft dimensions
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5079 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-28 15:25:14 +00:00
yorikvanhavre
2e149d05c7 + fixed indentation in Draft DXF importer
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5078 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-28 15:23:35 +00:00
yorikvanhavre
bb29938c7f + fixed text bug in Draft taskview
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5077 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-28 14:36:34 +00:00
yorikvanhavre
8f96179e99 + more bugfixes to Draft TaskView
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5061 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-25 12:22:24 +00:00
yorikvanhavre
45e5b4135d + bugfixes in Draft TaskView mode
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5058 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-24 17:06:03 +00:00
yorikvanhavre
ac6cf98c98 + standardized indentation inside Draft files to 4
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5034 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-17 17:29:18 +00:00
yorikvanhavre
a85d7e073f + updated base ts file of Arch and Draft
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5030 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-15 16:44:22 +00:00
yorikvanhavre
22d1503185 + fixed bug in Draft dimensions
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5026 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-15 01:58:49 +00:00
yorikvanhavre
d8b6c9248d + allow Draft dimensions to be created on top of selected Measurement objects
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5025 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-14 20:50:41 +00:00
yorikvanhavre
10c5ddb115 + added RFE #442 - allow to set custom ctrl, shift & alt combinations in Draft module
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5024 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-14 20:14:26 +00:00
yorikvanhavre
ee271a0186 + fixed bug #373 - deleting a Draft wire while drawing it is now impossible
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5023 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-14 19:30:22 +00:00
yorikvanhavre
c8499b039c + added RFE #224 - improvements to the Draft axis marker
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5022 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-14 18:47:29 +00:00
yorikvanhavre
4abc03fbce + added RFE #233 - Arch module OBJ exporter
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5019 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-14 16:48:44 +00:00
yorikvanhavre
3764181284 + added RFE #314 and #331 extending the Draft snap with perpendicular, parallel and extension snaps
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5013 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-13 19:38:44 +00:00
yorikvanhavre
67c6d743b9 + fixed bug #380 + lots of other issues in Draft dimensions
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5012 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-13 18:36:18 +00:00
yorikvanhavre
4545cf8b42 + applied patch #447 to the Draft module
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5008 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-12 21:57:35 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00