Commit Graph

8850 Commits

Author SHA1 Message Date
DeepSOIC
50296e4096 Part: add Offset2D feature
derived from Part::Offset, to re-use task dialog easily
2016-09-02 16:26:02 +02:00
DeepSOIC
53e7a15df1 Part: Offset feature: split off into separate file
withdrew code from PartFeatures.h/.cpp and created FeatureOffset.h/.cpp
2016-09-02 16:26:02 +02:00
DeepSOIC
2a4d4c3b57 Part: Py API: deprecate Part.Wire.makeOffset
(code unchanged. Only added deprecation note to documentation)
2016-09-02 16:26:02 +02:00
DeepSOIC
d4fc0becd7 Part: Py API: add makeOffset2d method to Part.Shape
+ write documentation to makeOffsetShape
2016-09-02 16:26:02 +02:00
DeepSOIC
5462fe60e7 Part: TopoShape: add makeOffset2D method
Supports:
* offsetting wire, compound of wires.
* offsetting compounds in collective or independent manners
('intersection' parameter)
* two offset modes (parameter 'allowOpenResult')
* filling offset when offsetting one wire, or compound in independent
manner

Not supported yet (planned):
* filling offset when offset in collective manner (intersection= true)
* offsetting planar faces
2016-09-02 16:26:02 +02:00
DeepSOIC
5fca7cf3df PartGui: task Extrude: fix remove selection gate on cancel 2016-09-02 15:05:30 +03:00
DeepSOIC
537b2e3ed5 PartGui: fixes to Revolve and Extrude tasks by @f3nix
fixes layout issues on KDE of Part Extrude and Part Revolve task dialogs
2016-09-02 12:03:21 +03:00
WandererFan
773a7b0092 minor fixes SectionFace zOrder, orphan graphics items 2016-09-01 12:14:43 -04:00
WandererFan
0cde0b0d48 Fix part/section handling of Face OuterWire 2016-09-01 12:14:43 -04:00
WandererFan
5197ae5313 Fix for Wires with same bbox, different areas 2016-09-01 12:14:43 -04:00
WandererFan
76af7e60ef Handle zero length TopoDS_Edge in Geometry 2016-09-01 12:14:42 -04:00
WandererFan
928856ec3a Minor performance improvements 2016-09-01 12:14:42 -04:00
WandererFan
1bf2dc7411 Fix Section arrows,xDir,label 2016-09-01 12:14:42 -04:00
WandererFan
32ba9c202d Changes re const, ref and TopExp per wmayer
Refactor debug routines to DrawUtil
2016-09-01 12:14:42 -04:00
WandererFan
1dfdc5f079 Py binding for EdgeWalker
refactor EdgeWalker code from DVP,DVS
2016-09-01 12:14:42 -04:00
WandererFan
e264a16b62 Fix ProjectionGroupItem spacing 2016-09-01 12:14:42 -04:00
WandererFan
a1b87d5176 Add View centerlines 2016-09-01 12:14:42 -04:00
wmayer
48acb246cf improve obj support 2016-09-01 18:07:18 +02:00
wmayer
3314bbf690 fix problems with unv files in UNIX format when reading under Windows 2016-09-01 15:30:12 +02:00
wmayer
bbe755b900 fix compiler warnings 2016-09-01 12:01:22 +02:00
DeepSOIC
0b95653b91 PartGui: Extrude: new task dialog
to account for new functionality of extrusion feature.
2016-09-01 11:46:18 +02:00
DeepSOIC
6fb25b9df5 Part: Extrude: improvements
* split Dir into Dir+Length; added second Length
* support for parametric linked direction: to arbitrary edge, and to
normal
* options: reverse, symmetric
* second taper angle
* changed offset join mode for tapered extrusion on OCCT7
2016-09-01 11:46:18 +02:00
DeepSOIC
1072700b0a PartGui: Revolve: solid checkbox automation
Solid checkbox will be checked by default, if the shape being revolved
is closed wires.
2016-09-01 11:46:18 +02:00
DeepSOIC
f70ef9745c [breaking] Part: Revolve: fix forgotten check for reverseness of axis link
I didn't know BRepAdaptor_Curve does not take shape orientation
(reverseness) into account.

