CAM Profile: Difference between revisions

From FreeCAD Documentation
No edit summary
(Marked this version for translation)
(27 intermediate revisions by 4 users not shown)
Line 4: Line 4:
<!--T:40-->
<!--T:40-->
{{Docnav
{{Docnav
|[[Path_ToolBitDock|ToolBitDock]]
|[[Path_Engrave|Engrave]]
|[[Path_Pocket_Shape|Pocket Shape]]
|[[Path_Helix|Helix]]
|[[Path_Workbench|Path]]
|[[Path_Workbench|Path]]
|IconL=Path_Engrave.svg
|IconL=Path_ToolBitDock.svg
|IconR=Path_Pocket_Shape.svg
|IconC=Workbench_Path.svg
|IconC=Workbench_Path.svg
|IconR=Path_Helix.svg
}}
}}


Line 15: Line 15:
{{GuiCommand
{{GuiCommand
|Name=Path Profile
|Name=Path Profile
|Workbenches=[[Path Workbench|Path]]
|MenuLocation=Path → Profile
|MenuLocation=Path → Profile
|Workbenches=[[Path_Workbench|Path]]
|Shortcut=None
|Version=0.19
|Version=0.19
|SeeAlso=[[Path Contour|Path Contour]], [[Path ProfileFace|Path ProfileFace]]}}, [[Path ProfileEdges|Path ProfileEdges]]
}}
}}


Line 25: Line 23:


<!--T:46-->
<!--T:46-->
The {{KEY|[[Image:Path Profile.png|16px]] [[Path Profile|Profile]]}} tool creates a contour operation based on selected features of the model.
The {{KEY|[[Image:Path_Profile.svg|16px]] [[Path_Profile|Profile]]}} tool creates a contour operation based on selected features of the model. The tool was introduced in version 0.19. It offers three operations that were handled by separate tools in previous versions.


<!--T:47-->
<!--T:69-->
All operations create objects that are made to be part of a {{KEY|[[Image:Path_Job.svg|24px]] [[Path_Job|Path Job]]}}.
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:70-->
These are the available operations:

===Contour operation=== <!--T:71-->

<!--T:72-->
A {{KEY|Contour}} operation is the default. It creates a simple external contour cut of complex 3D [[Image:Workbench_Part.svg|24px]] [[Part_Workbench|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.

===Profile Face operation=== <!--T:73-->

<!--T:74-->
A {{KEY|Profile Face}} operation creates a simple contour path from one ore more selected faces of an object.

===Profile Edges operation=== <!--T:75-->

<!--T:76-->
A {{KEY|Profile Edges}} operation creates a simple contour path from selected edges.


</translate>
</translate>
[[Image:Path profile example.jpg|600px]]
[[Image:Path_profile_example.jpg|600px]]
<translate>
<translate>

==Usage== <!--T:48-->
==Usage== <!--T:48-->



<!--T:49-->
<!--T:49-->
# There are several ways to invoke the command:
Initiate a Profile operation by doing the following:
#* Press the {{Button|[[Image:Path_Profile.svg|16px]] [[Path_Profile|Path Profile]]}} button.
# Invoke the command several ways:
#* Press the {{KEY|[[Image:Path Profile.png|16px]] [[Path Profile|Profile]]}} button
#* Select the {{MenuCommand|Path → [[Image:Path_Profile.svg|16px]] Profile}} option from the menu.
#* 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.
# Activate the Base Geometry section by clicking its tab, and select features from the Job model.
#*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.
#* If no features are selected, the command defaults to a {{MenuCommand|Contour}} operation, contouring the entire model.
#*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.
#* If faces are selected, then the result is a {{MenuCommand|Profile Face}} operation.
#* If edges are selected, then the result is a {{MenuCommand|Profile Edges}} operation.<br>'''NOTE''': This operation has received improvements to allow functionality on some open-edge (non-loop) selections. See the '''Usage Notes''' section below for additional information on best practice for profiling open-edges.
# Activate the Operation section by clicking on its tab, and adjust the operation's settings as desired.
# Activate the Operation section by clicking on its tab, and adjust the operation's settings as desired.
# (''Optional'') Click the '''Apply''' button to preview the operation with the current settings.
# Optionally press the {{Button|Apply}} button to preview the operation with the current settings.
# Click the '''OK''' or '''Cancel''' buttons to create or cancel the operation.
# Click the {{Button|OK}} button or the {{Button|Cancel}} button to create or cancel the operation.

<!--T:77-->
'''Important Note: Path Profile doesn't take care of other details of the object. You have to adjust the properties, especially the final depth, carefully, a mistake might destroy your work piece'''


<!--T:50-->
<!--T:50-->
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}}.
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}}.


