From 82c3c7cfbb3ebc3cf87a9b176ff12d874ceda20b Mon Sep 17 00:00:00 2001 From: izawartka <59137928+izawartka@users.noreply.github.com> Date: Sat, 2 Aug 2025 00:34:34 +0200 Subject: [PATCH] Updated glb_bounds.py *Changed optional params of glb_bounds.py to use dashes instead of underscores in optional params *Added missing glb_bounds.py header --- tools/glb_bounds.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/glb_bounds.py b/tools/glb_bounds.py index b7b9862..d796651 100644 --- a/tools/glb_bounds.py +++ b/tools/glb_bounds.py @@ -5,6 +5,12 @@ import logging from tqdm import tqdm import trimesh +# +# [ GLB BOUNDS EXTRACTOR ] +# by masuo +# v1.1 +# + def parse_args(): parser = argparse.ArgumentParser( description="Extract bounding boxes from GLB mesh files and output JSON summary." @@ -18,13 +24,13 @@ def parse_args(): help='Output JSON file path' ) parser.add_argument( - '--decimal_places', '-d', + '--decimal-places', '-d', type=int, default=3, help='Number of decimal places for output coordinates (default: 3)' ) parser.add_argument( - '--no_aliases', '-a', + '--no-aliases', '-a', action='store_false', help='Disable aliases in the output JSON (default: false)' )