Commit Graph

2128 Commits

Author SHA1 Message Date
sliptonic
3a1c0c6076 Path cleanup PathGuiInit 2021-06-01 13:15:59 -05:00
sliptonic
8f16d82272 Revert "[Path] Handle unavailability of Camotics library/module" 2021-06-01 12:55:48 -05:00
sliptonic
17b18f20d6 Revert "[PATH] CAMotics simulation. First Draft" 2021-05-31 12:49:25 -05:00
sliptonic
c307b0ce7e fix cancel bug 2021-05-30 10:49:16 -05:00
Schildkroet
3e801a02eb Merge branch 'master' into deburr_improve 2021-05-29 21:40:11 +02:00
Russell Johnson
7373c4dfa8 Path: Handle unavailability of Camotics library/module 2021-05-29 13:52:00 -05:00
Russell Johnson
c2cfba638f Path: Alphabetize import list and remove comments therein 2021-05-29 13:50:06 -05:00
sliptonic
21a830a816 removed PathUtils import from all post-processors to avoid the deleted proxy error
I removed or commented out code using this import.  In all cases,
the import was used to get descriptive information from the Job
2021-05-28 13:04:16 -05:00
sliptonic
abe36a088d Merge pull request #4672 from sliptonic/feature/camotics2
[PATH]  CAMotics simulation.  First Draft
2021-05-28 13:03:13 -05:00
sliptonic
3f17e4cedd Merge pull request #4812 from jimzim111/patharray_multibase
Path: PathArray based on multiple bases, and choice of direction
2021-05-28 10:38:55 -05:00
sliptonic
3f9ca68c5e Initial Commit 2021-05-28 10:25:46 -05:00
Russell Johnson
03cce806f3 Path: Remove first-draft rotational code Path
Remove all first-draft rotational-related code from Path workbench to make way for more stable, long-term integration of a rotational indexing capability.
2021-05-27 10:04:31 -05:00
jim
631e166472 fix whitespace 2021-05-25 18:36:51 -07:00
jim
a62e015427 Clean up logic that tests whether there any base Paths to process 2021-05-25 18:34:19 -07:00
jim
592dba1610 Hide ToolController property. TC can be chosen by the first operation in the PathArray Base property. 2021-05-25 18:24:50 -07:00
jim
837f2c00f3 Wrap strings in QT_TRANSLATE_NOOP 2021-05-25 18:11:15 -07:00
jim
6cc9a2165e Merge branch 'patharray_multibase' of https://github.com/jimzim111/FreeCAD into patharray_multibase 2021-05-24 21:22:10 -07:00
jim
276f8f5fab Fix row-ordering logic when SwapDirection==True 2021-05-24 21:21:17 -07:00
jimzim111
dc097796b0 Merge branch 'FreeCAD:master' into patharray_multibase 2021-05-24 21:04:37 -07:00
jim
c190fca449 Add PathArray "Jitter" capability to offset each copy by a random distance. Helps create an imperfect "hand-crafted" appearance.
Adds properties:
 - JitterPercent: % of copies that will be randomly offset
 - JitterMagnitude: Maximum distance to offset copies
