Commit Graph

21029 Commits

Author SHA1 Message Date
carlopav
f433d7f63d Draft: bugfix in Snapper 2020-05-12 10:03:52 +02:00
vocx-fc
8d0350ef0c 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
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
wmayer
4d8db6474b Doc: [skip ci] fix check for doxygen 2020-05-11 10:55:47 +02: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
wandererfan
fdd99d2b28 [Gui]fix canConvert for Qt4 2020-05-10 07:14:12 -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
wmayer
bdea1ec0f6 App: [skip ci] remove duplicate check 2020-05-09 16:44:08 +02:00
Zheng, Lei
9c4c8acb6e App: fix some property's setPathValue() 2020-05-09 16:36:33 +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
wmayer
8c9cdef2a9 Gui: [skip ci] use a widget's text property instead of casting to a specific subtype
This way DlgExpressionInput can be used together with the class InputField
2020-05-09 11:25:30 +02:00
0penBrain
ba4d70e7a4 [Expression] Default to current 'constant' value when editing if no expression set yet ; fixes #4298
Move signals connecting before value initialization so it's not needed to call them manually
 Only spin boxes implemented (should be the major usage)
2020-05-09 10:20:30 +02: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
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
Daniel Wood
35b50ba4a4 PEP8 formatting fixes 2020-05-08 07:41:37 +01:00
Daniel Wood
cdb3b669c6 clean up comments and unused code 2020-05-08 07:30:53 +01:00
Daniel Wood
95fb174386 Simulation - only load active operations 2020-05-08 07:16:57 +01:00
Tobias Czauderna
c2818d9159 Mesh: IDTF export, resource name used should exactly match name of existing resource 2020-05-07 13:51:26 +02:00