FreeCAD Logo FreeCAD 1.0
  • Inglés Africano Árabe Bielorruso Catalán Checo Alemán Griego Español Español Euskera Finlandés Filipino Francés Gallego Croata Húngaro Indonesio Italiano Japonés Cabilio Coreano Lituano Neerlandés bokmal de Noruega Polaco Portugués Portugués Rumano Ruso Eslovaco Esloveno Serbio Sueco Turco Ucraniano Valenciano Vietnamita Chino Chino
  • Características
  • Descarga
  • Blog
  • Documentación
    Índice de documentación Primeros pasos Documentacion para el usuario El manual de FreeCAD Documentación de entornos de trabajo Documentación sobre FreeCAD + Python Documentación de codificación de C++ Tutoriales Preguntas frecuentes Política de privacidad Acerca de FreeCAD
  • Contribuir
    ¿Cómo puedo ayudar? Sponsor Informar de un error Hacer un pull request Trabajos y financiación Pautas de contribución Manual de desarrolladores Traducciones
  • Comunidad
    Código de conducta Foro The FPA GitHub GitLab Codeberg Mastodon Matrix IRC IRC via Webchat Gitter Discord Reddit Twitter Facebook LinkedIn Calendario
  • ♥ Donate

Donate

$
Información de SEPA
Configure su transferencia bancaria SEPA a:
Beneficiary: The FreeCAD project association
IBAN: BE04 0019 2896 4531
BIC/SWIFT: GEBABEBBXXX
Agencia bancaria: BNP Paribas Fortis
Dirección: Rue de la Station 64, 1360 Perwez, Belgium

While Stripe doesn't support monthly donations, you can still become a sponsor! Simply make a one-time donation equivalent to 12 months of support, and you'll gain access to the corresponding sponsoring tier. It's an easy and flexible way to contribute.

If you are not sure or not able to commit to a regular donation, but still want to help the project, you can do a one-time donation, of any amount.

Choose freely the amount you wish to donate one time only.

You can support FreeCAD by sponsoring it as an individual or organization through various platforms. Sponsorship provides a steady income for developers, allowing the FPA to plan ahead and enabling greater investment in FreeCAD. To encourage sponsorship, we offer different tiers, and unless you choose to remain anonymous, your name or company logo will be featured on our website accordingly.

from 1 USD / 1 EUR per month. You will not have your name displayed here, but you will have helped the project a lot anyway. Together, normal sponsors maintain the project on its feet as much as the bigger sponsors.

from 25 USD / 25 EUR per month. Your name or company name is displayed on this page.

from 100 USD / 100 EUR per month. Your name or company name is displayed on this page, with a link to your website, and a one-line description text.

from 200 USD / 200 EUR per month. Your name or company name and logo displayed on this page, with a link to your website and a custom description text. Companies that have helped FreeCAD early on also appear under Gold sponsors.

Instead of donating each month, you might find it more comfortable to make a one-time donation that, when divided by twelve, would give you right to enter a sponsoring tier. Don't hesitate to do so!

Choose freely the amount you wish to donate each month.

Please inform your forum name or twitter handle as a notein your transfer, or reach to us, so we can give you proper credits!

Tutorial
Topic
CAM Workbench
Level
Beginner/Moderate
Time to complete
15 minutes
Authors
Chrisb
FreeCAD version
0.19
Example files
See also
None

Aim

Demonstrating the creation of a CAM Workbench Job derived from a 3D Model. Then generating dialect-correct G-Code for a target CNC mill.

The 3D Model

1. The Project begins with a simple FreeCAD model designed in the Part Design a cube with a rectangular pocket,

Above: Created in the Part Design including a Body, a Box with a Pocket, based on a Sketch oriented in the XY-plane.

2. With the 3D Model completed, switch to the CAM Workbench via the Workbench selector (drop-down menu)

The Job

3. Now we create a CAM Job by either of the following methods:

  • Press the Job button from the toolbar.
  • Using the P then J keyboard shortcut.
  • Using the CAM → Job entry from the top menu.

