Path Surface

From FreeCAD Documentation
Revision as of 10:52, 23 August 2019 by David69 (talk | contribs) (Created page with "# Appuyez sur l’icône {{KEY|16px 3D Surface}} ou sélectionnez l’outil 3D Surface à partir du me...")
This is an unfinished experimental feature. Enable Experimental Features

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

3D surface Path

Menu location
Path → 3D Surface
Workbenches
Atelier Path
Default shortcut
None
Introduced in version
-
See also
None

Description

Cet outil crée une nouvelle opération de surface 3D. L'opération Surface 3D utilise la surface supérieure entière du modèle 3D pour générer le G-Code pour le travail. Actuellement, dans les paramètres de l'opération, aucune fonctionnalité ne permet de sélectionner des zones, des faces ou des régions spécifiques de la base de tâches. L'opération est appliquée à la surface entière de la base des travaux.

L'outil 3D Surface s'interface avec OCL.pyd, un module Open Source tiers intitulé OpenCamLib, qui génère des chemins d'outil à partir d'un modèle 3D. OpenCamLib n'est pas directement intégré à FreeCAD. Les licences respectives sont respectées.

Remarque: pour utiliser l'opération Surface 3D, vous devez:

  1. Installer correctement OpenCamLib.
  2. Activez Fonctions expérimentales Path de l'atelier Path.

Utilisation

Les instructions d'utilisation pour plusieurs variantes de Surface 3D sont présentées ici.

Opération de base

  1. Appuyez sur l’icône File:Path 3DSurface.png 3D Surface ou sélectionnez l’outil 3D Surface à partir du menut Path.
  2. Sélectionnez le contrôleur d'outil pour l'opération dans la fenêtre contextuelle du contrôleur d'outil.
  3. Ajustez les profondeurs d'opération selon vos besoins dans l'onglet Profondeurs: Début Profondeur, Fin Profondeur, Pas d'abaisse.
  4. Faites les ajustements nécessaires dans l’onglet Heights.
  5. Configurez les paramètres dans l'onglet Opérations:
    1. Sélectionnez un algorithme d'opération: OCL Dropcutter ou OCL Waterline.
    2. Choisissez le BoundBox: Stock ou BaseBoundBox.
    3. Ajouter des BoundBox Extra Offset supplémentaires à X et Y comme vous le souhaitez.
    4. Définissez la direction de la fraise: X ou Y. Il s’agit de la direction linéaire de la fraise (broche).
    5. Ajoutez une valeur de décalage de profondeur si vous souhaitez laisser une épaisseur de matériau spécifiée sur la surface.
    6. Définissez l'intervalle d'échantillonnage utilisé pour l'analyse OCL.
    7. Définissez la valeur de dépassement en tant que pourcentage du diamètre de l'outil.
    8. Optimiser la sortie est activé par défaut. Ce n'est qu'une optimisation de chemin linéaire. La désactivation donnera un résultat de gcode plus long et augmentera probablement le temps de coupe.
  6. Si vous souhaitez prévisualiser le résultat avant d'accepter les paramètres, cliquez sur Appliquer.
  7. Cliquez sur le bouton OK pour confirmer et générer les chemins.

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


Multi-pass Scan

This variation is based on the DonnéesStep Down property. It produces the layering effect - removing material in layers.

  1. Create a Basic Operation as described above. Multi-pass is available for both Algorithms.
  2. Select the new operation in the object tree in the Combo View.
  3. Locate the Algorithm section, In the Data tab in the Properties View of the operation.
  4. Toggle the DonnéesLayer Mode property to Multi-pass to achieve the layering(step-down, multi-pass) effect.


Rotational Scans (4th-axis)

  1. Create a Basic Operation as described above using the OCL Dropcutter algorithm.
  2. Locate the Data tab and Properties View for the new 3D Surface operation.
    It is recommended that you set the desired rotation properties all at once before recomputing. This is done by clicking the ENTER key immediately after changing a property setting. This process will allow you to change and save multiple properties before recomputing the operation.
  3. In the Rotation section set DonnéesEnable Rotation to the correct setting.
  4. Adjust the following settings as needed:
    • In the Algorithm section, change DonnéesDrop Cutter Dir to the axis of travel for the cutter(spindle).
    • In the Algorithm section, set DonnéesLayer Mode to single or mulit-pass.
    • In the Rotation section, set DonnéesRotation Axis to the desired axis.
    • In the Rotation section, adjust DonnéesStart Index to start index(angle) [0-360].
    • In the Rotation section, adjust DonnéesStop Index to stop index(angle) [0-360].
    • In the Rotation section, set DonnéesCutter Tilt to the offset index(angle) [0-90]. (Used for ball mill cutters)
  5. With rotation-related properties set as needed, in the Algorithm section change the DonnéesScanMode from Planar to Rotational.
  6. Click the Recompute icon in the tool bar.
  7. Wait for the results...
Notes About Rotational Scans
  • Rotational scans require much more time and processing than Planar scans. Factors affecting processing time include: Sample Interval, Step Over, tool diameter, and model size. Again, rotational scans can take a long time. Some might take 3, 5 or 10 minutes or longer.
  • For time purposes, it is better that you not recompute a rotational scan after every property change; rather, consider one of the following:
    • use the ' change all settings with ENTER key ' technique mentioned in Step 2 above, then Recompute the operation.
    • deactivate the operation with the Active toggle tool, make your changes to the operation's properties, then click the Active icon again to re-activate the operation - which triggers a recompute internally.
  • The File:Path 3DSurface.png 3D Surface operation is still considered an experimental feature as of 2019-06-25. As such, it may contain a few bugs yet to be clearly identified. Please report bugs and issues in the FreeCAD Path/CAM Forum.
  • The OCL Waterline algorithm does not support rotational scans.
  • The built in CAM Simulator does NOT support 4th-axis simulation. You will need to use a third party simulator to inspect or verify paths visually. See the Resources section below for suggestions.
  • You will likely see red rotational lines around your model in the viewport. This is normal in FreeCAD for the time being.


