Commit Graph

21277 Commits

Author SHA1 Message Date
tomate44
bba3d2a322 fix long spiral bug similar to #954. Work around OCC bug #23314 2020-08-22 14:29:07 +02:00
carlopav
d4a727e771 Mesh: grouped view properties in ViewProviderMesh 2020-08-21 12:36:46 +02:00
carlopav
32a05f3602 PointsGui: ordered ViewProvider view properties 2020-08-21 12:36:46 +02:00
carlopav
9b71dd77b6 Part: grouped ViewProviderExt subdivided view properties 2020-08-21 12:36:46 +02:00
carlopav
a262b11cd7 Gui: divide ViewProviderGeometryObject properties into groups
.


.


.


.
2020-08-21 12:36:46 +02:00
carlopav
26ac41f93d Gui: attempt to reorder ViewProviderDocumentObject properties
ref: https://forum.freecadweb.org/viewtopic.php?f=8&t=46911#p403077
@wmayer beware, I didn't test compiling.
Gui: fixed duplicated property adding in ViewProviderDocumentObject

fixed regression
2020-08-21 12:36:46 +02:00
wmayer
45d28c2367 Sketcher: workaround for cursor pixmaps created from SVG icons 2020-08-19 19:59:13 +02:00
Vanuan
b53326b38c High DPI support: Scale Draft cursor to device pixel ratio 2020-08-19 19:59:13 +02:00
Vanuan
7a0aec1210 High DPI support: Convert sketcher cursors to SVG
Remove xpm
2020-08-19 19:59:13 +02:00
wandererfan
1cad17c5f5 [TD]draw line through 2 points 2020-08-19 09:02:25 -04:00
wmayer
1a6bbf8127 Mesh: [skip ci] Save icon as normal SVG file 2020-08-17 17:02:06 +02:00
bitacovir
2d71c51760 Add SVG icon for Mesh FillupHoles command in MeshWB
Many Mesh Design Workbench commands do not have icons. The Mesh FillupHoles command is one of these without a SVG icon for the FreeCAD UI.

This commit adds a SVG file with an icon design for this command. Also, it makes the necessary changes on Command.cpp and Mesh.qrc files.

The new SVG icon follows the FreeCAD Artwork Guidelines:
https://www.freecadweb.org/wiki/Artwork_Guidelines

The icon design keep the style of the existing icons in the Mesh Workbench:
https://wiki.freecadweb.org/Mesh_Workbench

The discussion with the project for a set of SVG icons for the Mesh Design Workbench can be found in the UX/UI Design FreeCAD Forum:
https://forum.freecadweb.org/viewtopic.php?f=34&t=47494
2020-08-17 17:02:06 +02:00
vocx-fc
9c20a1f6be Part: rename to uppercase, Part_ProjectionOnSurface
For consistency with all other commands that start with capital letter.
2020-08-17 16:32:28 +02:00
luz paz
71cf0e64f3 Part: fix typos in source function names and variables
Found via `codespell`
2020-08-17 16:32:28 +02:00
wandererfan
f56825c79f [TD]handle bad preferences in AppImage temp dir 2020-08-14 09:37:14 -04:00
wmayer
1c432fd617 Sketcher: [skip ci] add function to sketch validation panel to remove degenerated geometry 2020-08-13 17:24:10 +02:00
wmayer
023f779772 Sketcher: [skip ci] remove superfluous semicolons 2020-08-13 16:30:07 +02:00
wmayer
9c17fe359b Part: [skip ci] fixes #0004117: Crash during extrusion 2020-08-13 14:23:16 +02:00
wmayer
77dc31d9a0 Gui: [skip ci] fix warning when opening recovery dialog in debug mode 2020-08-13 14:21:55 +02:00
wmayer
93bb9646c3 plugin: [skip ci] add custom widgets Gui::IntSpinBox and Gui::DoubleSpinBox 2020-08-12 11:38:31 +02:00
Vanuan
0811c61435 Fix non-center aligned wall with multimaterial 2020-08-11 12:21:41 +02:00
vocx-fc
fdbfee279c Arch: clean up message printing during IFC import 2020-08-11 12:10:50 +02:00
vocx-fc
bef440f2b0 Arch: small cleanup of IFC helper module
Remove unnecessary comments; as long as the variables
and functions have a clear name, they are self documenting,
so they don't need additional comments.
2020-08-11 12:10:50 +02:00
vocx-fc
c1476cd96f Arch: small cleanup of IFC importer and exporter
Clarify the import of IfcOpenShell's `geom`.

In some cases it fails importing and initializing the regular way,
`import ifcopenshell.geom`.

