This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
# KiBot output for generating PCB 3D model PCB3D Blender format
|
||||
# https://kibot.readthedocs.io/en/latest/configuration/outputs/PCB2Blender_ToolsOptions.html
|
||||
|
||||
# The lighting setup allows for even, diffuse background lighting as well as
|
||||
# a focused light for shadows/depth. The six area lights form a rough ring
|
||||
# around the top of the board, while the point light illuminates from behind
|
||||
# and to the right of the camera. For top/bottom renders that look directly
|
||||
# down at the board, set @SPOT_LIGHT@ to 0.01 (a value of 0 tells KiCad to
|
||||
# auto-calculate the intensity). A value for @DIFFUSE_LIGHT@ of 0.3-0.4 seems
|
||||
# to work well as a starting point.
|
||||
|
||||
kibot:
|
||||
version: 1
|
||||
|
||||
@@ -41,26 +49,54 @@ outputs:
|
||||
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@
|
||||
- name: kibot_light_spot
|
||||
energy: @SPOT_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
|
||||
- name: kibot_area_light_1
|
||||
energy: @DIFFUSE_LIGHT@
|
||||
pos_x: size
|
||||
pos_y: 0
|
||||
pos_z: size*10
|
||||
type: AREA
|
||||
|
||||
- name: kibot_area_light_2
|
||||
energy: @DIFFUSE_LIGHT@
|
||||
pos_x: -size
|
||||
pos_y: 0
|
||||
pos_z: size*10
|
||||
type: AREA
|
||||
|
||||
- name: kibot_area_light_3
|
||||
energy: @DIFFUSE_LIGHT@
|
||||
pos_x: size*0.71
|
||||
pos_y: size*0.71
|
||||
pos_z: size*10
|
||||
type: AREA
|
||||
|
||||
- name: kibot_area_light_4
|
||||
energy: @DIFFUSE_LIGHT@
|
||||
pos_x: -size*0.71
|
||||
pos_y: size*0.71
|
||||
pos_z: size*10
|
||||
type: AREA
|
||||
|
||||
- name: kibot_area_light_5
|
||||
energy: @DIFFUSE_LIGHT@
|
||||
pos_x: size*0.71
|
||||
pos_y: -size*0.71
|
||||
pos_z: size*10
|
||||
type: AREA
|
||||
|
||||
- name: kibot_area_light_6
|
||||
energy: @DIFFUSE_LIGHT@
|
||||
pos_x: -size*0.71
|
||||
pos_y: -size*0.71
|
||||
pos_z: size*10
|
||||
type: AREA
|
||||
|
||||
...
|
||||
definitions:
|
||||
@@ -72,8 +108,8 @@ definitions:
|
||||
RESOLUTION_X: 1280
|
||||
RESOLUTION_Y: 1280
|
||||
TEXTURE_DPI: 1031.0
|
||||
BACK_LIGHT: 0
|
||||
POINT_LIGHT: 0.001
|
||||
DIFFUSE_LIGHT: 0.3
|
||||
SPOT_LIGHT: 0.01
|
||||
ROTATE_X: 0
|
||||
ROTATE_Y: 0
|
||||
ROTATE_Z: 0
|
||||
|
||||
Reference in New Issue
Block a user