Commit Graph

37 Commits

Author SHA1 Message Date
Markus Lampert
ad53bf1da2 Enabled exception handling again 2022-08-02 13:32:25 -07:00
Markus Lampert
93703c1921 Moved voronoi classes into Path.Voronoi module. 2022-08-02 13:32:25 -07:00
Markus Lampert
3289b12511 Renamed python class Voronoi to VoronoiDiagram 2022-08-02 13:32:25 -07:00
Markus Lampert
bb9b13a057 vcarve to color all borderline edges and ignore them for path generation 2022-08-02 13:32:25 -07:00
Markus Lampert
e44c402268 Removed debugging globals 2022-04-04 21:12:45 -07:00
sliptonic
17182b1c71 Vcarve translation cleanup 2022-01-22 13:11:46 -06:00
sliptonic
16d9727283 Black 2022-01-22 13:11:46 -06:00
luz paz
63138c67ea Path: fix file header uniformity 2021-12-10 02:36:56 +01:00
Russell Johnson
4c1951aedc 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
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
Markus Lampert
1697f97f33 Removed unused BaseObjects property from vcarve 2021-01-24 21:15:31 -08:00
Markus Lampert
b7c041f774 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
5b384d26e7 Add support for multiple models to vcarve op. 2021-01-24 18:41:09 -08:00
Markus Lampert
1e4ba68d4b meld h and v speeds for v-carve commands depending on incline 2020-12-13 11:31:58 -08:00
Markus Lampert
1622a8bcaf 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
1951c20f66 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
411562361b fix ui bugs 2020-11-30 15:35:30 -06:00
luz paz
60c055e62d 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
85418c48df Fixed 'o' and depth issue 2020-10-25 16:33:13 -07:00
Markus Lampert
204ab7e826 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
c581602bf8 Added sorting over all wires, not just the ones of a single face 2020-10-25 16:33:13 -07:00
Markus Lampert
6e0e8541a5 Added sorting of voronoi wires to minimize rapid moves 2020-10-25 16:33:13 -07:00
Markus Lampert
e35a022132 New vcarve wire detection algorithm using the new z-values of toShape 2020-10-25 16:33:13 -07:00
luz paz
df93939be3 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
15b54b7b9b add coolant mode
fix Z depth
2020-10-05 18:00:47 -05:00
sliptonic
d29b2dcd3f whitespace 2020-09-29 14:03:37 -05:00
sliptonic
8b772b03a5 rename OTHER 2020-09-28 14:58:09 -05:00
sliptonic
1e9cabd53b remove need for cuttingedgeheight
Calculating from diameter and cuttingedgeangle
2020-09-28 14:58:09 -05:00
sliptonic
3ffa3bf285 improve selection and avoid border case with ultra short segments 2020-09-28 14:58:09 -05:00
sliptonic
971e4a9915 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
315e18c78a Path: Vcarve fixes
formatting fixes
remove reference to old ToolType
2020-09-28 14:58:09 -05:00
sliptonic
bfc37274bc Rewrite for boost voronoi 2020-09-28 14:58:09 -05:00
sliptonic
b9d7dbc380 Path: Vcarve - Added threshold property to remove unwanted segments
code cleanup & debug
2020-09-28 14:58:09 -05:00
sliptonic
f711cfb192 Path: vcarve add feed rate 2020-09-28 14:58:09 -05:00
sliptonic
7a4ad8be71 path: vcarve requires engraver with proper angle
vcarve calculates depth with MIC now
2020-09-28 14:58:09 -05:00
sliptonic
7641a54146 Path: increasing the discretize precision 2020-09-28 14:58:09 -05:00
sliptonic
9c68052d4d Path: add vcarve operation using openvoronoi 2020-09-28 14:58:08 -05:00