Commit Graph

16668 Commits

Author SHA1 Message Date
vocx-fc
5bff654a71 Draft: update ViewProviderWire properties
The improvements are done to `ViewProviderWire` which propagates
to many objects like Line, Wire (polyline), BSpline, BezCurve,
Fillet, etc.

The initialization of the properties is moved to a method
`_set_properties`. The properties `EndArrow`, `ArrowSize`,
`ArrowType` are created only if they do not exist.

This allows calling `ViewProviderWire(obj.ViewObject)`
to migrate an older object to this viewprovider
but without adding duplicated properties.

In particular, this is done to support the migration of the older
`Fillet` object.
2020-05-12 10:02:21 +02:00
vocx-fc
be1412831b Draft: update ViewProviderDraft properties
The improvements are done to `ViewProviderDraft` which propagates
to the majority of the Draft objects by derived classes
like `ViewProviederWire`.

The initialization of the properties is moved to a method
`_set_properties`. The properties `Pattern` and `PatternSize`
are created only if they do not exist.

This allows calling `ViewProviderDraft(obj.ViewObject)`
to migrate an older object to this viewprovider
but without adding duplicated properties.

In particular, this is done to support the migration of the older
`Fillet` object.
2020-05-12 10:02:21 +02:00
vocx-fc
de9c9a6be2 Draft: move arc_3points to the make package
Also import it in the `Draft` namespace so that is available
as `Draft.make_arc_3points`.

