Commit Graph

324 Commits

Author SHA1 Message Date
blobfish
4b2f107cc1 Part Design: support for overlapping and coincident patterns
Fixed crash after rejecting a MultiTransform dialog
    remove overlap check
    adding getSolid to cut operation
    add extrema method to part::checkinterference
    move refineshape call out of loops
    divideTools functions
2016-04-12 18:12:00 +02:00
Jan Rheinländer
1772eb70bc PartDesign::Transformed: Transformed shapes that touch are now rejected as overlapping in the interest of boolean operation stability 2016-04-12 18:12:00 +02:00
jriegel
0b28a757ab Workaround for a wired linker problem on Windows. Actually still not solved... 2016-04-12 18:11:59 +02:00
jrheinlaender
fcea39b0d8 Enable multiple originals for the transformed features 2016-04-12 18:11:56 +02:00
jrheinlaender
a59901ee4b Some code unification for DressUp features 2016-04-12 18:11:56 +02:00
jrheinlaender
f7874306b9 Allow Pyton features inside bodies 2016-04-12 18:11:55 +02:00
jrheinlaender
4623f3a7d3 Some code cosmetics 2016-04-12 18:11:55 +02:00
jrheinlaender
cdb49c28e5 Allow datum point and line from circular reference 2016-04-12 18:11:55 +02:00
jrheinlaender
b6932b0bdb Allow datum points and lines to have offsets from their references 2016-04-12 18:11:55 +02:00
jrheinlaender
99fe9b6178 Moved Body::isAfterTip() to BodyBase 2016-04-12 18:11:55 +02:00
jrheinlaender
9dba4c01e2 Added some comments about things to be fixed in the future 2016-04-12 18:11:55 +02:00
jrheinlaender
f9b0e5908a Allow transforming a Pattern feature into a MultiTransform feature 2016-04-12 18:11:54 +02:00
jrheinlaender
d550506f28 Fix handling of MultiTransform features when migrating to Body 2016-04-12 18:11:53 +02:00
jrheinlaender
6a02b5849f Body: Transformed Features inside a MultiTransform are not considered to be solid features 2016-04-12 18:11:53 +02:00
jrheinlaender
4d674831d3 Fix broken placement of boolean operations 2016-04-12 18:11:53 +02:00
jrheinlaender
e735cf7c3a Allow moving features between bodies from context menu of tree view 2016-04-12 18:11:53 +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
1e615043cd Give user feedback about not being able to extrude UpToFace if sketch is on a datum plane 2016-04-12 18:11:52 +02:00
jrheinlaender
c5358ee307 Prevent unknown exception thrown while loading a part 2016-04-12 18:11:52 +02:00
jrheinlaender
34acc5f8b4 Allow creating a datum plane tangential to a cylinder and parallel to another plane 2016-04-12 18:11:52 +02:00
jrheinlaender
04e5d83366 Revolution/Groove: Check that rotation axis is coplanar with sketch plane 2016-04-12 18:11:51 +02:00
jrheinlaender
026242231e Changed tree ordering of booleans and bodies 2016-04-12 18:11:51 +02:00
jrheinlaender
106efeec02 Miscellaneous fixes 2016-04-12 18:11:51 +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
999b1c028b Allow inserting at the beginning of a body 2016-04-12 18:11:51 +02:00
jrheinlaender
a8e4f0f1ca Allow Pad and Pocket up to a face with sketch located on datum plane 2016-04-12 18:11:51 +02:00
jrheinlaender
c4fe27d093 Miscellaneous fixes 2016-04-12 18:11:51 +02:00
jrheinlaender
638cfd2682 Allow booleans of bodies in PartDesign 2016-04-12 18:11:51 +02:00
jrheinlaender
ed2657380c Fix bug that produced 'cannot update representation' error message on adding a fillet 2016-04-12 18:11:51 +02:00
jrheinlaender
b18958b3d9 Miscellaneous fixes 2016-04-12 18:11:51 +02:00
jrheinlaender
934c68faa5 Draft: Accept datum lines and planes as references 2016-04-12 18:11:50 +02:00
jrheinlaender
d8462d135b Miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender
ffc09ec50c Duplicate Selection: Add duplicated features to active Body 2016-04-12 18:11:50 +02:00
jrheinlaender
880587a627 Allow datum lines and planes for Transformed features' references 2016-04-12 18:11:50 +02:00
jrheinlaender
4645fdcd37 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
ba17aa2839 Try to be consistent with sketch plane orientation PartDesign module <-> Sketcher module 2016-04-12 18:11:50 +02:00
jrheinlaender
fe2e490645 Allow selecting back of base planes, miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender
0e8921c21f Simplified datum features by making use of the placement property 2016-04-12 18:11:50 +02:00
jrheinlaender
f6fb4814d1 Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
2aea9bbf96 Automatically adjust datum line/plane size to Body bounding box 2016-04-12 18:11:49 +02:00
jrheinlaender
a6431ee5cf Improved bounding box calculation for datum feature display size 2016-04-12 18:11:49 +02:00
jrheinlaender
02dfb8551d Moved some methods from PartDesign::Body to Part::BodyBase so the SketchObjects will be removed cleanly from the Body when deleted 2016-04-12 18:11:49 +02:00
jrheinlaender
5b3d5e6bd8 Moved generic Datum class to Part module to avoid Sketcher dependency on PartDesign 2016-04-12 18:11:49 +02:00
jrheinlaender
20ba1983a4 Datum planes with offset and angle. Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
bb1a3a532f Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
7a6c399a14 Make Datum features pickable 2016-04-12 18:11:49 +02:00
jrheinlaender
6effd7d864 Visualization of datum lines and planes 2016-04-12 18:11:49 +02:00
jrheinlaender
b7fe543ca9 Fix compile error after rebase 2016-04-12 18:11:49 +02:00
jrheinlaender
1c1531278c Specialized viewproviders for datum features, create points from intersection of edges and faces 2016-04-12 18:11:49 +02:00
jrheinlaender
45af3e2a78 Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
7330d4357e Made the rest of the PartDesign features aware of the Body 2016-04-12 18:11:49 +02:00
jrheinlaender
4f80b72508 Work on Gui of Datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
d8d945a8b6 Work on reference selection for Datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
3b81168e41 Second step for implementing datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
63f782d8f0 More bug fixes for Body insertion/deletion of features 2016-04-12 18:11:48 +02:00
jrheinlaender
ee47c53339 Bug fixes for Body feature insert/remove functionality 2016-04-12 18:11:48 +02:00
jrheinlaender
3e4986f163 Add skeleton support for datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
1ec99c5d32 Work on inserting, removing, hiding and showing features in the body 2016-04-12 18:11:48 +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
7d84c7e6f0 Made Pocket, Revolution and Groove aware of the SketchBased::BaseFeature property 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
2f658733b7 Feature tree: Insert mode for SketchBased features 2016-04-12 18:11:47 +02:00
jrheinlaender
6235385c5a Create Base property for SketchBased features and changed Pad to use it 2016-04-12 18:11:47 +02:00
jrheinlaender
acd88878af When switching to the PartDesign workbench, activate the Body feature that was active when the document was last saved,
and move the selection to its Tip feature so that the user can start creating new features right away
2016-04-12 18:11:47 +02:00
jrheinlaender
94b6b89610 Enhanced Pick dialog for PartDesign feature's sketches 2016-04-12 18:11:47 +02:00
jrheinlaender
5dbc66ae84 Integrated PartDesign::Pad into Body feature workflow 2016-04-12 18:11:47 +02:00
jriegel
fc7db6369c Assembly import script & PartDesign Solid object 2016-04-12 18:11:46 +02:00
jriegel
aa216ee69d Some fixes in Body visualls (ongoing) 2016-04-12 18:11:46 +02:00
jriegel
50652895d4 3D subgrouping for Body 2016-04-12 18:11:46 +02:00
jriegel
bf26a422cb clean up in- and out-list code 2016-04-12 18:11:45 +02:00
jriegel
903855ad82 Automatic WB switching and Active PartDesign body 2016-04-12 18:11:45 +02:00
jriegel
b825571562 implement active body in PartDesign 2016-04-12 18:11:45 +02:00
jriegel
6700512efe Add some commands to assembly 2016-04-12 18:11:44 +02:00
wmayer
19bc5077c8 + perform validation check after partdesign chamfer operation 2016-04-09 11:47:31 +02:00
wmayer
87293fac9b + add extra check if fillet operation returns valid shape 2016-04-04 14:26:27 +02:00
wmayer
91d6e24f1e + simplify porting of PartDesign module to Python3 2016-01-20 17:00:43 +01:00
wmayer
50d7793442 + introduce proper enum for property status to replace plain integers 2016-01-01 15:36:24 +01:00
wmayer
6944658bd4 + Add parametric feature to create face from sketches 2015-11-12 19:44:24 +01:00
Eivind Kvedalen
be5e79601a PartDesign: Fixed similar issue compared to #2302 with unit handling when using an expression for the chamfer size. 2015-11-09 21:37:24 +01:00
Eivind Kvedalen
acd0f6a79e PartDesign: Fixed issue #2302 with unit handling when using an expression for the fillet radius. 2015-11-09 21:37:08 +01:00
wmayer
b7be7aec13 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
wmayer
60062892a6 + backward compatibility of Linear and Polar pattern 2015-09-22 18:04:07 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Eivind Kvedalen
ddfbe349cf PartDesign: Added support for expressions. 2015-09-21 14:51:09 +02:00
wmayer
7d98705396 + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d95003e92c + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
wmayer
00a124cea1 + Pad type UpToFirst and UpToFace doesn't produce expected results. 2015-05-16 14:19:20 +02:00
wmayer
a6436f7d12 + fixes #0001655: Pocket type UpToFirst and UpToFace doesn't produce expected results. 2015-05-16 12:44:07 +02:00
Sebastian Hoogen
debca91e98 remove support for automake 2014-11-26 10:26:30 +01:00
Sebastian Hoogen
5e51a6cdf7 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
cc775f9254 + fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized 2014-08-26 19:14:13 +02:00
wmayer
f91c64aba9 + fix crash when trying to edit broken revolve object 2014-07-12 16:13:13 +02:00
wmayer
068452f0ac + add '_' as prefix for PartDesign module to fix name clash 2014-05-10 14:12:25 +02:00
wmayer
6b89c03181 Add initial support for different libdir (jobermayr) 2014-05-10 12:57:38 +02:00
wmayer
3b6d07833d + compile with clang 2014-05-05 16:24:01 +02:00
mdinger
337f05d56e Move python module prefix and suffix properties into macro to be set together 2014-05-03 16:00:30 +02:00
wmayer
1a7cea9b59 + Fix prefix of Python extensions built with MinGW 2014-04-30 18:22:52 +02:00
mdinger
5fbc308ce4 Comment to document why this module alone is installed differently 2014-04-30 13:41:17 +02:00
mdinger
88a3e5bf0e Add 4th optional parameter to set linux install path 2014-04-30 13:41:17 +02:00
mdinger
a17cce3559 Remove unnecessary quotes. 2014-04-30 13:41:16 +02:00
mdinger
1942bb7906 Apply SET_BIN_DIR macro to Mod 2014-04-30 13:41:13 +02:00
wmayer
e47b85994c + fix possible crashes in mirror and polar pattern feature 2014-03-31 16:35:22 +02:00
wmayer
aaeba38e78 + Fix crash when editing the linear pattern feature, suppress some warnings in release mode 2014-03-31 14:42:55 +02:00
wmayer
225184270a + set correct group information to pad and pocket properties 2014-03-21 15:18:26 +01:00
jriegel
6d1d55dc15 Implement the python gear feature 2014-02-16 22:19:59 +01:00
wmayer
893a5d3a86 + PropertyLength inherits PropertyQuantity 2014-02-13 17:03:48 +01:00
wmayer
e9b275c7e6 + support loading projects with old pad features, fix critical bug where the unit gets replaced 2014-02-12 15:14:02 +01:00
jriegel
a97f53a5e7 Fully implement Units in PartDesign Pad 2014-02-09 16:23:06 +01: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
jriegel
30b189c1da Merge branch 'refs/heads/double-precision-werner'
Conflicts:
	src/App/Document.cpp
	src/App/PropertyGeo.cpp
	src/App/PropertyStandard.cpp
	src/Base/Reader.cpp
	src/Base/Reader.h
	src/Gui/propertyeditor/PropertyItem.cpp
	src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
	src/Mod/Inspection/Gui/ViewProviderInspection.cpp
	src/Mod/Mesh/App/MeshProperties.cpp
	src/Mod/Part/App/TopoShapeFacePyImp.cpp
	src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel
