Commit Graph

246 Commits

Author SHA1 Message Date
Yorik van Havre
1446ee0b69 Draft: Fixes in DXF exporter 2013-08-11 12:46: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
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
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
7e525e6d8c Draft: Further work on hatching 2013-07-09 13:55:25 -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
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
6a88bcd870 0001138: Use TypeId in Draft & Arch 2013-06-14 11:19:58 -03: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
f815b07144 Draft: Added a Draft Ellipse object 2013-04-20 16:51:33 -03:00
Yorik van Havre
c46924e934 Draft: Small fix to Shape2DView 2013-04-18 13:00:39 -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
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
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
728d81bace 0001024: Draft Line properties now respect the placement 2013-02-25 19:21:28 -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
372b4542ee 0000963: Draft polar array 2013-01-23 16:31:10 -02:00
Yorik van Havre
7b44c7afc2 0000901: Draft Edit mode 2012-12-18 14:44:39 -02:00
Yorik van Havre
5ea105abd6 Draft: bugfix in dimensions 2012-12-09 20:41:53 -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
7129840dc8 Draft: Fixed a bug in Shape2Dview 2012-11-23 16:54:15 -02:00
Yorik van Havre
e29de5dc91 0000866: Draft to sketch 2012-11-02 18:59:31 -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
1d5f4147f1 Draft: fixed radius dimension symbols 2012-09-06 11:16:47 -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
bdaf97625b 0000820: Draft dimension dots 2012-08-31 11:00:40 -03:00
Yorik van Havre
b68e86ffa5 Arch: small fixes 2012-08-18 00:04:54 -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
7a338f30cb 0000634: Draft to Sketch conversion 2012-08-11 18:28:18 -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
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
b6b575759a 0000776: Draft icons missing at startup 2012-07-04 16:59:01 -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
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
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
19e747d770 0000722: Deleting Draft dimensions 2012-06-05 16:33:01 -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
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
56758cab50 Fixed bug in Draft Clone 2012-05-14 11:13:19 -03:00
Yorik van Havre
3e78f7e7a3 Added Draft_Clone command 2012-05-04 19:21:54 -03: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
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
724e40627e Small fix in Draft module 2012-04-26 09:41:11 -03:00
Yorik van Havre
7e560942c9 Fixed #0000681 - Bugs in Draft BSplines 2012-04-24 21:53:27 -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
eb0b8fbd32 Fixed bug #671 - Draft DrawingViews 2012-04-16 19:54:30 -03:00
Yorik van Havre
eeb4e60162 Draft can now copy sketches 2012-04-12 16:10:45 -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
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
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
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
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
a7e0a4f5f3 Support rotated texts in Draft DXF import 2012-02-24 11:40:31 -02: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
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
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
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
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
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
cb30344b6e Small fixes in Draft tools to work with Arch objects 2012-01-25 15:35:43 -02:00
Yorik van Havre
05dd30861f Fixes before merging Ship 2012-01-24 15:59:00 -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
632af98102 Draft offset now works on BSplines 2012-01-16 19:00:34 -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
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
30f97b3124 fixed bug 564 - bug in Draft to Sketch 2012-01-06 13:40:58 -02:00
Yorik van Havre
3afbab3c47 small fix to the Draft module 2012-01-05 18:33:33 -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
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
c6c12a1ecf added Start and End properties to 2-point Draft lines 2011-12-25 17:02:12 -02: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
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
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
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
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
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
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
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
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
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
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