Commit Graph

17004 Commits

Author SHA1 Message Date
sdh4
57ef3dfdf4 Part.BSplineSurface.buildFromPolesMultsKnots(): Fix 'Truth value of an array ... use a.any() or a.all()' when explicit knots or weights provided
Calls to BSplineSurface.buildFromPolesMultsKnots() with explicit knots or weights fail in recent versions of FreeCAD (tested on 0.18.3 with python3) with the message 'The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()'. 

This trivial change follows the pattern used later in the function of explicit comparisons with Py_None, replacing PyObject_Not() and PyObject_IsTrue()  when they are used to determine whether explicit weights or knots have been provided.
2019-08-27 21:48:52 +02:00
Bernd Hahnebach
efba264ff5 Arch: import IFC, helper, improve getting the color table 2019-08-27 13:44:39 +02:00
Tomas Pavlicek
ffcac528d5 TechDraw: Middle button panning 2019-08-27 07:33:30 -04:00
Daniel Wood
a6a7e045ab Remove unused function definition 2019-08-27 07:15:23 +01:00
Bernd Hahnebach
7927c7f3c0 Arch: import IFC, remove not needed return value of colors method 2019-08-27 08:04:02 +02:00
Daniel Wood
5c0fbe75e4 Merge branch 'master' into feature/tooltable 2019-08-26 21:30:16 +01:00
Daniel Wood
27d3b57b7b clean up unused code 2019-08-26 21:27:06 +01:00
Daniel Wood
990db1a316 Return document jobs for copy commands
Return the document jobs when creating tool controllers.
2019-08-26 21:24:44 +01:00
sliptonic
48e91bdc79 Merge pull request #2386 from IMbackK/DrillRetractHight
[Path] Drill Ui cleanup
2019-08-26 15:08:11 -05:00
Daniel Wood
8faf893f98 Import and opening current tool tables
Handle opening and importing current  (pre-0.19) tool tables.
2019-08-26 20:19:12 +01:00
Yorik van Havre
3dac114f9f Arch: Solved bug in Structure 2019-08-26 15:39:22 -03:00
Yorik van Havre
e9cbbb38ff Draft: Fixed tooltips 2019-08-26 14:16:19 -03:00
Yorik van Havre
92895f7940 Draft: Fixed regression in snapping 2019-08-26 14:01:15 -03:00
Dion Moult
d60a03d9cd Refactor exportIFC to not use global preferences 2019-08-26 10:37:32 -03:00
Dubstar_04
9a5766e451 Check there is preference data before reading it 2019-08-26 07:59:09 +01:00
Dubstar_04
3aec5ca8b8 Make sure the tool list get cleared
Ensure the tool list gets clear when all tooltables are deleted.
2019-08-26 07:59:09 +01:00
Dubstar_04
51f96a40fc Allow multiple Tool Tables
Allow path to hold multiple tool tables
2019-08-26 07:59:09 +01:00
Dubstar_04
c2245be907 Tidy up includes and whitespace 2019-08-26 07:59:09 +01:00
Dubstar_04
3cb21f0e56 Seperate ToolTable and Tool implementations
Seperate the tooltable and tool implementations.
2019-08-26 07:59:09 +01:00
sliptonic
7a85b76265 Merge pull request #2451 from sgrogan/pathtest_fix
Pathtest fix
2019-08-25 16:01:35 -05:00
Yorik van Havre
ed0eff0248 TechDraw/Arch: Added new Coin Mono rendering mode to TD ArchViews 2019-08-24 19:41:57 -03:00
Yorik van Havre
59ac90897b Draft: fixed color buttons dialogs not starting with the right color 2019-08-24 19:41:26 -03:00
sliptonic
e6e9407551 Merge pull request #2448 from Schildkroet/master
Cleaned up grbl_post and added tool-change option in args
2019-08-24 10:43:01 -05:00
wmayer
742b708d04 rename icon file 2019-08-24 17:32:57 +02:00
sgrogan
0546de408b fix indent 2019-08-24 10:45:00 -04:00
sgrogan
d2c77c3380 Fix Path tests when running from build dir 2019-08-24 10:41:36 -04:00
Schildkroet
0019cf41db Merge branch 'master' into master 2019-08-23 15:01:34 +02:00
wmayer
6dae8f3717 add missing parameter group and name for 'UseMaterialColor' check box 2019-08-23 13:02:53 +02:00
Yorik van Havre
d6fdaefb68 Arch: Fixed windows symbol position 2019-08-22 18:52:44 -03:00
wandererfan
5806fc64b9 [TD]Restore context menu after leader edit 2019-08-22 17:11:55 -04:00
wandererfan
3c4700d05b [TD]fix BRect on empty text items 2019-08-22 17:11:55 -04:00
wandererfan
178520fb4a [TD] fix stale pointer in scene 2019-08-22 17:11:55 -04:00
wandererfan
5a3de6c3df [TD]Add welding symbol directory preference 2019-08-22 17:11:55 -04:00
wandererfan
f0155052f3 [TD]Welding Symbol Editor alpha release 2019-08-22 17:11:55 -04:00
wandererfan
0d01744098 [TD]Clean up Welding Symbol creation 2019-08-22 17:11:55 -04:00
wandererfan
992ef1b07e [TD]Welding Symbol creation 2019-08-22 17:11:55 -04:00
wandererfan
f046a0e657 [TD]Fix CosmeticEraser multiple item delete 2019-08-22 17:11:55 -04:00
wandererfan
b5464ccf4d [TD]Add uuid tags for cosmetics 2019-08-22 17:11:55 -04:00
Yorik van Havre
0f714e00f1 AddonManager: Added function to check for updates for a specific addon 2019-08-22 16:44:00 -03:00
Dion Moult
4d12917b5f Refactor preferences into injected object instead of global.
The following unrequired preferences are removed:

 - FORCE_BREP
 - STORE_UID
 - SERIALIZE
 - EXPORT_2D
 - FULL_PARAMETRIC
 - ADD-DEFAULT_SITE
 - ADD_DEFAULT_STOREY
 - ADD_DEFAULT_BUILDING
