[DOCs] Added render_3d and step sub-PCB examples.

This commit is contained in:
Salvador E. Tropea 2022-12-27 06:36:34 -03:00
parent 7760019bf0
commit bae5e91c7a
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# Example KiBot config file
kibot:
version: 1
import:
- file: battery_pack_sub_pcbs.kibot.yaml
outputs:
- name: "base"
type: render_3d
run_by_default: false
options:
width: 2000
height: 1000
- name: "base2"
type: step
run_by_default: false
options:
metric_units: false
- name: "top"
type: render_3d
extends: "base"
options:
rotate_x: 3
rotate_z: -2
- name: "bottom"
type: render_3d
extends: "top"
run_by_default: false
options:
width: 1920
view: "bottom"

View File

@ -0,0 +1,17 @@
kiplot:
version: 1
import:
- file: battery_pack_sub_pcbs.kibot.yaml
outputs:
- name: Step
comment: "Generate 3D model (STEP)"
type: step
dir: 3D
options:
metric_units: true
origin: drill # "grid" or "drill" o "X,Y" i.e. 3.2,-10
# no_virtual: false # exclude 3D models for components with 'virtual' attribute
# min_distance: 0.01 # Minimum distance between points to treat them as separate ones (default 0.01 mm)
# output: project.step