rackstack icon indicating copy to clipboard operation
rackstack copied to clipboard

Patch panel rack model - Normalized tree growing past 200000 elements

Open cmrdove opened this issue 1 year ago • 1 comments

I have a rackframe that is 210x210 with 24 rail screws.

    ["custom", [
      ["maxUnitWidth", 210],
      ["maxUnitDepth", 210],
      ["numRailScrews", 24]
    ]]

Im attempting to generate a patch panel with a number of keystones (to be determined) to fill left to right, using both openscad (and openscad-nightly on debian bookworm).

Replicated on windows and linux.

When i attempt to generate a patch panel with anything above 8 keystones i get the following errors

WARNING: Normalized tree is growing past 200000 elements. Aborting normalization.  
WARNING: CSG normalization resulted in an empty tree 

image

When generating a patch panel with 8 or less it appears to generate ok. image

cmrdove avatar Jan 13 '25 17:01 cmrdove

Ran into this issue while working on https://github.com/jazwa/rackstack/issues/27. I just added a render() here: https://github.com/jazwa/rackstack/blob/0bd69808b42e3c780b175a7fb730b128318de076/rack-mount/patch-panel/patchPanel.scad#L33

Seems to help! Actually rendering the the stl with openscad (as opposed to just viewing the preview) always works for me too.

jazwa avatar Feb 08 '25 17:02 jazwa