2019-08-22 15:28:06 -03:00
Patrick Felixberger
31d6d5fa70 Cleaned up grbl_post and added tool-change option, which was lost in last update 2019-08-22 19:17:29 +02:00
howetuft
945e76d915 [Robot] treeiksolvervel_wdls.cpp: Fix compil warns
"Warning: comparison between signed and unsigned integer expressions [-Wsign-compare]"
Changed 'unsigned int' into 'Eigen::Index' type for several loop indexes...
2019-08-22 18:54:05 +02:00
howetuft
c6748d8d0b [Robot] jacobian.cpp: Fix compiler warnings
"Warning: comparison between signed and unsigned integer expressions [-Wsign-compare]"
Changed 'unsigned int' into 'Eigen::Index' type for several loop indexes...
2019-08-22 18:53:57 +02:00
howetuft
7b265bee18 [Robot] chainiksolverpos_lma.cpp: Fix compil warng
"Warning: Comparison between signed and unsigned integer expressions [-Wsign-compare]"
Fixed by declaring loop index as library-provided type 'Eigen::Index' instead of raw 'unsigned int'.
2019-08-22 18:53:47 +02:00
howetuft
ad73247e9e [Robot] svd_eigen_Macie.hpp: Fix compiler warnings
"Warning: comparison between signed and unsigned integer expressions [-Wsign-compare]"
Changed 'unsigned int' into 'Eigen::Index' type for several loop indexes...
2019-08-22 18:53:39 +02:00
wmayer
372f572d09 add TestPathHelix.py to CMake 2019-08-22 18:49:45 +02:00
Markus Lampert
66804ae993 Unit test helix based on a clone 2019-08-22 18:03:18 +02:00
Markus Lampert
5a4fc83fe3 More helix unit tests 2019-08-22 18:03:03 +02:00
Markus Lampert
221893eeeb Fixed PathHelix assert statements 2019-08-22 18:02:49 +02:00
Markus Lampert
915a7ae226 Added basic test case for PathHelix 2019-08-22 18:02:35 +02:00