Skip to content

Commit d95a2b7

Browse files
subravvrVamsi Subraveticolemanjs
authored
set melt pool properties in rve.py (#17)
* set melt pool properties in rve.py --------- Co-authored-by: Vamsi Subraveti <[email protected]> Co-authored-by: John Coleman <[email protected]>
1 parent bc1b5c6 commit d95a2b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/api_example/rve.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@
7575
"height": (width_data, n_modes, height_scale, height_shape),
7676
}
7777

78-
melt_pool = create_melt_pool(melt_pool_dict, enable_random_phases=False)
78+
melt_pool = create_melt_pool(melt_pool_dict, enable_random_phases=True)
79+
for path_vector in path_vectors:
80+
path_vector.set_melt_pool_properties(melt_pool)
7981

8082
# 4. Compute porosity using conic section / superellipse curves for melt pool mask
8183
porosity = compute_porosity(

0 commit comments

Comments
 (0)