Above: CAM Job creation dialog

4. This opens a Job creation dialog. Within this dialog, click OK to accept the Body as the Base Model, with no Template.

Job Setup

5. The Job Edit window opens in the Task window, and the model view Window shows the Stock as a wire frame cube surrounding the Base Body. The Setup Tab is selected.

Job Output

6. The Output tab defines the output file path, name, extension, and the Postprocessor. For advanced users, Post Processor Arguments can be customized (mouse over to show tooltips of common arguments).

Above: CAM Job Edit dialog with the Output tab selected

Job Tools

Above: CAM Job Edit dialog with the Tools tab selected

7. Modify the Default tool by selecting it and clicking the Edit button. This opens the Tool Controller edit window.

Above: CAM Job Tool Controller subpanel Edit dialog

8. The name given to the tool and the tool number correspond with the tool number of the machine. In the dialog (see above) it's Tool Nr. 4. The tool controller is configured for horizontal and vertical feed rates of 2mm/s and a spindle speed of 2000 rpm.

9. Select the Tool subpanel of the Tool controller. Set the diameter (and if you wish to use the CAM Simulation tool later: add a cutting edge angle and cutting edge height).

Above: CAM Job Tool controller 'Tool' subpanel dialog

10. The values are confirmed with OK

Note: For easy access, all the tools can be predefined and selected from the Tool manager.

Job Workplan

The Workplan tab initially is shown as empty. It is then populated by the sequence of Job Operations, Partial CAM Commands, and CAM Dressups. The sequence of these items is ordered here.

This tree is shown after the Job's configuration once the CAM Job is unfolded:

The Path Operations

11. Two operations will be added to generate milling paths for this CAM Job. The Profile operation creates a path around the box and the Pocket operation creates a path for the inner pocket.

12. For now we will keep it simple. The Profile button opens the Contour panel. After confirming with OK using the default values, see the green path around the object is visible.

13. Selecting the bottom of the pocket and then the Pocket button opens the Pocket Shape window. The default values for Base Geometry, Depths, and Heights are used, and the Operation subpanel is selected, and the Step Over Percent is set at 50.

Above: Pocket Shape dialog with the Operation subpanel selected

14. The pattern is changed to "Offset" and the Job Operation is confirmed for the pocket configuration with OK

The result is a model with two paths:

Above: resulting with a model with two paths

Verifying Paths

There are two ways to verify the created paths. The G-Code can be inspected, including highlighting the corresponding path segments. The milling process of the CAM Job can also be simulated to demonstrate the idealized tool paths, required for the Tool geometries to mill the Stock.

To inspect the G-Code use the CAM Inspect tool. Selecting the corresponding G-Code lines within the G-Code Inspection window highlights individual path segments.

Above: CAM Inspection tool opens the G-Code Inspection dialog

To start the simulation use the CAM Simulator tool.

Adjust speed and accuracy and start the simulation with the (Play) button.

Above: CAM Simulation in progress

If you want to end the simulation click the Cancel button, it will remove the stock created for the simulation. If you click OK this object will be kept in your Job.

Postprocess the Job

The final step to generate G-Code for the target mill is to postprocess the Job. This outputs the G-Codes to a file that can be uploaded to the target CNC machine controller. To invoke the Postprocessor:

  • Select the Job object in the Tree View
  • Select the CAM Postprocessing tool to postprocess the file. This opens a G-Code window allowing inspection of the final output file before it is saved.

Above: G-Code window allowing inspection of the final output file


Esta página ha sido recuperada de https://wiki.freecad.org/CAM_Walkthrough_for_the_Impatient

¡Contáctanos!
Forum GitHub Mastodon Matrix IRC Gitter.im Discord Reddit Twitter Facebook LinkedIn

© El equipo de FreeCAD. Créditos de imagen de la página principal (de arriba a abajo): ppemawm, r-frank, epileftric, regis, rider_mortagnais, bejant.

Este proyecto es apoyado por: , KiCad Services Corp. y otros patrocinadores

GitHubMejora esta página en GitHub