Nodes/comfyui-AGSoft/🔢 AGSoft Loop Fix Float
ComfyUI Node

🔢 AGSoft Loop Fix Float

Feed a list of 10 floats into a loop without a converter node

By Art-xmaster·Created 12 months ago·Updated a day ago· 23
🔢 AGSoft Loop Fix Float
    • FLOAT
    number_of_inputs10
    precision2
    float_10.00
    float_20.00
    float_30.00
    float_40.00
    float_50.00
    float_60.00
    float_70.00
    float_80.00
    float_90.00
    float_100.00

    Looping in ComfyUI is done with lists - a node outputs a list, a looping structure iterates over it, and you get N passes instead of N copy-pasted nodes. The friction is always the same: how do you get your handful of values into a list? AGSoft Loop Fix Float is the answer for the float case: ten plain input fields that come out the other side as a single list of floats.

    The name says "Fix" because it fixes the classic annoyance with float inputs in loops: a value of zero. A lot of input widgets silently drop zero or treat empty as missing, which quietly skips a step in your sequence. This node passes everything through, zeros included - which is why its description is proud of that exact detail.

    How it works

    You get up to ten float_1 through float_10 fields (any range -10000 to 10000, step 0.01). number_of_inputs (1–10, default 10) controls how many of them actually get collected, so you can show 4 fields instead of 10 without the node complaining. precision rounds each value to 1 or 2 decimals before it goes into the list - useful when you're feeding something that's picky about trailing digits, like an animation schedule.

    The output is a single FLOAT list (the brief's schema marks it as a list output). That's the whole job: typed values in, one list out, ready for whatever loop node or batch processor consumes lists.

    Installation

    From comfyui-AGSoft:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Art-xmaster/comfyui-AGSoft.git
    # restart ComfyUI
    

    Or ComfyUI Manager → search "comfyui-AGSoft". No extra deps beyond the pack's numpy/opencv, no models.

    Where it fits

    The siblings tell the story: AGSoft Loop Fix Integer for integers, AGSoft Loop Fix Text for strings, this one for floats. They're the "collect these into a list" family, and they pair naturally with loop samplers or any node that iterates lists. If instead you want to generate a range of values (start, end, step) rather than type them out, that's what AGSoft Loop Float is for. If you want the values to come from elsewhere in the graph rather than typed fields, you don't need this node at all - you need a list source. The honest review: it's a small utility that earns its place the moment you type "0.25" into a float field and watch a loop skip a step because the zero handling was broken elsewhere.

    CategoryAGSoft/Utility

    Inputs (12)

    NameTypeDefaultDescription
    number_of_inputsINT101–10How many inputs to use (1-10). Сколько входов использовать (1-10).
    precisionCOMBO2Number of decimal places (1 or 2). Количество знаков после запятой (1 или 2).
    float_1FLOAT0.00-10000–10000Float value 1. Float значение 1.
    float_2FLOAT0.00-10000–10000Float value 2. Float значение 2.
    float_3FLOAT0.00-10000–10000Float value 3. Float значение 3.
    float_4FLOAT0.00-10000–10000Float value 4. Float значение 4.
    float_5FLOAT0.00-10000–10000Float value 5. Float значение 5.
    float_6FLOAT0.00-10000–10000Float value 6. Float значение 6.
    float_7FLOAT0.00-10000–10000Float value 7. Float значение 7.
    float_8FLOAT0.00-10000–10000Float value 8. Float значение 8.
    float_9FLOAT0.00-10000–10000Float value 9. Float значение 9.
    float_10FLOAT0.00-10000–10000Float value 10. Float значение 10.

    Outputs (1)

    NameTypeDescription
    FLOATFLOAT