Commit Graph

20382 Commits

Author SHA1 Message Date
wmayer
919b414dcb App: [skip ci] handle types long and unsigned long in PropertyPlacement::setPathValue() 2020-04-03 12:02:46 +02:00
sliptonic
2994b11997 Merge pull request #3303 from Schildkroet/4th-axis-improve
[Path] Bugfix for circular hole base
2020-04-02 15:39:43 -05:00
Patrick F
b8a32610c8 Bugfix for circular hole base 2020-04-02 19:38:21 +02:00
wmayer
b5d7ac6438 [skip ci] fix typos 2020-04-02 17:46:46 +02:00
vocx-fc
67dca69d60 Draft: task_scale, small style improvements 2020-04-02 16:53:49 +02:00
vocx-fc
7bc2e3ad48 Draft: move ScaleTaskPanel to a module
We remove it from `DraftGui.py` to reduce the size of this file.
Then we import it and tie it to its command defined
in `DraftTools.py`.
2020-04-02 16:53:49 +02:00
wmayer
d65d01b30d Gui: [skip ci] optimize View3DInventorViewer::containsViewProvider because it's sufficient to know if the root node of a view provider is part of the viewer or not 2020-04-02 16:08:47 +02:00
wmayer
5324540d8b Gui: [skip ci] avoid that 3D view handles a single wheel scroll event twice 2020-04-02 14:02:03 +02:00
wmayer
7d18017b49 Gui: [skip ci] fix regression in Application::open() and always encode file name when passing it to Python interpreter 2020-04-02 11:55:45 +02:00
wandererfan
ba5d2d1238 [TD]replace odd character in GOST svg files 2020-04-01 07:51:43 -04:00
donovaly
b935c12ae0 [Tools] remove ThumbnailProvider.sln
This single files does not help anything, one would also need the *.vcxproj files. But whatever I try, unless you run not CMake prior to compiling, it will try to build a Win32 DLL and fails.
So since I cannot find a way to provide .sln and .vcxproj files that can be used out of the box, the single .sln file is just senseless alone.
2020-04-01 13:29:39 +02:00
luz.paz
cafed2a137 [skip ci] Fix typos in Path WB
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,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,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
```
2020-04-01 13:28:48 +02:00
Zheng, Lei
937b331802 App: fix PropertyBool::setPathValue() 2020-04-01 13:28:05 +02:00
0penBrain
943eedbfeb [AddonManager] Support for UTF8 encoded macros 2020-04-01 13:27:27 +02:00
0penBrain
9925297da9 [AddonManager] Fix issue in Execute 2020-04-01 13:27:27 +02:00
vocx-fc
22e3788bfd Draft: task_shapestring, small style improvements 2020-04-01 13:22:04 +02:00
vocx-fc
50faaea5bf Draft: move ShapeStringTaskPanel to a module
We remove it from `DraftGui.py` to reduce the size of this file.
Then we import it and tie it to its command defined
in `DraftTools.py`.
2020-04-01 13:22:04 +02:00
wandererfan
ba6e870bb6 [TD]fix error message on empty svg symbol 2020-03-31 20:27:12 -04:00
sliptonic
e76c505a17 Merge pull request #3231 from Russ4262/4th_axis_fixes
[Path] 4th-axis rotational alignment improvements;  Code clean-up
2020-03-31 08:17:18 -05:00
sliptonic
ad28caec1e Merge pull request #3268 from Russ4262/Surface_Waterline_Split
[Path] Split 3D Surface and Waterline into independent operations
2020-03-31 08:16:32 -05:00
donovaly
bb7bc5e65b [TD] weld symbols cannot be rotated
- therefore hide the Rotation property
2020-03-31 08:55:53 -04:00
vocx-fc
58d4596888 Arch: use the new Draft trackers module
Previously it was `DraftTrackers.py`.
Now we import the trackers from `draftguitools/gui_trackers.py`.
2020-03-31 12:09:25 +02:00
donovaly
f05b38c502 [Tools] add Visual Studio project files
see: https://forum.freecadweb.org/viewtopic.php?f=10&t=44609&start=10#p381463

One needs all 4 files. It works on difference PCs since all paths are relative.
2020-03-31 12:05:45 +02:00
vocx-fc
acda0d4faf Draft: add example file to test Draft objects 2020-03-31 12:04:27 +02:00
carlopav
f018dbf159 [Draft] Fix to mirror tool
the normal is not computed with the view, but with the working plane if active.
ref. https://forum.freecadweb.org/viewtopic.php?f=23&t=44301&p=380632#p380370
2020-03-31 12:03:02 +02:00
donovaly
d1d85c6207 [Tools] extend ThumbNail Provider for .FCBak
- as requested in the forum, the thumbnail provider should also work for *.FCBak file, see
https://forum.freecadweb.org/viewtopic.php?f=4&t=10775&p=381936#p378680
2020-03-31 12:01:53 +02:00
vocx-fc
6f028e0395 Draft: update unit test for gui_selectplane 2020-03-31 12:00:38 +02:00
vocx-fc
48f2ba9c74 Draft: improve the Python style gui_selectplane
Also import `todo` and `translate` from the utils module
instead of from `DraftGui`.
Otherwise we have to import the entire `DraftGui` module
which creates dependency problems when we want to use
some functions without the graphical interface.
2020-03-31 12:00:38 +02:00
vocx-fc
f54ca61463 Draft: move and rename DraftSelectPlane 2020-03-31 12:00:38 +02:00
Russell Johnson
ebb383cc6c Path: Synchronize tooltips. Apply DepthOffset. Hide properties.
Sync tooltip text between 3D Surface and Waterline.
Also, apply `DepthOffset` to Experimental Waterline algorithm.
Hide some properties in Data tab.
2020-03-30 23:24:47 -05:00
Russell Johnson
6644d08191 Path: Implement experimental Waterline algorithm
Insert experimental Waterline algorithm that is non-OCL based.  It slices by step-down value, not stepover.
2020-03-30 22:34:57 -05:00
Russell Johnson
7d4b2f2a50 Path: Fix bug that fails Multi-pass usage 2020-03-30 22:34:57 -05:00
Russell Johnson
5d03294980 Path: Fix "increase by factor of 10" issue
Forum discussion at https://forum.freecadweb.org/viewtopic.php?style=3&f=15&t=44486.
2020-03-30 22:34:57 -05:00
Russell Johnson
a907585f0d Path: Four bug fixes per forum discussion
Fix grammar mistake.
Fix Gcode comment formatting.
Fix application of `Optimize Step Over Transitions` by adjusting the offset tolerance for creating the offset cut area for the operation.
Fix math error in circular based cut patterns for small diameter cutters.
Identification of bugs begins in the forum at https://forum.freecadweb.org/viewtopic.php?style=3&f=15&t=41997&start=210.
Path: Lower SampleInterval minimum to 0.0001mm
2020-03-30 22:34:57 -05:00
Russell Johnson
11db9553d4 Path: Add Cut Pattern selection to task panel 2020-03-30 22:34:57 -05:00
Russell Johnson
3720b57d63 Path: Add initPage() call to update GUI upon loading
Added initPage() function call updates task panel values and visibilities when user edits an existing operation.
2020-03-30 22:34:57 -05:00
Russell Johnson
3363639681 Path: Update GUI inputs for independent Waterline operation 2020-03-30 22:34:57 -05:00
Russell Johnson
d495ee202d Path: Add ScanType and LayerMode inputs
Added combo boxes with labels
Path: Remove 'Algorithm' property usage.


Path: Connect `ScanType` and `LayerMode' selections from task panel


