Commit Graph

396 Commits

Author SHA1 Message Date
Peter Lama
e972a3c444 Enable creating PD Sweep along closed path 2017-09-29 00:41:59 +02:00
wmayer
14f6de974b fix typos 2017-09-25 22:36:31 +02:00
wmayer
3370d20a0d fixes #0003146: Crash in PartDesign Sweep 2017-09-25 15:13:58 +02:00
wmayer
366d8bac35 if an Undo/Redo is performed then do nothing inside the body feature 2017-09-21 19:00:26 +02:00
Stefan Tröger
6ae8b6482e PartDesign: Make Base Feature compatible with GeoFeatureGroup. fixes #0003080
The Original BaseFeature implementation had some serious issues with scoped links. It failed completely for e.g. sketches on the BaseFeature as it made a local link to refere to a out of body object. The only solution to make this work correctly is to add a proxy object into the body which is alloed to exactly that, to link outside oof the body. Something like shapebinder.
2017-09-21 11:40:14 +02:00
Stefan Tröger
3da647a7e0 PartDesign: Allow boolean Fuse/Common without base feature 2017-09-21 11:26:47 +02:00
wmayer
c9fb691afe fixes #0003161: Shape Binder not at expected place 2017-09-19 15:01:13 +02:00
wmayer
fde42545ba fix various coverity issues 2017-09-15 11:48:38 +02:00
wmayer
d5077eae1e expose FeatureAddSub to Python, fixes #0000955 2017-09-14 15:09:53 +02:00
wmayer
39b67da0d7 check for null shapes before performing boolean operation 2017-09-10 12:41:46 +02:00
wmayer
4ca7224312 support of loading old projects with shape binder or PartDesign boolean 2017-09-09 22:47:28 +02:00
wmayer
3a0c3499e5 improve whitespaces 2017-09-09 18:07:46 +02:00
Stefan Tröger
8841fb0805 Make PartDesign::Boolean work with new Link structure
This is the first feature that used GeoFeatureGroupExtension and required links to the groups inside as well as to things on the same level. Hence a few modifications to link scopes have been nesseccary.
2017-09-09 16:55:55 +02:00
Stefan Tröger
b6f361b62b PartDesign: ShapeBinder can link globally 2017-09-09 16:47:07 +02:00
wmayer
0d617f97d6 Port to occ7.2:
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
Kurt Kremitzki
0639b7f113 PDN: Add simple hole test 2017-08-30 10:41:55 -03:00
wmayer
e77f8d2822 fix compiler warning 2017-08-12 17:26:11 +02:00
Kurt Kremitzki
91bc27b0dc Fix return type 2017-08-12 14:48:57 +02:00
Kurt Kremitzki
216bcbbca2 PDN: Add catch statements for Revolution perpendicular axis 2017-08-12 14:43:45 +02:00
Kurt Kremitzki
0607501360 PDN: Check both parallel and antiparallel cases before trying Revolve 2017-08-12 14:09:39 +02:00
Eivind Kvedalen
91bafde563 PartDesign Hole Feature implemented.
Minor contributions from Mateusz Skowroński <skowri@gmail.com>
2017-07-26 23:39:00 +02:00
Eivind Kvedalen
dc89784d43 Make PartDesign::ProfileBased::onChanged(...) protected (not private). 2017-07-26 23:39:00 +02:00
Kurt Kremitzki
b5682d92ed PDN: Add tests for Boolean, MultiTransform, Primitives, Shapebinder 2017-07-26 23:16:12 +02:00
wmayer
91cc8a4817 try to fix tolerance if shape is broken after fillet/chamfer operation 2017-07-24 12:29:46 +02:00
wmayer
6fd846ee22 handle exception thrown by BRepBuilderAPI_RefineModel 2017-07-23 15:46:57 +02:00
Kurt Kremitzki
8f6b79e37c Add linear and polar pattern tests 2017-07-11 02:27:38 -05:00
Kurt Kremitzki
6c00984f5f Add dressup feature test structure 2017-07-11 02:27:38 -05:00
Kurt Kremitzki
a09e3a8cfd Break out PartDesign tests into own folder 2017-07-11 02:27:38 -05:00
Stefan Tröger
2e2c12219b Partially fix PartDesign move test 2017-06-19 15:37:09 +02:00
Stefan Tröger
1d10dd2835 Extend python interface for groups and fix test cases 2017-06-19 15:37:09 +02:00
Stefan Tröger
ce9a078584 GeoFeatureGroup: Handle drag into document 2017-06-19 15:37:09 +02:00
Kurt Kremitzki
0e2cb14c71 Show failure message when part design transformation does not intersect 2017-06-16 00:15:22 +02:00
Abdullah Tahiri
f14532c93f Fix transformation support, so that support is updated with any previous transformation executed 2017-06-16 00:15:22 +02:00
Abdullah Tahiri
0b3bec3396 Fillet Feature: Return if radius <= 0 2017-05-30 23:09:29 +02:00
Peter Lama
fa4bebf2e0 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
wmayer
692dda9082 fix crash when trying to drag and drop origin object in body object 2017-04-06 19:16:27 +02:00
AjinkyaDahale
65342e53e7 Fixed Typos 2017-03-19 18:09:15 -03:00
AjinkyaDahale
f139ecd22b Possible solution to a problem in pad/pocket up-to-face
Somehow we weren't able to pad/pocket up-to-face when the profile sketch
is made on a datum plane
2017-03-19 18:09:14 -03:00
Sergo
eda3620b71 couple of tests and fix to avoid crash on selected edge 2017-03-18 19:09:16 +01:00
Sergo
012f377e0b same axis and profile only for sketches 2017-03-18 19:09:16 +01:00
sergo
a2e35660cc fix getAxis for faces 2017-03-18 19:09:16 +01:00
Sergo
b55f33b41e set referenceaxis properly and fix getaxis 2017-03-18 19:09:16 +01:00
DeepSOIC
5e5b3f8b61 PartDesign: add ViewProviderPython
+ bind PartDesign::Feature to PartDesign::ViewProvider, and adjust
viewprovider of PartDesign::FeaturePython accordingly.
2017-03-04 19:16:39 -03:00
DeepSOIC
eae0d6594c PartDesign: update primitives to use PartDesign::FeaturePy 2017-03-04 19:16:39 -03:00
DeepSOIC
ec29adfb55 PartDesign: add FeaturePython
Opens a window to extend PartDesign with Python
2017-03-04 19:16:39 -03:00
Kunda
9410e751e9 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
wmayer
08f4fbcea9 resolve merge conflict 2017-03-02 13:47:10 +01:00
Ian Rees
4303384667 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01:00
wmayer
3507c97963 py3: ported PartDesign to python3 2017-03-01 17:19:33 +01:00
wmayer
5ba9056af1 spend own type for Python wrappers of FeaturePrimitive and BodyBase 2017-01-20 15:42:50 +01:00