// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Plan repeats for a rectangular panel // Not compiled or tested in-world // Setup: Set WIDTH, HEIGHT, and METERS_PER_TILE to your measured flat panel values; touch as owner. // Stop / restore: Remove or disable. This inspector changes no build properties. // Notes: Read-only planning for a flat rectangular mapping. Mesh UVs and planar mapping may differ; the script does not infer face orientation or apply repeats. // License: see LICENSE in this distribution. // Original Incoprea example. MIT. float WIDTH=4.0; float HEIGHT=2.0; float METERS_PER_TILE=0.5; default { touch_start(integer count) { if(llDetectedKey(0)!=llGetOwner()) return; if(WIDTH<=0.0 || HEIGHT<=0.0 || METERS_PER_TILE<=0.0) { llOwnerSay("Use positive dimensions and tile size."); return; } vector repeats=; llOwnerSay("Suggested repeats: "+(string)repeats); } changed(integer flags) { if(flags & CHANGED_OWNER) llResetScript(); } }