KiBot/docs/samples/3D_Model_LCD/3d_variants.kibot.yaml

56 lines
1.1 KiB
YAML

# Example KiBot config file
kibot:
version: 1
filters:
- name: 'kicost_rename'
comment: 'Variant rename KiCost style'
type: var_rename_kicost
# Empty will default to :
separator: ''
variant_to_value: true
variants:
- name: 'top'
comment: 'LCD with top connections'
type: kicost
file_id: _variant_top
variant: '^(topvariant)$'
pre_transform: 'kicost_rename'
- name: 'left'
comment: 'LCD with left connections'
type: kicost
file_id: _variant_left
variant: '^(leftvariant)$'
pre_transform: 'kicost_rename'
- name: 'default'
comment: 'Default variant'
type: kicost
outputs:
- name: 3d_no_variant
comment: "3D view without variant"
type: render_3d
options:
variant: default
download: false
zoom: 5
ray_tracing: true
- name: 3d_top_variant
comment: "3D view for the top variant"
type: render_3d
extends: 3d_no_variant
options:
variant: top
- name: 3d_left_variant
comment: "3D view for the left variant"
type: render_3d
extends: 3d_no_variant
options:
variant: left