Commit Graph

341 Commits

Author SHA1 Message Date
Yorik van Havre
392cf965af Draft: small improvements to units system in dimensions 2014-05-09 17:47:08 -03:00
Yorik van Havre
96bba087eb Draft: Filling objects with faces is now optional - fixes #1395
Closable Draft objects now have a new MakeFace property, that specifies
if they must be turned into a face or stay a wire only. Older Draft
objects continue to behave the old way for compatibility. The default
behaviour can be set in Draft Preferences -> Fill objects with faces
2014-05-07 19:03:00 -03:00
WandererFan
f37a15c1af issue #1524 UNITS for Draft Dimension 2014-05-07 11:13:34 -03:00
WandererFan
dea3fa6c66 issue #1524 Add UNITS to Draft Shapestring 2014-05-07 11:13:34 -03:00
Yorik van Havre
5c01cf0a89 Arch: Fixed OBJ exporter to work with curves - fixes #1527 2014-05-04 13:04:52 -03:00
Yorik van Havre
32d7839da4 Draft: use latin1 in texts if coin < 4 - issue #1404 2014-05-03 13:00:44 -03:00
wmayer
05dac2eeb3 + Exception handling in _BSpline.execute 2014-05-03 14:06:14 +02:00
Sebastian Hoogen
8dca9210d8 use transformShape for uniform scaling in Draft._Clone Feature 2014-05-01 11:59:56 +02:00
Yorik van Havre
5229e5461a Draft: support for multiline dim texts in svg 2014-04-29 09:41:04 -03:00
Yorik van Havre
ac2963de4e Draft: small change in Dan's tesselation code 2014-04-23 19:43:00 -03:00
Daniel Falck
91ab4c340a adding tessellation to ellipses and adding a user parameter for line
segment length of ellipses and splines with a Shape2DView projection.
This will make it useful for DXF output.
2014-04-23 19:39:57 -03:00
Daniel Falck
3abe4d460d had trouble rebasing so added tanderson's commits by copy paste method 2014-04-23 19:39:57 -03:00
Yorik van Havre
96967a5162 Draft: further fix for utf8 texts - issue #1404 2014-04-19 13:26:24 -03:00
Yorik van Havre
e2b24d8606 Draft: DXF in/out now supports Draft Layers - fixes #1504 2014-04-17 19:02:57 -03:00
Yorik van Havre
6f896d8f22 Draft: Added Layer tool - issue #1504 2014-04-17 18:18:51 -03:00
WandererFan
ef8bae9ab7 Correct handling of rotated base shape. 2014-04-17 10:03:33 +02:00
WandererFan
79b8e07338 Fix Mantis #1500 for Draft Ellipse,Shape2DView 2014-04-15 10:55:04 -03:00
Yorik van Havre
c1978ec97c Draft: small fix in dimensions 2014-04-15 10:34:45 -03:00
Yorik van Havre
0d7d568600 Draft: refinements in Arch & Draft Drawing views 2014-04-14 13:29:55 -03:00
Yorik van Havre
fd993d2422 Draft: fixing a bug in Downgrade tool 2014-04-13 16:43:03 -03:00
Yorik van Havre
6113d15058 Draft: fixing bugs in opening older files 2014-04-13 16:36:53 -03:00
Yorik van Havre
8a14564883 Draft: Fixes from wandererfan 2014-04-01 19:23:31 -03:00
Yorik van Havre
fabe39b976 Draft: fixes in offset 2014-03-29 19:39:11 -03:00
Yorik van Havre
749a8fa1d6 Draft - enabled utf8 in coin3d and svg - relates to issue #1404 2014-03-29 14:31:45 -03:00
WandererFan
d68ea73879 Fixes to PathArray
- missing refresh() in DraftTools
- handle case where Base obj has non-trivial Placement
- copy Base obj format to PathArray object
2014-03-28 22:54:33 -03:00
Yorik van Havre
ebb921d60a Draft: Downgrade now splits multi-solid compounds into individual solids 2014-03-27 16:22:49 -03:00
Yorik van Havre
f9e26ee53c Draft: Small fix in patterns 2014-03-27 11:52:07 -03:00
Yorik van Havre
4bf2f92d70 Draft: small fix to Draft Clone
If scale is (1,1,1), matrix transform is no longer applied
2014-03-24 13:22:08 -03:00
Yorik van Havre
e293d61d54 Draft: Added Ulrichs patch to fix Draft-Drawing projections - fixes #1376 2014-03-23 17:28:17 -03:00
WandererFan
13cdc443fa Improve geom creation, scaling and translation 2014-03-18 07:57:44 +01:00
Yorik van Havre
f4bb393f0e Arch: Fixed null shape copy() bugs 2014-03-14 12:55:11 -03:00
Yorik van Havre
274dc09248 Draft: Small fix in hatch patterns 2014-03-09 18:49:35 -03:00
Yorik van Havre
b6c24cfc35 Arch: minor fixes around Arch & Draft 2014-03-07 20:44:22 -03:00
Yorik van Havre
80f2a3a8a4 Draft: minor fix in Offset 2014-03-03 13:47:29 -03:00
Yorik van Havre
92023533b5 Draft: small fix to clone object 2014-03-03 12:18:54 -03:00
Yorik van Havre
363b62a891 Draft: Fixed PropertyAngles - fixes #1451 2014-02-28 15:53:09 -03:00
Yorik van Havre
810555d2ab Draft: Small typo fix 2014-02-28 10:05:44 -03:00
WandererFan
b3d1b7a2ea 1443: Fix ShapeString user font selection on Windows 2014-02-27 15:18:18 +01:00
Yorik van Havre
7b92e8fa8e Draft: Turn Draft BezCurves into faces when closed 2014-02-24 10:56:00 -03:00
WandererFan
515449d324 Cosmetic change - remove "######" placemarkers 2014-02-23 11:54:59 -03:00
Sebastian Hoogen
2dfabfdcb5 Draft Bezier Curve: implemented Continuity Property
Draft: allow continuity on closed Bezier curves

