Commit Graph

13818 Commits

Author SHA1 Message Date
Markus Lampert
afa1347f28 Setting a property's tooltips in setup sheet editor. 2018-09-02 00:32:22 -07:00
Markus Lampert
6328e4790d Fixed surface settings. 2018-09-02 00:32:22 -07:00
Markus Lampert
846849980b Fixed build for new files. 2018-09-02 00:32:22 -07:00
Markus Lampert
b83e49a5f9 Turning off settings exception printing for unregistered ops. 2018-09-02 00:32:22 -07:00
Markus Lampert
c5defd4941 Partial operation settings support for Surface op. 2018-09-02 00:32:22 -07:00
Markus Lampert
cf4d108389 Operation settings support for both engrave ops 2018-09-02 00:32:22 -07:00
Markus Lampert
bf04fa29de Operation settings support for Helix op. 2018-09-02 00:32:22 -07:00
Markus Lampert
0603448a92 Operation setting support for all pocket ops. 2018-09-02 00:32:22 -07:00
Markus Lampert
53404b3207 Operation settings support for Drilling. 2018-09-02 00:32:22 -07:00
Markus Lampert
6bc56c3ce8 Sorting of operation settings for UI purposes. 2018-09-02 00:32:22 -07:00
Markus Lampert
4dcf6b88a3 Added operation setting support to profile ops. 2018-09-02 00:32:22 -07:00
Markus Lampert
3962519087 Added support for property types required for PocketShape settings. 2018-09-02 00:32:22 -07:00
Markus Lampert
15542839ac Added automatic setting of operation values from the setup sheet during creation. 2018-09-02 00:32:22 -07:00
Markus Lampert
353ec4a646 Added name parameter to operation proxy constructor. 2018-09-02 00:32:22 -07:00
Markus Lampert
8000455ec0 Template export/import of operation settings. 2018-09-02 00:32:22 -07:00
Markus Lampert
fc89d317fd Add properties to the setup sheet and initialise their editor from there. 2018-09-02 00:32:22 -07:00
Markus Lampert
517c618224 Property editor for enums. 2018-09-02 00:32:22 -07:00
Markus Lampert
5511d2917c Basic property editor framework 2018-09-02 00:32:22 -07:00
Markus Lampert
30ecd56033 Display setup sheet for each registered op. 2018-09-02 00:32:22 -07:00
Markus Lampert
1beaceb289 Prototype objects for operations and the ability to create them through the regular proxy instantiation. 2018-09-02 00:32:22 -07:00
Markus Lampert
9cd8ac46f7 Add job as parameter to opSetDefaultValues 2018-09-02 00:32:22 -07:00
Markus Lampert
ed482d7272 UI for operation's setup sheet. 2018-09-02 00:32:22 -07:00
Markus Lampert
f58431d1ff Added approximation for hyperbola curves. 2018-09-02 00:32:22 -07:00
Markus Lampert
6a48072357 Basic UI/editor for the SetupSheet. 2018-09-02 00:32:22 -07:00
Markus Lampert
baac7569d7 Fixed stock creation with odd initial extent - tessellate to the rescue. 2018-09-02 00:32:21 -07:00
Markus Lampert
a58ef63544 Fixed heights and introduced OpStockZMin/Max. 2018-09-02 00:32:21 -07:00
Mark Ganson TheMarkster
09dc6d3021 Add eval() to distance line edit during scaling
This adds the ability to enter things like 6 * 25.4 into the distance line edit widget during scaling operations in the image workbench.  Can also enter something like math.pi * 3 or 2**3, etc.  Basically, any legal python input can be used.

Using eval() is not considered a secure way of doing things, but in this context the user would be entering malicious code into his own computer.  Also, what can the user do in eval() that he can't already do just by entering directly into the python console?
2018-09-01 18:16:48 -05:00
Michal Ulianko
2e2b8cba6a py3.7 fix
PyUnicode_AsUTF8() returns const char* in py3.7 instead of char*. Making
changes to reflect that which should also be safe in
other Python versions.
2018-09-01 22:44:39 +02:00
Mark Ganson TheMarkster
f721dd9a17 Add link button to Addon Manager to Macros dialog
Adds a button labeled Addons... to the macros dialog below the create, edit, delete, and rename buttons.  Clicking the Addons... button will open the same dialog available from Tools -> Addon Manager menu.
Convenience for experienced users, but new users who might not know about the addon manager will be able to see it here, too.
2018-09-01 22:21:33 +02:00
markus
828f6756c4 Hiding all/most properties that are supposed to be hidden on document restore again. 2018-09-01 21:01:04 +02:00
markus
e4ff363bb3 Fixed logging for unit tests. 2018-09-01 21:01:04 +02:00
markus
9dc6752415 Added button to stock dialog to recreate the stock object. 2018-09-01 21:01:03 +02:00
markus
d5e2c4c94d Only track stock from base's extent at creation time. 2018-09-01 21:01:03 +02:00
wmayer
8f1ef0d90c get rid of private function _PyImport_FixupBuiltin for FreeCAD and FreeCADGui modules 2018-09-01 19:57:15 +02:00
wmayer
ab7346b216 get rid of private function _PyImport_FixupBuiltin for __FreeCADBase__ module 2018-09-01 16:26:18 +02:00
wmayer
6d315fceb7 exit application when running unit tests raised a system exception 2018-08-31 22:21:15 +02:00
Yorik van Havre
7501055394 Arch: Close base profile of Structures automatically when needed 2018-08-30 17:12:18 -03:00
Yorik van Havre
4caca90737 Draft: Fixed bug in WorkingPlaneProxy color 2018-08-30 17:11:40 -03:00
Yorik van Havre
e012edae73 Draft: Fixed adding points in Wires 2018-08-29 21:49:56 -03:00
wmayer
78efe74229 number of used decimals in UnitsApi must already be set when initializing App 2018-08-29 23:35:38 +02:00
Keith Sloan
e377166f6f improve csg import 2018-08-29 21:45:41 +02:00
wmayer
609d1c8fbf use a widget's current font as default in the list of available families 2018-08-29 19:33:02 +02:00
Bernd Hahnebach
28b3ce6bca YEAH 1000 commits for great FreeCAD project :-) ahh the commit ... FEM: netgen mesh obj, typo in attribute description 2018-08-29 11:02:43 -03:00
Bernd Hahnebach
4db7eaa7a8 FEM: equation objects, add some comments for linear and nonlinear equation 2018-08-29 11:02:43 -03:00
Bernd Hahnebach
1aff8c43f9 FEM: mesh netgen and gmsh, use the same group and description for mesh geometry object 2018-08-29 11:02:43 -03:00
Bernd Hahnebach
4558f5dc28 FEM: common test module, some comments 2018-08-29 11:02:43 -03:00
Daniel Furtlehner
71528b8660 AddonManager: Fixes download of metadata.txt with Py3
urllib2 in Py3 gives us a bytearray instead of a string. We have to decode it first to get the metadata.txt. When decoding fails we assume that we are in Py2 and process as before.
2018-08-29 11:00:42 -03:00
Yorik van Havre
0a61c78543 Arch: cache svg calculations in section planes/techdraw views for better performance 2018-08-28 21:03:25 -03:00
wmayer
844165c062 unit tests of Arch and Draft require GUI, improve output of units tests 2018-08-28 19:39:34 +02:00
Yorik van Havre
426a357a9e Arch: Added placement controls to section plane's task panel 2018-08-28 11:18:35 -03:00