Skip to content

Quick start

Everything is driven by a case file. Seven cases ship with the package and run by name.

openwaam cases                 # list the built-in cases
openwaam robots                # list the robot arms
openwaam materials             # list the alloys

Plan a build (seconds)

openwaam plan cylinder_ur10e

Writes the toolpath, the joint trajectory, reach and joint-speed checks, and program.gcode to out/cylinder_ur10e/. A case that plans an ABB arm (wall_irb2600_pybullet) also gets program.mod, an ABB RAPID module.

One bead with the fluid solver (about 10 minutes)

openwaam meltpool single_bead

Writes melt-pool figures, an animation, a VTK file for ParaView and the predicted bead width, height and penetration.

A wall: robot, thermal history, distortion (a few minutes)

openwaam run wall_irb2600_pybullet

An ABB IRB 2600 lays a ten-layer wall in PyBullet. The motion the arm executes drives the thermal model, and the distortion model runs on the result.

Robot and fluid solver together (about 5 minutes)

openwaam cosim cosim_weave_bead

The arm weaves one bead while the melt-pool solver runs. See Robot and melt pool, coupled.

Your own case

openwaam cases wall > my_wall.yaml     # copy a built-in case
openwaam run my_wall.yaml -o out/my_wall

Every run writes report.json with all the numbers. Case files lists the keys.

From Python

from openwaam import Process, get_material
from openwaam.partscale import ThermalConfig, ThermalModel
from openwaam.robot import BeadModel, Toolpath, get_arm, plan_robot_motion, plan_tcp_trajectory
from openwaam.robot.kinematics import translate

steel = get_material("ER70S-6")
process = Process(current=164, voltage=17.8, wire_feed_speed=4.0 / 60, travel_speed=0.008)

bead = BeadModel.from_process(process, aspect_ratio=3.5)
path = Toolpath.wall(length=0.08, n_layers=4, layer_height=bead.layer_height_wall(),
                     travel_speed=process.travel_speed, bead=bead, interpass_dwell=20)

arm = get_arm("abb_irb2600")
traj = plan_robot_motion(plan_tcp_trajectory(path), arm, part_frame=translate(1.0, -0.04, 0.35))

model = ThermalModel(steel, process, traj, bead.width, path.layer_height,
                     ThermalConfig(voxel=1.5e-3, final_cooling=30))
model.run()
print(model.summary())