Commit Graph

31 Commits

Author SHA1 Message Date
wmayer
4327cd5ccb Mod: make sure to call the base class' handleChangedPropertyType 2021-09-15 14:07:32 +02:00
donovaly
8b9afbd921 [PD] fix property issues
- Helix: the property Turns has the App::PropertyFloatConstraint thus also the pointer to it must have the same property

- LinearPattern and Helix: make constraints static class member (forgot this in commit 3704ad68)

- Draft: make the constraint const

- PolarPattern and LinearPattern assure that the header file is loaded at last to avoid potential troubles
2021-07-11 01:43:38 +02:00
donovaly
42bf2c8285 [PD] attempt to use more reasonable angle limit for drafts
using e.g. 89.999 as angle works. It might not be useful in real life, but the 89.99 seem arbitrary.
2021-03-03 15:56:21 +01:00
luz.paz
d38f18af23 PartDesign: [skip ci] fix header uniformity
This PR fixes header uniformity across all PartDesign WB files
2019-12-22 00:58:38 +01:00
wmayer
2c13387cef issue #0004225: FreeCAD crash when making draft in PartDesign [skip ci] 2019-12-16 15:26:34 +01:00
wmayer
727ba5a17e support to load old project files with PD draft object, restore handling with constraints 2019-09-14 19:57:31 +02:00
mwganson
ecd4038d3a [PartDesign] Draft angle property change from App::PropertyFloatConstraint to App::PropertyAngle 2019-09-14 19:05:29 +02:00
wmayer
7acdb56d92 Replace Base::Exception with appropriate subclass 2018-11-14 19:28:00 +01:00
wandererfan
7e781bcfd0 Revise multiple solids message 2018-07-13 10:23:42 -03:00
wandererfan
883a726d52 Fix #3401 warning on multiple solid
- PartDesign only uses the first result shape
  of an operation and discards the rest without
  warning.

- this also fixes #1707
2018-07-13 10:23:42 -03:00
wmayer
1b49a006cd fixes #0003416: Crash on draft operation for a face 2018-04-04 16:09:15 +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
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
Wolfgang E. Sanyer
7f4a437cc2 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
Stefan Tröger
83ce80f133 fixes #0002512 Allow multi-face part design tools 2016-05-18 23:54:18 +02:00
Alexander Golubev
797d6d3a11 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
b67c8bd34d PartDesign/FeatureDraft: fix a wronly placed NOT 2016-04-12 18:12:11 +02:00
jrheinlaender
a59901ee4b Some code unification for DressUp features 2016-04-12 18:11:56 +02:00
jrheinlaender
934c68faa5 Draft: Accept datum lines and planes as references 2016-04-12 18:11:50 +02:00
jrheinlaender
7330d4357e Made the rest of the PartDesign features aware of the Body 2016-04-12 18:11:49 +02:00
wmayer
cc775f9254 + fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized 2014-08-26 19:14:13 +02:00
Yorik van Havre
782cae1d22 Updated forum links to the new subdomain 2013-11-11 11:42:34 -02:00
Yorik van Havre
355942355f Updated links to the new forum 2013-11-06 19:32:45 -02:00
wmayer
f69b57459b Support to write vector list and float lists in old format, fix issues in property editor, move back to float for curvature type 2013-03-30 12:32:53 +01:00
jrheinlaender
8df84e76c4 PartDesign module moving float -> double 2013-03-25 17:42:29 +04:30
wmayer
ce0e6e5cef Make FeaturePython Python binding a template class to avoid code duplication 2013-03-22 00:34:18 +01:00
wmayer
1b957e98bc Fixes for OCC 6.3 2012-12-04 11:32:30 +01:00
jrheinlaender
40e3fa7a21 FeatureDraft: Omitted use of Remove() because of OCC bug 2012-12-04 10:59:46 +01:00
jrheinlaender
d763053925 Fixed two bugs, thanks to wmayer 2012-12-04 10:59:42 +01:00
jrheinlaender
ac6f7a434b Removed unnecessary boundary check for FloatConstraint property 2012-12-04 10:59:42 +01:00
jrheinlaender
0773311d5b Created Draft feature for PartDesign 2012-12-04 10:59:41 +01:00