Commit Graph

33 Commits

Author SHA1 Message Date
Markus Lampert
2b35d19ce4 Removed debugging globals 2022-04-04 21:12:45 -07:00
sliptonic
b60a97f2b4 Vcarve translation cleanup 2022-01-22 13:11:46 -06:00
sliptonic
d39d91f90e Black 2022-01-22 13:11:46 -06:00
luz paz
e901e584ac Path: fix file header uniformity 2021-12-10 02:36:56 +01:00
Russell Johnson
cfca2a790a Path: Allow parent job assignment
Modifications focus on allowing the creation of operations to include direct provision of parent job.
Path: Remove `useGui` implementation
2021-08-13 19:02:40 -05:00
Chris Nisbet
67f89ac557 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
Markus Lampert
ce625703b4 Removed unused BaseObjects property from vcarve 2021-01-24 21:15:31 -08:00
Markus Lampert
13a4f54ecd Process BaseShapes in vcarve and only fall back to the model if nothing was found to engrave. 2021-01-24 21:10:39 -08:00
Markus Lampert
31c9dbafb2 Add support for multiple models to vcarve op. 2021-01-24 18:41:09 -08:00
Markus Lampert
ed7be8674e meld h and v speeds for v-carve commands depending on incline 2020-12-13 11:31:58 -08:00
Markus Lampert
c955bf4a4e Fixed v-carve depth calculation in the presence of a bottom diameter, added unit tests and cleaned up the v-bit parameter naming. 2020-12-13 11:31:58 -08:00
sliptonic
b935769fe3 Add finaldepth property.
Operation now sets start/final depth more reasonably.
Will not violate the finaldepth.
2020-12-02 15:05:08 -06:00
sliptonic
3eb300a8c2 fix ui bugs 2020-11-30 15:35:30 -06:00
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
Markus Lampert
09e6552fbb Fixed 'o' and depth issue 2020-10-25 16:33:13 -07:00
Markus Lampert
4c16bef132 Allow voronoi edges to be traversed in any direction and use that to sort the sequence of milling the wires. 2020-10-25 16:33:13 -07:00
Markus Lampert
fb2a747aee Added sorting over all wires, not just the ones of a single face 2020-10-25 16:33:13 -07:00
Markus Lampert
2046db0990 Added sorting of voronoi wires to minimize rapid moves 2020-10-25 16:33:13 -07:00
Markus Lampert
ebe5bb0e71 New vcarve wire detection algorithm using the new z-values of toShape 2020-10-25 16:33:13 -07:00
luz paz
b0d7850406 Fix various typos [skip-ci]
Found via `codespell v2.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-10-08 18:21:15 +02:00
sliptonic
611806b26d add coolant mode
fix Z depth
2020-10-05 18:00:47 -05:00
sliptonic
ebae99c9e0 whitespace 2020-09-29 14:03:37 -05:00
sliptonic
af1dacf57f rename OTHER 2020-09-28 14:58:09 -05:00
sliptonic
1492aa01b5 remove need for cuttingedgeheight
Calculating from diameter and cuttingedgeangle
2020-09-28 14:58:09 -05:00
sliptonic
d22bfecdad improve selection and avoid border case with ultra short segments 2020-09-28 14:58:09 -05:00
sliptonic
8758cfce9f Resolve UI issues
taskpanel threshold value
add constants to PathVoronoi calls
check for tool properties
set correct z height coloring exterior lines
2020-09-28 14:58:09 -05:00
sliptonic
b1e5b5a902 Path: Vcarve fixes
formatting fixes
remove reference to old ToolType
2020-09-28 14:58:09 -05:00
sliptonic
a1852d1106 Rewrite for boost voronoi 2020-09-28 14:58:09 -05:00
sliptonic
f63d0fadcb Path: Vcarve - Added threshold property to remove unwanted segments
code cleanup & debug
2020-09-28 14:58:09 -05:00
sliptonic
d9d4387b1d Path: vcarve add feed rate 2020-09-28 14:58:09 -05:00
sliptonic
5df1f176e6 path: vcarve requires engraver with proper angle
vcarve calculates depth with MIC now
2020-09-28 14:58:09 -05:00
sliptonic
0b7eec6b79 Path: increasing the discretize precision 2020-09-28 14:58:09 -05:00
sliptonic
c141f41887 Path: add vcarve operation using openvoronoi 2020-09-28 14:58:08 -05:00