Available Tool (Cutter) Shapes

This 3D Surface op currently uses OpenCamLib [OCL] to extract paths from the part base. As such, a tool setting 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 respected and available for this 3D Surface operation:

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


Should you choose to run the path simulator in the Path Workbench, it only uses the standard end mill to simulate paths. Therefore, you will not see tool-shape-specific material removal. Material removal is shown using the end mill shape.


NOTE: As of May 2019, 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.

Algorithm

  • DonnéesAlgorithm: The library to use to generate the path
  • DonnéesBoundBox: Should the operation be limited by the stock object or by the bounding box of the base object
  • DonnéesDrop Cutter Dir: The direction along which dropcutter lines are created
  • DonnéesDrop Cutter Extra Offset: Additional offset to the selected bounding box - use sub-properties to set values
    • DonnéesX: x distance value
    • DonnéesY: y distance value
    • DonnéesZ: z distance value
  • DonnéesLayer Mode: The completion mode for the operation: single or multi-pass
  • DonnéesScan Type: Planar: Flat, 3D surface scan. Rotational: 4th-axis rotational scan.

Base

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.

  • DonnéesPlacement: Overall placement[position and rotation] of the object - with respect to the origin (or origin of parent object container)
    • DonnéesAngle: Angle in degrees applied to rotation of the object around Axis property value
    • DonnéesAxis: Axis(one or multiple) around which to rotate the object, set in sub-properties: x, y, z
      • DonnéesX: x axis value
      • DonnéesY: y axis value
      • DonnéesZ: z axis value
    • DonnéesPosition: Position of the object, set in sub-properties: x, y, z - with respect to the origin (or origin of parent object container)
      • DonnéesX: x distance value
      • DonnéesY: y distance value
      • DonnéesZ: z distance value
  • DonnéesLabel: User-provided name of the object (UTF-8)

Depth

  • DonnéesClearance Height: The height needed to clear clamps and obstructions
  • DonnéesFinal Depth: Final Depth of Tool- lowest value in Z
  • DonnéesSafe Height: The above which Rapid motions are allowed.
  • DonnéesStart Depth: Starting Depth of Tool- first cut depth in Z
  • DonnéesStep Down: Incremental Step Down of Tool

Path

  • DonnéesActive: make False, to prevent operation from generating code
  • DonnéesComment: An optional comment for this Operation
  • DonnéesCut Mode: The direction that the toolpath should go around the part: Climb(ClockWise) or Conventional(CounterClockWise)
  • DonnéesTool Controller: Defines the Tool controller used in the Operation
  • DonnéesCut Pattern: Clearing pattern to use
  • DonnéesCutter Boundary: Identify cutter boundary for operation.
  • DonnéesUser Label: User assigned label

Rotation

  • DonnéesAlt Depth Calc:
  • DonnéesAttempt Inverse Angle: Automatically attempt Inverse Angle if initial rotation is incorrect.
  • DonnéesCutter Tilt: Set the cutter (spindle) tilt angle.
  • DonnéesEnable Rotation: Enable rotation to gain access to pockets or areas not normal to Z axis.
  • DonnéesFixed Index: Set fixed index for rotation.
  • DonnéesIndexing Mode: Select indexing mode: auto = automatic angle detaction; fixed = user set angle.
  • DonnéesInverse Angle: Inverse the angle of the rotation. Example: change a rotation from -22.5 to 22.5 degrees.
  • DonnéesReverse Direction: Reverse orientation of Operation by 180 degrees.
  • DonnéesRotation Axis: Set the axis for model rotation.
  • DonnéesStart Index: Start index(angle) for rotation
  • DonnéesStop Index: Stop index(angle) for rotation

Surface

  • DonnéesDepth Offset: Z-axis offset from the surface of the object
  • DonnéesOptimize: Enable optimization which removes unnecessary points from G-Code output
  • DonnéesSample Interval: The Sample Interval. Small values cause long wait times
  • DonnéesStep Over: Step over percentage of the drop cutter path

Waste

  • DonnéesIgnore Waste: Ignore areas that proceed below specified depth.
  • DonnéesIgnore Waste Depth: Depth used to identify waste areas to ignore.
  • DonnéesRelease From Waste: Cut through waste to depth at model edge, releasing the model.


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

Depth

  • DonnéesStart Depth
  • DonnéesFinal Depth
  • DonnéesStep Down

Height

  • DonnéesSafe Height
  • DonnéesClearance Height

Rotation (when available)

  • DonnéesEnable Rotation
  • DonnéesRotation Axis
  • DonnéesIndexing Mode
  • DonnéesFixed Index
  • DonnéesStart Index
  • DonnéesStop Index
  • DonnéesCutter Tilt
  • DonnéesReverse Direction
  • DonnéesAlternative Depth Calculation

Operation

  • DonnéesAlgorithm
  • DonnéesTool Controller
  • DonnéesBoundBox
  • DonnéesBoundBox extra offset X
  • DonnéesBoundBox extra offset Y
  • DonnéesDrop Cutter Direction
  • DonnéesDepth Offset
  • DonnéesSample Interval
  • DonnéesStep Over
  • DonnéesOptimize Output Enabled


Resources