<!--T:51-->
<!--T:51-->
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.
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.


==Usage Notes== <!--T:78-->

<!--T:68-->
* The {{KEY|[[Image:Path_Profile.svg|16px]] [[Path_Profile|Profile]]}} operation is capable of profiling '''open-edges''' (one or more continuous edges that do not form a loop as seen from the ''Top View'')
** It is best to select the top edges (highest edges) for the selection. After doing so, you will need to manually set the Final Depth for the operation. Selection of bottom edges only is unpredictable and will likely return undesirable paths in many situations; however, it will return correct paths in some situations.
** Selected edges must form a continual edge ''as viewed from the Top View''. Selected top edges may have differing heights, so long as they connect at a common (X, Y) coordinate - differing Z-heights are acceptable in ''some'''**''''' cases. <BR />'''**'''In certain cases, the user will need to include in their selection the straight vertical connecting edge between two adjacent edges of different heights that share a common (X, Y) coordinate.
**Because top edges are selected, the Final Depth for the operation will need to be set manually.
** When profiling open-edges, the `Side` or `Cut Side` property is disabled internally even though it will likely be visible within the Task editor window and the Properties list within the Data tab.
* When profiling the entire model (a complete contour of the model) the `Side` or `Cut Side` property is hard coded to `Outside` even though it might be available for user input.


==Properties== <!--T:9-->
==Properties== <!--T:9-->
Line 62: Line 88:
''' ''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'' ''': 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==== <!--T:52-->
<!--T:52-->
{{TitleProperty|Base}}


<!--T:22-->
<!--T:22-->
Line 80: Line 107:
* {{PropertyData|Label}}: User-provided name of the object (UTF-8)
* {{PropertyData|Label}}: User-provided name of the object (UTF-8)


====Depth==== <!--T:53-->
<!--T:53-->
{{TitleProperty|Depth}}


<!--T:54-->
<!--T:54-->
Line 89: Line 117:
* {{PropertyData|Start Depth}}: Starting depth of Tool - ''first cut depth in Z''
* {{PropertyData|Start Depth}}: Starting depth of Tool - ''first cut depth in Z''
* {{PropertyData|Step Down}}: Incremental step down of Tool during operation
* {{PropertyData|Step Down}}: Incremental step down of Tool during operation

</translate>
</translate>
[[File:Path-DepthsAndHeights.gif|300px|center]]
[[File:Path-DepthsAndHeights.gif|300px|center]]
Line 95: Line 124:
{{Caption|Visual reference for Depth properties (settings)}}
{{Caption|Visual reference for Depth properties (settings)}}


====Path==== <!--T:56-->
<!--T:56-->
{{TitleProperty|Path}}


<!--T:57-->
<!--T:57-->
Line 106: Line 136:
* {{PropertyData|User Label}}: User assigned label
* {{PropertyData|User Label}}: User assigned label


====Profile==== <!--T:19-->
<!--T:19-->
{{TitleProperty|Profile}}


