Commit Graph

22252 Commits

Author SHA1 Message Date
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
Zheng, Lei
49a5f554fa Gui: fix ViewProviderPythonFeature::getLinkedViewProvider 2020-08-07 17:20:55 +02:00
luz paz
59e3ea096e Crowdin: Merge new translations [skip-ci] 2020-08-07 17:17:35 +02:00
wmayer
6cf5119b55 Part: [skip ci] move grid handling from ViewProvider2DObject to ViewProvider2DObjectGrid 2020-08-07 17:11:02 +02:00
wmayer
da5bd6594b Part: [skip ci] move grid handling from ViewProvider2DObject to ViewProvider2DObjectGrid 2020-08-07 16:48:07 +02:00
wmayer
6592a76ac3 Part: [skip ci] use of ViewOrthoProjMatrix in ViewProvider2DObject::updateData to compute the grid 2020-08-07 13:32:29 +02:00
0penBrain
86658c339a [GUI/Sketcher] Add option to disable grid auto-sizing based on shape boundbox
Sketcher makes use of this option to self-manage the overall grid size
2020-08-07 13:30:42 +02:00
wmayer
0dff8a6618 Base: [skip ci] add class ViewOrthoProjMatrix for orthogonal projections in 3d 2020-08-07 13:06:06 +02:00
donovaly
4ce85d39d3 [PD] patterning UI: avoid whitespace
- also have a uniform list height in all patterning dialogs
2020-08-06 17:05:48 +02:00
wandererfan
64200d8287 [TD]add py getEdgeBySelection 2020-08-06 10:21:13 -04:00
mwganson
1ce486f178 [OpenSCAD] Add 2 new commands: Scale and Resize, fix bug in Mirror mesh feature 2020-08-06 12:34:16 +02:00
wmayer
c516bb06d3 PartDesign: [skip ci] add text of sub-menus to translation system 2020-08-06 12:22:56 +02:00
donovaly
80a88470b6 [PD] rework menu
The menu was too long for smaller screens. Therefore pack some of its items to subitems.
2020-08-06 12:14:27 +02:00
mwganson
ee383b7aef [Gui::CommandPy] add new command resetShortcut() -- resets shortcut to default 2020-08-06 11:29:07 +02:00
Przemo Firszt
361f56dddd Fix COPR rawhide builds
Signed-off-by: Elliot Lee <elliot.c.lee@gmail.com>
Tested-by: Przemo Firszt <przemo@firszt.eu>
2020-08-06 11:27:13 +02:00
wmayer
ad7fbee066 Part: [skip ci] fix crash when closing document while face colors panel is open 2020-08-06 11:26:24 +02:00
wmayer
8280783795 OpenSCAD: [skip ci] set default of 16 for useMaxFN parameter 2020-08-06 09:47:25 +02:00
wmayer
4c1f029c25 OpenSCAD: [skip ci] set default of 16 for useMaxFN parameter 2020-08-06 08:48:53 +02:00
wmayer
9c3f9b72a8 App: improve support of portable version of FreeCAD 2020-08-05 15:47:50 +02:00
sliptonic
e813c5adfd Merge pull request #3763 from Russ4262/PocketShape_fix_t4411
Path: PocketShape - Fixes ticket #4411
2020-08-04 10:40:53 -05:00
sliptonic
5c67c40dbd Merge pull request #3751 from J-Dunn/master
Path: prevent added paths creating tool crash: fixed #4260
2020-08-04 10:40:13 -05:00
sliptonic
bfa8cbf8a6 Merge pull request #3706 from etrombly/emptyPath
[PATH] don't generate gcode if op isn't valid. Don't plunge to start height if safe and clearance height are the same.
2020-08-04 10:20:13 -05:00
wmayer
76e7429489 Gui: [skip ci] set Gui.listCommands to keep old code working 2020-08-03 18:58:00 +02:00
mwganson
0cf8279f00 [Gui Commands] new command: listCommandsByShortcut(string) -- returns a python list of all commands that are using the shortcut. Search is case-insensitive and ignores spaces 2020-08-02 21:09:36 +02:00
wmayer
9b529bc45c Gui: [skip ci] move Python functions for commands to its own class 2020-08-02 20:50:43 +02:00