81 lines
1.7 KiB
YAML
81 lines
1.7 KiB
YAML
# KiBot output for generating PCB 3D model PCB3D Blender format
|
|
# https://kibot.readthedocs.io/en/latest/configuration/outputs/PCB2Blender_ToolsOptions.html
|
|
|
|
kibot:
|
|
version: 1
|
|
|
|
outputs:
|
|
- name: @NAME@
|
|
output_id: @NAME@
|
|
comment: '@COMMENT@'
|
|
type: blender_export
|
|
category: '@DIR@'
|
|
dir: '@DIR@'
|
|
options:
|
|
auto_camera_z_axis_factor: 1.1
|
|
pcb_import:
|
|
enhance_materials: true
|
|
texture_dpi: @TEXTURE_DPI@
|
|
|
|
pcb3d:
|
|
download: true
|
|
download_lcsc: true
|
|
dnf_filter:
|
|
- @DNF_FILTER@
|
|
|
|
render_options:
|
|
auto_crop: true
|
|
transparent_background: true
|
|
samples: @SAMPLES@
|
|
resolution_x: @RESOLUTION_X@
|
|
resolution_y: @RESOLUTION_Y@
|
|
|
|
point_of_view:
|
|
rotate_x: @ROTATE_X@
|
|
rotate_y: @ROTATE_Y@
|
|
rotate_z: @ROTATE_Z@
|
|
view: @VIEW@
|
|
|
|
outputs:
|
|
- type: render
|
|
output: '%f-%I%v.%x'
|
|
|
|
light:
|
|
- name: sun
|
|
energy: 0
|
|
pos_x: 0
|
|
pos_y: 0
|
|
pos_z: size*20
|
|
type: SUN
|
|
|
|
- name: kibot_light
|
|
energy: @POINT_LIGHT@
|
|
pos_x: -size*3.33
|
|
pos_y: size*3.33
|
|
pos_z: size*5
|
|
type: POINT
|
|
|
|
- name: kibot_back_light
|
|
energy: @BACK_LIGHT@
|
|
pos_x: 0
|
|
pos_y: size*8
|
|
pos_z: size*12
|
|
type: POINT
|
|
|
|
...
|
|
definitions:
|
|
NAME: blender
|
|
COMMENT: PCB 3D model in PCB3D Blender format
|
|
DIR: renders
|
|
DNF_FILTER: _kibom_dnf_Config
|
|
SAMPLES: 5
|
|
RESOLUTION_X: 1280
|
|
RESOLUTION_Y: 1280
|
|
TEXTURE_DPI: 1031.0
|
|
BACK_LIGHT: 0
|
|
POINT_LIGHT: 0.001
|
|
ROTATE_X: 0
|
|
ROTATE_Y: 0
|
|
ROTATE_Z: 0
|
|
VIEW: top
|