Commit Graph

1846 Commits

Author SHA1 Message Date
Markus Lampert
bb76d2755b Fixed creating a ToolBit 2019-11-28 17:31:36 -08:00
Markus Lampert
d625303b71 Added JobTemplate support for ToolBit 2019-11-28 17:31:36 -08:00
Markus Lampert
09a6201e87 Invoke TC.onDelete when deleting a job 2019-11-28 17:31:36 -08:00
Markus Lampert
c8afefa05d Hide ToolBit by default if managed by a ToolController 2019-11-28 17:31:36 -08:00
Markus Lampert
1395749dc2 Delete ToolBit if ToolController is deleted 2019-11-28 17:31:36 -08:00
Markus Lampert
adc5aec98f Added ToolBit library commands 2019-11-28 17:31:36 -08:00
Markus Lampert
3fdd505e3f Fixed horizontal headers and removed obsolete test slots 2019-11-28 17:31:36 -08:00
Markus Lampert
7dd17b62a6 Fixed ToolBitLibrary json format 2019-11-28 17:31:36 -08:00
Markus Lampert
d0b8f34ba5 Added library commands and drag&drop for rearranging and copying of tools 2019-11-28 17:31:36 -08:00
Markus Lampert
bb07dc1c58 Added getting/loading of multiple tools 2019-11-28 17:31:36 -08:00
Markus Lampert
97904d0bf2 Basic ToolBitLibrary edit dialog 2019-11-28 17:31:36 -08:00
Markus Lampert
5d6fc167e9 Use same ToolNumber if TC is for identical Tool as another TC in the same job. 2019-11-28 17:31:36 -08:00
Markus Lampert
62964ce199 Assign unique ToolNumber to newly created TC 2019-11-28 17:31:36 -08:00
Markus Lampert
541633297a Fixed Deburr op and v-bit template to communicate properly 2019-11-28 17:31:36 -08:00
Markus Lampert
d30abb6121 Ignore distance check when copying holding tags 2019-11-28 17:31:35 -08:00
Markus Lampert
115ddeac89 Added some sample tools for playing around 2019-11-28 17:31:35 -08:00
Markus Lampert
a5d1203980 Added ToolController creation 2019-11-28 17:31:35 -08:00
Markus Lampert
e9f3a15fc7 Basic ToolBitSelector dialog 2019-11-28 17:31:35 -08:00
Markus Lampert
c078c68abf Added loading of existing ToolBits 2019-11-28 17:31:35 -08:00
Markus Lampert
458ae24f11 Added save and save as menu to ToolBit 2019-11-28 17:31:35 -08:00
Markus Lampert
126fdd42d8 Added command to create a ToolBit 2019-11-28 17:31:35 -08:00
Markus Lampert
0bf89998b0 Fixed typo 2019-11-28 17:31:35 -08:00
Markus Lampert
2e1bea0237 Added search path and preferences support for tools 2019-11-28 17:31:35 -08:00
Markus Lampert
f8887d5e12 Add support for ToolBit to ToolController 2019-11-28 17:31:35 -08:00
Markus Lampert
54390967c6 Added ToolBit sources to installation files 2019-11-28 17:31:35 -08:00
markus
815ecee630 Added storing and loading of tools in json files 2019-11-28 17:31:35 -08:00
markus
ece4d52962 Updated readme 2019-11-28 17:31:35 -08:00
markus
c824200cbe Add separator after path context menues 2019-11-28 17:31:35 -08:00
markus
e2deb45df5 Load template during editing but unload it afterwards 2019-11-28 17:31:35 -08:00
Markus Lampert
11b32b35da Fixed typo 2019-11-28 17:31:35 -08:00
Markus Lampert
9bc978b52a Added editing functionality to the tool editor 2019-11-28 17:31:35 -08:00
Markus Lampert
5db8710721 Set property editor mode on creation. 2019-11-28 17:31:35 -08:00
Markus Lampert
3dcc226f9e Basic editor and shape update. 2019-11-28 17:31:35 -08:00
Markus Lampert
dac1dd5fc5 Added tool bits concept and some initial templates 2019-11-28 17:31:35 -08:00
asapelkin
875a463923 Used single quotes for single character in string::find algorithm, more efficient 2019-11-21 18:59:43 +01:00
asapelkin
55e758c2f9 used make_shared and make_unique for creating shared pointers 2019-11-21 18:51:43 +01:00
asapelkin
ced8100ab9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
howetuft
f1e3b7a166 Fix -Wredundant-move warnings, 2nd try
std::move is redundant when it is used to return a local object from a function (eg return std::move(local)): indeed, returning a local object from a function implicitly moves it. Moreover using std::move this way
See https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rf-return-move-local
However, in order to avoid -Wreturn-std-move as well, a Base object is move-constructed
from Derived when required.
2019-11-18 13:44:40 +01:00
howetuft
5807ee2022 Fix -Wclass-memaccess warning
Replace C-style memset with C++ value-initialization/assignment (smarter and safer: see https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#slcon3-avoid-bounds-errors)
2019-11-18 12:32:27 +01:00
wmayer
1e9da9b1ae [skip ci] suppress -Wgnu-zero-variadic-macro-arguments 2019-11-17 19:19:02 +01:00
Markus Lampert
33ed9187c6 Fixed circular dependency for boundary dressup 2019-11-10 20:19:52 -08:00
Markus Lampert
584ba0eaaa Added PathBoundary task panel tool tips and tab order. 2019-11-05 19:18:39 -08:00
Markus Lampert
e1c8dfa230 Fixed typo in onDelete 2019-11-05 19:18:39 -08:00
Markus Lampert
e6f9af4e62 Added new boundary dressup files to CMakeLists 2019-11-05 19:18:39 -08:00
Markus Lampert
9f8c64c6af PathBoundary editor filled with life. 2019-11-05 19:18:39 -08:00
Markus Lampert
d0e16a58ef Added boundary dressup to restrict path to another shape. 2019-11-05 19:18:39 -08:00
Gabriel Wicke
d851fd58d5 [path] Fix ignoreWasteFlag option
The code was trying to iterate over a `range(0, pntsPerLine)`, but
pntsPerLine was a float resulting from a division.

Convert pntsPerLine to an int, and only ignore waste if this was
successful.
2019-11-01 17:12:42 -03:00
luz.paz
30d2e29e0c LGTM: various fixes for using string operator instead of numeric 2019-10-25 10:33:12 -03:00
luz.paz
30a717beac Fix typos and misc. formatting [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
2019-10-21 16:02:23 -03:00
howetuft
3e5d3460c7 Fix -Wdeprecated-copy warnings (rule of 5/3/0)
Fix -Wdeprecated-copy warnings in various places. Consists in enforcing
rule of five/three/zero (https://en.cppreference.com/w/cpp/language/rule_of_three)
mainly by deleting redundant copy constructors or copy assignment operators
that replicate default constructors/operators, or more rarely by adding
missing copy/move constructors/operators.
See also https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c20-if-you-can-avoid-defining-default-operations-do
2019-10-20 17:02:17 +02:00