Commit Graph

2021 Commits

Author SHA1 Message Date
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
Markus Lampert
bce36226d5 Added support for copying holding tags from another holding tags dressup. 2019-10-15 23:44:37 -07:00
Markus Lampert
8aec8cbebd Fixed holding tags restore 2019-10-14 11:11:16 -07:00
Markus Lampert
209c96a791 Restrict loading of ocl and PathSurface to enabling experimental features. 2019-10-14 10:09:05 -07:00
Zheng, Lei
8426ebe2ba Fix various Py::Object leak 2019-10-08 17:53:20 +02:00
wmayer
bec21a800b remove PCH from header file 2019-10-03 10:18:23 +02:00
luz.paz
fb32601746 Fix various (doxy) typos and whitespace issues
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-03 07:57:13 +02:00
wmayer
a3f8d30292 fix build failure: add export mscro, add header 2019-10-03 01:32:33 +02:00
Markus Lampert
71bc057013 Added copyright notice to source files. 2019-09-30 22:20:54 -07:00
Markus Lampert
2ba54fe4cc Add BoundBox property to Path, usable without a gui. 2019-09-30 18:34:57 -07:00
Markus Lampert
2520a5e159 Split walking and segmenting a path into its own class so it can be used by other algorithms, not just visualisation 2019-09-30 18:34:57 -07:00
Markus Lampert
c99b621356 Fixed first screen on job creation 2019-09-27 14:29:15 +02:00
Markus Lampert
4ec9f7e281 Prevent endless loop through negative step down values in engraver. 2019-09-27 14:18:43 +02:00
markus
83dcc5f92c Fixed engrave for non-closed wires for multi step down ops 2019-09-27 14:18:27 +02:00
markus
40d7d32d19 Added unit tests for orientWire. 2019-09-27 14:18:09 +02:00
sliptonic
ca6fc592f2 Merge pull request #2503 from Russ4262/fix_pocketshape_popup
[Path] Fix PocketShape pop-up warning window issue
2019-09-24 15:36:23 -05:00
luz.paz
595ab50633 fix misc. source comment typos
Found via `codespell`
2019-09-18 21:07:12 +02:00
wmayer
e48c52c480 force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web

TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
wmayer
f29a9c0de3 fix possible vulnerability 2019-09-18 11:06:41 +02:00
Daniel Wood
d7f5eeb8c5 fix typo 2019-09-10 14:27:49 +02:00
Daniel Wood
aafd630a9c Don't try deleting tool tables when none exist. 2019-09-09 20:26:55 +01:00
Daniel Wood
2b46157bc6 Make sure the tool current tool table gets set. 2019-09-09 20:19:46 +01:00
Daniel Wood
ddcc16a4d9 Check there is preference data before attemping to load it. 2019-09-09 18:52:47 +01:00
sliptonic
a5d92ca71c Merge pull request #2499 from dubstar-04/feature/tooltable
[Path] Enable Tool Duplication and Moving
2019-09-08 13:50:02 -05:00
sliptonic
66c228e5e7 Merge pull request #2505 from kreso-t/master
PathAdaptive: Increased accuracy for small tools
2019-09-08 10:13:39 -05:00
sliptonic
5f64366409 Merge pull request #2479 from dubstar-04/feature/post
[Path] Add tool height offsets to Linuxcnc_post
2019-09-08 00:21:58 -05:00