Skip to content

Commit 1455b4d

Browse files
authored
Merge pull request #216 from andreamola/partial_step_export_fix
Partially fixed step export and added a related test
2 parents ec8203e + 6b55809 commit 1455b4d

File tree

4 files changed

+24446
-2626
lines changed

4 files changed

+24446
-2626
lines changed

pygem/cad/cad_deformation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ def write_step(filename, shape):
150150
# It is considered the most secure standard for STEP.
151151
# *According to PythonOCC documentation (http://www.pythonocc.org/)
152152
Interface_Static_SetCVal("write.step.schema", "AP203")
153+
Interface_Static_SetCVal('write.surfacecurve.mode','0')
153154
step_writer.Transfer(shape, STEPControl_AsIs)
154155
step_writer.Write(filename)
155156

0 commit comments

Comments
 (0)