Commit Graph

29 Commits

Author SHA1 Message Date
luz paz
b75cd3dd52 Path: Fix header uniformity and remove trailing whitespace
This PR fixes header uniformity across all Path files. It also removes all trailing whitespace.
2020-11-05 19:57:21 +01:00
GeneGH
5162f146d6 Path Simulator - Recognition of canned cycle cancellation
The Path Simulator was designed to handle canned cycle drilling operations, G81, G82, and G83, but it expects the industry standard continuous uninterrupted set of G8x commands until the operation is completed. A recent change to the Path Drilling operation adds commands that cancel each G8x command immediately after that command is used. This confuses the Path Simulation function and leads to visual artifacts when the simulation is performed.

G-code standards say that canned cycle cancellation can be accomplished by a specific G80 command or by any motion command in the set G0, G1, G2, or G3. This PR modifies PathSimulationGui.py to add recognition for canned cycle cancellation and resets the simulator to treat the next G8x command as the first element of a new series of canned cycles operations rather than a continuation of the previous series.
2020-06-10 13:51:09 -04:00
Daniel Wood
35b50ba4a4 PEP8 formatting fixes 2020-05-08 07:41:37 +01:00
Daniel Wood
cdb3b669c6 clean up comments and unused code 2020-05-08 07:30:53 +01:00
Daniel Wood
95fb174386 Simulation - only load active operations 2020-05-08 07:16:57 +01:00
Daniel Wood
ef4074a6a8 check the toolbit shape is valid 2020-05-04 20:53:36 +01:00
Daniel Wood
7cb814129c 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
Eric Trombly
7fe094ac02 add lazyloader support
lazy_loader is copied to Ext now, modified external imports to lazy_load

add a few more imports to be lazy loaded, think the install path is correct now

[TD]"<" symbol embedded in html

revert changes to path modules for testing

use lazyloader in PathAreaOp.py

add back in deferred loading

temp change to print error message in tests

temp change to print error message in tests

add _init__.py to lazy_loader

make install in CMakeLists.txt one line
2020-04-13 21:14:34 -05:00
Daniel Wood
be9bc406ac round the simulation slider value 2020-03-01 20:22:51 +00:00
Markus Lampert
296058d6dd Added ToolController creation 2019-11-28 17:31:35 -08:00
luz.paz
1bc33025d6 LGTM: various fixes for using string operator instead of numeric 2019-10-25 10:33:12 -03:00
sliptonic
4a984de243 Path: normalize proxy stratements
remove bare exceptions
2019-06-21 13:01:01 -05:00
kreso-t
40ff33d4a7 PathSimulation - fix for memory consumption with complex sim paths 2018-09-11 11:02:43 +02:00
Markus Lampert
b24e95b7c1 Removed PathGeom class and moved functionality into module interface. 2018-06-19 21:38:20 -07:00
pekkaroi
8b0b3df76c PathSimulator, fix typo false->False 2018-05-28 10:27:53 -03:00
Shai Seger
15c2b9a28c fix FreeCad crash when no tool is assigned to an operation 2018-05-11 10:17:16 -03:00
Shai Seger
8d4f31f021 fix bug tracker issue id:0003450 : Freecad crash when simulating without operations. 2018-05-04 00:59:16 +03:00
sliptonic
d95656d812 Path: Make simulation work with additional jobs
fixes #3359

The simulation stock now updates when job is changed
2018-03-08 12:05:29 +01:00
sliptonic
08656b8e19 Path: fix crash if path has dressup
fixes #3358
2018-03-08 12:05:29 +01:00
Shai Seger
627c4e7906 Give default values to cutting edge angle so simulations with work even if user did not specify a valid cutting angle. 2018-01-24 17:43:06 +01:00
Sammel Lothar LTS
b6304d16a7 Fix Path Keep View and Sim in Sync,typo Linuxcnc_post 2018-01-09 16:46:12 -02:00
sliptonic
9c4120df7e fixes from IchGucksLive for drilling simulation. Tweaks to linuxcnc post 2018-01-07 18:43:16 -02:00
Shai Seger
870d661983 Make simulator work with non standard operations. 2017-11-22 11:34:14 -02:00
Shai Seger
5d2213381a Increase Fast Forward speed
Fix Linux compilation issue (hopefully)
2017-10-31 11:10:23 -02:00
Shai Seger
1a7c4b3a80 fix bug: when pressing play again, only first operation was done. 2017-10-31 11:10:23 -02:00
Shai Seger
1322bbf13d Add 2 color stock, speed control and resolution control 2017-10-31 11:10:23 -02:00
Shai Seger
77193b7e36 Add sliders to task 2017-10-31 11:10:23 -02:00
Shai Seger
831cb793f6 Add missing files and place ui file in correct location 2017-10-31 11:10:23 -02:00
Shai Seger
153959f98f fixes after merge with upstream 2017-10-31 11:10:23 -02:00