Draft: BezCurve bugfixes
    - smoothBezCurve
    - edit mode
    - avoid splitting points into segments as long as degree is zero
    - increase the continuity when closing curve
    - closed berzier curves
    - Catch modifications of continuity of first and last knot on open curves
2014-02-23 11:54:59 -03:00
Sebastian Hoogen
6f8c1c61b7 Draft: added functions to edit tangent or symmetric bezier curves
changed icon Draft_BezTanNode
       bugfix in Draft BezCurve modifytangentpole
       move poles with knots for Bezier Curves with Degree >=3
       make bezier curves symmetric/tangent when clicking on poles by
           keeping the coordinates of the selected pole
2014-02-23 11:54:58 -03:00
Sebastian Hoogen
69b09448d9 Draft Bezier Curves: Add functionality to mockup
- Split poles to multiple bezier segments
     - set degree of bezier curve
     - Close Draft bezier curves
     - set Degree at creation
     - implement addPoint for piecewise Bezier curves

Draft BezCurve bugfixes
    - fix Close button for BexCurve Edit
    - fix tracker behaviour in for BezCurve.undoLast

Draft Bezier Curve: use circle trackers for control points

Draft: prepare functions to make bezier knots tangent or symmetric
2014-02-23 11:54:58 -03:00
WandererFan
2d43d61b92 Add Draft Bezier Curve draw & edit mockup using bSpline tools. 2014-02-23 11:54:58 -03:00
Yorik van Havre
a63f4c1f2e Used new PropertyQuantity API in Draft & Arch - fixes #1414 2014-02-21 12:37:29 -03:00
Yorik van Havre
478772f067 Draft: small fix in point object 2014-02-13 12:19:59 -02:00
WandererFan
9d235d7fb9 Avoid OCC error for closed Draft.BSpline with same first/last points 2014-02-09 13:30:49 -02:00
Yorik van Havre
99902b22b7 Draft: made last commit more backward-compatible 2014-02-09 13:08:02 -02:00
Daniel Falck
9ede51b2f6 added way of breaking BSplines into line segments in Shape2DView 2014-02-09 13:02:38 -02:00
Yorik van Havre
2ee101dee3 Draft: fixed draft scale again - fixes #1385 2014-02-04 16:08:09 -02:00
Yorik van Havre
bba8760b11 Draft: fixed a bug in Draft Scale 2014-02-04 09:44:50 -02:00
Yorik van Havre
36bcc580d6 Draft: fixed bug in dimensions direction 2014-01-27 13:51:10 -02:00
Yorik van Havre
69cc7ec901 Arch now works in console mode - fixes #1362 2014-01-26 20:13:50 -02:00
Yorik van Havre
4a8b5cc60e Draft: fixed small bug in bezier-to-svg code 2014-01-19 09:49:17 -02:00
Yorik van Havre
843838ec19 Draft: Added shoogen's fix to bspline to svg stuff 2014-01-17 09:40:48 -02:00
Yorik van Havre
47d5c615d9 Draft: Added direction vector to dimensions 2014-01-16 17:13:21 -02:00
Yorik van Havre
99e05a3236 Draft: Added a decimals property to Draft Dimensions 2014-01-16 16:18:46 -02:00
Yorik van Havre
828c4618aa Draft: small bugfix 2014-01-15 19:49:43 -02:00
Yorik van Havre
e8ab9bd2e0 Draft: added a debug message to bspline-to-svg conversion 2014-01-15 19:41:33 -02:00
Sebastian Hoogen
e9201cc9d6 support curves in Draft.getSVG()
curves with a degree<=3 will be converted to bezier segments
curves with a higher degree are discretized
2014-01-15 22:22:40 +01:00
Yorik van Havre
19865c252b Fixed translation system in Arch & Draft 2014-01-07 11:17:31 -02:00
Yorik van Havre
1d709ade42 Switch to PySide (+ Arch, Draft & Start) 2014-01-06 13:26:49 -02:00
Yorik van Havre
9c3d1a80d4 Draft: allow makePoint to take a vector 2014-01-04 22:07:30 -02:00
Yorik van Havre
f4254b9e0b Draft: Fixed bug in custom svg patterns 2014-01-01 12:20:24 -02:00
Yorik van Havre
60ec4e644a Draft: Added Jim's Array icon 2013-12-24 10:09:39 -02:00
Yorik van Havre
bdb5eefd72 Draft: Fixed bugs in hatching - fixes #1164 2013-12-20 19:12:22 -02:00
Yorik van Havre
5224e9a2ba Arch: Further work on the IFC exporter, now supports windows and bldg hierarchy 2013-12-19 20:41:42 -02:00
WandererFan
d652d84c19 Add Draft makePathArray and _PathArray
Add Draft PathArray GUI tool
2013-11-28 11:42:14 -02:00
Keith Sloan
bcb7d02c05 Hull and Minkowski operations using OpenSCAD 2013-11-17 13:50:35 +01:00
Yorik van Havre
b3738a2fce Draft: Dimension recode - fixes #1000, #852, #678
Draft dimensions have been recoded and should now behave better in non-XY planes,
and gained several new properties to adjust their look.
2013-11-13 19:25:01 -02:00
Yorik van Havre
580b58fea1 Draft: fixed bad rendering of non-XY dimensions on drawing sheets 2013-11-07 18:14:09 -02:00
Yorik van Havre
5d9259a36f Draft: Small fix in Shape2Dview object 2013-10-28 13:22:57 -02:00
Yorik van Havre
97b5ec2479 Draft: Shape2Dview now takes groups as input 2013-10-21 15:15:37 -02:00
Yorik van Havre
e18fb9898e 0000893: Draft upgrade 2013-10-18 18:20:13 -03:00
Yorik van Havre
7d2b885caf Draft: Changed default fontfrom Arial to internal 2013-10-11 10:49:15 -03:00
Yorik van Havre
939bc92acb Draft: Added Facebinder tool 2013-10-10 19:25:33 -03:00
Yorik van Havre
34cce64edc Draft: Rewrite of defaults handling 2013-10-09 15:40:38 -03:00
Yorik van Havre
0375c66986 Draft: Added a new bitsnpieces snap style 2013-10-08 17:02:46 -03:00
Yorik van Havre
d9e0cbe6cb Draft: Added a 'name' argument to makeArray() 2013-10-05 18:20:17 -03:00
Yorik van Havre
e2d19d7360 Draft: minor bugfix in wire object 2013-10-04 15:56:51 -03:00
Yorik van Havre
8968355395 Draft: better docstring in array function 2013-10-03 12:07:40 -03:00
Yorik van Havre
4db2355159 Draft: Added workaround for ellipses in DXF export 2013-09-23 12:30:21 -03:00
Yorik van Havre
9ff1908a30 Draft: small bugfix in Pattern property 2013-09-19 21:25:52 -03:00
Yorik van Havre
da8c9b6d63 Draft: Bugfix in Lines End property 2013-09-17 10:25:56 -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
38f0f73fbe Cleaning startup messages from Draft and Arch 2013-08-25 13:43:54 -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
578fefc9b1 Arch: 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
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