The commit can break existing projects. If revolution feature was
created with axis linked to reversed edge, and angle span is not 360,
the revolution direction will now swap. The chances of this situation
are pretty low, and revolution supports axis linkage for not long yet.
So I hope it won't cause any noticeable trouble.

--DeepSOIC
2016-09-01 11:46:18 +02:00
wmayer
4c9b486954 fix crash when saving a document after aborting a pending transaction 2016-08-31 17:58:55 +02:00
wmayer
ab61f66716 optimize download manager 2016-08-31 16:22:21 +02:00
Yorik van Havre
dfc1686539 Arch: small fix in Schedule tool 2016-08-30 11:23:13 -03:00
Yorik van Havre
8af437a35a Added App::PropertyArea (same as PropertyLength but uses Area units) 2016-08-29 19:26:11 -03:00
Yorik van Havre
63e668a4ea Arch: Rewrite of Arch Schedule tool - fixes #2643 2016-08-29 19:24:34 -03:00
Yorik van Havre
06ff842810 Merge pull request #267 from pgilfernandez/Missing_icons
Improved icons: white background for window drawings so that they are…
2016-08-29 11:04:23 -03:00
Pablo Gil
cb3adfd966 Improved icons: white background for window drawings so that they are better recognized inside FreeCAD plus theme independent 2016-08-29 10:22:24 +02:00
Yorik van Havre
5f054b2417 Draft: fixed export of invalid shapes to DXF 2016-08-28 14:18:12 -03:00
Yorik van Havre
26b540aa77 Arch: minor bugfixes in Pipes 2016-08-26 18:26:46 -03:00
Yorik van Havre
c563db37fc Removed console message emitted by the tree when a PropertyLink is empty 2016-08-26 17:48:40 -03:00
Yorik van Havre
3cff94b046 Minor bugfixes in Arch & Draft 2016-08-26 15:10:33 -03:00
Yorik van Havre
61561d1b75 TechDraw: Forgot one icon in last commit 2016-08-26 12:30:25 -03:00
Yorik van Havre
b023563798 TechDraw: Made some icons legible on dark UI theme 2016-08-26 12:25:43 -03:00
WandererFan
ae9f1c5994 Create ViewSection from ViewPart
Property name changes
Touch section when View SymbolSection changes
2016-08-26 11:39:03 -03:00
WandererFan
a14bebb1a8 Add methods for removing equivalent edgeLists from result 2016-08-26 11:39:03 -03:00
Yorik van Havre
c47a1c5fae Draft: Apply clones scaling before the placement - fixes #2681 2016-08-26 11:25:01 -03:00
wmayer
9e4bed2983 fix whitespaces 2016-08-25 12:27:08 +02:00
Sergo
8df9f9603e fix relinkToOrigin, remove source body from list, etc 2016-08-24 19:11:26 +02:00
Sergo
812bc2eb54 typo 2016-08-24 19:11:26 +02:00
Sergo
1deb90cf99 Test: Add case to test attempt when feature is not movable 2016-08-24 19:11:26 +02:00
Sergo
52bf940110 PD MoveFeature:Check if feature has dependencies in source body 2016-08-24 19:11:26 +02:00
Sergo
765a4ad820 Test: test moving features from one part to another 2016-08-24 19:11:26 +02:00
Sergo
bb78c1fd8f PartDesignGui: move feature with its dependencies 2016-08-24 19:11:26 +02:00
wmayer
2f37aabf1d add method to dock window manager to unregister a window 2016-08-24 19:09:56 +02:00
wmayer
7c6964a7af fix memory leak 2016-08-24 19:09:12 +02:00
wmayer
aea74ce427 improve whitespaces 2016-08-24 19:08:45 +02:00