But it works in this way
```
from ifcopenshell import geom
geom.settings()
```
2020-08-11 12:10:50 +02:00
Vanuan
024ae4dd9f Fix a typo in draft snapping 2020-08-11 11:59:52 +02:00
vocx-fc
72ec8445f2 Draft: Offset save and restore the value of OCC checkbox 2020-08-11 11:57:35 +02:00
SurajDadral
f97d27cb56 Fix placement of rebar wires in Draft.getSVG.py 2020-08-11 11:25:07 +02:00
paul lee
102cfb4a71 [Draft - geotuils.offsets] Fix To Work with Sketch
Forum Discussion - https://forum.freecadweb.org/viewtopic.php?f=23&t=48852&p=419209#p419209
2020-08-11 11:10:42 +02:00
paul lee
7a41078624 [Draft - geoutils.offsets] Fix Circle and Arc Offset Direction
Forum Discussion - https://forum.freecadweb.org/viewtopic.php?f=23&t=48852#p418903
2020-08-11 11:10:42 +02:00
vocx-fc
d51955f658 Draft: makeLayer, small adjustments to keep compatibility
This follows from the migration of the Layer code
done in 831e517717.

In the older `makeLayer` function, the parameters `drawstyle`
and `transparency` could be `None`; in the new `make_layer` function,
`drawstyle` must be an explicit string, and `transparency`
must be a number. If not provided, they use default values.
2020-08-11 11:08:48 +02:00
wandererfan
abd18ff88f [TD]fix showSectionEdge preference 2020-08-10 10:19:09 -04:00
wmayer
50aa73da9d PD: [skip ci] add missing forward declaration 2020-08-10 14:10:43 +02:00
donovaly
a8ea844e0b [PD] [skip ci] add Sketch top level menu 2020-08-10 14:00:06 +02:00
donovaly
acecdd8c57 [PD] allow expression for pocket offset
- also disable KeyboardTracking for some fields to avoid unnecessary and often time consuming recomputes while typing in
2020-08-10 13:39:50 +02:00
wmayer
17cd649341 Part: code simplifications and sorting 2020-08-10 12:43:48 +02:00
donovaly
26ebfbf846 code simplifications and sorting 2020-08-10 11:12:47 +02:00
donovaly
3ce634b126 TaskFaceColors.cpp: correctly end box selection if necessary 2020-08-10 11:12:23 +02:00
donovaly
da08611c47 [Part] FaceColors cleanup
- indicate if one is in the Box Selection mode
- get rid on dialog if one really wants to cancel (no other Task dialog does this and it is annoying)
- fix clumsy dialog layout
2020-08-10 11:11:50 +02:00
MA-LAPTOP\apeltauer
f9cbec0d51 Improve the projection on surface algorithm. For now the first possible solution was taken. If several solution exists, this leads to a miss match.
Now check the distance of the projection shape and the original shape and the take the projection with the smallest distance.
Discussion can be found here: https://forum.freecadweb.org/viewtopic.php?f=8&t=49341&p=422925#p422925
2020-08-10 10:23:06 +02:00
donovaly
940c27288b [PD] [skip ci] disable keyboardTracking for primitives and attachment
When modifying primitives in complex geometries having a recompute for every keystroke can be annoying. Disabling keyboardTracking fixes this but keeps the immediate preview when using the spin buttons.
2020-08-10 10:14:17 +02:00
wmayer
6d56b3e3b3 plugin: [skip ci] fix of QuantitySpinBox to not remove value property from existing files 2020-08-09 17:07:08 +02:00
wmayer
050356aa55 plugin: [skip ci] add new signal textChanged() to QuantitySpinBox 2020-08-09 11:22:47 +02:00
wmayer
068bfc2ebe plugin: [skip ci] fix warnings 2020-08-09 08:16:59 +02:00
wmayer
47d4db552a plugin: [skip ci] make QuantitySpinBox inside plugin functioning 2020-08-08 20:04:45 +02:00
donovaly
8db4149c88 [Tools] add PrefQuantitySpinBox to designer plugins/widget/FreeCAD_widgets.vcxproj
as discussed here: https://forum.freecadweb.org/viewtopic.php?f=10&t=49315&p=422648#p422648
2020-08-08 17:48:21 +02:00
wmayer
278219b7cd PartDesign: [skip ci] fix broken tooltip of Pad property 2020-08-08 13:08:27 +02:00
donovaly
81a98a4476 [PD] bind expression to pad offset
It is strangely not possible to use an expression for a pad offset, but this works fine, see the forum for an example.

Thus allow this.
2020-08-08 13:04:34 +02:00
wmayer
40bbe3515c Base: [skip ci] add an enum for unit schemes in Python to avoid to work with numbers 2020-08-07 23:02:25 +02:00
Bernd Hahnebach
557f5f30a7 FEM: elmer writer, make use of new unit schema FEM: mm, N 2020-08-07 19:19:44 +02:00
Bernd Hahnebach
7852957623 Base: add new unit schema for mm and N for use in FEM 2020-08-07 19:19:44 +02:00