2021-05-24 21:00:45 -07:00
sliptonic
929891d71a Merge pull request #4680 from ChrisNisbet01/Fix_vcarve_depth_calculation
Path: vcarve - Fix depth calculation
2021-05-24 12:47:46 -05:00
sliptonic
005c56723c Merge pull request #4765 from sliptonic/bug/toolnumbers
[PATH] fix bug adding TC from job dialog.
2021-05-24 12:46:21 -05:00
sliptonic
bcbcf36052 Merge pull request #4617 from Russ4262/fix_pocketshape_circular_extension
[Path] Fix outside `Extensions` of circular faces with inner holes
2021-05-24 12:45:13 -05:00
sliptonic
ea62243b3a Merge pull request #4637 from Russ4262/fix_update_default_extension_length
[Path] Fix update of Extensions `Default Length` GUI spin box
2021-05-24 12:34:35 -05:00
sliptonic
c5d2b19bdf Merge pull request #4523 from Russ4262/slot_fixes
[Path] Stability fixes for experimental Slot operation
2021-05-24 11:53:44 -05:00
sliptonic
0246b4eb6e Merge pull request #4796 from heewa/fix-path-errors
Path: check for empty before using - fixes #4645
2021-05-24 11:51:53 -05:00
jim
6c6d62b189 fix whitespace 2021-05-23 19:28:36 -07:00
jim
fdd8126e39 Path: Add PathArray "SwapDirection" property to process copies along X axis before Y axis 2021-05-23 19:25:52 -07:00
jim
c1e9f38b4e PathArray support for multiple paths as base 2021-05-23 19:24:30 -07:00
Heewa Barfchin
841b792c73 Path: check for empty before using - fixes #4645
In a few locations, python objects are used without checking if they
exist and are non-null, which throws missing attribute exceptions. The
fix is to simply check first.
2021-05-17 18:45:11 -04:00
Daniel Wood
f497d0da04 Use defaults for retract height
Use the StartDepth + SafeHeightOffset to calculate the retract height in relation to the hole start height.
2021-05-06 08:09:43 +01:00
Daniel Wood
1e8e81b986 use correct feedrate for rapid moves 2021-05-05 20:33:26 +01:00
Daniel Wood
aaa5a81e45 use toolbits with tooltip calculation 2021-05-04 15:56:45 +01:00
Daniel Wood
5ff5b11e3c Rapid to safe height above the hole 2021-05-04 14:06:30 +01:00
Daniel Wood
ac13b55666 fixes for drilling operation start depth 2021-05-04 13:41:50 +01:00
sliptonic
b922ae5b15 fix bug adding TC from job dialog.
When adding tool controllers from the job dialog, it will now
try to match the toolbit file with the currently selected library
and add use the toolnumber from there.  If no match is found,
it will autoincrement from the existing tool controllers
in the job
2021-04-27 14:56:05 -05:00
sliptonic
a5768a2f16 adjust tool position during inspect 2021-04-20 18:32:09 -05:00
Russell Johnson
d08aef58a9 Path: Correct GUI visualization of circular-face visualizations
Path: Fix internal circular extension visualization
2021-04-10 14:09:22 -05:00
Russell Johnson
9da9bf0f93 Path: Fix outside extension of circular faces with inner holes
Fix bug identified by MLampert.  This fix addresses extensions for circular faces that have non-extended holes in the face.
.
Unlike polygon extensions that only need one wire to define the extension shape, some circular extensions require two wires (a face would be better) to define the extension area.
.
Restructure to accommodate future `Extensions` improvements
2021-04-10 14:09:22 -05:00
Russell Johnson
79cfcc0ff6 Path: Improve horizontal-planar and curved face handling
These changes allow for better identification of horizontally planar faces, and also improve handling of circular arc faces that failed previously for use with ball-end bits.
This fix also improves slot creation based on selection of two arc edges for ball-end slot creation.
2021-04-08 22:43:33 -05:00
Russell Johnson
8f2864acd8 Path: Fix comment syntax 2021-04-08 22:43:33 -05:00
Russell Johnson
b76b1fae97 Path: Fix variable naming to use lowercase 2021-04-08 22:43:33 -05:00
Russell Johnson
ccba37af3e Path: Fix error when no obj.Base features selected 2021-04-08 22:43:32 -05:00
Russell Johnson
b372cc7549 Path: Add check for CustomPoint input
If custom points are same, the user has not entered acceptable values for path generation with custom points.
2021-04-08 22:43:32 -05:00
Russell Johnson
de866634e2 Path: Set CustomPoint2 and CustomPoint1 defaults equal
Setting these two default values equal will aid in code execution and error detection.  Subsequent fixes will rely on this condition.
2021-04-08 22:43:32 -05:00
Russell Johnson
55453bd69d Path: Fix update of Extensions Default Length GUI spin box
Fix the bug hindering update of the Default Length spin box in the Extensions tab after editing and change of focus. 
With the fix, the spin box updates after change of focus, as do other spin boxes in the Path workbench.
Used method found in PathDrillingGui module.
2021-04-08 22:27:02 -05:00
luz paz
1a40cdfd43 fix source comment typos [skip ci]
Found via  codespell v2.1.dev0
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,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,parms,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,./build/doc/SourceDocu
```
2021-03-28 10:57:24 +02:00
Chris Nisbet
eda4266fe2 Path: vcarve - Fix depth calculation
Depths were being calculated incorrectly due to MIC distance getting
divided by scaling factor rather than multiplied by it.

The scaling factor is the inverse of the tan of half the cutting tool
angle, so for a 30 degree bit (say), the scaling factor would be
1 / tan(30/2), or 3.7320.

When given an MIC (which is a radius) of 3.175 (say), and cutting to the
same width with a 30 degree bit, the depth should be 3.175 * 3.7320
(11..849), not 3.175 / 3.7320 (0.8509) as it is currently.
2021-03-28 16:56:47 +13:00
sliptonic
03964c7200 Merge pull request #4664 from papaathome/uccnc_postprocessor
Path: Added UC-CNC postprocessor script.
2021-03-26 15:26:05 -05:00
andre
19a5fbb72d Aplied Flake8 formatting and removed redundant global declarations.
Line limit used: 100 characters, still 3 lines longer than that.
2021-03-26 17:53:02 +01:00