Commit Graph

14572 Commits

Author SHA1 Message Date
wmayer
fd2befe7a7 when leaving dragger edit mode make sure to release the grabbed node 2018-09-06 12:42:08 +02:00
wandererfan
aa8feb79d0 Use Face or 3D direction for View and ProjGroup
- use current 3D window direction as starting
  direction for DrawViewPart and ProjectionGroup
- if a Face is selected, use Face normal as
  starting direction.
2018-09-06 08:00:00 +02:00
wmayer
233ed49b23 make copy constructor of Handle class private 2018-09-05 22:55:33 +02:00
wmayer
0b846eee52 consider global placement when exporting point cloud 2018-09-05 22:18:55 +02:00
wmayer
7e3be9eb68 take care of object's global placement when creating point cloud of it 2018-09-05 21:24:22 +02:00
wmayer
7d8e7b6d65 add copy constructor for class PointKernel 2018-09-05 21:21:36 +02:00
wmayer
138ddcbeed add method Placement::isIdentity 2018-09-05 21:19:16 +02:00
wmayer
312310de60 take care of global placement when exporting from Mesh menu 2018-09-05 17:46:31 +02:00
wmayer
b87d6e69fc copy image resource 2018-09-05 17:27:09 +02:00
Pablo Gil
9b42120c8f 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
506ed1ee98 Start: fixed tabs border radius and reduced font weight for file info 2018-09-05 16:07:09 +02:00
looooo
599e59059b reduce line-length to 80 characters 2018-09-05 11:06:26 +02:00
looooo
b20d1bc09c new style modules: print traceback as error and as log. 2018-09-05 11:06:12 +02:00
Peter Lama
e0f8dede06 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
36bd5a0ec1 fix build failure for OCCT < 7.0 2018-09-05 10:56:56 +02:00
wmayer
7a71cf188a take care of global placement when creating mesh from shape 2018-09-05 00:10:07 +02:00
wmayer
d8c5581566 add optional parameters to copy method to copy topology and/or triangulation 2018-09-04 23:17:25 +02:00
Christophe Grellier
7d8e53aaab add Const to ancestorsOfType 2018-09-03 22:06:46 +02:00
wmayer
9e5b31fe2a add missing comma separator in list 2018-09-03 21:33:06 +02:00
Yorik van Havre
ef0fe57328 Draft: Allow to switch the line of Draft Labels on/off 2018-09-03 16:03:10 -03:00
wmayer
acbbcbcb00 enable VBO support for Intel graphic drivers if UseVBO is activated 2018-09-03 16:57:33 +02:00
wmayer
b385387797 enable VBO support for Intel graphic drivers if UseVBO is activated 2018-09-03 16:46:54 +02:00
Amritpal Singh
dda6672d48 Fixed minor bug of custom spacing in Rebar object. 2018-09-03 11:08:53 -03:00
Mark Ganson TheMarkster
689765da1b Revert unintended change
Not sure how that happened...
2018-09-03 11:08:16 -03:00
Mark Ganson TheMarkster
43d16fc87a 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
299f68cda6 add comment about using readLockNormalCache 2018-09-03 13:16:16 +02:00
Zheng, Lei
4231194a37 GLBuffer: fix isVBOSupported() 2018-09-03 12:59:27 +02:00
Zheng, Lei
b5467b02ad MeshGui::SoFCIndexedFaceSet: fix missing normal cache unlock 2018-09-03 12:59:13 +02:00
Markus Lampert
ad39b37b98 Fixed whitespace error 2018-09-02 10:50:08 -07:00
Markus Lampert
ec8e97c262 Fixed merge issues 2018-09-02 00:32:22 -07:00
markus
67987cc916 Added job export dialog to Job Editor. 2018-09-02 00:32:22 -07:00
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