Commit Graph

76 Commits

Author SHA1 Message Date
Kunda
9410e751e9 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
wmayer
bab25b2719 remove duplicate and unused class 2016-11-07 12:28:22 +01:00
DeepSOIC
c612745902 PartDesign: port to use FaceMaker
Minimalistic port. Only re-use code that was duplicate before.
2016-10-01 23:13:44 +03:00
wmayer
dd7c91ddcf fix -Wextra in PartDesign 2016-09-22 18:34:56 +02:00
Wolfgang E. Sanyer
d1d2f1f811 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
Stefan Tröger
609da4749a fixes #0002512 Allow multi-face part design tools 2016-05-18 23:54:18 +02:00
wmayer
f439a88c69 + remove 'using namespace Part' inside header file 2016-04-13 16:20:31 +02:00
Stefan Tröger
12e793bde8 PartDesign: Adopt pattern to face based features 2016-04-12 18:12:22 +02:00
Stefan Tröger
ae9dac71d7 PartDesign: Modeling features work with faces
-Rename Sketchbased to ProfileBased to show new behavior
-Adopt ProfileBased to make the relevant helper functions work with faces too
-Adopt features for unified use of helper functions
-Adopt commands to allow face selection
2016-04-12 18:12:22 +02:00
Alexander Golubev
3ed51ac4bd PartDesign: add Origin to the Body and unstrap the module from the Parts 2016-04-12 18:12:18 +02:00
Alexander Golubev
305151be34 App/Origin: big refactoring
- Rebase App::Origin on App::DocumentObject
 - Keep all control over the Origin structure inside the Origin and it's
   ViewProvider
 - Add OriginFeature class as common base for App::Plane and App::Line
 - Rebase App::Plane and App::Line on top of newly created class and
   move to the file.
 - Change Origin's ViewProvider API associated with temporary display
 - Lots of associated changes to files
 - Several minor fixes
 - Lots of new bugs
