Commit Graph

8500 Commits

Author SHA1 Message Date
DeepSOIC
e3ca28baa8 Part: add Offset2D feature
derived from Part::Offset, to re-use task dialog easily
2016-09-02 16:26:02 +02:00
DeepSOIC
1f6174e3f2 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
7f6872817a Part: Py API: deprecate Part.Wire.makeOffset
(code unchanged. Only added deprecation note to documentation)
2016-09-02 16:26:02 +02:00
DeepSOIC
78d32b6405 Part: Py API: add makeOffset2d method to Part.Shape
+ write documentation to makeOffsetShape
2016-09-02 16:26:02 +02:00
DeepSOIC
5318e03561 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
c60e4c944e PartGui: task Extrude: fix remove selection gate on cancel 2016-09-02 15:05:30 +03:00
DeepSOIC
35ed8a8afa 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
c0428a940b minor fixes SectionFace zOrder, orphan graphics items 2016-09-01 12:14:43 -04:00
WandererFan
7e04c17bdd Fix part/section handling of Face OuterWire 2016-09-01 12:14:43 -04:00
WandererFan
b75f82b500 Fix for Wires with same bbox, different areas 2016-09-01 12:14:43 -04:00
WandererFan
13afc71260 Handle zero length TopoDS_Edge in Geometry 2016-09-01 12:14:42 -04:00
WandererFan
0ba0351666 Minor performance improvements 2016-09-01 12:14:42 -04:00
WandererFan
34644e9d71 Fix Section arrows,xDir,label 2016-09-01 12:14:42 -04:00
WandererFan
b47eff76ae Changes re const, ref and TopExp per wmayer
Refactor debug routines to DrawUtil
2016-09-01 12:14:42 -04:00
WandererFan
9a93185f7e Py binding for EdgeWalker
refactor EdgeWalker code from DVP,DVS
2016-09-01 12:14:42 -04:00
WandererFan
27ff991d79 Fix ProjectionGroupItem spacing 2016-09-01 12:14:42 -04:00
WandererFan
3901d2fe82 Add View centerlines 2016-09-01 12:14:42 -04:00
wmayer
0fa94ee0a9 improve obj support 2016-09-01 18:07:18 +02:00
wmayer
5c791306d1 fix problems with unv files in UNIX format when reading under Windows 2016-09-01 15:30:12 +02:00
wmayer
e6575f65f9 fix compiler warnings 2016-09-01 12:01:22 +02:00
DeepSOIC
fa2b70878e PartGui: Extrude: new task dialog
to account for new functionality of extrusion feature.
2016-09-01 11:46:18 +02:00
DeepSOIC
98418a4e0c 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
616c2f7feb 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
f3a3bd14fb [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
6e284fc9ea fix crash when saving a document after aborting a pending transaction 2016-08-31 17:58:55 +02:00
wmayer
9ef81d7d56 optimize download manager 2016-08-31 16:22:21 +02:00
Yorik van Havre
23f39cdf2d Arch: small fix in Schedule tool 2016-08-30 11:23:13 -03:00
Yorik van Havre
ab803c7b40 Added App::PropertyArea (same as PropertyLength but uses Area units) 2016-08-29 19:26:11 -03:00
Yorik van Havre
0d25df0c61 Arch: Rewrite of Arch Schedule tool - fixes #2643 2016-08-29 19:24:34 -03:00
Yorik van Havre
8bd57848da 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
839717c2f7 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
1843f89659 Draft: fixed export of invalid shapes to DXF 2016-08-28 14:18:12 -03:00
Yorik van Havre
ff2ccdd648 Arch: minor bugfixes in Pipes 2016-08-26 18:26:46 -03:00
Yorik van Havre
18e519571a Removed console message emitted by the tree when a PropertyLink is empty 2016-08-26 17:48:40 -03:00
Yorik van Havre
783ec34967 Minor bugfixes in Arch & Draft 2016-08-26 15:10:33 -03:00
Yorik van Havre
77dec4b91d TechDraw: Forgot one icon in last commit 2016-08-26 12:30:25 -03:00
Yorik van Havre
f0daa5ae16 TechDraw: Made some icons legible on dark UI theme 2016-08-26 12:25:43 -03:00
WandererFan
4cb4e5f04a Create ViewSection from ViewPart
Property name changes
Touch section when View SymbolSection changes
2016-08-26 11:39:03 -03:00
WandererFan
adb2fdafa5 Add methods for removing equivalent edgeLists from result 2016-08-26 11:39:03 -03:00
Yorik van Havre
f1bc0ce25d Draft: Apply clones scaling before the placement - fixes #2681 2016-08-26 11:25:01 -03:00
wmayer
46adbae952 fix whitespaces 2016-08-25 12:27:08 +02:00
Sergo
c90da8e5fb fix relinkToOrigin, remove source body from list, etc 2016-08-24 19:11:26 +02:00
Sergo
3177402141 typo 2016-08-24 19:11:26 +02:00
Sergo
8750ac5916 Test: Add case to test attempt when feature is not movable 2016-08-24 19:11:26 +02:00
Sergo
f49ddaea45 PD MoveFeature:Check if feature has dependencies in source body 2016-08-24 19:11:26 +02:00
Sergo
dcd94203eb Test: test moving features from one part to another 2016-08-24 19:11:26 +02:00
Sergo
85015ef494 PartDesignGui: move feature with its dependencies 2016-08-24 19:11:26 +02:00
wmayer
1944d43f28 add method to dock window manager to unregister a window 2016-08-24 19:09:56 +02:00
wmayer
22d8095b86 fix memory leak 2016-08-24 19:09:12 +02:00
wmayer
a830b8feb3 improve whitespaces 2016-08-24 19:08:45 +02:00