44c07da571 integrate Quantities into PropertyView and activate preferences again 2013-09-25 21:59:24 +02:00
jriegel
664c1d4862 Integrate Werners & Jans double branch
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02:00
wmayer
3cc032c11e + Add option to refine solid on sketch-based features 2013-09-21 09:16:44 +02:00
wmayer
bebd37a39a 0000459: Revolving a single line sketch fails 2013-07-10 15:26:31 +02:00
wmayer
f86c65644c Try alternative sort method 2013-07-09 10:40:37 +02:00
wmayer
14ced6b202 0001133: crash at padding a sketch with 42 holes 2013-07-03 07:56:36 +02:00
jriegel
60c4b3ecc4 Treat OCE in LibPack8.x with respect to debug/release 2013-03-31 00:16:17 +01: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
efc29e4422 Move from float to double 2013-03-23 15:12:04 +01:00
wmayer
ce0e6e5cef Make FeaturePython Python binding a template class to avoid code duplication 2013-03-22 00:34:18 +01:00
jrheinlaender
8235008ae7 PartDesign: Show overlapping transformations as rejected 2013-02-26 11:29:03 +01:00
wmayer
3b80f64e6c 0001013: 0.13 program crash 2013-02-17 08:43:21 +01:00
logari81
046504234f PartDesign: Intelligent defaults for the Reversed flag of Revolution/Groove features 2013-02-14 16:06:23 +01:00
logari81
ccf15f968c PartDesign: Add method suggesting Revolution Reversed property so that material is always added to the support 2013-02-14 00:39:10 +01:00
jrheinlaender
8eef02111d PartDesign: Add method suggesting Groove Reversed property so that material is always removed from the support 2013-02-14 00:32:02 +01:00
jrheinlaender
18da371546 Re-worked Part::checkIntersection to give less false positives for pattern features 2013-02-08 14:32:00 +01:00
logari81
39792f0773 PartDesign: Fix mirrored feature with respect to custom sketch axis 2013-01-18 09:51:50 +01:00
logari81
525cddaaf3 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
logari81
afb3355193 Make Multitransform children inherit its Placement 2013-01-06 23:33:00 +01:00
wmayer
8b006b27dd Disable Placement editing for part design transformation features 2012-12-18 10:35:30 +01:00
wmayer
9cbb88941f Improve algorithm to check intersection of axis and sketch 2012-12-16 16:32:17 +01:00
wmayer
043dc60403 Do some error checking for sketch based features 2012-12-13 20:59:53 +01:00
wmayer
0a6979e0b9 Improve algorithm to check intersection of axis and sketch 2012-12-13 19:11:37 +01:00
wmayer
22cfda67de Fix bug in check for intersection of axis with sketch 2012-12-11 20:06:56 +01:00
logari81
85585cf49e PartDesign: Enable manual alignment tool for PartDesign features 2012-12-10 13:58:44 +01:00
wmayer
515f30c1a0 0000906: Segmentation Fault when try to use linear pattern on Part, fix some issues with selection gate 2012-12-07 14:01:49 +01:00
wmayer
64e1c3635d Fix build failures with automake 2012-12-06 20:13:24 +01:00
wmayer
f9cff4c8a2 Improved algorithm to detect intersections of rotation axis and sketch 2012-12-06 13:21:10 +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
8371982dfc Added check to Revolution and Groove for sketch axis intersecting the sketch face 2012-12-04 10:59:44 +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
3871b75d3e Some notes on pad and draft features for future developments 2012-12-04 10:59:41 +01:00
jrheinlaender
0773311d5b Created Draft feature for PartDesign 2012-12-04 10:59:41 +01:00