Commit Graph

3566 Commits

Author SHA1 Message Date
sliptonic
9fff13ed12 minor fixes 2022-11-02 15:50:13 -05:00
mlampert
ebc1190d8b PATH: Feature/dogbone ii (#7660)
* Start of new dogbone dressup

* Added Instruction and tangents support for G2/3 moves

* Added Maneuver class to represent a set of moves and process them coherently

* Created kinks and verify their creation.

* Added dogbone detection and verification

* Simplified gcode strings

* Added horizontal t-bones generation

* Added support for vertical t-bone

* Consolidated t-bone creation

* Added support for pathLength

* Added support for tbone on short edge

* Added support for long edges

* Added support for dogbones

* Fixed dogbone for non-horizontal lead-in

* Horizontal bone adaptive length tests

* Fixed dogbone angle and adaptive length

* Some code cleanup

* Added adaptive length tests for dogbones

* Split base data classes into their own PathLanguage module.

* Splitting dogboneII implementation into its constituents

* Moved adaptive length into DogbonII module

* Separate dogboneII generator test cases and changed interface to allow for dynamic length calculations

* Unit tests for length calculation

* Initial DogboneII unit test

* Unit tests and fixes for plunge move handling

* Unit tests for the remaining styles and incision strategies

* Basic DogboneII gui

* Added support for markers

* Better color and selection scheme for markers

* Cleaned up import statements

* Added DogboneII to Path WB init

* Support for dogbone on dogbone and fixed t-bone generation

* Fixed t-bone on short leg bones

* Fixed tbone on short edge when short edge is m1

* Fixed t-bone on long edge for m0/m1 and CW/CCW

* Removed redundant code

* Removed redundant 'Dress-up' from menu entries

* black code formatting

* added generator to cmake

* Fixed typos
2022-11-02 15:25:09 -05:00
Chris Hennes
1fac3fead0 cMake: Add support for compiling against Qt6 (#7647)
Removes the BUILD_QT5 flag and adds a new FREECAD_QT_VERSION option,
which can be set to either "Auto" (default), 5, or 6. Auto detects which
version of Qt is installed on the system and chooses it. If both version
are installed, Qt5 is used.

Note that this DOES NOT implement compiling against Qt6, it only adds
the necessary cMake infrastructure to begin work on the source code
changes that will be required.
2022-10-31 09:24:09 -05:00
sliptonic
bc334a81c9 Fixes #7652 2022-10-26 17:04:54 -05:00
Kuzemko Alexsandr
2eb55d48c7 [App] Fix of untranslated first document's name (#7156)
* Change no need function newDocument("Unnamed") call to variant without parameter. "Unnamed" set in App newDocument function instead.
* Refactor New Document command to run without parameter.
* Translate new document's userName. Internal name = "Unnamed".
* Crowdin Add to updatets.py App.ts. Create new file App.ts
* Fix error where document name is set with one function parameter. In this situation set internal and user name to string variable. For default function call (without parameter) set internal name to Unnamed, userName = translate ("Unnamed")
2022-10-20 21:35:09 -05:00
sliptonic
a873837e7c Merge pull request #7605 from mlampert/bugfix/loading-path-wb-error
[PATH]: bugfix/loading-path-wb-error
2022-10-17 10:35:42 -05:00
sliptonic
da198bba25 Merge pull request #7599 from sliptonic/codespell
fix codespell warnings
2022-10-17 10:35:00 -05:00
Yorik van Havre
1ae780d3b1 Merged crowdin translations 2022-10-17 15:12:16 +02:00
Yorik van Havre
d50f062e34 Updated ts files 2022-10-17 11:18:07 +02:00
Markus Lampert
5dce28ae8b Fixed typo in UI test case 2022-10-15 11:19:30 -07:00
Markus Lampert
edf097e7e9 Fixed recursive import 2022-10-15 11:19:30 -07:00
sliptonic
e058eb6173 Typo in Adaptive test 2022-10-13 14:09:51 -05:00
sliptonic
0d3ce2cba2 fix codespell warnings 2022-10-12 10:00:33 -05:00
Markus Lampert
1953338bd1 Skip legacy tools in job templates and emit error msg 2022-10-11 21:43:09 -07:00
Markus Lampert
cfe4dc4317 Added property details if value assignment fails 2022-10-11 21:43:09 -07:00
Markus Lampert
3c44647972 Full recompute on test file 2022-10-11 21:43:09 -07:00
Markus Lampert
b2d23a7001 Fixed property bag editor to cancel if no name is given and OK is pressed 2022-10-11 21:43:09 -07:00
Markus Lampert
72f85f6873 Fixed refactor import issue 2022-10-11 21:43:09 -07:00
Markus Lampert
83177edcbf Convert usage of PathStop to Path.Op.Gui.Stop 2022-10-11 21:43:09 -07:00
Markus Lampert
8448b69cf3 Fix Path::Feature object check 2022-10-11 21:43:09 -07:00
Markus Lampert
1105403c67 Fixed unit test files by re-creating the appropriate jobs 2022-10-11 21:43:09 -07:00
Markus Lampert
38a7826dde Fixed merge issues 2022-10-11 21:43:09 -07:00
Markus Lampert
93af3a13e5 Fix SurfaceSupport for new Path source structure 2022-10-11 21:43:09 -07:00
Markus Lampert
134a1c35ba Added missing diversion entries to cmake 2022-10-11 21:43:09 -07:00
Markus Lampert
dba0106ce0 Removing obsolete and unused files 2022-10-11 21:43:09 -07:00
Markus Lampert
6ecba4f9ee Moved remaing files out of PathScripts 2022-10-11 21:43:09 -07:00
Markus Lampert
c6c708363b Added PropertyBagGui again for backwards compatibility 2022-10-11 21:43:09 -07:00
Markus Lampert
b7afb18987 Moved generators into Path.Base.Generator module 2022-10-11 21:43:09 -07:00
Markus Lampert
a5fad7e052 Moved the rest of the operations into Path.Op (.Gui) module 2022-10-11 21:43:09 -07:00
Markus Lampert
080d708f21 Fixed refactor issues breaking unit tests 2022-10-11 21:43:09 -07:00
Markus Lampert
5ca5a94f5e Move Path.Base and Path.Base.Gui refactoring 2022-10-11 21:43:09 -07:00
Markus Lampert
f1596599ee Added PropertyBag compatibility layer to support existing ToolBits 2022-10-11 21:43:09 -07:00
Markus Lampert
9de105e597 Started moving base classes into Path.Base module 2022-10-11 21:43:09 -07:00
Markus Lampert
9ab28b4ec2 Renamed Path.Tools module to Path.Tool 2022-10-11 21:43:08 -07:00
Markus Lampert
29255f0ffd Removed deprecated and obsolete Path.Tool and Path.Tooltable 2022-10-11 21:43:08 -07:00
Markus Lampert
9b7e50ba07 Removed obsolete path profile implementations 2022-10-11 21:43:08 -07:00
Markus Lampert
45f2765418 Moved all Path operations with model and gui into Path.Op module 2022-10-11 21:43:08 -07:00
Markus Lampert
289c1f8c87 Moved dressups into Path.Dressup module 2022-10-11 21:43:08 -07:00
Markus Lampert
7fe03f2b78 Fixed PathPost when post processing is cancelled 2022-10-11 21:43:08 -07:00
Markus Lampert
20d2d4c8d0 Moved Path ToolBit and Controller into Path.Tools module 2022-10-11 21:43:08 -07:00
Markus Lampert
1d27fb00ec Moved post processing files into new Path python module 2022-10-11 21:43:08 -07:00
Markus Lampert
8c05a46174 Moved PathAdaptive into new Path.Op module 2022-10-11 21:43:08 -07:00
Markus Lampert
eeaed7363a Fixed path log unit tests 2022-10-11 21:43:08 -07:00
Markus Lampert
233c92b79e Moved PathLog to Path.Log and import it by default 2022-10-11 21:43:08 -07:00
Markus Lampert
7e643c563b Added python based Path module and pull in PathApp namespace 2022-10-11 21:43:08 -07:00
Markus Lampert
7992f3ed00 Renamed Path c++ python module to PathApp 2022-10-11 21:43:08 -07:00
Yorik van Havre
9c24f0f5b8 Merged crowdin translations 2022-10-10 11:06:08 +02:00
Yorik van Havre
4ba1b0e4dc Updated ts files 2022-10-10 10:19:30 +02:00
wmayer
6df7cf1afa Path: [skip ci] replace QRegExp with QRegularExpression 2022-10-08 14:07:22 +02:00
wmayer
840fc70106 Mod: replace QRegExp with QRegularExpression 2022-10-07 14:03:53 +02:00