2016-04-12 18:12:18 +02:00
Alexander Golubev
af385f1c57 PartDesign/Feature: add an optional parameter to getBaseObject() to prevent it from throwing exceptions
In most cases getBaseObject() is used with an exception handler which
only detects if it failed but not the reason. This modification allows
to use it without excess exception handlers.
Also add the same parameter to SketchBased::getVerifiedSketch().
2016-04-12 18:12:15 +02:00
DeepSOIC
92a7811618 Revolution: fix failure on sketch edges used as an axis
PartDesign Revolution used to fail, when an edge of a sketch was
selected as an axis of revolution. This is fixed by this commit.
Also, made it support selecting an edge from the sketch the revolution
itself is made from.
2016-04-12 18:12:14 +02:00
DeepSOIC
288873f13a PartDesign: accomodating to sketch's multisupport
* FeatureSketchBased getSupportFace check for mapping mode
* Fixes failure to place sketches on DatumPlanes
2016-04-12 18:12:12 +02:00
DeepSOIC
f20ff5a8d4 PartDesign: refactor positionBySketch
Rename it to positionByPrevious. Rewrite.
Rewrite SketchBased::transformPlacement.
2016-04-12 18:12:11 +02:00
DeepSOIC
220c88edb6 PartDesign: tidy up sketch support and base feature confusion
Not complete, transformPlacement and positionBySketch are pending...
2016-04-12 18:12:11 +02:00
DeepSOIC
6aa31c33f4 Revolution: fix crash when selecting stuff during task 2016-04-12 18:12:10 +02:00
Stefan Tröger
eba61e360d make origin work correct with multiple parts 2016-04-12 18:12:08 +02:00
Stefan Tröger
4f43bdc814 make origin lines usable in groove 2016-04-12 18:12:08 +02:00
Stefan Tröger
38128e57bd make origin lines usable in revolution 2016-04-12 18:12:08 +02:00
Stefan Tröger
b0817ff086 allow non-sketch based additive and subtractive features 2016-04-12 18:12:06 +02:00
jrheinlaender
ef76cf8b52 Added some comments about things to be fixed in the future 2016-04-12 18:11:55 +02:00
jrheinlaender
be7c6adc21 Allow moving features between bodies from context menu of tree view 2016-04-12 18:11:53 +02:00
jrheinlaender
12bf1d58f6 Allow extruding from a datum plane to another face or plane, optionally with an offset 2016-04-12 18:11:53 +02:00
jrheinlaender
56d60a297f Revolution/Groove: Check that rotation axis is coplanar with sketch plane 2016-04-12 18:11:51 +02:00
jrheinlaender
6eb6f73e52 Enable edges and datum lines as rotation axis for Groove and Revolution features 2016-04-12 18:11:51 +02:00
jrheinlaender
9a932e09a0 Allow Pad and Pocket up to a face with sketch located on datum plane 2016-04-12 18:11:51 +02:00
jrheinlaender
2732f44b42 Miscellaneous fixes 2016-04-12 18:11:51 +02:00
jrheinlaender
2733f236d2 Miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender
54895922a4 Miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender
de17a3ede4 Pad/Pocket: Allow extrude up to a datum plane 2016-04-12 18:11:50 +02:00
jrheinlaender
bf973e06c0 Refactored code of SketchBased features to have common code in an abstract superclass 2016-04-12 18:11:50 +02:00
jrheinlaender
575b6cf6df Added Reversed button to Pocket UI if the sketch plane is a datum plane 2016-04-12 18:11:50 +02:00
jrheinlaender
218f386990 Moved BaseFeature Property from SketchBased to PartDesign::Feature because all PartDesign features need it 2016-04-12 18:11:48 +02:00
jrheinlaender
cb14c7ae65 Renamed SketchBased::Base property to BaseFeature because of name clash with Revolution::Base property 2016-04-12 18:11:48 +02:00
jrheinlaender
e9d8c03665 Create Base property for SketchBased features and changed Pad to use it 2016-04-12 18:11:47 +02:00
wmayer
750897c20e + introduce proper enum for property status to replace plain integers 2016-01-01 15:36:24 +01:00
wmayer
0072f7b942 + fix crash when trying to edit broken revolve object 2014-07-12 16:13:13 +02:00
wmayer
11048388e8 + set correct group information to pad and pocket properties 2014-03-21 15:18:26 +01:00
wmayer
79e9f108e6 + Add option to refine solid on sketch-based features 2013-09-21 09:16:44 +02:00
wmayer
a3b7a67dc1 0000459: Revolving a single line sketch fails 2013-07-10 15:26:31 +02:00
wmayer
74488f0825 Try alternative sort method 2013-07-09 10:40:37 +02:00
wmayer
05482eda22 0001133: crash at padding a sketch with 42 holes 2013-07-03 07:56:36 +02:00
wmayer
605e85b952 Make FeaturePython Python binding a template class to avoid code duplication 2013-03-22 00:34:18 +01:00
wmayer
3d7f7d5468 0001013: 0.13 program crash 2013-02-17 08:43:21 +01:00
logari81
3562efa5d5 PartDesign: Refactor pattern features and gui
- remove StdDirection,StdAxis and StdMirrorPlane properties
- support sketch H_Axis, V_Axis, N_axis as valid references in patterns
- polish reference selection gui (unified for standard axes and custom references)
2013-01-09 23:18:38 +01:00
wmayer
17ef469e36 Improve algorithm to check intersection of axis and sketch 2012-12-16 16:32:17 +01:00
wmayer
c8cacace17 Do some error checking for sketch based features 2012-12-13 20:59:53 +01:00
wmayer
9032e31281 Improve algorithm to check intersection of axis and sketch 2012-12-13 19:11:37 +01:00
wmayer
001fb03b5d Fix bug in check for intersection of axis with sketch 2012-12-11 20:06:56 +01:00