Commit Graph

16328 Commits

Author SHA1 Message Date
vocx-fc
09e47f43a9 Draft: add new Gui Command for Fillet 2020-05-13 11:37:56 +02:00
vocx-fc
785023d898 Draft: split Fillet code into various modules
The original code was in `DraftFillet.py` which is split
into a different modules like the rest of the workbench.

The object code is in `draftobjects`, the viewprovider
is in `draftviewproviders`, and the function to create it
is in `draftmake`.
2020-05-13 11:37:56 +02:00
Zolko
d81178ad61 setting Datum Line size manually 2020-05-13 11:23:28 +02:00
wandererfan
167769cbe6 [TD]Highlight colour set in wrong class 2020-05-12 22:52:40 -04:00
wandererfan
51258d701f [TD]Fix wrong scale in Section 2020-05-12 22:52:40 -04:00
sliptonic
e7617262d2 Merge pull request #3443 from Russ4262/UnifiedProfile
Path:  Combine Contour, Profile Faces and Profile Edges into unified Profile operation
2020-05-12 12:06:36 -05:00
wmayer
1d7299391c Mesh: [skip ci] cleanup cylinder fit 2020-05-12 15:11:01 +02:00
wmayer
484d2578d7 PartDesign: [skip ci] fix ambiguous widget name 2020-05-12 14:30:53 +02:00
Armandas Jarušauskas
be82131803 Fixed issues introduced in #3456
- Copy-paste error when setting angle dimensions.
- Max angle limit set to 180 degrees.
2020-05-12 14:29:28 +02:00
wandererfan
facefa8f46 [TD]fix vertical section line and scale 2020-05-12 07:47:51 -04:00
wmayer
4bc618ca5e TechDraw: [skip ci] fix -Wconstant-logical-operand 2020-05-12 13:25:27 +02:00
Yorik van Havre
2a83c17b56 Arch: Fixed IFC export of Part Extrusions 2020-05-12 11:16:30 +02:00
carlopav
1379b541ea Draft: Bugfix to getCloneBase after objects splitting 2020-05-12 10:37:20 +02:00
luz.paz
d0d2096fc8 Fix typos [skip-ci]
Found via codespell v1.17.0.dev0  
``` 
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-05-12 10:04:29 +02:00
carlopav
aa572290b7 Draft: bugfix in Snapper 2020-05-12 10:03:52 +02:00
vocx-fc
a79664d3e3 Draft: small updates to the Annotation class
This annotation class implements `onDocumentRestored`
in order to add the `ScaleMultiplier` property to older
`Dimension`, `Label`, and `Text` objects.
2020-05-12 10:02:21 +02:00
vocx-fc
31792151c7 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
87f9c45cae 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
d3d52c57b4 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
9a2aa39538 Draft: remove repeated _DraftObject class in Draft.py 2020-05-12 10:00:41 +02:00
Bernd Hahnebach
99fed77233 Arch: unit test pep8, do not import multiple modules in one line 2020-05-11 21:38:37 +02:00
Bernd Hahnebach
e1313ccad8 Arch: add unit test for Pipe 2020-05-11 21:38:33 +02:00
Bernd Hahnebach
8f084bacf1 Arch: add unit test for Equipment 2020-05-11 21:38:33 +02:00
Bernd Hahnebach
75e2eecbb5 Arch: Equipment, fix for ifc 2x3 2020-05-11 21:38:31 +02:00
Bernd Hahnebach
cbd749df61 FEM: pep8 code formating 2020-05-11 18:02:49 +02:00
wmayer
15897238e1 remove deprecated std::unary_function 2020-05-11 13:55:54 +02:00
wmayer
5ece278c94 remove deprecated std::binary_function 2020-05-11 13:46:37 +02:00
Russell Johnson
e835bf45a7 Path: Update selection gates pertaining to unified Profile operation 2020-05-10 23:07:53 -05:00
Russell Johnson
4396789b04 Path: Improve geometry selection and Cancel operation error messages 2020-05-10 23:07:53 -05:00
Russell Johnson
ad03af3e43 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
e5b7a66d92 Path: Additional fixes and improvements to unified Profile operation 2020-05-10 23:07:53 -05:00
Russell Johnson
cf23bc6892 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
900059bc99 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
27c4db9a34 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
52fe25528a Path: Update 'Operation' panel visibility when 'Base Geometry' changes 2020-05-10 18:19:42 -05:00
Russell Johnson
16cf71bb7d 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
78735ddc06 Path: Add reference to parent class within child class 2020-05-10 18:19:42 -05:00
Russell Johnson
c5e577be89 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
25fc5137d6 [TD]minor py fixes 2020-05-10 18:06:40 -04:00
wandererfan
d7659c7741 [TD]Dimension Py Routine fixes 2020-05-10 18:06:40 -04:00
Bernd Hahnebach
87ef69ce22 FEM: calculix writer, fix regression added with 29d4cf5821 2020-05-10 21:02:59 +02:00
Armandas Jarušauskas
cce4aaab58 Added chamfer angle support to PartDesign. 2020-05-10 18:59:30 +02:00
wandererfan
9cf2e42404 [TD]oblique section lines 2020-05-10 11:03:15 -04:00
wandererfan
c7d59e8317 [TD]show section face pat hatch on restore 2020-05-10 11:03:15 -04:00
wandererfan
1f2d0b2300 [TD]load images at correct size 2020-05-10 11:03:15 -04:00
WandererFan
243ce53797 [TD]prevent extra recompute on X,Y change 2020-05-10 11:03:15 -04:00
sliptonic
8b9ca51d7d Merge pull request #3450 from dubstar-04/fixes/cycletime
[Path] - fixes/cycletime
2020-05-09 22:39:25 -05:00
shermelin
318e080623 [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
3fc7fd727b Translate user messages 2020-05-09 10:39:48 +01:00
Daniel Wood
d945e3c9fb Use PathLog for user notices 2020-05-09 10:35:55 +01:00