Commit Graph

153 Commits

Author SHA1 Message Date
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
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
61f663d117 issue #0002524: Make property docstrings translatable 2016-09-08 18:29:27 +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
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
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
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
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
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
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
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
7ff4e28599 Path: Fixed translation stuff - issue #2443 2016-02-09 17:05:57 -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
08dda60d00 Path: ToolChange command + added Inspect command to context menu 2016-01-20 18:53:04 -02:00
Yorik van Havre
0d22ca8eaf Path: Added new series of tools and fixes
* Fixed UsePlacement property of Path Compounds
* Added Path FaceProfile command - does a simple 2D contour of a face
* Added Path FacePocket command - does a simple 2D pocket of a face
* Added Path Array command - does an array with copies of a path
* Added Path Custom command - to add custom G-Code
* Added Inspect command - to inspect the G-Code of a path
2016-01-19 22:31:46 -02:00
Yorik van Havre
39a55cf951 Draft: small fix in patterns 2015-12-30 12:30:40 -02:00
Jon Nordby
e81c4cf62a Path: Basic .rml postprocessor for Roland Modela MDX
Jog, drill, linear and arc motions works.
Tested on machine with some trivial projects,
dimensions and feedrate speeds verified.

Safe-Z/clearance command currently not respected (defaults to max height, super conservative).
2015-09-11 18:54:19 -03:00
Jon Nordby
6f89398b07 Path: Allow PostUtils to be used in CLI mode 2015-09-08 21:19:43 +02:00
Jon Nordby
b195afc8ca Path: Fix unable to import from CLI
Need to guard 'import FreeCADGui' in this case.
2015-09-08 21:18:31 +02:00
Yorik van Havre
91b2506ccc Changed all references to DraftGeomUtils.sortEdges to Part.__sortEdges__ 2015-09-04 11:54:57 -03:00