Eric Trombly
397813f8b9
initial work for modifying path of imported gcode
2020-03-16 10:17:32 -05:00
triplus
946fd7352b
Draft - enable toggle grid command in edit mode
...
Some people would like to have more control over draft grid visibility while in Sketcher edit mode. Hence this PR enables the usage of Draft ToggleGrid command in Sketcher edit mode.
Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=34&t=43265&start=20#p374747
2020-03-12 09:26:48 -03:00
danreb25
621c30db50
getColors BUG correction
...
correction proposed as explained in the forum topic https://forum.freecadweb.org/viewtopic.php?f=3&t=42191
2020-03-12 09:25:05 -03:00
vocx-fc
81d7267e72
Draft: add new viewprovider icon for radius dimension
...
If it is a linear dimension show the older icon;
if it is a radius or diameter dimension show a new icon.
These three modes use the same Proxy class
and the same viewprovider class. Depending on the linked geometry
one icon or the other will be shown.
2020-03-12 09:12:11 -03:00
vocx-fc
dce7f63c02
Draft: add new viewprovider icons for specific objects
...
When there are many Draft objects in the tree view
the icon can be used to tell different objects apart quickly.
One icon is used for objects that are "straight lines",
whose Proxy is of type `Line`, `Wire` or `Polyline`; another icon
for "regular geometrical" shapes of type `Rectangle` or `Polygon`;
and another icon for "curved" objects of type `Circle`,
`Ellipse`, `BSpline`, `BezCurve`, or `Fillet`.
Other objects use the older default icon.
2020-03-12 09:12:11 -03:00
carlopav
8f2cd4526e
[Draft] Remove AddPoint and DelPoint commands from UI
...
[Draft] Edit: Remove Bezcurve interface from Edit Ui
[Draft] Edit: cleanup
small improvement to tooltip
2020-03-12 09:11:34 -03:00
carlopav
6d2c8b5df3
[Draft] Uniform length and xyz inputfield behaviour
...
Single returnPressed to accept point if cursor is parallel to xyz axis for bot setfocus on x and on length inputfields.
[Draft] Edit_updated tooltip
[Draft] DraftGui Further cleanup and bugfix
2020-03-12 09:11:34 -03:00
carlopav
4396b40fec
[Draft] DraftGui and DraftEdit Cleanup to remove AddPoint & DelPoint
...
Lines to be deleted in DraftGui in the future, are now commented.
2020-03-12 09:11:34 -03:00
carlopav
786eac8c01
[Draft] DraftGui Bugfix on selecting inputfields
...
https://forum.freecadweb.org/viewtopic.php?f=23&t=43145&p=367517#p367517
2020-03-12 09:11:34 -03:00
carlopav
bc17a8b3fa
[Gui] Reorder Drawstyle menu bugfix
...
bugfix
2020-03-12 09:10:41 -03:00
carlopav
a3dfd14c2a
[Gui] New Icons for HiddenLine and NoShading
...
Just an experiment, didn't try to compile
Gui: Changed icons in Draw Style menu
And also saved old icons in pure svg.
2020-03-12 09:10:41 -03:00
vocx-fc
7a622e7021
Draft: implement unit test for angular dimension
...
Previously the `makeAngularDimension` function produced
error messages in the report view due to internal rounding
of `App::PropertyAngles`.
This was fixed in `Base::Quantity`, which now supports
Python's `__round__` function.
2020-03-12 09:06:11 -03:00
vocx-fc
07a0bdcabe
Draft: implement unit test for radial dimension
2020-03-12 09:06:11 -03:00
vocx-fc
8c08fb27fb
Draft: cleanup of unit tests code
2020-03-12 09:06:11 -03:00
vocx-fc
9c6162f88c
Draft: unit test for arc by 3 points
2020-03-12 09:06:11 -03:00
vocx-fc
85bce262b4
Draft: add script to produce a test file as example
...
The test script can be run by the program's executable
or run as a macro.
```
freecad draft_test_objects.py
```
It can also be used as a Python module within the program
to create a test file on demand.
```
import drafttests.draft_test_objects as dt
dt.create_test_file()
```
The produced test file will be added in a different commit
once this commit is merged.
The idea is to have a test file created by a certain
stable version of the master branch. Then as the code
continues to change and grow, this file can be opened
with future versions of the program to test for compatibility
and regressions.
2020-03-12 09:06:11 -03:00
wandererfan
303335e8af
[TD]accept QGraphicsItem from Python
2020-03-12 07:58:38 -04:00
wandererfan
f34a7318bb
[GUI]Add PySide unwrapper for QGraphicsItem
2020-03-12 07:58:38 -04:00
wmayer
43ddab8e18
fixes #0004281 : Close Documant Recovery [skip ci]
2020-03-12 12:12:52 +01:00
wmayer
21d93b072f
Gui: [skip ci] improve whitespaces
2020-03-12 11:59:58 +01:00
wmayer
e91c2d6afd
fixes #0004286 : PartDesign hole: angle of the tapered hole does not match the tapered angle specified [skip ci]
...
See https://forum.freecadweb.org/viewtopic.php?f=13&t=44056#p375915
2020-03-12 11:39:09 +01:00
Bernd Hahnebach
4db6d7cafa
FEM: improve Python type checking and Python imports
2020-03-12 10:02:33 +01:00
Bernd Hahnebach
70f8bfbeef
FEM: qrc, add comment
2020-03-12 05:28:44 +01:00
Bernd Hahnebach
021ef0a0db
FEM: result mesh vp, automate get icon
2020-03-12 05:28:32 +01:00
Bernd Hahnebach
5a9459a256
FEM: rename icon, mesh result object
2020-03-12 05:28:24 +01:00
wandererfan
fb035a9a0d
[TD]remove Hatches from Display when deleted
2020-03-11 18:17:46 -04:00
wandererfan
fd9183727e
[TD]fix crash on RenderMode = NONE
2020-03-11 18:17:46 -04:00
wandererfan
15ffe5d9df
[TD]GOST welding symbols 64x64
2020-03-11 18:17:46 -04:00
wmayer
f0f3597da8
PartDesign: [skip ci] New sketch function doesn't try any more to edit a selected sketch
2020-03-11 15:14:18 +01:00
wandererfan
25642dc7d1
[TD]Fix Balloon tool tip
2020-03-11 09:33:54 -04:00
wandererfan
ffb71e16d4
[TD]SymbolScale property to FloatConstaint
2020-03-11 09:33:54 -04:00
wandererfan
bf66b52579
[TD]remove hard coded arrow types from UIs
2020-03-11 09:33:54 -04:00
wandererfan
c485904ab8
[TD]make Arrow enums translatable
2020-03-11 09:33:54 -04:00
wandererfan
b493b3841d
[TD]harmonize Arrow enums
2020-03-11 09:33:54 -04:00
luz.paz
268637a042
[skip ci] Fix typo (crowdin)
...
ref: https://crowdin.com/translate/freecad/549/en-eu#6577888
2020-03-11 10:56:45 +01:00
wmayer
bcae0c9139
App: [skip ci] reduce number of digits by 1 to display a NumberExpression
...
See also: https://forum.freecadweb.org/viewtopic.php?f=3&t=44057
2020-03-11 10:31:28 +01:00
Bernd Hahnebach
88a6c1db29
FEM: result mesh, fix icon in tree view
2020-03-11 07:53:16 +01:00
Bernd Hahnebach
1efca02213
FEM: fluid material, use correct icon in tree view
2020-03-10 23:13:20 +01:00
Bernd Hahnebach
ae2c3214a0
FEM: gmsh mesh vp, use gmsh mesh icon in tree
2020-03-10 22:44:25 +01:00
Bernd Hahnebach
8f56117c4e
FEM: constraint body heat source vp, fix tree view icon
2020-03-10 22:27:34 +01:00
Bernd Hahnebach
29871f3b63
FEM: mesh gmsh vp, comment
2020-03-10 22:23:00 +01:00
Bernd Hahnebach
c04344227d
FEM: mesh region, change type
2020-03-10 22:21:01 +01:00
Bernd Hahnebach
9e911be570
FEM: mesh group, change type
2020-03-10 22:20:08 +01:00
Bernd Hahnebach
512817808b
FEM: mesh boundary layer, change type
2020-03-10 22:19:14 +01:00
Bernd Hahnebach
358b6d6d7a
FEM: Python base view object, reactivate get icon method
2020-03-10 22:00:27 +01:00
Bernd Hahnebach
8db84e2c53
FEM: Python base object fix regression added with 71c9694824 by readding getstate method
2020-03-10 18:16:48 +01:00
donovaly
0e4ed2c625
AboutApplication.ui: add myself ;-)
2020-03-10 17:56:15 +01:00
wmayer
cc9f1c5a1e
[skip ci] App: print affected Python type if serializing via JSON fails
...
FemGui: add default implementations of __getstate__/__setstate__ to _ViewProviderFemResultMechanical
2020-03-10 16:32:31 +01:00
wmayer
9471ca52d7
Part: [skip ci] do not print an error message if a sub-object of a Part feature cannot be found
...
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=19&t=42216
2020-03-10 13:45:26 +01:00
WandererFan
383e20e941
[TD]fix Balloon label position
2020-03-10 07:36:38 -04:00