Commit Graph

641 Commits

Author SHA1 Message Date
Yorik van Havre
4eddde5c46 0001220: Fix in Draft temp lines 2013-09-21 13:38:58 -03:00
Yorik van Havre
9ff1908a30 Draft: small bugfix in Pattern property 2013-09-19 21:25:52 -03:00
Yorik van Havre
bb3c7c9601 Draft: Added a snap button to turn arch dimensions off 2013-09-17 23:07:04 -03:00
Yorik van Havre
da8c9b6d63 Draft: Bugfix in Lines End property 2013-09-17 10:25:56 -03:00
Yorik van Havre
1f479d513d 0000908: Ability to lock snap angle in Draft by pressing L
By pressing the L key while drawing with the Draft workbench, the
current angle shown on screen is kept, until L is pressed again.
2013-09-15 17:39:27 -03:00
Yorik van Havre
42fdbefc54 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
Yorik van Havre
202b4ce418 Draft: Set task mode as default UI mode 2013-09-08 18:22:42 -03:00
Yorik van Havre
247ab055d4 Draft: grouped all properties into a Draft group 2013-09-07 20:00:27 -03:00
Yorik van Havre
803d219578 Draft: Better handling of download errors in DXF importer 2013-09-06 17:58:30 -03:00
Yorik van Havre
6e66083d3a 0001234: fixed typo in importDWG 2013-09-05 13:37:54 -03:00
Yorik van Havre
da319c5668 Draft: More tools are now active even when selection is empty 2013-08-31 22:14:23 -03:00
Yorik van Havre
38f0f73fbe Cleaning startup messages from Draft and Arch 2013-08-25 13:43:54 -03:00
Yorik van Havre
47fd378f3f Draft: Added prefs setting for teigha file converter 2013-08-24 18:48:29 -03:00
Yorik van Havre
f272107826 Draft: minor bugfixes 2013-08-23 13:06:24 -03:00
Yorik van Havre
723d034cf0 Draft: better text positionning and scaling 2013-08-22 20:10:02 -03:00
Yorik van Havre
ee04f2b0e9 Draft: minor fixes 2013-08-21 22:34:59 -03:00
Yorik van Havre
e19cccfad0 Draft: Draft-to-drawing can now render faces with holes 2013-08-21 20:13:13 -03:00
Yorik van Havre
61837b6ef8 Draft: Draft-to-Drawing command now works on groups 2013-08-21 19:15:10 -03:00
Yorik van Havre
a39397cf89 Draft: support for non-ascii characters in Draft texts and dimensions 2013-08-21 13:00:56 -03:00
Yorik van Havre
a4ce94f196 Draft: minor fixes to the dxf importer 2013-08-20 23:12:44 -03:00
Yorik van Havre
4f2594b932 Draft: dxf importer now uses draft clones for blocks when in parametric import style 2013-08-20 19:31:45 -03:00
Yorik van Havre
564f049049 Draft: added prefs option to disable points in dxf import 2013-08-19 22:50:13 -03:00
Yorik van Havre
578fefc9b1 Arch: Added test suite 2013-08-15 19:24:54 -03:00
Yorik van Havre
efe6abb54f Draft: Added test suite 2013-08-15 19:24:54 -03:00
Yorik van Havre
1446ee0b69 Draft: Fixes in DXF exporter 2013-08-11 12:46:36 -03:00
Yorik van Havre
974a82750d 0001200: Support for ellipses in DXF exporter 2013-08-08 11:58:36 -03:00
Yorik van Havre
c6858f69fd Draft: Fixes bugs from last commit 2013-07-31 13:55:06 -03:00
Yorik van Havre
b3f79881c5 Draft: removed unnecessary uses of DraftVecUtils 2013-07-30 16:48:28 -03:00
Yorik van Havre
cb789a25d8 Arch: Added Tool property to Structs to define an extrusion path 2013-07-27 17:12:48 -03:00
Yorik van Havre
03be0d39ec Draft: Small fix in dimensions 2013-07-25 14:07:52 -03:00
Yorik van Havre
4ddfa9fc96 Draft: Better interface for setting hatch patterns 2013-07-25 13:45:40 -03:00
Yorik van Havre
117bfe48d2 Arch: Added steel profiles to structs 2013-07-24 17:40:35 -03:00
Yorik van Havre
98ebf2903c Draft: Small label fix 2013-07-24 15:15:20 -03:00
Yorik van Havre
6e9a51d017 Arch: Set wall and structs default units to mm 2013-07-24 13:00:02 -03:00
Yorik van Havre
f43fcd1fb5 Arch: Wall and Struct tools now set the working plane before drawing 2013-07-18 16:26:00 -03:00
Yorik van Havre
08f031d6ca Draft: Small interface cleanup 2013-07-18 16:04:34 -03:00
Yorik van Havre
b2637897f5 0000982: Arch Space object
A new Arch Space object that can be created from a solid shape or from
several boundary faces, or a mix of both
2013-07-18 12:59:17 -03:00
Yorik van Havre
3a75c0e086 0001184: Support for arc segments in Draft wires
Draft wires can now be based on a sketch with arcs, by using the
Upgrade tool on a sketch.
2013-07-16 16:30:44 -03:00
Yorik van Havre
ea4d33f610 Draft: Enabled hatch patterns for all fillable Draft objects 2013-07-16 15:43:07 -03:00
Yorik van Havre
1831cb9e34 Draft: Split main preferences page into 2 2013-07-16 13:40:06 -03:00
Yorik van Havre
7e525e6d8c Draft: Further work on hatching 2013-07-09 13:55:25 -03:00
Yorik van Havre
407f4d9e2f Draft: Added face mode to Draft rectangle tracker 2013-07-06 18:41:43 -03:00
Yorik van Havre
28b001f26c Draft: Further work on SVG hatch patterns 2013-07-06 16:33:34 -03:00
Yorik van Havre
4846f4ea50 Draft: Enabling svg hatch patterns 2013-07-05 23:04:50 -03:00
Yorik van Havre
321938c1f5 Draft: small fixes
+ added svg scaling capability to Draft.loadTexture()
+ late-loading of svg patterns
+ fixed warnings in Draft Drawing tool
2013-07-05 13:44:31 -03:00
Yorik van Havre
0883e885b3 Draft: Small fix in Draft Wires 2013-07-05 11:50:05 -03:00
Yorik van Havre
e811e09545 Draft: Small bugfix in wire tool 2013-07-04 12:50:02 -03:00
Yorik van Havre
64ed1d97b2 Draft: Added commands for snapping tools
Snap tools now also appear in the Draft menu, so users can
give them keyboard shortcuts.
2013-07-01 16:28:00 -03:00
Yorik van Havre
7501475e66 Draft: Fixed bug in trim tool 2013-07-01 12:53:43 -03:00
Yorik van Havre
c6d512ccab Draft: fixes to dxf & svg exporters to work in console mode 2013-06-28 14:13:35 -03:00
Yorik van Havre
7f216323ff 0001092: Draft local/global coordinates
The draft X,Y,Z coordinates are now displayed as global, or local
if the current working plane is different from the world axes.
2013-06-25 11:40:38 -03:00
Yorik van Havre
827a716814 Draft: minor fixes to DXF importer 2013-06-23 15:59:35 -03:00
Yorik van Havre
218a828327 Draft: fixed cmake and installer stuff with removed draftlibs 2013-06-23 15:33:26 -03:00
Yorik van Havre
2d180fac38 Draft: Removed draftlibs
Removed the contents of the draftlibs folder (dxf import-export) for license
reasons. These files are now hosted on
https://github.com/yorikvanhavre/Draft-dxf-importer and will be downloaded
automatically by FreeCAD on first use.
2013-06-22 14:48:58 -03:00
Yorik van Havre
367a8f9aee Draft: Fixed license blocks 2013-06-20 21:32:41 -03:00
Yorik van Havre
33faa40101 0001078: Draft now snaps to center of polygons and cylinders 2013-06-20 21:21:35 -03:00
Yorik van Havre
d26ffbe9aa Arch: misc improvements
+ Further work on snap tracking dims
+ Better snap for structures
+ Corrected initial temp shape of structures
+ Added a box with wall length (still readonly)
2013-06-16 20:06:14 -03:00
Yorik van Havre
a63e18f170 Arch: Added preliminary dimensions tracking to walls 2013-06-16 14:13:20 -03:00
Yorik van Havre
31fbfd33ef 0001151: Draft loads Part module at start
+ Fixed loading of Part module at startup
+ Minor cleaning around
2013-06-15 15:39:29 -03:00
Yorik van Havre
f0d9cdbc12 Draft: Small fix for malfuncioning pivy 2013-06-14 12:04:59 -03:00
Yorik van Havre
6a88bcd870 0001138: Use TypeId in Draft & Arch 2013-06-14 11:19:58 -03:00
wmayer
5a04adebe4 #0000862: Draft toolbar doesn't disappear when switching workbenches 2013-06-13 22:30:46 +02:00
wmayer
88a05de6ba #0001143: Boolean Cut Fails with Extruded Shapestring 2013-06-13 14:37:01 +02:00
wmayer
b97266a341 #0001143: Boolean Cut Fails with Extruded Shapestring 2013-06-13 12:14:24 +02:00
wmayer
2282b72025 0001143: Boolean Cut Fails with Extruded Shapestring 2013-06-12 17:01:55 +02:00
wmayer
7e792ef761 Use PropertyFile for fonts 2013-06-11 22:31:15 +02:00
wmayer
32117fb980 Prepare Windows build to use FreeType 2013-06-11 17:28:21 +02:00
wmayer
cb37f84ccb Use TypeId in Draft 2013-06-04 21:16:28 +02:00
Yorik van Havre
c2f452fd44 0000981: Arch groups now have a placement 2013-04-24 12:09:46 -03:00
Yorik van Havre
a22a719cb9 Draft: dwg support in windows 2013-04-21 23:32:34 -03:00
Yorik van Havre
1eb96db737 Draft: fixed Draft's cmake file 2013-04-21 19:22:30 -03:00
Yorik van Havre
e3dd8196bd Draft: Preliminary DWG support
Using the teigha file converter. Warning, only working on linux
at the moment. See mantis issue 1103 to help me porting to other OSes
2013-04-21 14:46:36 -03:00
Yorik van Havre
f815b07144 Draft: Added a Draft Ellipse object 2013-04-20 16:51:33 -03:00
Yorik van Havre
3511a807a3 Draft: new method for exporting dxf arcs 2013-04-18 13:48:49 -03:00
Yorik van Havre
c46924e934 Draft: Small fix to Shape2DView 2013-04-18 13:00:39 -03:00
Yorik van Havre
bfb5734d01 0001057: Bug in Draft Edit 2013-04-17 14:22:01 -03:00
Yorik van Havre
8050dd61a0 0001046: Draft angular dimensions 2013-04-17 11:16:06 -03:00
WandererFan
602bfe48cf Add Draft.ShapeString Gui tool and makeShapeString function 2013-04-15 13:25:25 -04:00
Yorik van Havre
6dbf66b2a9 0001042: Draft DXF export with projection direction
The DXF exporter now features an option in Draft preferences
to project the selected objects along the current view direction
on export.
2013-04-11 14:20:50 -03:00
Yorik van Havre
7e11f28866 0001035: WebGL exporter
The Arch module now features a webgl exporter that produces an all-included
HTML file that displays the exported objects in WebGL-capable web browsers.
Many enhancements are still necessary, especially with lights and materials.

