Commit Graph

2195 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
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
sliptonic
b9e584da27 Merge pull request #3430 from Russ4262/ProfileEdges_Fix
Path: Fix `extrude()` fails with zero vector
2020-05-06 13:56:10 -05:00
luz.paz
dcdf96d8b9 Fix various 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-05-05 09:49:08 +02:00
Daniel Wood
ed30e0421b Try and catch errors when getting the tool profile 2020-05-04 20:53:36 +01:00
Daniel Wood
3003a16cc6 Clean up debug prints 2020-05-04 20:53:36 +01:00
Daniel Wood
9bdba32f54 check the toolbit shape is valid 2020-05-04 20:53:36 +01:00
Daniel Wood
f8e4222506 use the tool resolution to determin face position 2020-05-04 20:53:36 +01:00
Daniel Wood
455c04f978 Remove and silence some debug prints 2020-05-04 20:53:36 +01:00
Daniel Wood
6dd3e8b7a2 Extract the shape of the tool from the solid shape 2020-05-04 20:53:36 +01:00
Daniel Wood
4c7c000e69 use the tool resolution to determin face position 2020-05-04 20:53:36 +01:00
Daniel Wood
cdcac55e18 Remove and silence some debug prints 2020-05-04 20:53:35 +01:00
Daniel Wood
2ae9967b0f Extract the shape of the tool from the solid shape 2020-05-04 20:53:35 +01:00
Daniel Wood
b2c2cad07d use the tool resolution to determin face position 2020-05-04 20:52:40 +01:00
Daniel Wood
a6563c1170 Remove and silence some debug prints 2020-05-04 20:52:40 +01:00
Daniel Wood
19f3f9ebdd Extract the shape of the tool from the solid shape 2020-05-04 20:52:40 +01:00
Daniel Wood
9fa1a3e8ce Allow passing the tool shape from python 2020-05-04 20:52:40 +01:00
Daniel Wood
0d3d7157f8 pass the tool shape to the CSimTool and handle the shape internally 2020-05-04 20:52:40 +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