Browse Source

wip

pull/1/head
Youen 2 years ago
parent
commit
c354bd9671
  1. 17
      ahb_cmd_parse_step.py
  2. 4
      ahb_cmd_render.py

17
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

4
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")

Loading…
Cancel
Save