CAM Profile: Difference between revisions

From FreeCAD Documentation
m (Correct shortcut key sequence)
(Update general documentation for 0.19)
Line 12: Line 12:
}}
}}


<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Path Profile
|Name=Path Profile
|Workbenches=[[Path Workbench|Path]]
|Workbenches=[[Path Workbench|Path]]
|MenuLocation=Path → Profile
|MenuLocation=Path → Profile
|Shortcut=
|Shortcut=''None''
|Version=0.19
|SeeAlso=
|SeeAlso={{KEY|[[Image:Path_Contour.svg|24px]] [[Path Contour]]}},
{{KEY|[[Image:Path_Profile_Face.svg|24px]] [[Path ProfileFace]]}},
{{KEY|[[Image:Path_Profile_Edges.svg|24px]] [[Path ProfileEdges]]}}
}}
}}


==Description== <!--T:2-->
==Description==


The {{KEY|[[Image:Path Profile.png|16px]] [[Path Profile|Profile]]}} tool creates a contour operation based on selected features of the model.
<!--T:3-->

The Contour tool creates a simple external contour cut of complex 3D [[Part Module|Part]]-based objects. The entire Job Model serves as the input for the Operation--regardless of whether any Body Geometry is selected when the Contour command is invoked. A Start point can be enabled from the Operation editor, using a location defined in the {{MenuCommand|Property view → Start Points}}
Although the {{KEY|[[Image:Path Profile.png|16px]] [[Path Profile|Profile]]}} tool is new in 0.19, it is simply a combination of the pre-existing {{KEY|[[Image:Path Contour.png|16px]] [[Path Contour|Contour]]}}, {{KEY|[[Image:Path Profile_Face.png|16px]] [[Path ProfileFace|Profile Face]]}}, and {{KEY|[[Image:Path Profile_Edges.png|16px]] [[Path ProfileEdges|Profile Edges]]}} operations that maintains their pre-existing capabilities. See their documentation for more details.


<!--T:4-->
<!--T:4-->
[[Image:Path profile example.jpg|600px]]
[[Image:Path profile example.jpg|600px]]


==Usage== <!--T:5-->
==Usage==
Initiate a Profile operation by doing the following:

<!--T:6-->
# Select a face on a [[Part Module|Part]]-based object. Alternatively, also select a starting edge on that face.
# Invoke the command several ways:
# Invoke the command several ways:
#* Press the {{KEY|[[Image:Path Profile.png|16px]] [[Path Profile|Profile]]}} button
#* Press the {{KEY|[[Image:Path Profile.png|16px]] [[Path Profile|Profile]]}} button
#* Use the {{KEY|P}} {{KEY|P}} keyboard shortcut
#* Use the {{MenuCommand|Path → Profile}} entry in the Path menu
# Activate the Base Geometry section by clicking its tab, and select features from the Job model.
#* Use the {{MenuCommand|Path → New Operation → Profile}} entry in the Path menu
#*If no features are selected, the {{KEY|[[Image:Path Profile.png|16px]] [[Path Profile|Profile]]}} tool defaults to the previous {{KEY|[[Image:Path Contour.png|16px]] [[Path Contour|Contour]]}} operation behavior, contouring the entire model.
# Adjust the desired properties
#*If faces or edges are selected, then the previous {{KEY|[[Image:Path Profile_Face.png|16px]] [[Path ProfileFace|Profile Face]]}} or {{KEY|[[Image:Path Profile_Edges.png|16px]] [[Path ProfileEdges|Profile Edges]]}} behaviors are used accordingly.

# Activate the Operation section by clicking on its tab, and adjust the operation's settings as desired.
==Options== <!--T:7-->
# (''Optional'') Click the '''Apply''' button to preview the operation with the current settings.
# Click the '''OK''' or '''Cancel''' buttons to create or cancel the operation.
A Start point can be enabled from the Operation tab in the Tasks Window editor, using a location defined in the {{MenuCommand|Property View → Data → Start Point}}.
Make additional adjustments to the operation by modifying the operation's properties in the Data tab of the Property View. Advanced properties will be located here, if any.


<!--T:8-->
* The Path Profile object is made to be part of a [[Path Job]]. To correctly configure the profiling, a tool table must be present in the project's machine object, and a [[Path ToolNumberToLoad|Tool Change]] command must be placed before the profile.


==Properties== <!--T:9-->
==Properties== <!--T:9-->
Line 65: Line 71:
* {{PropertyData|Label}}: User-provided name of the object (UTF-8)
* {{PropertyData|Label}}: User-provided name of the object (UTF-8)


====Depth==== <!--T:24-->
====Depth====


