bgbsww
c9d8bdf13d
Toponaming/Part: Add deprecation comments, clean up code
2024-04-09 21:17:08 -04:00
Zheng, Lei
82c3e107d7
TopoShape/Part: Bring in PartDesign dependencies
2024-04-09 21:17:08 -04:00
wmayer
69aba3abe1
PD: remove parameter 'supportface' from ProfileBased::getUpToFace as it's not used any more
2022-12-05 12:46:52 +01:00
wmayer
2062f9ce87
clang: fix warnings [-Winconsistent-missing-override]
2022-08-09 17:36:25 +02:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
wmayer
656408615a
PD: fix ProfileBased::getSupportFace() to also handle the case where a support face is selected
2022-07-16 16:08:09 +02:00
wmayer
882125c1c6
PD: rename getUpToFaceFromLinkSub to getFaceFromLinkSub
2022-07-16 15:59:54 +02:00
wmayer
5e0789e2f1
PD: fix const correctness in ProfileBased
2022-02-28 18:10:58 +01:00
Uwe
7c44008e2d
[PD] App: remove unused includes
2022-02-20 20:41:46 +01:00
Uwe
dc332a5ca0
[PD] moves Extrude code to FeatureExtrude
...
* [PD] moves Extrude code to FeatureExtrude
- since the Extrude code is only used by Pocket/pad, it should better in FeatureExtrude
2022-02-12 19:37:53 +01:00
Uwe
cfdf334b7f
[PD] add option to create tapered Pad / Pocket
...
This PR adds the same functionality as provided by Part Extrude.
The used code parts are sorted out to a new helper function that is used by Part and PartDesign.
2022-02-02 01:04:06 +01:00
wmayer
501c3dc657
PD: fix ProfileBased::getAxis
...
Introduce an enum to verify the axis depending on the used context.
* For helix no restriction is needed
* For Pad/Pocket the axis must not be parallel with the sketch plane
* For Revolve/Groove the axis must not be perpendicular with the sketch plane
2021-12-02 17:24:18 +01:00
Uwe
640ecca830
[PD] fix typos
2021-11-13 00:29:33 +01:00
wmayer
9fe1f56824
PD: fix ProfileBased::Restore to not affect sub-classes that need to handle changed property types/names
2021-09-15 15:45:24 +02:00
wmayer
bc5311b3ee
PD: fixes #0004567 : Pattern from a feature type UpToFace and Offset > copy whole body
2021-02-24 17:08:20 +01:00
wmayer
2389b4779a
PD: [skip ci] code refactoring
...
Move adding offset to face from getUpToFace() to addOffsetToFace()
2021-02-24 16:08:03 +01:00
David Osterberg
f0d3e19a4e
PartDesign: Fix hardcoded through all distance in ProfileBased
...
Before the throughall distance was 10 m, which is not enough for
many applications. The fix is to use the bounding box of the base shape
together with the sketch profile to calculate dynamically a large enough
length.
2021-02-12 18:37:56 +01:00
David Osterberg
59ec3cb141
PartDesign: New features AdditiveHelix and SubtractiveHelix
...
These features, based on the code for the Pipe class, allow the user
to simply create a helical sweep within PartDesign workbench.
Sample application is threads, springs, coils, augers, etc.
Also, remove needless requirement for positive cone angle on helixes.
Thanks to @bitacovir for helping with the icons
Thanks to @chennes for review
Thanks to @vosk for review
Thanks to @wwmayer for review
Enforce that links stay within scope for ProfileBased features
This also ensures that the Body itself is not used for creating features within
the body, causing a "Graph not a DAG" error.
2021-02-04 13:01:12 +01:00
Zheng, Lei
4dd16c58ed
PartDesign: allow multiple faces in feature ProfileBased
2020-03-20 16:38:00 +01:00
wmayer
972ec50f28
fixes #0003979 : Pocket with mode 'up to face' doesn't work correctly
2019-06-15 23:54:10 +02:00
DeepSOIC
46621a85d4
PartDesign: Refine property for primitives #3488
2018-09-11 07:16:49 +02:00
DeepSOIC
27701ae852
PartDesign: #2683 add Refine property
...
resolves #2683
Adds Refine property to sketch-based and transformation features. The
property is initialized according to preferences, and can be altered in
property editor on per-feature basis.
2018-01-20 13:58:39 +01:00
Unknown
ad457ba96b
Misc. Typos
2017-10-09 19:59:33 +02:00
Eivind Kvedalen
04065564ae
Make PartDesign::ProfileBased::onChanged(...) protected (not private).
2017-07-26 23:39:00 +02:00
wmayer
6347d48449
remove duplicate and unused class
2016-11-07 12:28:22 +01:00
DeepSOIC
320763d78a
PartDesign: port to use FaceMaker
...
Minimalistic port. Only re-use code that was duplicate before.
2016-10-01 23:13:44 +03:00
wmayer
664cf65d26
fix -Wextra in PartDesign
2016-09-22 18:34:56 +02:00
Stefan Tröger
83ce80f133
fixes #0002512 Allow multi-face part design tools
2016-05-18 23:54:18 +02:00
Stefan Tröger
f712f5e4ac
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
55f3f52f54
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
4b48362ec6
PartDesign: refactor positionBySketch
...
Rename it to positionByPrevious. Rewrite.
Rewrite SketchBased::transformPlacement.
2016-04-12 18:12:11 +02:00
DeepSOIC
03be8e1bba
PartDesign: tidy up sketch support and base feature confusion
...
Not complete, transformPlacement and positionBySketch are pending...
2016-04-12 18:12:11 +02:00
Stefan Tröger
9a2f5eea65
allow non-sketch based additive and subtractive features
2016-04-12 18:12:06 +02:00
jrheinlaender
f1b5a6044d
Allow extruding from a datum plane to another face or plane, optionally with an offset
2016-04-12 18:11:53 +02:00
jrheinlaender
75dc92fd90
Enable edges and datum lines as rotation axis for Groove and Revolution features
2016-04-12 18:11:51 +02:00
jrheinlaender
d8462d135b
Miscellaneous fixes
2016-04-12 18:11:50 +02:00
jrheinlaender
f954a51430
Pad/Pocket: Allow extrude up to a datum plane
2016-04-12 18:11:50 +02:00
jrheinlaender
b815656649
Refactored code of SketchBased features to have common code in an abstract superclass
2016-04-12 18:11:50 +02:00
jrheinlaender
0bcdb0511f
Added Reversed button to Pocket UI if the sketch plane is a datum plane
2016-04-12 18:11:50 +02:00
jrheinlaender
df7983fe10
Moved BaseFeature Property from SketchBased to PartDesign::Feature because all PartDesign features need it
2016-04-12 18:11:48 +02:00
jrheinlaender
c93d425393
Renamed SketchBased::Base property to BaseFeature because of name clash with Revolution::Base property
2016-04-12 18:11:48 +02:00
jrheinlaender
6235385c5a
Create Base property for SketchBased features and changed Pad to use it
2016-04-12 18:11:47 +02:00
wmayer
3cc032c11e
+ Add option to refine solid on sketch-based features
2013-09-21 09:16:44 +02:00
wmayer
14ced6b202
0001133: crash at padding a sketch with 42 holes
2013-07-03 07:56:36 +02:00
logari81
85585cf49e
PartDesign: Enable manual alignment tool for PartDesign features
2012-12-10 13:58:44 +01:00
jrheinlaender
8371982dfc
Added check to Revolution and Groove for sketch axis intersecting the sketch face
2012-12-04 10:59:44 +01:00
wmayer
d7d6bcda37
0000871: Changing size rotates other sketches
2012-11-07 20:01:36 +01:00
wmayer
e432930f21
Algorithm to do a geometric matching (planes only)
2012-11-05 14:50:02 +01:00
wmayer
efd61d256d
Algorithm to remap support shape, fix bugs in pad/pocket
2012-11-04 16:48:52 +01:00