Commit Graph

1587 Commits

Author SHA1 Message Date
Russell Johnson
4a899d2934 Extend fix to updateVisibility() call
Call originates in PathOpGui module.
2020-05-17 21:20:04 -05:00
Gabriel Wicke
a8398389bb [path] Small fix in PathOpGui
Fix a bad call to page.updateVisibility
2020-05-17 17:11:14 -07:00
Gabriel Wicke
979a32800d Path: LinuxCNC postprocessor scalability
- Do not show editor when gcode size exceeds 100kb. The poor editor
  widget cannot handle that much output, and will hang FreeCAD.
- Avoid quadratic behavior in output accumulator. While Python greater
  than 2.7 avoids quadratic behavior in string accumulators, this optimization
  is defeated when the string is forced to be materialized to contiguous
  memory, as was done by the `.trim()`. As a result, we got quadratic complexity,
  ensuring that large jobs would never successfully be post-processed.
2020-05-17 13:31:44 -07:00
Russell Johnson
494bb6cba6 Path: Fix for .extrude() vector roughly zero 2020-05-13 21:55:06 -05:00
Russell Johnson
75cac30649 Path: Add if edge: test clause
`If edge:` handles 'NoneType' edges returned from `PathGeom.edgeForCmd()`.
Includes some PEP8 formatting.
2020-05-13 21:55:06 -05:00
Russell Johnson
3593de8a9f Path: Fix related to linkStockAndModel checkbox.
The StockEdit class is reused by BoundaryDressup, and this checkbox does not exist in its UI panel.
2020-05-13 16:34:06 -05:00
sliptonic
e7617262d2 Merge pull request #3443 from Russ4262/UnifiedProfile
Path:  Combine Contour, Profile Faces and Profile Edges into unified Profile operation
2020-05-12 12:06:36 -05:00
luz.paz
d0d2096fc8 Fix typos [skip-ci]
Found via codespell v1.17.0.dev0  
``` 
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-05-12 10:04:29 +02:00
Russell Johnson
e835bf45a7 Path: Update selection gates pertaining to unified Profile operation 2020-05-10 23:07:53 -05:00
Russell Johnson
4396789b04 Path: Improve geometry selection and Cancel operation error messages 2020-05-10 23:07:53 -05:00
Russell Johnson
ad03af3e43 Path: PEP8 and LGTM cleanup; Remove extra addProperty() statement
Removed 'EnableRotation' property addition because it is done in PathAreaOp module upon creation and document restore.
2020-05-10 23:07:53 -05:00
Russell Johnson
e5b7a66d92 Path: Additional fixes and improvements to unified Profile operation 2020-05-10 23:07:53 -05:00
Russell Johnson
cf23bc6892 Path: Implement backwards compatibility
Source modules are replaced with pass-through code to send pre-existing profile-based operations to new unified `Profile` operation.
Path: Set line endings to Unix style
2020-05-10 18:19:42 -05:00
Russell Johnson
900059bc99 Path: Integrate unified Profile operation into PathWB
Remove Contour, Profile Faces, and Profile Edges icons from PathWB GUI.  Files are still fully in tact and available.
2020-05-10 18:19:42 -05:00
Russell Johnson
27c4db9a34 Path: Consolidate Contour, ProfileFaces, and ProfileEdges
No geometry selection defaults to Contour operation.
Path: Add new unified `Profile` operation modules
2020-05-10 18:19:42 -05:00
Russell Johnson
52fe25528a Path: Update 'Operation' panel visibility when 'Base Geometry' changes 2020-05-10 18:19:42 -05:00
Russell Johnson
16cf71bb7d Path: Add method, 'updatePanelVisibility()'
New method allows one panel to update visibility on another panel.
2020-05-10 18:19:42 -05:00
Russell Johnson
78735ddc06 Path: Add reference to parent class within child class 2020-05-10 18:19:42 -05:00
Russell Johnson
c5e577be89 Path: Initiate unification of ProfileFaces and ProfileEdges operations
ProfileFaces now accepts and processes faces and edges.
Full functionality is maintained (so far as tested) with respect to original operations.
2020-05-10 18:19:42 -05:00
Daniel Wood
3fc7fd727b Translate user messages 2020-05-09 10:39:48 +01:00
Daniel Wood
d945e3c9fb Use PathLog for user notices 2020-05-09 10:35:55 +01:00
Daniel Wood
3a65a764e3 PathOp PEP8 Formatting Fixes 2020-05-09 09:02:16 +01:00
Daniel Wood
73f3585e57 PathJob PEP8 Formatting Fixes 2020-05-09 08:51:36 +01:00
Daniel Wood
589bd709cb Clean up unused code and comments 2020-05-09 08:41:48 +01:00
Daniel Wood
33ad1a3f5f reword feedrate error when no tool controller is selected 2020-05-09 08:34:55 +01:00
Daniel Wood
14905a17df Change feedrate error to warning. 2020-05-09 08:34:10 +01:00
Daniel Wood
b44e21cc6d remove job level warning for cycle time error 2020-05-09 08:22:26 +01:00
Daniel Wood
09465b64c8 Reword property description to reflect job rather than op 2020-05-09 08:12:17 +01:00
sliptonic
8d03d32504 Merge pull request #3444 from dubstar-04/fixes/simulation-active-ops
[Path] - fixes/simulation
2020-05-08 21:50:00 -05:00
Zibibbo84
ea2b3f9f01 Adding HEIDENHAIN CNC Mill post-processor for PathScript 2020-05-08 21:50:23 +02:00
Daniel Wood
3c53e94100 PEP8 formatting fixes 2020-05-08 07:41:37 +01:00
Daniel Wood
f9624a9bf2 clean up comments and unused code 2020-05-08 07:30:53 +01:00
Daniel Wood
036e26d7da Simulation - only load active operations 2020-05-08 07:16:57 +01:00
sliptonic
348582985f Merge pull request #3433 from dubstar-04/fixes/toolbit-simulation
[Path] - Fixes/toolbit simulation
2020-05-06 13:56:45 -05:00
Daniel Wood
9bdba32f54 check the toolbit shape is valid 2020-05-04 20:53:36 +01:00
Daniel Wood
f3789ebfad Handle Legacy and Toolbits in simulation fixes #4326
pass the tool or toolbit shape into the simulation
2020-05-04 20:52:40 +01:00
Russell Johnson
8b72ea646a Path: Fix extrude() fails with zero vector
Add error message and return empty path for ProfileEdges open-edge case.
2020-05-04 00:28:40 -05:00
sliptonic
22f4f2ba2f Path: remove fstrings to maintain xenial compatibility 2020-05-02 13:42:22 -05:00
markus
d00d402efd Fixed ToolBit template generation and adapted TC unit test to deal with Tool and ToolBit. 2020-04-29 14:27:51 -07:00
sliptonic
b678080541 Merge pull request #3393 from Schildkroet/toolbit-gui
[Path] Toolbit GUI Improvements
2020-04-28 11:41:30 -05:00
Patrick Felixberger
d44beb2eb4 Removed some printf 2020-04-28 16:11:28 +02:00
luz.paz
cb9379225a [skip-ci] Fix typos
Found via codespell v1.17.0.dev0  
```
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-27 11:29:32 +02:00
Patrick F
9335078fc1 Added some comments 2020-04-25 22:45:43 +02:00
Russell Johnson
6f4f24c299 Path: Fix ZigZag pattern; Remove some comments
ZigZag pointset is no longer a tuple to unpack.  Grouped it with Line and Spiral.
2020-04-24 22:36:50 -05:00
Eric Trombly
c10eed7eb0 pass endVectorin PathAreaOp and clean up gcode generation 2020-04-24 20:05:39 -05:00
sliptonic
d8c23e4894 Merge pull request #3386 from dubstar-04/fixes/cycleTimeEstimation
[Path] - fixes/cycle time estimation
2020-04-23 22:34:12 -05:00
sliptonic
f71425ec5a Merge pull request #3368 from spontarelliam/path-link-stock-model
Path: movement of stock and model when setting origin
2020-04-23 22:33:44 -05:00
Daniel Wood
e4dacf571b Display 00:00:00 when the cycle time is 0 seconds 2020-04-23 18:07:32 +01:00
sliptonic
b9af7a1fb2 Merge pull request #3363 from dubstar-04/CoolantTidy
[Path] - Remove Duplicate Signal
2020-04-22 18:09:01 -05:00
Patrick Felixberger
e960d0af0c Updated Toolbits UI 2020-04-22 23:41:10 +02:00