Use this new function in the unit test `drafttests.test_creation`,
in the GuiCommand `draftguitools.gui_arcs`, and in the
`draft_test_objects` script.
2020-05-12 10:00:41 +02:00
vocx-fc
8043b4bb8b Draft: remove repeated _DraftObject class in Draft.py 2020-05-12 10:00:41 +02:00
Bernd Hahnebach
65fc2a74d6 Arch: unit test pep8, do not import multiple modules in one line 2020-05-11 21:38:37 +02:00
Bernd Hahnebach
4f8004c792 Arch: add unit test for Pipe 2020-05-11 21:38:33 +02:00
Bernd Hahnebach
e46d7c599c Arch: add unit test for Equipment 2020-05-11 21:38:33 +02:00
Bernd Hahnebach
42103271d9 Arch: Equipment, fix for ifc 2x3 2020-05-11 21:38:31 +02:00
Bernd Hahnebach
ea8bcb8e6e FEM: pep8 code formating 2020-05-11 18:02:49 +02:00
wmayer
0621cfa9d8 remove deprecated std::unary_function 2020-05-11 13:55:54 +02:00
wmayer
618089d6d8 remove deprecated std::binary_function 2020-05-11 13:46:37 +02:00
Russell Johnson
a17c3e97c6 Path: Update selection gates pertaining to unified Profile operation 2020-05-10 23:07:53 -05:00
Russell Johnson
dcd6f0ee97 Path: Improve geometry selection and Cancel operation error messages 2020-05-10 23:07:53 -05:00
Russell Johnson
0e48eb1e85 Path: PEP8 and LGTM cleanup; Remove extra addProperty() statement
Removed 'EnableRotation' property addition because it is done in PathAreaOp module upon creation and document restore.
2020-05-10 23:07:53 -05:00
Russell Johnson
edbe6c4f2f Path: Additional fixes and improvements to unified Profile operation 2020-05-10 23:07:53 -05:00
Russell Johnson
00226b6654 Path: Implement backwards compatibility
Source modules are replaced with pass-through code to send pre-existing profile-based operations to new unified `Profile` operation.
Path: Set line endings to Unix style
2020-05-10 18:19:42 -05:00
Russell Johnson
2309343b29 Path: Integrate unified Profile operation into PathWB
Remove Contour, Profile Faces, and Profile Edges icons from PathWB GUI.  Files are still fully in tact and available.
2020-05-10 18:19:42 -05:00
Russell Johnson
5d91213292 Path: Consolidate Contour, ProfileFaces, and ProfileEdges
No geometry selection defaults to Contour operation.
Path: Add new unified `Profile` operation modules
2020-05-10 18:19:42 -05:00
Russell Johnson
de666296f9 Path: Update 'Operation' panel visibility when 'Base Geometry' changes 2020-05-10 18:19:42 -05:00
Russell Johnson
ece3d797aa Path: Add method, 'updatePanelVisibility()'
New method allows one panel to update visibility on another panel.
2020-05-10 18:19:42 -05:00
Russell Johnson
e1322b9cf1 Path: Add reference to parent class within child class 2020-05-10 18:19:42 -05:00
Russell Johnson
39636cac21 Path: Initiate unification of ProfileFaces and ProfileEdges operations
ProfileFaces now accepts and processes faces and edges.
Full functionality is maintained (so far as tested) with respect to original operations.
2020-05-10 18:19:42 -05:00
wandererfan
85f0eddddc [TD]minor py fixes 2020-05-10 18:06:40 -04:00
wandererfan
37340eef0f [TD]Dimension Py Routine fixes 2020-05-10 18:06:40 -04:00
Bernd Hahnebach
f54eba784b FEM: calculix writer, fix regression added with 45dac67211 2020-05-10 21:02:59 +02:00
Armandas Jarušauskas
cc82cf3e50 Added chamfer angle support to PartDesign. 2020-05-10 18:59:30 +02:00
wandererfan
29c5528fde [TD]oblique section lines 2020-05-10 11:03:15 -04:00
wandererfan
b3290e0352 [TD]show section face pat hatch on restore 2020-05-10 11:03:15 -04:00
wandererfan
24139bf25d [TD]load images at correct size 2020-05-10 11:03:15 -04:00
WandererFan
92dfdf605b [TD]prevent extra recompute on X,Y change 2020-05-10 11:03:15 -04:00
sliptonic
ad815b491f Merge pull request #3450 from dubstar-04/fixes/cycletime
[Path] - fixes/cycletime
2020-05-09 22:39:25 -05:00
shermelin
9b8b128a0d [Sketcher] Project full circle, impl. missing cases
Implements cases for full (closed) circle, when not parallel to the
sketch plane.
2020-05-09 17:20:34 +02:00
Daniel Wood
45d9c23c27 Translate user messages 2020-05-09 10:39:48 +01:00
Daniel Wood
c9dc4963d9 Use PathLog for user notices 2020-05-09 10:35:55 +01:00
Daniel Wood
38a47daca7 PathOp PEP8 Formatting Fixes 2020-05-09 09:02:16 +01:00
Daniel Wood
0f1bdd30ed PathJob PEP8 Formatting Fixes 2020-05-09 08:51:36 +01:00
Daniel Wood
e906192d20 Clean up unused code and comments 2020-05-09 08:41:48 +01:00
Daniel Wood
1d9c1f89bd reword feedrate error when no tool controller is selected 2020-05-09 08:34:55 +01:00
Daniel Wood
526328dca5 Change feedrate error to warning. 2020-05-09 08:34:10 +01:00
Daniel Wood
9a43391b32 remove job level warning for cycle time error 2020-05-09 08:22:26 +01:00
Daniel Wood
88fe95201c Reword property description to reflect job rather than op 2020-05-09 08:12:17 +01:00
sliptonic
1b7edf4020 Merge pull request #3444 from dubstar-04/fixes/simulation-active-ops
[Path] - fixes/simulation
2020-05-08 21:50:00 -05:00
sliptonic
6e03ba19b7 Merge pull request #3445 from Zibibbo84/master
[Path] Adding HEIDENHAIN CNC Mill post-processor for PathScript
2020-05-08 21:49:24 -05:00
donovaly
74b2321cbf Merge branch 'master' of github.com:FreeCAD/FreeCAD into TD-DetailWork 2020-05-09 01:36:49 +02:00
Zibibbo84
b4b16fef40 Adding HEIDENHAIN CNC Mill post-processor for PathScript 2020-05-08 21:50:23 +02:00
wmayer
a3ca5341e1 ReverseEngineering: improve manual segmentation 2020-05-08 19:54:15 +02:00
wmayer
00ba1c43d0 ReverseEngineering: improve manual segmentation 2020-05-08 19:19:29 +02:00
Yorik van Havre
916a42397c Arch: Added SHP importer 2020-05-08 13:00:48 +02:00
Syres916
a6ea85ae99 [AddonManager] Backu=out CheckGitBinary fn 2020-05-08 11:35:59 +02:00
Syres916
d5983ff588 [AddonManager] Backout of Git Binary Version Lookup 2020-05-08 11:35:59 +02:00