You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a core top profile curve, you just can't use that as the Z depth of the cutter because the cutter has width, and the wider the cutter the more error there will be matching the profile. Example: if a profile specifies that the rise from the thin part of the nose starts 2" from the end of the effective edge, and if you use a 1.5" cutter, then the rise will really start 2.75" from the end.
Thus, the profile curve is adjusted to account for the cutter width via the ToolOffsetPath class.
However, the algorithm is too basic, and will only work pretty much for profile paths formed by MonkeyCAM now: thin at the ends, thick in the center. If we want to be able to have top profiles with more curves in them, then we'll need a better offsetting algorithm.
I have some ideas on this I need to research. The current alg is very brute force, but I have a suspicion that a Minkowski Sum (https://en.wikipedia.org/wiki/Minkowski_addition) using a horizontal line the width of the cutter and the profile path as the trajectory would yield a polygon whose upper curve would represent the proper tool path. We'll see. If so, then this would be a reason to move up to a more recent version of Clipper.
The text was updated successfully, but these errors were encountered:
Given a core top profile curve, you just can't use that as the Z depth of the cutter because the cutter has width, and the wider the cutter the more error there will be matching the profile. Example: if a profile specifies that the rise from the thin part of the nose starts 2" from the end of the effective edge, and if you use a 1.5" cutter, then the rise will really start 2.75" from the end.
Thus, the profile curve is adjusted to account for the cutter width via the
ToolOffsetPath
class.However, the algorithm is too basic, and will only work pretty much for profile paths formed by MonkeyCAM now: thin at the ends, thick in the center. If we want to be able to have top profiles with more curves in them, then we'll need a better offsetting algorithm.
I have some ideas on this I need to research. The current alg is very brute force, but I have a suspicion that a Minkowski Sum (https://en.wikipedia.org/wiki/Minkowski_addition) using a horizontal line the width of the cutter and the profile path as the trajectory would yield a polygon whose upper curve would represent the proper tool path. We'll see. If so, then this would be a reason to move up to a more recent version of Clipper.
The text was updated successfully, but these errors were encountered: