Conversation
Codecov Report
@@ Coverage Diff @@
## master #1083 +/- ##
==========================================
- Coverage 96.37% 96.36% -0.01%
==========================================
Files 40 40
Lines 9496 9529 +33
Branches 1256 1259 +3
==========================================
+ Hits 9152 9183 +31
- Misses 202 203 +1
- Partials 142 143 +1
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
|
@lorenzncode I'm adding tests for the single object and assembly STEP exports, and setting them up to use the temporary directory method you've been using. Am I missing a decorator or something? |
|
@jmwright I'd suggest to move the new tests outside of the |
|
Ok @adam-urbanczyk @lorenzncode I think this is ready for review. |
* exporters.export: expose STEP options * Use default OCCT write.precision.mode value 0 * Doc update Merge branch 'master' into step
lorenzncode
left a comment
There was a problem hiding this comment.
I've tested this branch and confirm file size decrease with write_pcurves False. I also confirm the uncertainty value change with change in write.precision.mode.
I made some minor changes:
- exporters.export: expose STEP options
- Use default OCCT write.precision.mode value 0
- Doc update
Regarding docstrings, my preference for these export options, would be to defer to OCCT documentation for the most part. I've modified the docstring to provide short descriptions only, rather than try to reinterpret the meanings especially for write.precision.mode.
|
@lorenzncode Thanks, these changes look good to me. |
|
@adam-urbanczyk Any objections to me merging this? |
This is in support of the KiCAD model generator, per #1082
What is accepted via kwargs can be added to over time, but for now there are just 2 parameters that influence file size.