Download Lua/ExtrasGen/RoofEdgesInwardsAcross.generated.lua from sirnii/myspace: direct link, hf CLI and curl.
- Browser
- Download file 674 Bytes
-
https://huggingface.co/spaces/sirnii/myspace/resolve/main/Lua/ExtrasGen/RoofEdgesInwardsAcross.generated.lua
- Command line
-
hf download hf://spaces/sirnii/myspace/Lua/ExtrasGen/RoofEdgesInwardsAcross.generated.lua
-
curl -L -o RoofEdgesInwardsAcross.generated.lua https://huggingface.co/spaces/sirnii/myspace/resolve/main/Lua/ExtrasGen/RoofEdgesInwardsAcross.generated.lua
674 Bytes
| -- ========== GENERATED BY ExtrasGen Editor (Ctrl-Alt-G) DO NOT EDIT MANUALLY! ========== | |
| rawset(_G, 'ExtrasGenPrgs', rawget(_G, 'ExtrasGenPrgs') or {}) | |
| ExtrasGenPrgs.RoofEdgesInwardsAcross = function(seed, initial_selection) | |
| local li = { id = "RoofEdgesInwardsAcross" } | |
| initial_selection = initial_selection or editor.GetSel() | |
| local rand = BraidRandomCreate(seed or AsyncRand()) | |
| local _, guides | |
| prgdbg(li, 1, 1) _, guides = sprocall(PlaceRoomGuides.Exec, PlaceRoomGuides, initial_selection, guides, "Roof", false, true, true, true, true, false, "Both", 1, 0, 0, "Inwards (wall)") | |
| prgdbg(li, 1, 2) sprocall(SelectInEditor.Exec, SelectInEditor, guides, true, true) | |
| end |