At time of export, the exporter downloads the three.js library from github
and includes it in the HTML file, so it has no other dependencies.
2013-04-09 19:43:45 -03:00
Yorik van Havre
75560719c4 0001068: Bug in Draft DXF export 2013-04-08 17:03:41 -03:00
Yorik van Havre
e167c9e459 0001075: faster Draft manual coordinates 2013-04-07 18:47:02 -03:00
Yorik van Havre
5c65086735 0001082: Adding points in Draft Edit 2013-04-07 17:39:00 -03:00
Yorik van Havre
aba5ca338d Draft: Fixes to primitive-enabled tools 2013-04-02 19:43:10 -03:00
Yorik van Havre
216858e433 0001074: Draft Ellipse tool
The Draft module now features an Ellipse tool
that creates a Part Ellipse object.
2013-04-01 17:46:32 -03:00
Yorik van Havre
c15ae93d25 0001073: Allow Draft tools to create Part Primitives
A preferences setting now allow Draft tools to create Part primitives
instead of Draft objects, when possible (currently point, line, arc,
circle and rectangle).
2013-03-31 23:20:30 -03:00
Yorik van Havre
9e8e7a97b9 0001072 : Edge.Curve assert in Draft 2013-03-31 17:54:32 -03:00
Yorik van Havre
913aa919dd Arch: Better auto-fuse for walls 2013-03-24 15:22:37 -03:00
Yorik van Havre
f9444f83cf Draft: Added Heal command
The Draft_Heal command allows to heal bad Draft objects coming
from earlier versions of FreeCAD.
2013-03-06 12:14:14 -03:00
Yorik van Havre
62dc05ffd9 0000983: Draft wires, rectanges and polygons now have a chamfer property 2013-02-25 23:26:42 -03:00
Yorik van Havre
3a04f6491b Draft: small bugfix 2013-02-25 22:56:06 -03:00
Yorik van Havre
8e3e4b20bc 0000946: Draft inserts now set the active document 2013-02-25 19:38:53 -03:00
Yorik van Havre
4bcff22600 0000966: Draft Workingplane tooltip 2013-02-25 19:29:31 -03:00
Yorik van Havre
728d81bace 0001024: Draft Line properties now respect the placement 2013-02-25 19:21:28 -03:00
Yorik van Havre
f66c433e6c 0000959: Arcs exported to DXF with wrong direction 2013-02-21 19:36:24 -03:00
Yorik van Havre
fdc86819dd 0000999: Separate Draft upgrade and downgrade 2013-02-18 17:48:56 -03:00
Yorik van Havre
1c9fe432f7 Draft: Upgrade tool is now available to python scripting 2013-02-17 11:24:12 -03:00
Yorik van Havre
53c6c16355 Draft: New Draft icon 2013-02-15 13:15:19 -02:00
Yorik van Havre
f609573297 Draft: Fixed a disappearing wire problem in Upgrade tool 2013-02-09 14:18:55 -02:00
Yorik van Havre
60ccb19ddc Draft: small fix in Draft Upgrade 2013-02-04 18:16:11 -02:00
Yorik van Havre
372b4542ee 0000963: Draft polar array 2013-01-23 16:31:10 -02:00
Sebastian Hoogen
5e46bea2ae 0000962: Attempting to import an SVG file fails
with "invalid literal for int() with base 16"
2013-01-21 11:39:50 +01:00
Sebastian Hoogen
0a876e18c9 bugfix for handling of elipses in importSVG 2013-01-09 15:09:22 +01:00
Yorik van Havre
496a216f02 0000891: Draft intersection snapping 2012-12-20 21:26:09 -02:00
Yorik van Havre
2d35c343f2 0000919: Draft upgrade to face 2012-12-20 13:39:27 -02:00
Yorik van Havre
480f280322 0000890: bug in Draft Offset 2012-12-19 13:54:03 -02:00
Yorik van Havre
7b44c7afc2 0000901: Draft Edit mode 2012-12-18 14:44:39 -02:00
Yorik van Havre
5ea7f58280 0000907: Draft snap icons 2012-12-18 14:17:08 -02:00
Yorik van Havre
f4a47f089c Updated with latest crowdin translations 2012-12-18 13:28:11 -02:00
Yorik van Havre
5ea105abd6 Draft: bugfix in dimensions 2012-12-09 20:41:53 -02:00
Yorik van Havre
0d44f9252a Draft: bugfix in polar snapping 2012-12-07 19:27:23 -02:00
Yorik van Havre
71b1777e8a Updated translation strings 2012-12-07 10:56:57 -02:00
Yorik van Havre
77db5496ac Draft: small bugfix 2012-12-07 10:50:42 -02:00
Yorik van Havre
83af7bce0b Draft: Bugfix in parametric dimensions 2012-11-24 14:21:42 -02:00
Yorik van Havre
95c5dfad8a Draft: better cleaning of shape2Dview 2012-11-23 22:35:54 -02:00
Yorik van Havre
250d00dd7b Draft: small bugfix in shape2dview 2012-11-23 20:44:01 -02:00
Yorik van Havre
d90e285f73 Draft: Optimization in Shape2DView 2012-11-23 19:22:00 -02:00
Yorik van Havre
5522af1ef4 Draft: Small fix to work without GUI 2012-11-23 18:36:43 -02:00
Yorik van Havre
a2a7f41433 0000887: Draft BSpline bug 2012-11-23 18:34:44 -02:00
Yorik van Havre
7129840dc8 Draft: Fixed a bug in Shape2Dview 2012-11-23 16:54:15 -02:00
Yorik van Havre
85397783cc 0000835: Draft preferences pages 2012-11-17 19:26:29 -02:00
Yorik van Havre
18ab30cdda Draft: small bugfix 2012-11-17 12:48:37 -02:00
Yorik van Havre
4bb4553ed7 Further optimizations in Draft 2012-11-15 23:00:58 -02:00
Yorik van Havre
08a39943af Optimizations in Draft module
* More efficient and lightweight ghosts in move & rotate
* Track lines now handled directly by the snapper
* More precise snapping for move (experimental)
2012-11-15 15:04:02 -02:00
Yorik van Havre
e29de5dc91 0000866: Draft to sketch 2012-11-02 18:59:31 -02:00
Yorik van Havre
9934a1dc0f Added new translations to makefiles 2012-10-30 10:49:36 -02:00
Yorik van Havre
be940cbd06 Updated translations from crowdin
* Updated the updateTranslations.py tool so it can now work with
  unzipped folders, and it updates qt resource files when necessary.
