Commit Graph

299 Commits

Author SHA1 Message Date
Markus Lampert
18791037be Switched job assignments to be empty which uses the default from the prefrences - if no preferences can't be found the user is prompted. 2016-11-02 10:58:35 +01:00
ml
e1a5b9a9e1 Added suppor for default OutputFile with templates and a policy on how to deal with file name conflicts. 2016-11-02 10:58:35 +01:00
ml
a3c4903d9b Added tooltip processing to the job preferences page. 2016-11-02 10:58:35 +01:00
ml
cfca656d66 Refactored post processor into its own class, concentrating all post processor script operations. 2016-11-02 10:58:35 +01:00
ml
4865a2c39d Refactored post processor into its own class, concentrating all post processor script operations. 2016-11-02 10:58:35 +01:00
ml
f5f85eba70 Basic Job preferences dialog 2016-11-02 10:58:35 +01:00
ml
4262094bb6 Consolidated finding post processor scripts into class method. 2016-11-02 10:58:35 +01:00
ml
6b69276342 Fixed post processors and Command constructor (wasn't dealing with parameters being optional). 2016-11-02 10:58:35 +01:00
ml
eb9e9096ce Cleaned up Machine removal. 2016-11-02 10:58:35 +01:00
ml
3d3a63deaf Added contributed post-processor scripts. 2016-11-02 10:58:35 +01:00
Markus Lampert
98e93d329f Added reloading of post processor to pick up user changes in the script in case they edited it. 2016-11-02 10:58:35 +01:00
Markus Lampert
c2fcb11a7d Sort Post Processor list for dialog and make 'dumper' the default if none is set in the preferences. 2016-11-02 10:58:35 +01:00
Markus Lampert
8e01827dab Path preferences for default post processor and arguments. 2016-11-02 10:58:35 +01:00
Markus Lampert
67e3b13c13 Added tooltip support for PostProcessor scripts. 2016-11-02 10:58:35 +01:00
Markus Lampert
da94fb506a Added argument support for post processors - examples in linuxcnc_post.py. 2016-11-02 10:58:35 +01:00
sliptonic
5ebb079afb really ugly icons.
Maybe someone with talent will help.
2016-10-24 12:49:57 -02:00
sliptonic
0dfbfda195 fix for tool edit index bug. 2016-10-24 12:49:57 -02:00
wmayer
e178501c4f install missing file 2016-10-21 12:09:06 +02:00
wmayer
3e82b3b10d fix Windows build failure 2016-10-20 01:37:49 +02:00
Yorik van Havre
7dbf19f2a3 Path: added Path.fromShape() python function - fixes #2423 2016-10-19 15:50:57 -02:00
ml
f0d6939bcd Fixed adaptive bone length, made it the default again. 2016-10-18 16:53:04 -07:00
ml
d6e75ff4f3 Disabling debugging and smooth paths for PR. 2016-10-18 16:53:04 -07:00
ml
23713a2c51 Smooth path with fillets. 2016-10-18 16:53:04 -07:00
ml
0ba1030163 Start of smoothing the bone path. 2016-10-18 16:53:04 -07:00
ml
a2dbefcef2 Better naming, also for properties. 2016-10-18 16:53:04 -07:00
Markus Lampert
a4b987157f Replaced homebrewn cancel support with using a transaction. 2016-10-18 16:53:04 -07:00
ml
144b385fe8 Added support for cancelling an edit session and restore the original properties. 2016-10-18 16:53:04 -07:00
ml
f6fb8ede40 Added tooltips and label for distance. 2016-10-18 16:53:04 -07:00
ml
be40ab79cd Added another safety check. 2016-10-18 16:53:04 -07:00
ml
0ae6a862db Fixed Group issue on fetching the tool; - added recursive parent traversal to deal with dressups and dressups of dressups ... 2016-10-18 16:53:04 -07:00
Markus Lampert
892b2522d2 Fixed refactoring issue 2016-10-18 16:53:04 -07:00
Markus Lampert
77a9dc53fd Added support for dressing up another dogbone dressup. 2016-10-18 16:53:04 -07:00
Markus Lampert
8653c60821 Update bone enable/disable list when settings change. 2016-10-18 16:53:04 -07:00
Markus Lampert
ea5805e6e7 Sorting dressup menu 2016-10-18 16:53:04 -07:00
markus
dd1852368b Added Dogbone to the deployment files. 2016-10-18 16:53:04 -07:00
ml
15c1d153c4 Added adaptive length algorithm. 2016-10-18 16:53:03 -07:00
ml
c70cd7b21e Added support for custom lengths. 2016-10-18 16:53:03 -07:00
ml
c474b7c50a Added support for enabling and disabling individual bones in the dressup. 2016-10-18 16:53:03 -07:00
ml
089708947d Basic task panel. 2016-10-18 16:53:03 -07:00
ml
dffb449fbd Fixed selection of the job for post processing. 2016-10-18 16:53:03 -07:00
ml
ebb5bb9ef9 Added support for t-bone long/short edge attachment. 2016-10-18 16:53:03 -07:00
ml
3742eb12fb Added support for vertical t-bones. 2016-10-18 16:53:03 -07:00
ml
bbbbe86218 Added support for horizontal t-bones. 2016-10-18 16:53:03 -07:00
ml
43066f98b6 Fixed initial Side determination for CCW paths. 2016-10-18 16:53:03 -07:00
ml
92eaeabc4c Fixed angle calculation for none-square angles. 2016-10-18 16:53:03 -07:00
ml
bc696aa84a Added automatic side selection based on Base object. 2016-10-18 16:53:03 -07:00
ml
bc38ecccba Basic dogbone dressup for profiles. 2016-10-18 16:53:03 -07:00
sliptonic
2f093d74cb misc regression bugs
Translation strings.
dragknifedressup now uses job instead of project
2016-10-16 13:07:40 -05:00
sliptonic
8d0af8fcbf PathSurface now uses base object from job.
This means Surface won't work on Meshes directly.
They should be converted so FreeCAD solids first.
Surface still needs lots of work.
2016-10-15 15:25:54 -03:00
sliptonic
df38242063 Edge Profile operation 2016-10-15 15:25:54 -03:00
sliptonic
05ff7e40d5 menu cleanup 2016-10-15 15:25:54 -03:00
sliptonic
2f04ea9586 Drilling handles multiple locations
Jog rates started
Automatically create default tool in new job.
2016-10-15 15:25:54 -03:00
sliptonic
e790963a45 Another attempt at getting pocket output to consistently include feedrate 2016-10-15 15:25:54 -03:00
sliptonic
bbb7c83d44 Making toolcontrollers selectable from operations 2016-10-15 15:25:54 -03:00
sliptonic
5398c58d6b Tool Library replaces ToolTable Job replaces Project 2016-10-15 15:25:54 -03:00
Yorik van Havre
a50bd5dc88 Made Path objects properties translatable - fixes #2524 2016-10-07 22:21:02 -03:00
wmayer
e2d51588f6 suppress annoying boost warning with msvc 2016-10-01 13:35:30 +02:00
wmayer
7d265c4cdf ObjectIdentifier has virtual method but no virtual destructor
fix 32-bit issues in PythonStuff.cpp
2016-10-01 11:03:15 +02:00
Yorik van Havre
40b00e556a Path: remove old dislay if path becomes empty - fixes #2484 2016-09-30 19:35:26 -03:00
wmayer
3d6b4aa317 fix -Wextra in Path 2016-09-23 21:20:38 +02:00
wmayer
fa0b094e6a fix -Wextra & -Wdeprecated in Path 2016-09-22 18:53:24 +02:00
wmayer
a943434c7c remove non-existing command Path_ToolLibraryEdit from list 2016-09-21 10:04:08 +02:00
sliptonic
abc97f87c3 bug with EngraveEdit 2016-09-15 20:28:33 -05:00
wmayer
61f663d117 issue #0002524: Make property docstrings translatable 2016-09-08 18:29:27 +02:00
wmayer
9ed53fea38 fix Coverity issues 2016-09-03 12:35:34 +02:00
sliptonic
0ea9cc8c43 Bug fixes:
fixes reparenting bug when dressup is deleted
Engrave wasn't using final depth value
Dragknife Dressup not correctly calculating spin direction or curve intersection
Per Yorik, fix crash if PartGui hasn't been loaded
Allow selection of bottom face for profiling
Bug # 0002615
2016-08-04 14:28:59 -03:00
Lorenz Hüdepohl
803c136968 Path: Fix spurious full circles in PathProfile
There was an issue in the conversion from a toolpath to GCode, some very
small circles were mistaken for full circles when their coordinates were
output in some finite precision.
2016-07-15 10:57:12 +02:00
sliptonic
c5b501b9d3 Bugs. 2016-07-12 20:13:45 -03:00
sliptonic
4880e633b9 bug preventing tool change gcode
from being added to postprocess
2016-07-12 20:13:45 -03:00
sliptonic
f6654c8a6d Dressup to add dragknife corner actions to a path
Dragknives have an offset so paths must be extended to complete the cut.
They also require special handling if the incident angle between two segments
is small.  This dressup provides properties for the filter angle, offset
distance, and pivot height.  One known area still needs to be addressed:

If the segment being processed is shorter than the offset distance, the
extension may be added incorrectly.

Additional corner strategies could also be added in the future to enhance drag
knife performance.

Some of the files also got a pep8 cleanup.

PathKurveUtils:  logic around line #460 to always pass Z value.
Previously, the Z was only passed if it changed.  This caused some downstream
problems for dressup functions.

Changes to Dressup so it works with parent objects correctly.
2016-07-12 20:13:45 -03:00
sliptonic
19306c6d1c Show a simple representation of the tool
Builds a representation of the tool and shows it while the task dialog is open.

Next:  Need to make the representation more accurate with respect
to end shape, corner radius, etc.

Need to improve the tool library handling

Need to improve the tool selection process.
2016-07-12 20:13:45 -03:00
sliptonic
c5d35a00c4 Engrave now can handle imported SVG elements.
Selection gate changed to allow selection of Shape objects with
boundbox.z = 0 and having wires.

Splines and curves are processed through pathutils.cleanedges but the precision is
hard coded.  Might want to change this to a property.
2016-07-12 20:13:45 -03:00
Yorik van Havre
a8c95189fc Path: added addObject & removeObject python methods to FeatureCompound - fixes #2607 2016-07-07 19:49:00 -03:00
Mateusz Skowroński
873f8e3ea7 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-07 15:07:38 -03:00
John Dupuy
ec20073563 Bug fixes to opensbp post processor in Path for ShopBot. 2016-07-03 22:48:53 -03:00
sliptonic
bf46ea4804 Additional fixes for post processing.
comment diameter instead of radius for compensated profile/surface ops
opensbp improved pre processor is more explicit with XY values
cmake copies opensbp postprocessor.
Removed unnecessary file.
2016-07-03 22:41:38 -03:00
sliptonic
d1b927767a Fix for bug #2528
Improved handling of comments
2016-07-03 22:41:38 -03:00
sliptonic
4d28fff8ee fixes offset problems with OCC pocketing Bug #2604 2016-07-03 22:41:38 -03:00
sliptonic
ee5bb83a38 opensbp preprocessor handles float for spindle speed 2016-07-03 22:41:38 -03:00
sliptonic
fd57f47e3d Fix feedrate bug #2597
minor edits to linuxcnc post processor
2016-07-03 22:41:38 -03:00
Yorik van Havre
796d0c9f7f Path: support for G90.1 / G91.1 GCodes (absolute/relative arc centers) - fixes #2605 2016-06-29 17:08:08 -03:00
wmayer
9dc6d7f8c0 fix further warnings in libarea 2016-06-16 11:12:12 +02:00
wmayer
6be9ee87ea + fix many warnings in libarea using MSVC 2016-06-14 11:04:19 +02:00
Yorik van Havre
24c279f92b Merge remote-tracking branch 'sliptonic/master' 2016-06-13 20:02:32 -03:00
Lorenz Hüdepohl
092e8e10c1 PathUtils: remove unnecessary arguments to convert()
The arguments Side, radius, clockwise, and firstedge were never used in
convert()
2016-06-13 15:27:21 +02:00
Lorenz Hüdepohl
c862fc0065 Path: add plunge angle feature for PathProfile
With the new property "PlungeAngle", one can specify the inclination of
a ramp into the material, instead of plunging straight down. The
original behaviour and default is set to 90.0 degrees. A value of zero
makes the tool descent exactly one layer depth down per turn.
2016-06-13 15:27:21 +02:00
sliptonic
451355e159 Merge branch 'master' into master 2016-06-13 08:25:07 -05:00
sliptonic
f42c90f459 Fix for partial libarea pockets. 2016-06-12 14:23:06 -05:00
sliptonic
a02d704d0a Updated libarea with changes from Heeks/libarea 2016-06-11 10:51:27 -05:00
sliptonic
dff173cd1f Fixes for various gcode errors
Some operations were still outputting even if disabled.
Nested comments caused trouble in linuxcnc
Machine was producing an initial move that was potentially dangerous
2016-06-11 10:51:27 -05:00
Lorenz Hüdepohl
7be378954e PathProfile.py: Fix non-GUI usage
The call to QtGui.QApplication.translate is not possible and necessary
without a GUI
2016-06-10 23:10:04 +02:00
sliptonic
f48ee1abec Correctly format drilling locations. 2016-06-03 13:45:25 -05:00
sliptonic
6425ef770d Fix base geometry reference to use tuple in PropertyLinkSubList
Also improves the naive test of vertical/horizontal faces for profiling.

replace naive test of verticality

Fix base references to use tuple in PropertyLinkSubList
78b92d47b4
2016-06-02 09:27:47 -05:00
sliptonic
4568a4e583 Fixes for PathSurface.
Correctly remember settings.
2016-05-31 21:15:39 -03:00
sliptonic
2cc36497b8 remove translation from property descriptions. 2016-05-23 13:04:58 -03:00
brad
91978ba1a4 Operations and ToolControllers have labels set automatically.
This will hopefully make things a little clearer
A couple more Sanity checks.
Don't error if no TC in project.
2016-05-23 13:04:58 -03:00
sliptonic
7436a5e397 Cleanup. Make surface, drilling, and engrave work with preselect 2016-05-23 13:04:58 -03:00
sliptonic
d3ba507847 new icons 2016-05-23 13:04:58 -03:00
sliptonic
a0f332feb0 OCC pocket handles large curves better now. Needs testing
initial commit
2016-05-23 13:04:58 -03:00
sliptonic
be03c2ad26 defaults if objects pre-selected. Fixes
Smarter default for inside outside profiles

first commit
2016-05-23 13:04:58 -03:00
brad
bb5165634b cleanup PathUtils.
Bug found profiling single face using occ.  workaround.
defaults for profile are sane.
Automatically add pre-selected faces
2016-05-23 13:04:58 -03:00
sliptonic
c9d6db2173 Profile handles multiple bases now. 2016-05-23 13:04:58 -03:00
brad
2f17f11049 PEP8 cleanup 2016-05-23 13:04:58 -03:00
brad
eeec4f88a3 handle undefined tools 2016-05-23 13:04:58 -03:00
sliptonic
e11558ef3f compliance with PEP8 2016-05-23 13:04:58 -03:00
sliptonic
b34f79d204 cmake fixes 2016-05-23 13:04:58 -03:00
sliptonic
7faaedeab2 Per Zultron. Fixed undefined symbol 2016-05-23 13:04:58 -03:00
sliptonic
22e788dc4b First try at a remote operation. 2016-05-23 13:04:58 -03:00
sliptonic
704cc23ab7 Code cleanup and additional work on panels 2016-05-23 13:04:58 -03:00
sliptonic
670ae854f3 First Draft of Surface operation.
-uses ocl waterline
-uses ocl dropcutter
2016-05-23 13:04:58 -03:00
sliptonic
dcdbf75e55 Taskpanels for Drilling, Engrave, and Profile basically working
Profile still missing some functionality.
I haven't tried to do anything about cmake requirements or testing.
This is a checkpoint commit, please don't build.
2016-05-23 13:04:58 -03:00
sliptonic
82a75e2a20 cmake fixes for engrave task panel 2016-05-23 13:04:58 -03:00
brad
2f43b2a28d Moving horiz and vert feed into the toolload object. 2016-05-23 13:04:58 -03:00
brad
f1a4a5bcc4 First attempt at a task panel
Panel for engraving operation.
2016-05-23 13:04:58 -03:00
brad
bf25088e1a removed obsolete import of PathKurve
fixed viewprovider for profile
2016-05-23 13:04:58 -03:00
brad
0ef51a8426 Fixed problem with rapid and feedrate. 2016-05-23 13:04:58 -03:00
sliptonic
d5c3043e73 libarea profile and pocket now pass hv feedrate.
Warning:  The units may not be correct for your post processor.
Need to check this and find a better way.
2016-05-23 13:04:58 -03:00
sliptonic
26bef05db2 integrating dbtayls helix and ramp entry
integrating dbtayls helix and ramp entry and cleanup

fixed a bug with depth calculation and another with proper entry rapid moves
2016-05-23 13:04:58 -03:00
brad
19812468d1 cmakefix per jan. 2016-05-23 13:04:58 -03:00
sliptonic
940f52db90 Extensive Path Workbench improvements.
Implement libarea improvements for profile
Implement libarea pocketing.
consolidate occ and libarea pocketing operation into one with algorithm
switch
consolidate occ aand libarea profile op into one with algorithm switch
add basic engraving operation.
Add rough UI for profile holding tags
implement holding tags for libarea profile.
implement basic defaults for depth settings.
First move in Drilling is rapid to clearance height.

UI needs lots of work but is usable.
2016-05-23 13:04:58 -03:00
Yorik van Havre
e6dd3488ff
removed translation from property descriptions (wrong to do it there anyway) - issue #2524 2016-05-18 16:59:15 -03:00
Jonathan Wiedemann
9ef4a2e21b add decode utf8 PathMachine.py 2016-05-18 17:20:29 +02:00
wmayer
bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
524cdec261 + suppress warnings with MSVC 2016-05-05 18:39:17 +02:00
wmayer
d03a8fd386 + fix various gcc & clang warnings 2016-04-24 16:21:19 +02:00
Yorik van Havre
ca7c5d31a4
updated translations 2016-04-06 22:39:34 -03:00
Yorik van Havre
bcb75d5477 Updated translation files from crowdin 2016-03-17 23:29:11 -03:00
Yorik van Havre
d1b4f23388 Added latest translations from crowdin 2016-03-06 14:50:07 -03:00
Yorik van Havre
1ec066553e Merge pull request #97 from dbtayl/master
Helical/linear ramp plunging
2016-03-01 17:08:19 -03:00
Yorik van Havre
7734ffb810 Updated translation files 2016-03-01 12:34:03 -03:00
triplus
d432c72a15 Add SVG workbench icons 2016-02-26 23:17:43 +01:00
Yorik van Havre
28b6c82555 Added updated translations from crowdin - fixes #2443 2016-02-26 18:32:02 -03:00
Daniel Taylor
e5f1f4df3d Basic helical plunge and linear-ramp plunging 2016-02-21 09:45:29 -06:00
Daniel Taylor
377595647d Fixed "prnt" function to properly limit to 4 decimal places
Greatly simplify rebaseWire
2016-02-21 09:45:29 -06:00
Yorik van Havre
d0bc467e6a Path: Fixed some more translation contexts 2016-02-12 20:29:28 -02:00
Yorik van Havre
6a35ef38c7 Updated ts files 2016-02-12 14:22:04 -02:00
Yorik van Havre
ce8ed2ade3 Path: Enabling highlight/selection colors in paths 2016-02-11 14:55:37 -02:00
Yorik van Havre
7ff4e28599 Path: Fixed translation stuff - issue #2443 2016-02-09 17:05:57 -02:00
Yorik van Havre
2e2192f88a Added slovenian language 2016-02-03 13:36:51 -02:00
Yorik van Havre
37b1bdbe27 Updated translations with latest from crowdin 2016-02-01 23:32:58 -02:00
Yorik van Havre
23cc9ba32e Path: small fix in arcs rendering 2016-01-27 19:27:24 -02:00
Yorik van Havre
cbdd18cef6 Path: Added pref setting to disable auto-include of new paths in projects 2016-01-24 21:04:02 -02:00
Yorik van Havre
380b4a7b62 Path: Fixed non-functioning Path From Shape 2016-01-23 19:39:34 -02:00
Yorik van Havre
baf103ad0a Path: Added Simple Copy tool + Inspect tool can now save changes 2016-01-23 15:58:00 -02:00
Yorik van Havre
7bba2ee9aa Path: better colors for PAth Inspector 2016-01-21 18:07:47 -02:00
Yorik van Havre
2ed8e5dd99 Path: misc bugfixes + restored node markers 2016-01-21 14:02:56 -02:00
Yorik van Havre
44ad4d94c7 Path: made tooltable editable by right-clicking the machine 2016-01-20 20:36:53 -02:00
Yorik van Havre
ba63d7af11 Path: reorganized tools 2016-01-20 19:05:12 -02:00
Yorik van Havre
08dda60d00 Path: ToolChange command + added Inspect command to context menu 2016-01-20 18:53:04 -02:00
Yorik van Havre
2262e7d60f Path: minor improvements to some icons 2016-01-20 17:44:19 -02:00