Path Waterline/pl

Description
The tool Waterline creates a new Waterline operation. As of 0.19_pre, the Waterline operation works on the entire model to generate G-code for the Job. Currently, within the operation's settings there is no functionality to select specific areas, faces, or regions of the model.

The Waterline operation has two algorithms: OCL Drop Cutter and Experimental.
 * The OCL Drop Cutter algorithm interfaces to OCL.pyd, a 3rd party Open Source module titled OpenCamLib, that generates tool paths from a 3D Model. OpenCamLib is not integrated directly into FreeCAD.
 * The Experimental algorithm makes use of the built-in Path.Area class.

 Note : In order to use the Waterline operation you must:
 * 1) Properly install OpenCamLib.
 * 2) Enable Experimental Features for the Path Workbench.
 * 3) Check.

Usage
Usage instructions for multiple variations of the Waterline operation are presented here.

Basic Operation

 * 1) Press the  icon, or select the Waterline tool from the Path menu.
 * 2) Select the tool controller for the Operation from the Tool controller dialogue pop up window.
 * 3) Adjust the operation depths as needed in the Depths tab: Start Depth, Finish Depth, Step Down.
 * 4) Make adjustments in Heights tab if needed.
 * 5) Configure settings in the Operations tab based on the Algorithm selected:
 * 6) OCL Dropcutter
 * 7) Choose the BoundBox: Stock or BaseBoundBox.
 * 8) Set the Layer Mode: Single-pass or Multi-pass.
 * 9) Set the Sample Interval used for the OCL scan.
 * 10) Experimental
 * 11) Choose the BoundBox: Stock or BaseBoundBox.
 * 12) Set the Layer Mode: Single-pass or Multi-pass.
 * 13) Set the Cut Pattern if clearing is desired at each layer.
 * 14) Set the Boundary Adjustment (material allowance).
 * 15) If you wish to preview the result before accepting the settings, click Apply
 * 16) Click OK button to confirm and generate paths.

To achieve different, or more complex, effects, adjust additional operation properties within the Data tab of the Properties View for the operation.

Notes About Experimental Algorithm

 * It does not handle overhangs correctly.
 * It only returns paths for an End Mill type cutter (tool bit).
 * It might not correctly catch all interior features.
 * It is just that, experimental, and not ready for mainstream integration. Please inspect paths with the built-in, or other 3rd-party G-code inspection tools, before cutting with your machine.

Available Tool (Cutter) Shapes
When using the  OCL Dropcutter  algorithm, the Waterline operation uses OpenCamLib [OCL|OCL] to extract paths from the part base. As such, a tool translation is required between the FreeCAD tool controller and OCL in order to complete the scan with your chosen tool(cutter) shape. These tool shapes are(should be) respected and available for the OCL Dropcutter so long as the built-in tool shapes are used, whether Legacy or ToolBit tools:


 * End mill
 * Ball end mill
 * Bull nose end mill
 * Chamfer bit
 * Engraver

Additional Notes

 * Should you choose to run the path simulator,, in the Path Workbench, you might not see tool-shape-specific material removal. Be cautious. A small trial job using foam or other very non-dense material is recommended to verify paths are correct with your selected tool controller.
 * As of May 2020, only the End Mill has any type of testing to determine accuracy of the FreeCAD-to-OCL tool settings translation. Please post any feedback for non-end-mill usage to the Path/CAM section in the FreeCAD forums.

Properties
 Note : Not all of these Properties are available in the Task Window Editor. Some are only accessible in the Data tab of the Properties View panel for this Operation.

Note: It is suggested that you do not edit the Placement property of path operations. Rather, move or rotate the Path Job model as needed.


 * : Overall placement[position and rotation] of the object - with respect to the origin (or origin of parent object container)
 * : Angle in degrees applied to rotation of the object around Axis property value
 * : Axis (one or multiple) around which to rotate the object, set in sub-properties: X, Y, Z
 * : X axis value
 * : Y axis value
 * : Z axis value
 * : Position of the object, set in sub-properties: X, Y, Z - with respect to the origin (or origin of parent object container)
 * : X distance value
 * : Y distance value
 * : Z distance value
 * : User-provided name of the object (UTF-8)


 * : The library to use to generate the path
 * : Should the operation be limited by the stock object or by the bounding box of the base object
 * : Set to clear last layer in `Multi-pass` operation.
 * : The direction that the toolpath should go around the part: Climb (ClockWise) or Conventional (CounterClockWise)
 * : Clearing pattern to use
 * : The completion mode for the operation: single or multi-pass
 * : The completion mode for the operation: single or multi-pass
 * : The completion mode for the operation: single or multi-pass


 * : The height needed to clear clamps and obstructions
 * : Final Depth of Tool- lowest value in Z
 * : The above which Rapid motions are allowed.
 * : Starting Depth of Tool- first cut depth in Z
 * : Incremental Step Down of Tool


 * : Make False, to prevent operation from generating code
 * : The base geometry for this operation
 * : An optional comment for this Operation
 * : Defines the Tool controller used in the Operation
 * : User assigned label
 * : Defines the Tool controller used in the Operation
 * : User assigned label


 * : The custom start point for the path of this operation.
 * : X distance value
 * : Y distance value
 * : Z distance value
 * : Make True, if specifying a Start Point

Tasks Window Editor Layout
Descriptions for the settings are provided in the Properties list above.

This section is simply a layout map of the settings in the window editor for the Operation.

Base Location

 * Add: Adds selected element(s) which should be the base(s) for the path(s).
 * Remove: Remove the selected item(s) in the Base Location list.
 * Edit: Clear all items in the Base Location list.

Operation
~Visibility changes with other settings.

Resources

 * G-code(path) simulator: NCViewer
 * G-code(path) simulator: CAMotics