* Updated existing translations, changed a couple of language codes:
  es -> es-ES, pt -> pt-BR, zh -> zh-CN, se -> sv-SE
* Added new translations that have more than 50% translated:
  cs, hu, ro, sk, zh-TW, tr
2012-10-30 09:59:55 -02:00
wmayer
1933093e71 Fix build problems with ImportGui module, fix bug in Draft when using texture image 2012-10-05 12:19:07 +02:00
Yorik van Havre
63ff342bac 0000825: dxf import bug 2012-09-16 15:04:04 -03:00
Yorik van Havre
1593ce9e67 0000821: Draft snap bug 2012-09-16 14:43:08 -03:00
Yorik van Havre
1d5f4147f1 Draft: fixed radius dimension symbols 2012-09-06 11:16:47 -03:00
Yorik van Havre
305c9ad1bc Draft: bugfix in taskpanel 2012-09-05 17:55:27 -03:00
Yorik van Havre
a26f42b7b3 Draft: minor bugfixes 2012-09-04 19:14:28 -03:00
Yorik van Havre
12f6ef3458 Draft: Bugfixing
+ All Draft (and Arch) objects now correctly get/set theiir type on save/load
+ Draft Shape2DView now produces valid shapes
2012-09-04 12:07:26 -03:00
Yorik van Havre
b827d9eb31 Draft: small improvement do Shape2DView object 2012-09-03 18:42:00 -03:00
Yorik van Havre
19b5a06727 Draft: small bugfix in shape2Dview object 2012-09-03 11:05:50 -03:00
Yorik van Havre
d3f08057e1 Draft: Small fix to Point tool 2012-09-01 17:08:04 -03:00
Yorik van Havre
bdaf97625b 0000820: Draft dimension dots 2012-08-31 11:00:40 -03:00
Yorik van Havre
35cc5ef56f Arch: Minor bugfix 2012-08-30 20:22:22 -03:00
Yorik van Havre
5bb46b732d Draft: reworked some icons 2012-08-30 10:46:04 -03:00
Yorik van Havre
b68e86ffa5 Arch: small fixes 2012-08-18 00:04:54 -03:00
Yorik van Havre
2f67e323cb Draft: set taskview mode as default 2012-08-17 16:44:44 -03:00
Yorik van Havre
3a8f6dff59 Updated translation files 2012-08-16 16:09:56 -03:00
Yorik van Havre
0d475b6fe0 Misc polishes to Arch and Draft
+ The Draft Drawing tool can make additional views of SectionPlanes
+ Draft Dimensions have a readonly "Distance" property that show the length
+ The Draft WB can be completely switched off (since all tools are also in Arch)
2012-08-16 12:24:45 -03:00
Yorik van Havre
4386421a0b Arch: Fixed strings to be translated 2012-08-15 18:39:53 -03:00
Yorik van Havre
969f4b57eb 0000715: Draft axis constraints 2012-08-14 20:41:18 -03:00
Yorik van Havre
7a338f30cb 0000634: Draft to Sketch conversion 2012-08-11 18:28:18 -03:00
Yorik van Havre
70d4048b38 Arch: General optimization
+ More severe tests when constructing shapes
+ Allow to quickly export Arch views to DXF
2012-08-09 17:50:07 -03:00
Yorik van Havre
aae9b17e32 Arch: Bugfixes and hidden lines mode for section planes 2012-08-05 18:01:58 -03:00
Yorik van Havre
88ea348623 0000802: Fixed again 2012-08-01 18:53:27 -03:00
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