<!--T:25-->
* {{PropertyData|Clearance Height}}: The height needed to clear clamps and obstructions
* {{PropertyData|Clearance Height}}: The height needed to clear clamps and obstructions
* {{PropertyData|Final Depth}}: Final Depth of Tool- lowest value in Z
* {{PropertyData|Final Depth}}: Final Depth of Tool- lowest value in Z
* {{PropertyData|Finish Depth}}: Maximum material removed on final pass. The height (thickness) of the last cutting level - ''set for a better finish''.
* {{PropertyData|Safe Height}}: The above which Rapid motions are allowed.
* {{PropertyData|Start Depth}}: Starting Depth of Tool- first cut depth in Z
* {{PropertyData|Safe Height}}: The height above which Rapid motions are allowed. (Rapid safety height between locations)
* {{PropertyData|Step Down}}: Incremental Step Down of Tool
* {{PropertyData|Start Depth}}: Starting depth of Tool - ''first cut depth in Z''
* {{PropertyData|Step Down}}: Incremental step down of Tool during operation


[[File:Path-DepthsAndHeights.gif|300px|center]]
====Path==== <!--T:26-->
{{Caption|Visual reference for Depth properties (settings)}}

====Path====


<!--T:27-->
* {{PropertyData|Active}}: make False, to prevent operation from generating code
* {{PropertyData|Active}}: make False, to prevent operation from generating code
* {{PropertyData|Base}}: The base geometry for this operation
* {{PropertyData|Comment}}: An optional comment for this Operation
* {{PropertyData|Comment}}: An optional comment for this Operation
* {{PropertyData|Coolant Mode}}: The coolant mode for this operation.
* {{PropertyData|Cycle Time}}: The cycle time estimation for this operation.
* {{PropertyData|Tool Controller}}: Defines the Tool controller used in the Operation
* {{PropertyData|User Label}}: User assigned label
* {{PropertyData|User Label}}: User assigned label
* {{PropertyData|Tool Controller}}: Defines the Tool controller used in the Operation


====Profile==== <!--T:19-->
====Profile==== <!--T:19-->


* {{PropertyData|Direction}}: The direction that the tool path should go around the part: Clockwise[CW] or Counterclockwise[CCW]
<!--T:20-->
* {{PropertyData|Direction}}: The direction that the toolpath should go around the part: Clockwise[CW] or Counterclockwise[CCW]
* {{PropertyData|Expand Profile}}: Extend the profile clearing beyond the Extra Offset.
* {{PropertyData|Join Type}}: Controls how tool moves around corners.
* {{PropertyData|Expand Profile Step Over}}: Set the stepover percentage, based on the tool's diameter.
* {{PropertyData|Handle Multiple Features}}: Choose how to process multiple Base Geometry features.
* {{PropertyData|OffsetExtra}}: Extra value to stay away from final profile- good for roughing toolpath
* {{PropertyData|OffsetExtra}}: Extra value to stay away from final profile- good for roughing toolpath
* {{PropertyData|Side}}: (Cut Side) Side of edge that tool should cut. This only matters if `Use Compensation` is True(checked).
* {{PropertyData|Use Compensation}}: If checked, the Profile Operation is offset by the tool radius. The offset direction is determined by the Cut Side.
* {{PropertyData|Process Circles}}: Check if you want this Profile Operation to also be applied to cylindrical holes, ''which normally get drilled''.
* {{PropertyData|Process Circles}}: Check if you want this Profile Operation to also be applied to cylindrical holes, ''which normally get drilled''.
* {{PropertyData|Process Holes}}: Check if this Profile Operation should also process holes in the base geometry. '''Note''' that this does not include cylindrical holes.
* {{PropertyData|Process Holes}}: Check if this Profile Operation should also process holes in the base geometry. '''Note''' that this does not include cylindrical holes.
* {{PropertyData|Process Perimeter}}: Check if this Profile Operation should also process the outside perimeter of the base geometry shapes
* {{PropertyData|Process Perimeter}}: Check if this Profile Operation should also process the outside perimeter of the base geometry shapes
* {{PropertyData|Side}}: (Cut Side) Side of edge that tool should cut. This only matters if `Use Compensation` is True(checked).
* {{PropertyData|Use Compensation}}: If checked, the Profile Operation is offset by the tool radius. The offset direction is determined by the Cut Side.


====Rotation==== <!--T:28-->
====Rotation==== <!--T:28-->


