Commit Graph

396 Commits

Author SHA1 Message Date
Peter Lama
2b750c2acf Enable creating PD Sweep along closed path 2017-09-29 00:41:59 +02:00
wmayer
14985a8b0b fix typos 2017-09-25 22:36:31 +02:00
wmayer
47cd41f25c fixes #0003146: Crash in PartDesign Sweep 2017-09-25 15:13:58 +02:00
wmayer
7d4eafbab0 if an Undo/Redo is performed then do nothing inside the body feature 2017-09-21 19:00:26 +02:00
Stefan Tröger
de31528dda 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
30f930404c PartDesign: Allow boolean Fuse/Common without base feature 2017-09-21 11:26:47 +02:00
wmayer
3058b0c713 fixes #0003161: Shape Binder not at expected place 2017-09-19 15:01:13 +02:00
wmayer
770c9ce095 fix various coverity issues 2017-09-15 11:48:38 +02:00
wmayer
9d21da205f expose FeatureAddSub to Python, fixes #0000955 2017-09-14 15:09:53 +02:00
wmayer
832e18689b check for null shapes before performing boolean operation 2017-09-10 12:41:46 +02:00
wmayer
dcd7da480a support of loading old projects with shape binder or PartDesign boolean 2017-09-09 22:47:28 +02:00
wmayer
e260f9dabd improve whitespaces 2017-09-09 18:07:46 +02:00
Stefan Tröger
972b89d0a0 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
67734d161b PartDesign: ShapeBinder can link globally 2017-09-09 16:47:07 +02:00
wmayer
949c86d364 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
44f163178a PDN: Add simple hole test 2017-08-30 10:41:55 -03:00
wmayer
371cb0fa2a fix compiler warning 2017-08-12 17:26:11 +02:00
Kurt Kremitzki
7c87549e4b Fix return type 2017-08-12 14:48:57 +02:00
Kurt Kremitzki
d29bed15d1 PDN: Add catch statements for Revolution perpendicular axis 2017-08-12 14:43:45 +02:00
Kurt Kremitzki
fdf66b3e88 PDN: Check both parallel and antiparallel cases before trying Revolve 2017-08-12 14:09:39 +02:00
Eivind Kvedalen
04b176ebfb PartDesign Hole Feature implemented.
Minor contributions from Mateusz Skowroński <skowri@gmail.com>
2017-07-26 23:39:00 +02:00
Eivind Kvedalen
04065564ae Make PartDesign::ProfileBased::onChanged(...) protected (not private). 2017-07-26 23:39:00 +02:00
Kurt Kremitzki
c62a773cee PDN: Add tests for Boolean, MultiTransform, Primitives, Shapebinder 2017-07-26 23:16:12 +02:00
wmayer
9ff76fc813 try to fix tolerance if shape is broken after fillet/chamfer operation 2017-07-24 12:29:46 +02:00
wmayer
488c1a1fdf handle exception thrown by BRepBuilderAPI_RefineModel 2017-07-23 15:46:57 +02:00
Kurt Kremitzki
544e6587cb Add linear and polar pattern tests 2017-07-11 02:27:38 -05:00
Kurt Kremitzki
fb5aeeaa7b Add dressup feature test structure 2017-07-11 02:27:38 -05:00
Kurt Kremitzki
4eb59453e7 Break out PartDesign tests into own folder 2017-07-11 02:27:38 -05:00
Stefan Tröger
bfb95e3d12 Partially fix PartDesign move test 2017-06-19 15:37:09 +02:00
Stefan Tröger
f9200f4502 Extend python interface for groups and fix test cases 2017-06-19 15:37:09 +02:00
Stefan Tröger
183a4b4ef3 GeoFeatureGroup: Handle drag into document 2017-06-19 15:37:09 +02:00
Kurt Kremitzki
6f18ce63ed Show failure message when part design transformation does not intersect 2017-06-16 00:15:22 +02:00
Abdullah Tahiri
ff188383a1 Fix transformation support, so that support is updated with any previous transformation executed 2017-06-16 00:15:22 +02:00
Abdullah Tahiri
7863a63659 Fillet Feature: Return if radius <= 0 2017-05-30 23:09:29 +02:00
Peter Lama
a75a98ef27 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
a86583e833 fix crash when trying to drag and drop origin object in body object 2017-04-06 19:16:27 +02:00
AjinkyaDahale
b60fe48564 Fixed Typos 2017-03-19 18:09:15 -03:00
AjinkyaDahale
6a385f5ee3 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
02166ed4be couple of tests and fix to avoid crash on selected edge 2017-03-18 19:09:16 +01:00
Sergo
4325ea4e53 same axis and profile only for sketches 2017-03-18 19:09:16 +01:00
sergo
e77e6aa115 fix getAxis for faces 2017-03-18 19:09:16 +01:00
Sergo
bd3fef03a7 set referenceaxis properly and fix getaxis 2017-03-18 19:09:16 +01:00
DeepSOIC
0160478242 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
722ffe5ecb PartDesign: update primitives to use PartDesign::FeaturePy 2017-03-04 19:16:39 -03:00
DeepSOIC
d9c803ffce PartDesign: add FeaturePython
Opens a window to extend PartDesign with Python
2017-03-04 19:16:39 -03:00
Kunda
99c99006b8 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
wmayer
30979dcd64 resolve merge conflict 2017-03-02 13:47:10 +01:00
Ian Rees
ac9f475702 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01:00
wmayer
381419c267 py3: ported PartDesign to python3 2017-03-01 17:19:33 +01:00
wmayer
eeb7dd458a spend own type for Python wrappers of FeaturePrimitive and BodyBase 2017-01-20 15:42:50 +01:00