Commit graph

13 commits

Author SHA1 Message Date
jdegenstein
7f4e92f0bf enable BytesIO in STEP, STL and 3MF (via lib3mf/Mesher). Add necessary tests 2025-11-17 22:05:45 -06:00
Jan Graichen
e6c33137b3 feat: Add timestamp argument to STEP export
Allow passing a timestamp value when export STEP files, to generate STEP
files with a specific timestamp value in the file header.

For example, a null timestamp (`0000-00-00T00:00:00`), or a static
timestamp can be used when generated files should be equal if there are
no visual changes, such as for file versioning.

This commit extends the `#export_step` function, to accept a `timestamp`
keyword argument, that can be a string or a `datetime` object. A
`datetime` is easier to use from Python.
2025-05-20 20:18:15 +02:00
Ethan Rooke
056efe6961
test: export_brep works with BytesIO 2024-11-15 14:49:43 -06:00
Ethan Rooke
30d23d8669
test: 3d exporters work with all types of paths 2024-11-15 14:49:41 -06:00
Ethan Rooke
69cdabcc72
feat: support Path objects for import / export
For all import / export methods make the path a `Union[Pathlike, str, bytes]`
argument to follow python conventions as outlined in pep 519
2024-11-15 14:49:40 -06:00
jdegenstein
025d0727a3
test_exporters3d.py -> fix deprecation warning on regex 2024-09-19 13:23:59 -05:00
gumyr
62d762b90a Removing bd_warehouse test dependency 2024-06-12 10:47:20 -04:00
gumyr
fd123eb4a0 Removing bd_warehouse test dependency 2024-06-12 10:43:30 -04:00
gumyr
8a3ee82b5d Handling null TDF Label - Fix Issue #618 2024-06-12 10:26:01 -04:00
gumyr
7a1cfc1f8b import_step supports colors and labels 2024-05-22 10:12:57 -04:00
gumyr
046b366428 Removed OCCT messages from export_step/gltf Issue#348 2024-03-20 14:58:28 -04:00
gumyr
5c9966c605 Adding unit tests for export_gltf 2024-03-20 11:36:47 -04:00
gumyr
52a3a7766f Adding export_step function 2024-03-19 14:38:54 -04:00