Nodes/ComfyUI-HappNodeSet/Laser Cutter Path Tracer
ComfyUI Node

Laser Cutter Path Tracer

A ComfyUI node in Laser/Path with 12 inputs and 3 outputs.

By mikemojen·Created 8 months ago·Updated 3 months ago· 0
Laser Cutter Path Tracer
  • image
  • traced_image
  • feature_count
  • path_info
binary_threshold128
min_feature_area30
max_feature_area_pct0.40
morph_close_size5
morph_dilate_size0
dedup_radius15
invert_imagefalse
use_adaptive_thresholdfalse
adaptive_block_size51
adaptive_c10
detect_open_contourstrue
CategoryLaser/Path

Inputs (12)

NameTypeDefaultDescription
imageIMAGE
binary_thresholdINT1280–255
min_feature_areaINT301–50000Minimum contour area (px2) to count as a feature.
max_feature_area_pctFLOAT0.400.01–0.99Max feature area as fraction of external boundary.
morph_close_sizeINT50–31Morphological close kernel. Bridges gaps. 0=off.
morph_dilate_sizeINT00–15Dilation kernel. Thickens thin strokes. 0=off.
dedup_radiusINT150–100Merge features whose centers are within this many px.
invert_imageBOOLEANfalse
use_adaptive_thresholdBOOLEANfalseAdaptive thresholding for noisy/low-contrast images.
adaptive_block_sizeINT513–201
adaptive_cINT10-30–60
detect_open_contoursBOOLEANtrueAlso detect arcs, grooves, engravings (open line segments).

Outputs (3)

NameTypeDescription
traced_imageIMAGE
feature_countINT
path_infoSTRING