From c354bd967134551401a34d1947ac91c4e7de445a Mon Sep 17 00:00:00 2001 From: Youen Date: Sun, 11 Sep 2022 22:13:32 +0200 Subject: [PATCH] wip --- ahb_cmd_parse_step.py | 17 +++++++++++------ ahb_cmd_render.py | 4 ++-- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/ahb_cmd_parse_step.py b/ahb_cmd_parse_step.py index dba687e..63f23c9 100644 --- a/ahb_cmd_parse_step.py +++ b/ahb_cmd_parse_step.py @@ -80,12 +80,17 @@ class AHB_ParseStep: # don't know why, but these objects are not ordered like the others special_objects = { - '10_01_003 F_st7758_1': 'COMPOUND004', # manivelle droite - 'CHO04': 'COMPOUND1318', # guidon - 'CHO40': 'COMPOUND1319', # garde-boue droit - 'CHO41': 'COMPOUND1320', # garde-boue gauche - 'Pochette laterale': 'COMPOUND1321', # pochette gauche - 'Pochette laterale_1': 'COMPOUND1322', # pochette droite + '10_01_003 F_st7758_1': 'COMPOUND005', # manivelle droite + 'Batterie': 'COMPOUND058', # batterie basse + 'Batterie_1': 'COMPOUND059', # batterie haute + 'Axa compactline 35-E 6v-12v dc': 'COMPOUND1272', # phare droit + 'Axa compactline 35-E 6v-12v dc_1': 'COMPOUND1273', # phare gauche + 'Potence_CHO44': 'COMPOUND732', # potence + 'CHO04': 'COMPOUND1290', # guidon + 'CHO40': 'COMPOUND1291', # garde-boue droit + 'CHO41': 'COMPOUND1292', # garde-boue gauche + 'Pochette laterale': 'COMPOUND1294', # pochette gauche + 'Pochette laterale_1': 'COMPOUND1293', # pochette droite } object_idx = -1 diff --git a/ahb_cmd_render.py b/ahb_cmd_render.py index adaf690..eca8fa5 100644 --- a/ahb_cmd_render.py +++ b/ahb_cmd_render.py @@ -161,8 +161,8 @@ class AHB_Render: import re render_main = False - render_stages = False - render_parts = True + render_stages = True + render_parts = False Gui.Selection.clearSelection() Gui.activeDocument().activeView().setCameraType("Orthographic")