diff --git a/Docs/VehicleModelPreparationRules.ru.md b/Docs/VehicleModelPreparationRules.ru.md index 13d5952..1793ba2 100644 --- a/Docs/VehicleModelPreparationRules.ru.md +++ b/Docs/VehicleModelPreparationRules.ru.md @@ -317,3 +317,38 @@ kamazModules -> KUZOV, GRUZ krazModulesPlacedOnKamaz -> KRAZ_body for bulk, KRAZ_blade bucket removedForKrazBulk -> wing_VerifyAltModulesVariant ``` + +## 2026-06-19: эталонная посадка KRAZ-модулей из plus-файла + +Файл `C:\Users\post\Documents\mrPlow\in\mrplow_modular_assembly_verify+.blend` используется только как визуальный эталон посадки навесного оборудования: + +- `KRAZ_body for bulk` в plus-файле стоит правильно относительно KAMAZ; +- `KRAZ_blade bucket` в plus-файле стоит правильно относительно передней части KAMAZ; +- сам plus-файл нельзя брать целиком как источник пайплайна, потому что в нем есть старая структура: `broom` в `MrPlow_Modules` и `wing_VerifyAltModulesVariant`; +- чистую сборку всегда генерирует `Tools/VehiclePipeline/build_modular_assembly_verify.py`; +- из plus-файла переносим только утвержденные world bounds/позиции модулей. + +Важная техническая деталь: KRAZ-исходник `kraz_6322 .blend` приходит с объектными трансформами. Перед посадкой модулей скрипт обязан выполнить нормализацию `rotation/scale` в Blender, иначе KRAZ-модуль становится в 1000 раз больше. После нормализации ставим объект так, чтобы bounds совпали с plus-файлом: + +```text +KRAZ_body for bulk bounds: +minM = (-4.8837, 3.8139, 0.4107) +maxM = ( 0.7611, 6.1861, 2.9377) +sizeCm = 564.47 x 237.22 x 252.70 + +KRAZ_blade bucket bounds: +minM = (3.3331, 3.0193, 0.0094) +maxM = (5.1276, 6.9807, 1.3212) +sizeCm = 179.45 x 396.15 x 131.18 +``` + +Проверка после генерации: + +```text +mrplow_modular_assembly_verify.blend +KRAZ_body for bulk -> Verify_02_KAMAZ_With_Alt_Modules +KRAZ_blade bucket -> Verify_02_KAMAZ_With_Alt_Modules +wing -> MrPlow_Chassis +wing_VerifyAltModulesVariant -> absent +MrPlow_Modules -> KUZOV, GRUZ only +``` diff --git a/Tools/VehiclePipeline/audit_modular_verify_blend.py b/Tools/VehiclePipeline/audit_modular_verify_blend.py new file mode 100644 index 0000000..265e687 --- /dev/null +++ b/Tools/VehiclePipeline/audit_modular_verify_blend.py @@ -0,0 +1,94 @@ +import argparse +import json +import sys +from pathlib import Path + +import bpy +from mathutils import Vector + + +WATCH_NAMES = ( + "KRAZ_body for bulk", + "KRAZ_blade bucket", + "wing", + "wing_VerifyAltModulesVariant", +) + + +def parse_args(): + parser = argparse.ArgumentParser() + parser.add_argument("--report", required=True) + argv = sys.argv[sys.argv.index("--") + 1 :] if "--" in sys.argv else [] + return parser.parse_args(argv) + + +def bounds(objects): + points = [] + for obj in objects: + if obj.type != "MESH": + continue + for corner in obj.bound_box: + points.append(obj.matrix_world @ Vector(corner)) + if not points: + return None + min_v = Vector((min(p.x for p in points), min(p.y for p in points), min(p.z for p in points))) + max_v = Vector((max(p.x for p in points), max(p.y for p in points), max(p.z for p in points))) + center = (min_v + max_v) * 0.5 + size = max_v - min_v + return { + "minM": [round(min_v.x, 5), round(min_v.y, 5), round(min_v.z, 5)], + "maxM": [round(max_v.x, 5), round(max_v.y, 5), round(max_v.z, 5)], + "centerM": [round(center.x, 5), round(center.y, 5), round(center.z, 5)], + "sizeM": [round(size.x, 5), round(size.y, 5), round(size.z, 5)], + } + + +def object_report(obj): + if not obj: + return {"exists": False} + report = { + "exists": True, + "name": obj.name, + "type": obj.type, + "locationM": [round(obj.location.x, 5), round(obj.location.y, 5), round(obj.location.z, 5)], + "rotationEuler": [round(value, 5) for value in obj.rotation_euler], + "scale": [round(obj.scale.x, 5), round(obj.scale.y, 5), round(obj.scale.z, 5)], + "collections": sorted(collection.name for collection in obj.users_collection), + } + if obj.type == "MESH": + report["bounds"] = bounds([obj]) + report["vertices"] = len(obj.data.vertices) + report["polygons"] = len(obj.data.polygons) + return report + + +def main(): + args = parse_args() + report_path = Path(args.report) + collections = { + collection.name: sorted(obj.name for obj in collection.objects) + for collection in bpy.data.collections + if collection.name.startswith(("Verify", "MrPlow")) + } + report = { + "blend": bpy.data.filepath, + "objects": {name: object_report(bpy.data.objects.get(name)) for name in WATCH_NAMES}, + "collections": collections, + } + report_path.parent.mkdir(parents=True, exist_ok=True) + report_path.write_text(json.dumps(report, indent=2, ensure_ascii=False), encoding="utf-8") + print(json.dumps({ + "blend": bpy.data.filepath, + "objects": { + name: { + "exists": item["exists"], + "locationM": item.get("locationM"), + "collections": item.get("collections"), + } + for name, item in report["objects"].items() + }, + "report": str(report_path), + }, indent=2, ensure_ascii=False)) + + +main() diff --git a/Tools/VehiclePipeline/build_modular_assembly_verify.py b/Tools/VehiclePipeline/build_modular_assembly_verify.py index 196309f..842dd4b 100644 --- a/Tools/VehiclePipeline/build_modular_assembly_verify.py +++ b/Tools/VehiclePipeline/build_modular_assembly_verify.py @@ -15,6 +15,21 @@ VERIFY_REPORT = "mrplow_modular_assembly_verify_report.json" KAMAZ_MODULE_NAMES = ["KUZOV", "GRUZ"] KRAZ_MODULE_NAMES = ["body for bulk", "blade bucket"] INCOMPATIBLE_WITH_KRAZ_BULK = ["wing"] +KRAZ_MODULE_FIT_TRANSFORMS = { + # Artist-approved placement derived from mrplow_modular_assembly_verify+.blend. + # KRAZ source meshes are first normalized with rotation/scale applied, then placed + # so their world bounds match the approved plus-file bounds. + "KRAZ_body for bulk": { + "location": (-2.05784, 5.0, 1.67436), + "rotation": (0.0, 0.0, 0.0), + "scale": (1.0, 1.0, 1.0), + }, + "KRAZ_blade bucket": { + "location": (4.23032, 5.0, 0.6653), + "rotation": (0.0, 0.0, 0.0), + "scale": (1.0, 1.0, 1.0), + }, +} def parse_args(): @@ -158,6 +173,16 @@ def align_bottom_center(obj, target_center, target_bottom_z): obj.location += delta +def apply_fit_transform(obj): + transform = KRAZ_MODULE_FIT_TRANSFORMS.get(obj.name) + if not transform: + return False + obj.location = Vector(transform["location"]) + obj.rotation_euler = transform["rotation"] + obj.scale = transform["scale"] + return True + + def add_text_label(name, text, location, collection): bpy.ops.object.text_add(location=location, rotation=(math.radians(65), 0, 0)) obj = bpy.context.object @@ -214,7 +239,8 @@ def main(): for obj in kraz_modules: move_to_collection(obj, parking_collection) obj.name = f"KRAZ_{obj.name}" - # Apply transforms from the imported source so module dimensions and pivots are explicit. + # KRAZ source modules are authored with object transforms. Bake them first so + # the generated verification file remains meter-sized and predictable. bpy.ops.object.select_all(action="DESELECT") obj.select_set(True) bpy.context.view_layer.objects.active = obj @@ -233,9 +259,7 @@ def main(): placed_modules = [] removed_for_bulk = [] if kuzov and kraz_body: - target_min, target_max, _ = bounds([kuzov]) - target = (target_min + target_max) * 0.5 + variant_offset - align_bottom_center(kraz_body, target, target_min.z) + apply_fit_transform(kraz_body) link_to_collection(kraz_body, variant_collection) placed_modules.append(kraz_body) removed_for_bulk = remove_variant_objects( @@ -246,10 +270,7 @@ def main(): ) if variant_chassis and kraz_blade: - min_v, max_v, _ = bounds(variant_chassis) - blade_min, blade_max, blade_size = bounds([kraz_blade]) - target_center = Vector((max_v.x + blade_size.x * 0.5 + 0.15, variant_offset.y, min_v.z + 0.05)) - align_bottom_center(kraz_blade, target_center, min_v.z + 0.05) + apply_fit_transform(kraz_blade) link_to_collection(kraz_blade, variant_collection) placed_modules.append(kraz_blade) @@ -311,6 +332,11 @@ def main(): "reason": "bulk body occupies the same rear side clearance envelope", } ], + "fitTransformSource": { + "blend": "mrplow_modular_assembly_verify+.blend", + "rule": "copy only approved KRAZ module transforms; keep generated clean collections and incompatibility cleanup", + "transforms": KRAZ_MODULE_FIT_TRANSFORMS, + }, "variantChassisBounds": object_report(variant_chassis[0]) if variant_chassis else {}, "notes": [ "KAMAZ default modules remain in the clean source file and are exported separately.", diff --git a/VehicleExports/mrplow_modular_assembly_verify_current_audit.json b/VehicleExports/mrplow_modular_assembly_verify_current_audit.json new file mode 100644 index 0000000..2e4ecf2 --- /dev/null +++ b/VehicleExports/mrplow_modular_assembly_verify_current_audit.json @@ -0,0 +1,488 @@ +{ + "blend": "C:\\Users\\post\\Documents\\mrPlow\\in\\mrplow_modular_assembly_verify.blend", + "objects": { + "KRAZ_body for bulk": { + "exists": true, + "name": "KRAZ_body for bulk", + "type": "MESH", + "locationM": [ + -2.05784, + 5.0, + 1.67436 + ], + "rotationEuler": [ + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "collections": [ + "Verify_02_KAMAZ_With_Alt_Modules" + ], + "bounds": { + "minM": [ + -4.88366, + 3.81389, + 0.41073 + ], + "maxM": [ + 0.76108, + 6.18611, + 2.93773 + ], + "centerM": [ + -2.06129, + 5.0, + 1.67423 + ], + "sizeM": [ + 5.64474, + 2.37223, + 2.52701 + ] + }, + "vertices": 13537, + "polygons": 12348 + }, + "KRAZ_blade bucket": { + "exists": true, + "name": "KRAZ_blade bucket", + "type": "MESH", + "locationM": [ + 4.23032, + 5.0, + 0.6653 + ], + "rotationEuler": [ + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "collections": [ + "Verify_02_KAMAZ_With_Alt_Modules" + ], + "bounds": { + "minM": [ + 3.33312, + 3.01927, + 0.00937 + ], + "maxM": [ + 5.12759, + 6.98073, + 1.32118 + ], + "centerM": [ + 4.23036, + 5.0, + 0.66527 + ], + "sizeM": [ + 1.79447, + 3.96145, + 1.3118 + ] + }, + "vertices": 53317, + "polygons": 51448 + }, + "wing": { + "exists": true, + "name": "wing", + "type": "MESH", + "locationM": [ + -2.78944, + 0.0, + 0.75899 + ], + "rotationEuler": [ + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "collections": [ + "MrPlow_Chassis" + ], + "bounds": { + "minM": [ + -3.74998, + -1.24377, + 0.58024 + ], + "maxM": [ + -1.02529, + 1.24377, + 1.21681 + ], + "centerM": [ + -2.38763, + -0.0, + 0.89853 + ], + "sizeM": [ + 2.72468, + 2.48754, + 0.63656 + ] + }, + "vertices": 11300, + "polygons": 10634 + }, + "wing_VerifyAltModulesVariant": { + "exists": false + } + }, + "collections": { + "MrPlow_Chassis": [ + "CABIN", + "INTERIOR", + "Object018", + "RearAxlePart_000", + "RearAxlePart_001", + "RearAxlePart_002", + "RearAxlePart_009", + "RearAxlePart_010", + "RearAxlePart_011", + "RearAxlePart_012", + "RearAxlePart_015", + "RearAxlePart_016", + "RearAxlePart_017", + "RearAxlePart_018", + "RearAxlePart_025", + "RearAxlePart_026", + "RearAxlePart_027", + "RearAxlePart_028", + "RearAxlePart_029", + "RearAxlePart_032", + "RearAxlePart_033", + "RearAxlePart_040", + "RearAxlePart_041", + "RearAxlePart_042", + "RearAxlePart_043", + "RearAxlePart_044", + "RearAxlePart_045", + "RearAxlePart_046", + "RearAxlePart_047", + "RearAxlePart_048", + "RearAxlePart_049", + "RearAxlePart_050", + "RearAxlePart_051", + "RearAxlePart_052", + "RearAxlePart_053", + "RearAxlePart_054", + "RearAxlePart_055", + "RearAxlePart_056", + "RearAxlePart_057", + "RearAxlePart_058", + "RearAxlePart_059", + "RearAxlePart_060", + "RearAxlePart_061", + "RearAxlePart_062", + "RearAxlePart_063", + "RearAxlePart_064", + "RearAxlePart_065", + "RearAxlePart_066", + "RearAxlePart_067", + "RearAxlePart_068", + "RearAxlePart_069", + "RearAxlePart_070", + "RearAxlePart_071", + "RearAxlePart_072", + "RearAxlePart_073", + "RearAxlePart_074", + "RearAxlePart_075", + "RearAxlePart_076", + "RearAxlePart_077", + "RearAxlePart_078", + "RearAxlePart_079", + "RearAxlePart_080", + "RearAxlePart_081", + "RearAxlePart_082", + "RearAxlePart_083", + "RearAxlePart_084", + "RearAxlePart_085", + "RearAxlePart_086", + "RearAxlePart_087", + "RearAxlePart_088", + "RearAxlePart_089", + "RearAxlePart_090", + "RearAxlePart_091", + "RearAxlePart_092", + "RearAxlePart_093", + "RearAxlePart_094", + "RearAxlePart_095", + "RearAxlePart_096", + "RearAxlePart_097", + "RearAxlePart_098", + "RearAxlePart_099", + "RearAxlePart_100", + "RearAxlePart_101", + "RearAxlePart_102", + "RearAxlePart_103", + "RearAxlePart_104", + "RearAxlePart_105", + "RearAxlePart_106", + "RearAxlePart_107", + "RearAxlePart_108", + "RearAxlePart_109", + "RearAxlePart_110", + "RearAxlePart_111", + "RearAxlePart_112", + "RearAxlePart_113", + "RearAxlePart_114", + "RearAxlePart_115", + "RearAxlePart_116", + "RearAxlePart_117", + "RearAxlePart_118", + "RearAxlePart_119", + "RearAxlePart_120", + "RearAxlePart_121", + "RearAxlePart_122", + "RearAxlePart_123", + "RearAxlePart_124", + "RearAxlePart_125", + "RearAxlePart_126", + "RearAxlePart_127", + "RearAxlePart_128", + "RearAxlePart_129", + "RearAxlePart_130", + "RearAxlePart_131", + "RearAxlePart_132", + "RearAxlePart_133", + "RearAxlePart_134", + "RearAxlePart_135", + "RearAxlePart_136", + "RearAxlePart_143", + "RearAxlePart_144", + "RearAxlePart_147", + "RearAxlePart_148", + "RearAxlePart_149", + "RearAxlePart_150", + "RearAxlePart_151", + "RearAxlePart_152", + "RearAxlePart_156", + "RearAxlePart_160", + "RearAxlePart_161", + "RearAxlePart_162", + "RearAxlePart_163", + "RearAxlePart_164", + "RearAxlePart_165", + "blinker", + "disk023", + "fuel_tank_other", + "glass_cabin", + "kozirek", + "light-front", + "mirror", + "number-front", + "number-rear", + "radiator", + "rama", + "rear light", + "rubber-glass", + "stekloochistka_stupeni", + "transmission", + "tyre024", + "upderlight", + "vihlop", + "wing" + ], + "MrPlow_Modules": [ + "GRUZ", + "KUZOV" + ], + "MrPlow_Rig": [ + "SK_Kamaz_Chassis_Armature", + "Socket_Broom", + "Socket_Cargo", + "Socket_FrontBlade", + "Socket_Hitch", + "Socket_RearModule" + ], + "Verify_01_KAMAZ_Default": [], + "Verify_02_KAMAZ_With_Alt_Modules": [ + "CABIN_VerifyAltModulesVariant", + "INTERIOR_VerifyAltModulesVariant", + "KRAZ_blade bucket", + "KRAZ_body for bulk", + "Object018_VerifyAltModulesVariant", + "RearAxlePart_000_VerifyAltModulesVariant", + "RearAxlePart_001_VerifyAltModulesVariant", + "RearAxlePart_002_VerifyAltModulesVariant", + "RearAxlePart_009_VerifyAltModulesVariant", + "RearAxlePart_010_VerifyAltModulesVariant", + "RearAxlePart_011_VerifyAltModulesVariant", + "RearAxlePart_012_VerifyAltModulesVariant", + "RearAxlePart_015_VerifyAltModulesVariant", + "RearAxlePart_016_VerifyAltModulesVariant", + "RearAxlePart_017_VerifyAltModulesVariant", + "RearAxlePart_018_VerifyAltModulesVariant", + "RearAxlePart_025_VerifyAltModulesVariant", + "RearAxlePart_026_VerifyAltModulesVariant", + "RearAxlePart_027_VerifyAltModulesVariant", + "RearAxlePart_028_VerifyAltModulesVariant", + "RearAxlePart_029_VerifyAltModulesVariant", + "RearAxlePart_032_VerifyAltModulesVariant", + "RearAxlePart_033_VerifyAltModulesVariant", + "RearAxlePart_040_VerifyAltModulesVariant", + "RearAxlePart_041_VerifyAltModulesVariant", + "RearAxlePart_042_VerifyAltModulesVariant", + "RearAxlePart_043_VerifyAltModulesVariant", + "RearAxlePart_044_VerifyAltModulesVariant", + "RearAxlePart_045_VerifyAltModulesVariant", + "RearAxlePart_046_VerifyAltModulesVariant", + "RearAxlePart_047_VerifyAltModulesVariant", + "RearAxlePart_048_VerifyAltModulesVariant", + "RearAxlePart_049_VerifyAltModulesVariant", + "RearAxlePart_050_VerifyAltModulesVariant", + "RearAxlePart_051_VerifyAltModulesVariant", + "RearAxlePart_052_VerifyAltModulesVariant", + "RearAxlePart_053_VerifyAltModulesVariant", + "RearAxlePart_054_VerifyAltModulesVariant", + "RearAxlePart_055_VerifyAltModulesVariant", + "RearAxlePart_056_VerifyAltModulesVariant", + "RearAxlePart_057_VerifyAltModulesVariant", + "RearAxlePart_058_VerifyAltModulesVariant", + "RearAxlePart_059_VerifyAltModulesVariant", + "RearAxlePart_060_VerifyAltModulesVariant", + "RearAxlePart_061_VerifyAltModulesVariant", + "RearAxlePart_062_VerifyAltModulesVariant", + "RearAxlePart_063_VerifyAltModulesVariant", + "RearAxlePart_064_VerifyAltModulesVariant", + "RearAxlePart_065_VerifyAltModulesVariant", + "RearAxlePart_066_VerifyAltModulesVariant", + "RearAxlePart_067_VerifyAltModulesVariant", + "RearAxlePart_068_VerifyAltModulesVariant", + "RearAxlePart_069_VerifyAltModulesVariant", + "RearAxlePart_070_VerifyAltModulesVariant", + "RearAxlePart_071_VerifyAltModulesVariant", + "RearAxlePart_072_VerifyAltModulesVariant", + "RearAxlePart_073_VerifyAltModulesVariant", + "RearAxlePart_074_VerifyAltModulesVariant", + "RearAxlePart_075_VerifyAltModulesVariant", + "RearAxlePart_076_VerifyAltModulesVariant", + "RearAxlePart_077_VerifyAltModulesVariant", + "RearAxlePart_078_VerifyAltModulesVariant", + "RearAxlePart_079_VerifyAltModulesVariant", + "RearAxlePart_080_VerifyAltModulesVariant", + "RearAxlePart_081_VerifyAltModulesVariant", + "RearAxlePart_082_VerifyAltModulesVariant", + "RearAxlePart_083_VerifyAltModulesVariant", + "RearAxlePart_084_VerifyAltModulesVariant", + "RearAxlePart_085_VerifyAltModulesVariant", + "RearAxlePart_086_VerifyAltModulesVariant", + "RearAxlePart_087_VerifyAltModulesVariant", + "RearAxlePart_088_VerifyAltModulesVariant", + "RearAxlePart_089_VerifyAltModulesVariant", + "RearAxlePart_090_VerifyAltModulesVariant", + "RearAxlePart_091_VerifyAltModulesVariant", + "RearAxlePart_092_VerifyAltModulesVariant", + "RearAxlePart_093_VerifyAltModulesVariant", + "RearAxlePart_094_VerifyAltModulesVariant", + "RearAxlePart_095_VerifyAltModulesVariant", + "RearAxlePart_096_VerifyAltModulesVariant", + "RearAxlePart_097_VerifyAltModulesVariant", + "RearAxlePart_098_VerifyAltModulesVariant", + "RearAxlePart_099_VerifyAltModulesVariant", + "RearAxlePart_100_VerifyAltModulesVariant", + "RearAxlePart_101_VerifyAltModulesVariant", + "RearAxlePart_102_VerifyAltModulesVariant", + "RearAxlePart_103_VerifyAltModulesVariant", + "RearAxlePart_104_VerifyAltModulesVariant", + "RearAxlePart_105_VerifyAltModulesVariant", + "RearAxlePart_106_VerifyAltModulesVariant", + "RearAxlePart_107_VerifyAltModulesVariant", + "RearAxlePart_108_VerifyAltModulesVariant", + "RearAxlePart_109_VerifyAltModulesVariant", + "RearAxlePart_110_VerifyAltModulesVariant", + "RearAxlePart_111_VerifyAltModulesVariant", + "RearAxlePart_112_VerifyAltModulesVariant", + "RearAxlePart_113_VerifyAltModulesVariant", + "RearAxlePart_114_VerifyAltModulesVariant", + "RearAxlePart_115_VerifyAltModulesVariant", + "RearAxlePart_116_VerifyAltModulesVariant", + "RearAxlePart_117_VerifyAltModulesVariant", + "RearAxlePart_118_VerifyAltModulesVariant", + "RearAxlePart_119_VerifyAltModulesVariant", + "RearAxlePart_120_VerifyAltModulesVariant", + "RearAxlePart_121_VerifyAltModulesVariant", + "RearAxlePart_122_VerifyAltModulesVariant", + "RearAxlePart_123_VerifyAltModulesVariant", + "RearAxlePart_124_VerifyAltModulesVariant", + "RearAxlePart_125_VerifyAltModulesVariant", + "RearAxlePart_126_VerifyAltModulesVariant", + "RearAxlePart_127_VerifyAltModulesVariant", + "RearAxlePart_128_VerifyAltModulesVariant", + "RearAxlePart_129_VerifyAltModulesVariant", + "RearAxlePart_130_VerifyAltModulesVariant", + "RearAxlePart_131_VerifyAltModulesVariant", + "RearAxlePart_132_VerifyAltModulesVariant", + "RearAxlePart_133_VerifyAltModulesVariant", + "RearAxlePart_134_VerifyAltModulesVariant", + "RearAxlePart_135_VerifyAltModulesVariant", + "RearAxlePart_136_VerifyAltModulesVariant", + "RearAxlePart_143_VerifyAltModulesVariant", + "RearAxlePart_144_VerifyAltModulesVariant", + "RearAxlePart_147_VerifyAltModulesVariant", + "RearAxlePart_148_VerifyAltModulesVariant", + "RearAxlePart_149_VerifyAltModulesVariant", + "RearAxlePart_150_VerifyAltModulesVariant", + "RearAxlePart_151_VerifyAltModulesVariant", + "RearAxlePart_152_VerifyAltModulesVariant", + "RearAxlePart_156_VerifyAltModulesVariant", + "RearAxlePart_160_VerifyAltModulesVariant", + "RearAxlePart_161_VerifyAltModulesVariant", + "RearAxlePart_162_VerifyAltModulesVariant", + "RearAxlePart_163_VerifyAltModulesVariant", + "RearAxlePart_164_VerifyAltModulesVariant", + "RearAxlePart_165_VerifyAltModulesVariant", + "blinker_VerifyAltModulesVariant", + "disk023_VerifyAltModulesVariant", + "fuel_tank_other_VerifyAltModulesVariant", + "glass_cabin_VerifyAltModulesVariant", + "kozirek_VerifyAltModulesVariant", + "light-front_VerifyAltModulesVariant", + "mirror_VerifyAltModulesVariant", + "number-front_VerifyAltModulesVariant", + "number-rear_VerifyAltModulesVariant", + "radiator_VerifyAltModulesVariant", + "rama_VerifyAltModulesVariant", + "rear light_VerifyAltModulesVariant", + "rubber-glass_VerifyAltModulesVariant", + "stekloochistka_stupeni_VerifyAltModulesVariant", + "transmission_VerifyAltModulesVariant", + "tyre024_VerifyAltModulesVariant", + "upderlight_VerifyAltModulesVariant", + "vihlop_VerifyAltModulesVariant" + ], + "Verify_03_Module_Parking": [], + "Verify_Labels": [ + "Label_Alt_Modules", + "Label_Default_Kamaz", + "Label_Socket_Broom", + "Label_Socket_Cargo", + "Label_Socket_FrontBlade", + "Label_Socket_Hitch", + "Label_Socket_RearModule", + "VerifyMarker_Socket_Broom", + "VerifyMarker_Socket_Cargo", + "VerifyMarker_Socket_FrontBlade", + "VerifyMarker_Socket_Hitch", + "VerifyMarker_Socket_RearModule" + ] + } +} \ No newline at end of file diff --git a/VehicleExports/mrplow_modular_assembly_verify_plus_audit.json b/VehicleExports/mrplow_modular_assembly_verify_plus_audit.json new file mode 100644 index 0000000..b68e40f --- /dev/null +++ b/VehicleExports/mrplow_modular_assembly_verify_plus_audit.json @@ -0,0 +1,350 @@ +{ + "blend": "C:\\Users\\post\\Documents\\mrPlow\\in\\mrplow_modular_assembly_verify+.blend", + "objects": { + "KRAZ_body for bulk": { + "exists": true, + "name": "KRAZ_body for bulk", + "type": "MESH", + "locationM": [ + -2.06473, + 5.0, + 1.67437 + ], + "rotationEuler": [ + 0.0, + 0.0, + 3.14159 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "collections": [ + "Verify_02_KAMAZ_With_Alt_Modules" + ], + "bounds": { + "minM": [ + -4.88365, + 3.81389, + 0.41073 + ], + "maxM": [ + 0.76108, + 6.18612, + 2.93774 + ], + "centerM": [ + -2.06129, + 5.0, + 1.67423 + ], + "sizeM": [ + 5.64474, + 2.37223, + 2.52701 + ] + }, + "vertices": 13537, + "polygons": 12348 + }, + "KRAZ_blade bucket": { + "exists": true, + "name": "KRAZ_blade bucket", + "type": "MESH", + "locationM": [ + 4.23039, + 5.0, + 0.6653 + ], + "rotationEuler": [ + 0.0, + 0.0, + 3.14159 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "collections": [ + "Verify_02_KAMAZ_With_Alt_Modules" + ], + "bounds": { + "minM": [ + 3.33311, + 3.01927, + 0.00937 + ], + "maxM": [ + 5.12759, + 6.98073, + 1.32117 + ], + "centerM": [ + 4.23035, + 5.0, + 0.66527 + ], + "sizeM": [ + 1.79447, + 3.96145, + 1.3118 + ] + }, + "vertices": 53317, + "polygons": 51448 + }, + "wing": { + "exists": true, + "name": "wing", + "type": "MESH", + "locationM": [ + -2.78944, + 0.0, + 0.75899 + ], + "rotationEuler": [ + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "collections": [ + "MrPlow_Chassis" + ], + "bounds": { + "minM": [ + -3.74998, + -1.24377, + 0.58024 + ], + "maxM": [ + -1.02529, + 1.24377, + 1.21681 + ], + "centerM": [ + -2.38763, + -0.0, + 0.89853 + ], + "sizeM": [ + 2.72468, + 2.48754, + 0.63656 + ] + }, + "vertices": 11300, + "polygons": 10634 + }, + "wing_VerifyAltModulesVariant": { + "exists": true, + "name": "wing_VerifyAltModulesVariant", + "type": "MESH", + "locationM": [ + -2.78944, + 5.0, + 0.75899 + ], + "rotationEuler": [ + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ], + "collections": [ + "Verify_02_KAMAZ_With_Alt_Modules" + ], + "bounds": { + "minM": [ + -3.74998, + 3.75623, + 0.58024 + ], + "maxM": [ + -1.02529, + 6.24377, + 1.21681 + ], + "centerM": [ + -2.38763, + 5.0, + 0.89853 + ], + "sizeM": [ + 2.72468, + 2.48754, + 0.63656 + ] + }, + "vertices": 11300, + "polygons": 10634 + } + }, + "collections": { + "MrPlow_Chassis": [ + "CABIN", + "INTERIOR", + "Object008", + "Object009", + "Object010", + "Object011", + "Object012", + "Object013", + "Object014", + "Object015", + "Object016", + "Object017", + "Object018", + "blinker", + "bolt001", + "bolt009", + "bolt010", + "bolt011", + "bolt012", + "bolt013", + "disk001", + "disk012", + "disk013", + "disk014", + "disk016", + "disk017", + "disk018", + "disk020", + "disk021", + "disk022", + "disk023", + "fuel_tank_other", + "glass_cabin", + "kolpak001", + "kolpak004", + "kozirek", + "light-front", + "mirror", + "number-front", + "number-rear", + "radiator", + "rama", + "rear axle", + "rear light", + "rubber-glass", + "stekloochistka_stupeni", + "transmission", + "tyre001", + "tyre013", + "tyre014", + "tyre015", + "tyre017", + "tyre018", + "tyre019", + "tyre021", + "tyre022", + "tyre023", + "tyre024", + "vihlop", + "wing" + ], + "MrPlow_Modules": [ + "GRUZ", + "KUZOV", + "broom" + ], + "MrPlow_Rig": [ + "SK_Kamaz_Chassis_Armature", + "Socket_Broom", + "Socket_Cargo", + "Socket_FrontBlade", + "Socket_Hitch", + "Socket_RearModule" + ], + "Verify_01_KAMAZ_Default": [], + "Verify_02_KAMAZ_With_Alt_Modules": [ + "CABIN_VerifyAltModulesVariant", + "INTERIOR_VerifyAltModulesVariant", + "KRAZ_blade bucket", + "KRAZ_body for bulk", + "Object008_VerifyAltModulesVariant", + "Object009_VerifyAltModulesVariant", + "Object010_VerifyAltModulesVariant", + "Object011_VerifyAltModulesVariant", + "Object012_VerifyAltModulesVariant", + "Object013_VerifyAltModulesVariant", + "Object014_VerifyAltModulesVariant", + "Object015_VerifyAltModulesVariant", + "Object016_VerifyAltModulesVariant", + "Object017_VerifyAltModulesVariant", + "Object018_VerifyAltModulesVariant", + "blinker_VerifyAltModulesVariant", + "bolt001_VerifyAltModulesVariant", + "bolt009_VerifyAltModulesVariant", + "bolt010_VerifyAltModulesVariant", + "bolt011_VerifyAltModulesVariant", + "bolt012_VerifyAltModulesVariant", + "bolt013_VerifyAltModulesVariant", + "disk001_VerifyAltModulesVariant", + "disk012_VerifyAltModulesVariant", + "disk013_VerifyAltModulesVariant", + "disk014_VerifyAltModulesVariant", + "disk016_VerifyAltModulesVariant", + "disk017_VerifyAltModulesVariant", + "disk018_VerifyAltModulesVariant", + "disk020_VerifyAltModulesVariant", + "disk021_VerifyAltModulesVariant", + "disk022_VerifyAltModulesVariant", + "disk023_VerifyAltModulesVariant", + "fuel_tank_other_VerifyAltModulesVariant", + "glass_cabin_VerifyAltModulesVariant", + "kolpak001_VerifyAltModulesVariant", + "kolpak004_VerifyAltModulesVariant", + "kozirek_VerifyAltModulesVariant", + "light-front_VerifyAltModulesVariant", + "mirror_VerifyAltModulesVariant", + "number-front_VerifyAltModulesVariant", + "number-rear_VerifyAltModulesVariant", + "radiator_VerifyAltModulesVariant", + "rama_VerifyAltModulesVariant", + "rear axle_VerifyAltModulesVariant", + "rear light_VerifyAltModulesVariant", + "rubber-glass_VerifyAltModulesVariant", + "stekloochistka_stupeni_VerifyAltModulesVariant", + "transmission_VerifyAltModulesVariant", + "tyre001_VerifyAltModulesVariant", + "tyre013_VerifyAltModulesVariant", + "tyre014_VerifyAltModulesVariant", + "tyre015_VerifyAltModulesVariant", + "tyre017_VerifyAltModulesVariant", + "tyre018_VerifyAltModulesVariant", + "tyre019_VerifyAltModulesVariant", + "tyre021_VerifyAltModulesVariant", + "tyre022_VerifyAltModulesVariant", + "tyre023_VerifyAltModulesVariant", + "tyre024_VerifyAltModulesVariant", + "vihlop_VerifyAltModulesVariant", + "wing_VerifyAltModulesVariant" + ], + "Verify_03_Module_Parking": [], + "Verify_Labels": [ + "Label_Alt_Modules", + "Label_Default_Kamaz", + "Label_Socket_Broom", + "Label_Socket_Cargo", + "Label_Socket_FrontBlade", + "Label_Socket_Hitch", + "Label_Socket_RearModule", + "VerifyMarker_Socket_Broom", + "VerifyMarker_Socket_Cargo", + "VerifyMarker_Socket_FrontBlade", + "VerifyMarker_Socket_Hitch", + "VerifyMarker_Socket_RearModule" + ] + } +} \ No newline at end of file diff --git a/VehicleExports/mrplow_modular_assembly_verify_report.json b/VehicleExports/mrplow_modular_assembly_verify_report.json index d6cfc4a..484bbe9 100644 --- a/VehicleExports/mrplow_modular_assembly_verify_report.json +++ b/VehicleExports/mrplow_modular_assembly_verify_report.json @@ -78,19 +78,19 @@ "name": "KRAZ_body for bulk", "type": "MESH", "locationM": [ - -1.5932, + -2.0578, 5.0, - 2.4404 + 1.6744 ], "boundsMinM": [ - -4.419, + -4.8837, 3.8139, - 1.1767 + 0.4107 ], "boundsMaxM": [ - 1.2257, + 0.7611, 6.1861, - 3.7037 + 2.9377 ], "sizeCm": { "x": 564.47, @@ -104,19 +104,19 @@ "name": "KRAZ_blade bucket", "type": "MESH", "locationM": [ - 4.509, + 4.2303, 5.0, - 0.9657 + 0.6653 ], "boundsMinM": [ - 3.6118, + 3.3331, 3.0193, - 0.3098 + 0.0094 ], "boundsMaxM": [ - 5.4063, + 5.1276, 6.9807, - 1.6216 + 1.3212 ], "sizeCm": { "x": 179.45, @@ -143,6 +143,46 @@ "reason": "bulk body occupies the same rear side clearance envelope" } ], + "fitTransformSource": { + "blend": "mrplow_modular_assembly_verify+.blend", + "rule": "copy only approved KRAZ module transforms; keep generated clean collections and incompatibility cleanup", + "transforms": { + "KRAZ_body for bulk": { + "location": [ + -2.05784, + 5.0, + 1.67436 + ], + "rotation": [ + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "KRAZ_blade bucket": { + "location": [ + 4.23032, + 5.0, + 0.6653 + ], + "rotation": [ + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + } + } + }, "variantChassisBounds": { "name": "CABIN_VerifyAltModulesVariant", "type": "MESH",