Skip to content

Commit b28bb69

Browse files
committed
fix another seg fault cause
1 parent 0c32266 commit b28bb69

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Removed
1515

16+
* Removed `schema` parameter from `OCCBrep.to_step` since it is not properly supported.
17+
1618

1719
## [1.4.1] 2025-10-30
1820

1921
### Added
2022

2123
### Changed
2224

25+
* Fixed potential causes of segmentation fault (`OCCBrepVertex.is_same`, `OCCBrepEdge.is_same`, `OCCBrepLoop.is_same`, `OCCBrepFace.is_same`).
26+
2327
### Removed
2428

2529

@@ -52,7 +56,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5256
### Changed
5357

5458
* Fixed bug in propagation of linear and angular deflection between discretisation functions `OCCBrep.to_viewmesh` and `OCCBrep.to_tesselation`.
55-
* Fixed potential causes of segmentation fault (`OCCBrepVertex.is_same`, `OCCBrepEdge.is_same`, `OCCBrepLoop.is_same`, `OCCBrepFace.is_same`).
5659

5760
### Removed
5861

src/compas_occ/brep/brep.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,6 @@ def to_brep(
469469
def to_step(
470470
self,
471471
filepath: Union[str, pathlib.Path],
472-
schema: str = "AP203",
473472
unit: str = "MM",
474473
author: Optional[str] = None,
475474
name: Optional[str] = None,
@@ -483,8 +482,6 @@ def to_step(
483482
----------
484483
filepath : str | pathlib.Path
485484
Location of the file.
486-
schema : str, optional
487-
STEP file format schema.
488485
unit : str, optional
489486
Base units for the geometry in the file.
490487
@@ -494,7 +491,7 @@ def to_step(
494491
495492
"""
496493
writer = STEPControl.STEPControl_Writer()
497-
Interface.Interface_Static.SetCVal("write.step.schema", schema)
494+
498495
Interface.Interface_Static.SetCVal("write.step.unit", unit)
499496
Interface.Interface_Static.SetCVal("write.step.product.name", name or self.name)
500497

0 commit comments

Comments
 (0)