Commit Graph

14541 Commits

Author SHA1 Message Date
markus
ff54af4e9b Redesigned ops defaults to use combo box for op selection and only have one editor visibile at the time. 2018-09-02 00:32:22 -07:00
markus
9cc08cee0f Fixing unit tests for more conservative height settings. 2018-09-02 00:32:22 -07:00
markus
84b681eb2b PathEdit integration of the setup-sheet editor. 2018-09-02 00:32:22 -07:00
Markus Lampert
795842b71c Setting a property's tooltips in setup sheet editor. 2018-09-02 00:32:22 -07:00
Markus Lampert
c4340a7577 Fixed surface settings. 2018-09-02 00:32:22 -07:00
Markus Lampert
e833c5b325 Fixed build for new files. 2018-09-02 00:32:22 -07:00
Markus Lampert
33e3a0083e Turning off settings exception printing for unregistered ops. 2018-09-02 00:32:22 -07:00
Markus Lampert
9d7d9e8177 Partial operation settings support for Surface op. 2018-09-02 00:32:22 -07:00
Markus Lampert
6c83a991ea Operation settings support for both engrave ops 2018-09-02 00:32:22 -07:00
Markus Lampert
3e1310ba79 Operation settings support for Helix op. 2018-09-02 00:32:22 -07:00
Markus Lampert
7d8ed6fd70 Operation setting support for all pocket ops. 2018-09-02 00:32:22 -07:00
Markus Lampert
ea84b18aee Operation settings support for Drilling. 2018-09-02 00:32:22 -07:00
Markus Lampert
f4124b91bc Sorting of operation settings for UI purposes. 2018-09-02 00:32:22 -07:00
Markus Lampert
0824066c59 Added operation setting support to profile ops. 2018-09-02 00:32:22 -07:00
Markus Lampert
74d3bf4856 Added support for property types required for PocketShape settings. 2018-09-02 00:32:22 -07:00
Markus Lampert
954771ccba Added automatic setting of operation values from the setup sheet during creation. 2018-09-02 00:32:22 -07:00
Markus Lampert
ebe76319b8 Added name parameter to operation proxy constructor. 2018-09-02 00:32:22 -07:00
Markus Lampert
a3cd80796b Template export/import of operation settings. 2018-09-02 00:32:22 -07:00
Markus Lampert
5f5543da31 Add properties to the setup sheet and initialise their editor from there. 2018-09-02 00:32:22 -07:00
Markus Lampert
a5a44ececd Property editor for enums. 2018-09-02 00:32:22 -07:00
Markus Lampert
ac84092e75 Basic property editor framework 2018-09-02 00:32:22 -07:00
Markus Lampert
7b81653895 Display setup sheet for each registered op. 2018-09-02 00:32:22 -07:00
Markus Lampert
ee49b9874d 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
070d17e4e4 Add job as parameter to opSetDefaultValues 2018-09-02 00:32:22 -07:00
Markus Lampert
b93d39f701 UI for operation's setup sheet. 2018-09-02 00:32:22 -07:00
Markus Lampert
660b9b38d4 Added approximation for hyperbola curves. 2018-09-02 00:32:22 -07:00
Markus Lampert
853ad14a1a Basic UI/editor for the SetupSheet. 2018-09-02 00:32:22 -07:00
Markus Lampert
cdff29e474 Fixed stock creation with odd initial extent - tessellate to the rescue. 2018-09-02 00:32:21 -07:00
Markus Lampert
c495ed43f8 Fixed heights and introduced OpStockZMin/Max. 2018-09-02 00:32:21 -07:00
Mark Ganson TheMarkster
94fa64077b 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
faf8834484 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
591c1d32cd 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
7c048482bf Hiding all/most properties that are supposed to be hidden on document restore again. 2018-09-01 21:01:04 +02:00
markus
f094ae4135 Fixed logging for unit tests. 2018-09-01 21:01:04 +02:00
markus
8054540afe Added button to stock dialog to recreate the stock object. 2018-09-01 21:01:03 +02:00
markus
5b39974bfb Only track stock from base's extent at creation time. 2018-09-01 21:01:03 +02:00
Bernd Waibel
a8be139cbc Improve search for coin3d tag file
Currently cmake looks for coin.tag and coin.tag.gz when searching a
tag file of the Coin3D documentation. On some coin3d installations,
the tag file is named Coin.tag or Coin.tag.gz. This patch improves
the search by adding additional hints to the find_file() test for
the tag file.
2018-09-01 20:58:40 +02:00
wmayer
b79e1bfee4 get rid of private function _PyImport_FixupBuiltin for FreeCAD and FreeCADGui modules 2018-09-01 19:57:15 +02:00
wmayer
8c08635d30 get rid of private function _PyImport_FixupBuiltin for __FreeCADBase__ module 2018-09-01 16:26:18 +02:00
Bernd Waibel
1eeb19748b Fix typo in search for OpenGL. 2018-08-31 23:27:10 +02:00
wmayer
fb1a0be846 exit application when running unit tests raised a system exception 2018-08-31 22:21:15 +02:00
Yorik van Havre
022653331f Arch: Close base profile of Structures automatically when needed 2018-08-30 17:12:18 -03:00
Yorik van Havre
5f025587a0 Draft: Fixed bug in WorkingPlaneProxy color 2018-08-30 17:11:40 -03:00
Kurt Kremitzki
e381e6b739 Remove unused Debian packaging files
These files are not used in Debian or the PPA; they use conventions from
many years ago and in general are cruft. The canonical location for this
information is now https://salsa.debian.org/science-team/freecad. This
fixes #2984.
2018-08-30 03:31:52 -05:00
Yorik van Havre
682650b0b2 Draft: Fixed adding points in Wires 2018-08-29 21:49:56 -03:00
wmayer
3d70f9ed4f number of used decimals in UnitsApi must already be set when initializing App 2018-08-29 23:35:38 +02:00
Keith Sloan
c717d1121d improve csg import 2018-08-29 21:45:41 +02:00
wmayer
96771a07b0 use a widget's current font as default in the list of available families 2018-08-29 19:33:02 +02:00
Bernd Hahnebach
28b7e01123 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
d436630f5b FEM: equation objects, add some comments for linear and nonlinear equation 2018-08-29 11:02:43 -03:00