Path: Update GUI inputs for independent 3D Surface operation
2020-03-30 22:34:57 -05:00
Russell Johnson
4109f0c7df Path: Restructure initOperation() for backward compatibility
Added initOpProperties() to handle independent creation of properties for backward compatibility and to allow for future storage of enumeration property lists within the operation.
Path: Change from PathSurface code to `Waterline`


Path: Updates and fixes


Path: Simplify code

Remove `Algorithm` and `AreaParams` property usage.
Remove other unused properties.
Simplify setupEditorProperties().
Path: Remove unused methods


Path: Update property initialization and handling

Make properties backward compatible with previous versions of the operation.
Remove references to unused properties due to 3D Surface and Waterline separation.
Path: Insert placeholder for `Experimental` algorithm


Path: Fix missing property and fix syntax

Missing `Algrorithm
2020-03-30 22:34:57 -05:00
Russell Johnson
df253cdcdc Path: Add Waterline task panel
Path: Update `Waterline` task panel and GUI code
2020-03-30 22:34:57 -05:00
Russell Johnson
a2c72feba8 Path: Add commented references for missing imported modules
PathSurfaceGui and PathWaterlineGui are imported in the initGui.py module due to OCL dependency.
2020-03-30 22:34:57 -05:00
Russell Johnson
04f8c474a4 Path: Add Waterline command and PEP8 clean-up 2020-03-30 22:34:57 -05:00
Russell Johnson
ba48b9e48f Path: Alphabetize and add Waterline module files 2020-03-30 22:34:57 -05:00
Russell Johnson
c8fc8e61ae Path: Alphabetize and add Waterline files to list
Icon file
Task panel file
Path: Remove references to nonexistent files


Path: Add missing ToolTable icon file reference
2020-03-30 22:34:57 -05:00
Russell Johnson
dacb6e62f2 Path: Add Waterline selection gate
Using the same gate as PathSurface
2020-03-30 22:34:57 -05:00
Russell Johnson
312f09e81e Path: Add Waterline modules to PathScripts 2020-03-30 22:34:57 -05:00
Russell Johnson
c7ba4f4f3f Path: Add Waterline icon file 2020-03-30 22:34:57 -05:00
sliptonic
f44d7451f5 Merge pull request #3290 from fra589/master
[Path] fix tool change and Feature missing output
2020-03-30 22:18:07 -05:00
sliptonic
c65d0f9858 Merge pull request #3266 from Russ4262/Fix_ProfileEdges_Open-Edges
[Path] Fix failed open edge path for zero GeometryTolerance case
2020-03-30 22:17:03 -05:00
Gauthier Brière
3a49a4ee59 Merge branch 'master' into master 2020-03-30 20:08:31 +02:00