<!--T:29-->
* {{PropertyData|Attempt Inverse Angle}}: Automatically attempt Inverse Angle if initial rotation is incorrect.
* {{PropertyData|Attempt Inverse Angle}}: Automatically attempt Inverse Angle if initial rotation is incorrect.
* <s>{{PropertyData|B_Axis Error Override}}: Visually orient B(y) rotations to model (error in FreeCAD rendering).</s>
* {{PropertyData|Enable Rotation}}: Enable rotation to gain access to pockets or areas not normal to Z axis.
* {{PropertyData|Enable Rotation}}: Enable rotation to gain access to pockets or areas not normal to Z axis.
* {{PropertyData|Inverse Angle}}: Inverse the angle of the rotation. '' '''Example:''' change a rotation from -22.5 to 22.5 degrees.''
* {{PropertyData|Inverse Angle}}: Inverse the angle of the rotation. '' '''Example:''' change a rotation from -22.5 to 22.5 degrees.''
* {{PropertyData|Limit Depth To Face}}: Enforce the Z-depth of the selected face as the lowest value for final depth. Higher user values for final depth will be observed.
* {{PropertyData|Reverse Direction}}: Reverse orientation of Operation by 180 degrees.
* {{PropertyData|Reverse Direction}}: Reverse orientation of Operation by 180 degrees.


====Start Point==== <!--T:15-->
====Start Point====


* {{PropertyData|Start Point}}: The custom start point for the path of this operation.
<!--T:16-->
* {{PropertyData|Start Point}}: The start point of this path
** {{PropertyData|X}}: x distance value
** {{PropertyData|Y}}: y distance value
* {{PropertyData|Use Start Point}}: make True, if manually specifying a Start Point, then enter Start Points in the property data Start Points field
* {{PropertyData|Extend At Start}}: extra length of tool path before start of part edge
** {{PropertyData|Z}}: z distance value
* {{PropertyData|LeadIn Line Len}}: length of straight segment of toolpath that comes in at angle to first part edge
* {{PropertyData|Use Start Point}}: Make True, if manually specifying a Start Point. Set the start point in the property data Start Point field.


====End Point==== <!--T:17-->

<!--T:18-->
* {{PropertyData|Use End Point}}: make True, if specifying an End Point
* {{PropertyData|Extend At End}}: extra length of tool path after end of part edge
* {{PropertyData|LeadOut LineLen}}: length of straight segment of toolpath that comes in at angle to last part edge
* {{PropertyData|End Point}}: The end point of this path


===<span sytle="color:red;">Extras, Not-in-use, or Degraded</span>=== <!--T:30-->
* {{PropertyData|Use Placements}}: make True, if using the profile operation placement properties to transform toolpath in post processor
* {{PropertyData|SegLen}}: Tesselation value for tool paths made from beziers, bsplines, and ellipses


==Tasks Window Editor Layout== <!--T:31-->
==Tasks Window Editor Layout== <!--T:31-->
Line 135: Line 134:
* '''Clear''': clear all items in the Base Geometry list
* '''Clear''': clear all items in the Base Geometry list


====Depth==== <!--T:34-->
====Depths==== <!--T:34-->


<!--T:35-->
<!--T:35-->
Line 142: Line 141:
* {{PropertyData|Step Down}}
* {{PropertyData|Step Down}}


====Height==== <!--T:36-->
====Heights==== <!--T:36-->


<!--T:37-->
<!--T:37-->
Line 150: Line 149:
====Operation==== <!--T:38-->
====Operation==== <!--T:38-->


<!--T:39-->
* {{PropertyData|Tool Controller}}
* {{PropertyData|Tool Controller}}
* {{PropertyData|Cut Side}}
* {{PropertyData|Coolant Mode}}
* {{PropertyData|Cut Side **}}
* {{PropertyData|Direction}}
* {{PropertyData|Direction}}
* {{PropertyData|Extra Offset}}
* {{PropertyData|Extra Offset}}
* {{PropertyData|Enable Rotation}}
* {{PropertyData|Use Start Point}}
* {{PropertyData|Use Start Point}}
* {{PropertyData|Use Compensation}}
* {{PropertyData|Use Compensation}}
* {{PropertyData|Process Holes}}
* {{PropertyData|Process Holes **}}
* {{PropertyData|Process Circles}}
* {{PropertyData|Process Circles **}}
* {{PropertyData|Process Perimeter}}
* {{PropertyData|Process Perimeter **}}
'''<nowiki>**</nowiki>''' Availability changes based on selections in Base Geometry section.

==Scripting==
{{Emphasis|See also:}} [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].

