diff --git a/docs/samples/generic_plot.kiplot.yaml b/docs/samples/generic_plot.kiplot.yaml index a57fd480..d509b6bb 100644 --- a/docs/samples/generic_plot.kiplot.yaml +++ b/docs/samples/generic_plot.kiplot.yaml @@ -202,4 +202,15 @@ outputs: - layer: F.Cu suffix: F_Cu - layer: B.SilkS - suffix: B_Silks \ No newline at end of file + suffix: B_Silks + + - name: Step + comment: "Generate 3D model (STEP)" + type: step + dir: 3D + options: + units: millimeters # millimeters or inches + origin: grid # "grid" or "drill" o "X,Y" + 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) + diff --git a/tests/yaml_samples/step_simple.yaml b/tests/yaml_samples/step_simple.yaml new file mode 100644 index 00000000..593e453f --- /dev/null +++ b/tests/yaml_samples/step_simple.yaml @@ -0,0 +1,14 @@ +kiplot: + version: 1 + +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