<!--T:58-->
<!--T:58-->
Line 120: Line 151:
* {{PropertyData|Use Compensation}}: If checked, the Profile Operation is offset by the tool radius. The offset direction is determined by the Cut Side.
* {{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-->
<!--T:28-->
{{TitleProperty|Rotation}}


<!--T:59-->
<!--T:59-->
Line 129: Line 161:
* {{PropertyData|Reverse Direction}}: Reverse orientation of Operation by 180 degrees.
* {{PropertyData|Reverse Direction}}: Reverse orientation of Operation by 180 degrees.


====Start Point==== <!--T:60-->
<!--T:60-->
{{TitleProperty|Start Point}}


<!--T:61-->
<!--T:61-->
Line 137: Line 170:
** {{PropertyData|Z}}: z distance value
** {{PropertyData|Z}}: z distance value
* {{PropertyData|Use Start Point}}: Make True, if manually specifying a Start Point. Set the start point in the property data Start Point field.
* {{PropertyData|Use 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== <!--T:62-->
==Tasks Window Editor Layout== <!--T:62-->
Line 145: Line 177:
This section is simply a layout map of the settings in the window editor for the Operation.
This section is simply a layout map of the settings in the window editor for the Operation.


====Base Geometry==== <!--T:32-->
===Base Geometry=== <!--T:32-->


<!--T:33-->
<!--T:33-->
Line 152: Line 184:
* '''Clear''': clear all items in the Base Geometry list
* '''Clear''': clear all items in the Base Geometry list


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


<!--T:35-->
<!--T:35-->
Line 159: Line 191:
* {{PropertyData|Step Down}}
* {{PropertyData|Step Down}}


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


<!--T:37-->
<!--T:37-->
Line 165: Line 197:
* {{PropertyData|Clearance Height}}
* {{PropertyData|Clearance Height}}


====Operation==== <!--T:38-->
===Operation=== <!--T:38-->


<!--T:63-->
<!--T:63-->
Line 180: Line 212:
* {{PropertyData|Process Perimeter **}}
* {{PropertyData|Process Perimeter **}}
'''<nowiki>**</nowiki>''' Availability changes based on selections in Base Geometry section.
'''<nowiki>**</nowiki>''' Availability changes based on selections in Base Geometry section.


==Scripting== <!--T:64-->
==Scripting== <!--T:64-->



<!--T:65-->
<!--T:65-->
{{Emphasis|See also:}} [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


<!--T:66-->
<!--T:66-->
Example:
Example:


</translate>
{{Code|code=
#Place code example here.
}}
<translate>


<!--T:67-->
{{Code|code=#Place code example here.}}


<!--T:41-->
<!--T:41-->
{{Docnav
{{Docnav
|[[Path_ToolBitDock|ToolBitDock]]
|[[Path_Engrave|Engrave]]
|[[Path_Pocket_Shape|Pocket Shape]]
|[[Path_Helix|Helix]]
|[[Path_Workbench|Path]]
|[[Path_Workbench|Path]]
|IconL=Path_Engrave.svg
|IconL=Path_ToolBitDock.svg
|IconR=Path_Pocket_Shape.svg
|IconC=Workbench_Path.svg
|IconC=Workbench_Path.svg
|IconR=Path_Helix.svg
}}
}}


Line 208: Line 241:
{{Path_Tools_navi{{#translation:}}}}
{{Path_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 20:43, 26 February 2022

Path Profile

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

Description

The Profile tool creates a contour operation based on selected features of the model. The tool was introduced in version 0.19. It offers three operations that were handled by separate tools in previous versions.

All operations create objects that are made to be part of a Path Job.

These are the available operations:

Contour operation

A Contour operation is the default. It creates a simple external contour cut of complex 3D 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.

Profile Face operation

A Profile Face operation creates a simple contour path from one ore more selected faces of an object.

Profile Edges operation

A Profile Edges operation creates a simple contour path from selected edges.

Usage

  1. There are several ways to invoke the command:
    • Press the Path Profile button.
    • Select the Path → Profile option from the menu.
  2. Activate the Base Geometry section by clicking its tab, and select features from the Job model.
    • If no features are selected, the command defaults to a Contour operation, contouring the entire model.
    • If faces are selected, then the result is a Profile Face operation.
    • If edges are selected, then the result is a Profile Edges operation.
      NOTE: This operation has received improvements to allow functionality on some open-edge (non-loop) selections. See the Usage Notes section below for additional information on best practice for profiling open-edges.
  3. Activate the Operation section by clicking on its tab, and adjust the operation's settings as desired.
  4. Optionally press the Apply button to preview the operation with the current settings.
  5. Click the OK button or the Cancel button to create or cancel the operation.

Important Note: Path Profile doesn't take care of other details of the object. You have to adjust the properties, especially the final depth, carefully, a mistake might destroy your work piece

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.

Usage Notes

  • The Profile operation is capable of profiling open-edges (one or more continuous edges that do not form a loop as seen from the Top View)
    • It is best to select the top edges (highest edges) for the selection. After doing so, you will need to manually set the Final Depth for the operation. Selection of bottom edges only is unpredictable and will likely return undesirable paths in many situations; however, it will return correct paths in some situations.
    • Selected edges must form a continual edge as viewed from the Top View. Selected top edges may have differing heights, so long as they connect at a common (X, Y) coordinate - differing Z-heights are acceptable in some** cases.
      **In certain cases, the user will need to include in their selection the straight vertical connecting edge between two adjacent edges of different heights that share a common (X, Y) coordinate.
    • Because top edges are selected, the Final Depth for the operation will need to be set manually.
    • When profiling open-edges, the `Side` or `Cut Side` property is disabled internally even though it will likely be visible within the Task editor window and the Properties list within the Data tab.
  • When profiling the entire model (a complete contour of the model) the `Side` or `Cut Side` property is hard coded to `Outside` even though it might be available for user input.

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.