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 # don't know why, but these objects are not ordered like the others
special_objects = { special_objects = {
'10_01_003 F_st7758_1': 'COMPOUND004', # manivelle droite '10_01_003 F_st7758_1': 'COMPOUND005', # manivelle droite
'CHO04': 'COMPOUND1318', # guidon 'Batterie': 'COMPOUND058', # batterie basse
'CHO40': 'COMPOUND1319', # garde-boue droit 'Batterie_1': 'COMPOUND059', # batterie haute
'CHO41': 'COMPOUND1320', # garde-boue gauche 'Axa compactline 35-E 6v-12v dc': 'COMPOUND1272', # phare droit
'Pochette laterale': 'COMPOUND1321', # pochette gauche 'Axa compactline 35-E 6v-12v dc_1': 'COMPOUND1273', # phare gauche
'Pochette laterale_1': 'COMPOUND1322', # pochette droite '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 object_idx = -1

4
ahb_cmd_render.py

@ -161,8 +161,8 @@ class AHB_Render:
import re import re
render_main = False render_main = False
render_stages = False render_stages = True
render_parts = True render_parts = False
Gui.Selection.clearSelection() Gui.Selection.clearSelection()
Gui.activeDocument().activeView().setCameraType("Orthographic") Gui.activeDocument().activeView().setCameraType("Orthographic")

Loading…
Cancel
Save