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
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