Skip to content

Commit 9baf832

Browse files
author
Andrea Mola
committed
Partially fixed step export and added a related test
1 parent ec8203e commit 9baf832

File tree

4 files changed

+24454
-2626
lines changed

4 files changed

+24454
-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)