Commit Graph

13846 Commits

Author SHA1 Message Date
wmayer
79938b119f add method Placement::isIdentity 2018-09-05 21:19:16 +02:00
wmayer
363de2f7da take care of global placement when exporting from Mesh menu 2018-09-05 17:46:31 +02:00
wmayer
4c229d9922 copy image resource 2018-09-05 17:27:09 +02:00
Pablo Gil
c31dae7c9a Start:
1) replaced link element before li item in order to make the whole box clickable
2) placed "New file" item as first one so that it is always at the same place no matter what session or recent files you have
3) created a thumbnail for "New file" item
2018-09-05 16:07:25 +02:00
Pablo Gil
42a63668ef Start: fixed tabs border radius and reduced font weight for file info 2018-09-05 16:07:09 +02:00
looooo
acb5fb83af reduce line-length to 80 characters 2018-09-05 11:06:26 +02:00
looooo
4d82b87c20 new style modules: print traceback as error and as log. 2018-09-05 11:06:12 +02:00
Peter Lama
7bd3bf7fb1 Update commit count reference for shallow clones
Clone depth for travis is set to 5000. Using the current HEAD
as reference means we won't have to update it again for awhile.
2018-09-05 10:59:34 +02:00
wmayer
47c6e294f6 fix build failure for OCCT < 7.0 2018-09-05 10:56:56 +02:00
wmayer
60b2234565 take care of global placement when creating mesh from shape 2018-09-05 00:10:07 +02:00
wmayer
68b57d659a add optional parameters to copy method to copy topology and/or triangulation 2018-09-04 23:17:25 +02:00
Christophe Grellier
56d5305edf add Const to ancestorsOfType 2018-09-03 22:06:46 +02:00
wmayer
141a2ad138 add missing comma separator in list 2018-09-03 21:33:06 +02:00
Yorik van Havre
e79cadb6c0 Draft: Allow to switch the line of Draft Labels on/off 2018-09-03 16:03:10 -03:00
wmayer
f2ec0eaca3 enable VBO support for Intel graphic drivers if UseVBO is activated 2018-09-03 16:57:33 +02:00
wmayer
b761262dc3 enable VBO support for Intel graphic drivers if UseVBO is activated 2018-09-03 16:46:54 +02:00
Amritpal Singh
ef64f801bd Fixed minor bug of custom spacing in Rebar object. 2018-09-03 11:08:53 -03:00
Mark Ganson TheMarkster
29d26ce311 Revert unintended change
Not sure how that happened...
2018-09-03 11:08:16 -03:00
Mark Ganson TheMarkster
788873fc65 Add Duplicate button to Execute Macro dialog
With the Duplicate button a macro is duplicated with a new name, e.g. duplicate a macro named "MyMacro.FCMacro" and you get a new duplicate file named "MyMacro@001.FCMacro", but the user has opportunity to override the new name with a name of his own or to cancel the operation.

Functionality is similar to already existing ability to create copies of the .FCStd file, only for macros, and this must be done manually for each new file.  Will be useful to coders mostly.  Expected use case could be to save a history of the macro periodically as changes are made or perhaps to duplicate the macro first, and then make changes to the duplicate, eventually replacing the original once satisfied with the changes.

New code is based largely on existing code from rename operation, but with QFile.copy() instead of QFile.rename() used, along with other changes needed, such as generating the new suggested filenames.

link to forum discussion and demonstration video:
https://forum.freecadweb.org/viewtopic.php?f=8&p=254014&sid=98243801791920b69086a3fcd4699e34#p254014

Not sure how to make the Duplicate button label text translate when changing languages.
2018-09-03 11:08:16 -03:00
wmayer
7cd4d37306 add comment about using readLockNormalCache 2018-09-03 13:16:16 +02:00
Zheng, Lei
3f0c474a71 GLBuffer: fix isVBOSupported() 2018-09-03 12:59:27 +02:00
Zheng, Lei
864ca1e470 MeshGui::SoFCIndexedFaceSet: fix missing normal cache unlock 2018-09-03 12:59:13 +02:00
Markus Lampert
7a018b265f Fixed whitespace error 2018-09-02 10:50:08 -07:00
Markus Lampert
2f2dc9e310 Fixed merge issues 2018-09-02 00:32:22 -07:00
markus
aefa922c2b Added job export dialog to Job Editor. 2018-09-02 00:32:22 -07:00
markus
ca06567043 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
4cf08f685d Fixing unit tests for more conservative height settings. 2018-09-02 00:32:22 -07:00
markus
c70f8923fa PathEdit integration of the setup-sheet editor. 2018-09-02 00:32:22 -07:00
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