The machine.py
module#
Summary#
Provides constants for additive manufacturing machine settings. |
|
|
Provides the additive manufacturing machine settings used during simulations. |
Description#
Provides a container for machine parameters.
Module detail#
- class machine.MachineConstants#
Provides constants for additive manufacturing machine settings.
Overview#
Default laser power (W). |
|
Minimum laser power (W). |
|
Maximum laser power (W). |
|
Default scan speed (m/s). |
|
Minimum scan speed (m/s). |
|
Maximum scan speed (m/s). |
|
Default heater temperature (C). |
|
Minimum heater temperature (C). |
|
Maximum heater temperature (C). |
|
Default layer thickness (m). |
|
Minimum layer thickness (m). |
|
Maximum layer thickness (m). |
|
Default beam diameter (m). |
|
Minimum beam diameter (m). |
|
Maximum beam diameter (m). |
|
Default starting layer angle (degrees). |
|
Minimum starting layer angle (degrees). |
|
Maximum starting layer angle (degrees). |
|
Default layer rotation angle (degrees). |
|
Minimum layer rotation angle (degrees). |
|
Maximum layer rotation angle (degrees). |
|
Default hatch spacing (m). |
|
Minimum hatch spacing (m). |
|
Maximum hatch spacing (m). |
|
Default slicing stripe width (m). |
|
Minimum slicing stripe width (m). |
|
Maximum slicing stripe width (m). |
Import detail#
from ansys.additive.core.machine import MachineConstants
Attribute detail#
- MachineConstants.DEFAULT_LASER_POWER = 195#
Default laser power (W).
- MachineConstants.MIN_LASER_POWER = 50#
Minimum laser power (W).
- MachineConstants.MAX_LASER_POWER = 700#
Maximum laser power (W).
- MachineConstants.DEFAULT_SCAN_SPEED = 1.0#
Default scan speed (m/s).
- MachineConstants.MIN_SCAN_SPEED = 0.35#
Minimum scan speed (m/s).
- MachineConstants.MAX_SCAN_SPEED = 2.5#
Maximum scan speed (m/s).
- MachineConstants.DEFAULT_HEATER_TEMP = 80#
Default heater temperature (C).
- MachineConstants.MIN_HEATER_TEMP = 20#
Minimum heater temperature (C).
- MachineConstants.MAX_HEATER_TEMP = 500#
Maximum heater temperature (C).
- MachineConstants.DEFAULT_LAYER_THICKNESS = 5e-05#
Default layer thickness (m).
- MachineConstants.MIN_LAYER_THICKNESS = 1e-05#
Minimum layer thickness (m).
- MachineConstants.MAX_LAYER_THICKNESS = 0.0001#
Maximum layer thickness (m).
- MachineConstants.DEFAULT_BEAM_DIAMETER = 0.0001#
Default beam diameter (m).
- MachineConstants.MIN_BEAM_DIAMETER = 2e-05#
Minimum beam diameter (m).
- MachineConstants.MAX_BEAM_DIAMETER = 0.00014#
Maximum beam diameter (m).
- MachineConstants.DEFAULT_STARTING_LAYER_ANGLE = 57#
Default starting layer angle (degrees).
- MachineConstants.MIN_STARTING_LAYER_ANGLE = 0#
Minimum starting layer angle (degrees).
- MachineConstants.MAX_STARTING_LAYER_ANGLE = 180#
Maximum starting layer angle (degrees).
- MachineConstants.DEFAULT_LAYER_ROTATION_ANGLE = 67#
Default layer rotation angle (degrees).
- MachineConstants.MIN_LAYER_ROTATION_ANGLE = 0#
Minimum layer rotation angle (degrees).
- MachineConstants.MAX_LAYER_ROTATION_ANGLE = 180#
Maximum layer rotation angle (degrees).
- MachineConstants.DEFAULT_HATCH_SPACING = 0.0001#
Default hatch spacing (m).
- MachineConstants.MIN_HATCH_SPACING = 6e-05#
Minimum hatch spacing (m).
- MachineConstants.MAX_HATCH_SPACING = 0.0002#
Maximum hatch spacing (m).
- MachineConstants.DEFAULT_SLICING_STRIPE_WIDTH = 0.01#
Default slicing stripe width (m).
- MachineConstants.MIN_SLICING_STRIPE_WIDTH = 0.001#
Minimum slicing stripe width (m).
- MachineConstants.MAX_SLICING_STRIPE_WIDTH = 0.1#
Maximum slicing stripe width (m).
- class MachineConstants.AdditiveMachine(*, laser_power: float = MachineConstants.DEFAULT_LASER_POWER, scan_speed: float = MachineConstants.DEFAULT_SCAN_SPEED, heater_temperature: float = MachineConstants.DEFAULT_HEATER_TEMP, layer_thickness: float = MachineConstants.DEFAULT_LAYER_THICKNESS, beam_diameter: float = MachineConstants.DEFAULT_BEAM_DIAMETER, starting_layer_angle: float = MachineConstants.DEFAULT_STARTING_LAYER_ANGLE, layer_rotation_angle: float = MachineConstants.DEFAULT_LAYER_ROTATION_ANGLE, hatch_spacing: float = MachineConstants.DEFAULT_HATCH_SPACING, slicing_stripe_width: float = MachineConstants.DEFAULT_SLICING_STRIPE_WIDTH)#
Provides the additive manufacturing machine settings used during simulations.
Units are SI (m, kg, s, or K) unless otherwise noted. Exceptions include angles, which are (degrees), and the heater temperature, which is (degrees) Celsius.
Overview#
Scanning laser power (W). |
|
Laser scanning speed (m/s). |
|
Temperature (ยฐC) of the machine build chamber heater. |
|
Thickness (m) of the powder layer deposited with each pass of the |
|
Width (m) of the laser on the powder or substrate surface defined |
|
Angle (ยฐ) to scan the first layer at. |
|
Angle (ยฐ) to change the scan vector orientation from layer to layer. |
|
Distance (m) between adjacent scan vectors, or hatches, when |
|
Width (m) of a stripe, which is a section of scan lines within a |
Import detail#
from ansys.additive.core.machine import AdditiveMachine
Property detail#
- property AdditiveMachine.laser_power: float#
Scanning laser power (W).
Valid values are from 50 to 700 Watts.
- property AdditiveMachine.scan_speed: float#
Laser scanning speed (m/s).
Valid values are from 0.35 to 2.5 m/s.
- property AdditiveMachine.heater_temperature: float#
Temperature (ยฐC) of the machine build chamber heater.
Valid values are from 20 to 500 ยฐC.
- property AdditiveMachine.layer_thickness: float#
Thickness (m) of the powder layer deposited with each pass of the recoater blade.
Valid values are from 1e-5 to 1e-4 m (10 to 100 ยตm).
- property AdditiveMachine.beam_diameter: float#
Width (m) of the laser on the powder or substrate surface defined using the D4ฯ beam diameter definition.
Usually this value is provided by the machine manufacturer. It is sometimes called the laser spot diameter.
Valid values are from 2e-5 to 1.4e-4 m (20 and 140 ยตm).
- property AdditiveMachine.starting_layer_angle: float#
Angle (ยฐ) to scan the first layer at.
The angle is measured counterclockwise from the X axis, such that a value of 90ยฐ results in scan lines parallel to the Y axis.
Valid values are from 0 to 180ยฐ.
- property AdditiveMachine.layer_rotation_angle: float#
Angle (ยฐ) to change the scan vector orientation from layer to layer.
Valid values are from 0 to 180ยฐ.
- property AdditiveMachine.hatch_spacing: float#
Distance (m) between adjacent scan vectors, or hatches, when rastering back and forth with the laser.
Hatch spacing should allow for a slight overlap of scan vector tracks such that some of the material re-melts to ensure full coverage of solid material.
Valid values are from 6e-5 to 2e-4 m (0.06 and 0.2 mm).