Skip to content

Commit 63135de

Browse files
committed
[VRML][KiCad 10][Fixed] Avoid using WRL files
- Now we enforce the use of STEP files for all 3D models when using KiCad 10
1 parent 60b625e commit 63135de

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3535
- The list of targets now includes all schematic pages
3636
- Output when the `output` option was empty
3737
- PCB Stats:
38-
- Missing targets
38+
- Missing targets (See #928)
3939
- Report:
4040
- Now all SVG schematic pages are included, not just the first
41+
- VRML
42+
- Avoid WRL files for KiCad 10 (See #928)
4143

4244
## Changed
4345
- E/DRC and BoM: As we now have dark mode support the CSS is more complex and

docs/source/Changelog.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,16 @@ Fixed
6767

6868
- PCB Stats:
6969

70-
- Missing targets
70+
- Missing targets (See #928)
7171

7272
- Report:
7373

7474
- Now all SVG schematic pages are included, not just the first
7575

76+
- VRML
77+
78+
- Avoid WRL files for KiCad 10 (See #928)
79+
7680
Changed
7781
-------
7882

kibot/out_base_3d.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,10 @@ def list_models(self, even_missing=False):
620620
return list(models)
621621

622622
def filter_components(self, highlight=None, force_wrl=False, also_sch=False, force_step=False):
623+
if GS.ki10:
624+
# KiCad 10 removed WRL files, so we must enforce the use of STEP files
625+
force_wrl = False
626+
force_step = True
623627
if not self._comps:
624628
# No filters, but we need to apply some stuff
625629
all_comps = None

0 commit comments

Comments
 (0)