Search found 115 matches

by kreso-t
Tue Jan 07, 2020 12:28 pm
Forum: Path/CAM
Topic: Adaptive Path/CAM Operation
Replies: 330
Views: 71452

Re: Adaptive Path/CAM Operation

A user on the gitter.im channel asked about generating adaptive clearing paths with conventional milling instead of climb milling. That would be a good feature. @kreso-t What do you think? It should be possible to add such feature, it's not tivial at this point since the climb milling is assumed at...
by kreso-t
Mon Sep 16, 2019 12:36 pm
Forum: Path/CAM
Topic: Adaptive Path/CAM Operation
Replies: 330
Views: 71452

Re: Adaptive Path/CAM Operation

I had a quick look at converting the paths to arc moves. The method I chose was to pass the first (pt1), mid (pt2) and last (pt3) points of a path segment to a function. That function does the following: 1. Calculate lines pt1->pt2 and pt2->pt3 2. Determine the mid point of those lines 3. Calculate...
by kreso-t
Sun Sep 15, 2019 8:23 pm
Forum: Path/CAM
Topic: Adaptive Path/CAM Operation
Replies: 330
Views: 71452

Re: Adaptive Path/CAM Operation

Hi, I think the following may work: i.e. lets say we have array of N points pt1,pt2, ... ptN and want to find an arc that approx fits as many as possible points starting from pt1 1. we take pt1,pt2 and pt3 and find the center point of arc that fits that these points, let call it c1 2. then we take p...
by kreso-t
Tue Sep 10, 2019 5:38 pm
Forum: Path/CAM
Topic: Adaptive Path/CAM Operation
Replies: 330
Views: 71452

Re: Adaptive Path/CAM Operation

I don't know an implementation but @JulianTodd posted earlier in this thread about working out the math https://forum.freecadweb.org/viewtopic.php?f=15&t=30127&p=264411&hilit=Fitting#p264411 I did not yet have time to study the @JulianTodd math in details, so I might not understand it f...
by kreso-t
Sat Sep 07, 2019 8:40 pm
Forum: Path/CAM
Topic: Adaptive Path/CAM Operation
Replies: 330
Views: 71452

Re: Adaptive Path/CAM Operation

I'm...I'm speechless... If you can share a file that i can use on my current 0.18 py2.7 (i do run a 3.6 too) version the day after that I'd be making some sparks fly! The change is done in c++ code so file copy would not work - you need to either build the FreeCAD from source https://github.com/kre...
by kreso-t
Sat Sep 07, 2019 8:27 pm
Forum: Path/CAM
Topic: Adaptive Path/CAM Operation
Replies: 330
Views: 71452

Re: Adaptive Path/CAM Operation

If this is something you're interested in working on I would like to help. I understand you're busy with other things but if you ever fancy having a look at it let me know. If someone knows a decent python implementation of arc fitting alg. that would as input take a list of points/line segments + ...
by kreso-t
Sat Sep 07, 2019 7:51 pm
Forum: Path/CAM
Topic: Adaptive Path/CAM Operation
Replies: 330
Views: 71452

Re: Adaptive Path/CAM Operation

What would it take to swap the G1 moves for G2 or G3 arc moves? Although curves produced by the alg. are not actually arcs, in many cases they could probably be approximated with arcs (within some tolerance) and I guess that number of output points would decrease significantly with that. To make th...
by kreso-t
Sat Sep 07, 2019 6:21 pm
Forum: Path/CAM
Topic: Adaptive Path/CAM Operation
Replies: 330
Views: 71452

Re: Adaptive Path/CAM Operation

Hi, Managed to find simple way to increase accuracy for small tools without affecting the performance for larger tools (and also without needing to adjust the all the parameters, the solution is based just on scaling adjustments within the alg. for tools <1mm). i.e. before (tool 0.1mm 20% stepover, ...
by kreso-t
Thu Sep 05, 2019 7:06 pm
Forum: Path/CAM
Topic: Adaptive Path/CAM Operation
Replies: 330
Views: 71452

Re: Adaptive Path/CAM Operation

What I'm puzzled about is why you estimate that making such parameters dependant on tool diameter would be a significant development? Alternatively could a "stupid accurate" version of the algo be mustered? Finding the optimal values is actually the difficult part. Originally it took week...
by kreso-t
Thu Sep 05, 2019 6:24 pm
Forum: Path/CAM
Topic: Adaptive Path/CAM Operation
Replies: 330
Views: 71452

Re: Adaptive Path/CAM Operation

Hello to all, I've been testing the use of adaptive milling with our laser (how fun!) and have hit a few road-bumps regarding specifically the accuracy of the adaptive. Considering a tool of 0.1 mm diameter, we have found some "anomalous" behavior of adaptive that actually shows during th...