Example:
{{Code|code=#Place code example here.}}


<!--T:41-->
<!--T:41-->

Revision as of 17:30, 22 June 2020

Path Profile

Menu location
Path → Profile
Workbenches
Path
Default shortcut
None
Introduced in version
0.19
See also
Path Contour,

Path ProfileFace, Path ProfileEdges


Description

The Profile tool creates a contour operation based on selected features of the model.

Although the Profile tool is new in 0.19, it is simply a combination of the pre-existing File:Path Contour.png Contour, File:Path Profile Face.png Profile Face, and File:Path Profile Edges.png Profile Edges operations that maintains their pre-existing capabilities. See their documentation for more details.

Usage

Initiate a Profile operation by doing the following:

  1. Invoke the command several ways:
    • Press the Profile button
    • Use the Path → Profile entry in the Path menu
  2. Activate the Base Geometry section by clicking its tab, and select features from the Job model.
  3. Activate the Operation section by clicking on its tab, and adjust the operation's settings as desired.
  4. (Optional) Click the Apply button to preview the operation with the current settings.
  5. Click the OK or Cancel buttons to create or cancel the operation.


A Start point can be enabled from the Operation tab in the Tasks Window editor, using a location defined in the Property View → Data → Start Point.

Make additional adjustments to the operation by modifying the operation's properties in the Data tab of the Property View. Advanced properties will be located here, if any.


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.

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.

  • DataPlacement: Overall placement[position and rotation] of the object - with respect to the origin (or origin of parent object container)
    • DataAngle: Angle in degrees applied to rotation of the object around Axis property value
    • DataAxis: Axis(one or multiple) around which to rotate the object, set in sub-properties: x, y, z
      • DataX: x axis value
      • DataY: y axis value
      • DataZ: z axis value
    • DataPosition: Position of the object, set in sub-properties: x, y, z - with respect to the origin (or origin of parent object container)
      • DataX: x distance value
      • DataY: y distance value
      • DataZ: z distance value
  • DataLabel: User-provided name of the object (UTF-8)

Depth

  • DataClearance Height: The height needed to clear clamps and obstructions
  • DataFinal Depth: Final Depth of Tool- lowest value in Z
  • DataFinish Depth: Maximum material removed on final pass. The height (thickness) of the last cutting level - set for a better finish.
  • DataSafe Height: The height above which Rapid motions are allowed. (Rapid safety height between locations)
  • DataStart Depth: Starting depth of Tool - first cut depth in Z
  • DataStep Down: Incremental step down of Tool during operation

Visual reference for Depth properties (settings)

Path

  • DataActive: make False, to prevent operation from generating code
  • DataBase: The base geometry for this operation
  • DataComment: An optional comment for this Operation
  • DataCoolant Mode: The coolant mode for this operation.
  • DataCycle Time: The cycle time estimation for this operation.
  • DataTool Controller: Defines the Tool controller used in the Operation
  • DataUser Label: User assigned label

Profile

  • DataDirection: The direction that the tool path should go around the part: Clockwise[CW] or Counterclockwise[CCW]
  • DataExpand Profile: Extend the profile clearing beyond the Extra Offset.
  • DataExpand Profile Step Over: Set the stepover percentage, based on the tool's diameter.
  • DataHandle Multiple Features: Choose how to process multiple Base Geometry features.
  • DataOffsetExtra: Extra value to stay away from final profile- good for roughing toolpath
  • DataProcess Circles: Check if you want this Profile Operation to also be applied to cylindrical holes, which normally get drilled.
  • DataProcess Holes: Check if this Profile Operation should also process holes in the base geometry. Note that this does not include cylindrical holes.
  • DataProcess Perimeter: Check if this Profile Operation should also process the outside perimeter of the base geometry shapes
  • DataSide: (Cut Side) Side of edge that tool should cut. This only matters if `Use Compensation` is True(checked).
  • DataUse Compensation: If checked, the Profile Operation is offset by the tool radius. The offset direction is determined by the Cut Side.

Rotation

  • DataAttempt Inverse Angle: Automatically attempt Inverse Angle if initial rotation is incorrect.
  • DataEnable Rotation: Enable rotation to gain access to pockets or areas not normal to Z axis.
  • DataInverse Angle: Inverse the angle of the rotation. Example: change a rotation from -22.5 to 22.5 degrees.
  • DataLimit Depth To Face: Enforce the Z-depth of the selected face as the lowest value for final depth. Higher user values for final depth will be observed.
  • DataReverse Direction: Reverse orientation of Operation by 180 degrees.

Start Point

  • DataStart Point: The custom start point for the path of this operation.
    • DataX: x distance value
    • DataY: y distance value
    • DataZ: z distance value
  • DataUse Start Point: Make True, if manually specifying a Start Point. Set the start point in the property data Start Point field.


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 Geometry

  • Add: adds selected element(s) which should be the base(s) for the path(s)
  • Delete: delete the selected item(s) in the Base Geometry list
  • Clear: clear all items in the Base Geometry list

Depths

  • DataStart Depth
  • DataFinal Depth
  • DataStep Down

Heights

  • DataSafe Height
  • DataClearance Height

Operation

  • DataTool Controller
  • DataCoolant Mode
  • DataCut Side **
  • DataDirection
  • DataExtra Offset
  • DataEnable Rotation
  • DataUse Start Point
  • DataUse Compensation
  • DataProcess Holes **
  • DataProcess Circles **
  • DataProcess Perimeter **

** Availability changes based on selections in Base Geometry section.


Scripting

See also: FreeCAD Scripting Basics.

Example:

#Place code example here.