PrusaConnectClient
Client for the Prusa Connect API.
This client handles the lower-level details of making HTTP requests, including authentication injection, error handling, and retries.
| ATTRIBUTE | DESCRIPTION |
|---|---|
token |
The API Bearer token.
|
base_url |
The API base URL.
|
Usage Example:
>>> from prusa.connect.client import PrusaConnectClient
>>> # Assume you have a credentials object
>>> client = PrusaConnectClient(credentials=my_creds)
>>> printers = client.printers.list_printers()
| METHOD | DESCRIPTION |
|---|---|
__init__ |
Initializes the client. |
add_team_user |
Invite a user to a team. |
api_request |
Public wrapper for making raw authenticated requests. |
cancel_object |
Cancel a specific object during print. |
download_team_file |
Download a file from a team's storage. |
execute_printer_command |
Execute a printer command with validation against supported commands. |
flash_firmware |
Flash firmware from a file path on the printer/storage. |
get_app_config |
Fetch and cache the application configuration from /app/config. |
get_camera_client |
Returns a pre-configured PrusaCameraClient. |
get_file_list |
Fetch files for a specific team. |
get_job |
Fetch detailed information about a specific job. |
get_printer_files |
Fetch files stored on the printer. |
get_printer_jobs |
Fetch job history for a printer. |
get_printer_jobs_success_stats |
Fetch jobs success statistics for a printer. |
get_printer_material_stats |
Fetch material quantity statistics for a printer. |
get_printer_planned_tasks_stats |
Fetch planned tasks statistics for a printer. |
get_printer_queue |
Fetch the print queue for a printer. |
get_printer_storages |
Fetch storage devices attached to the printer. |
get_printer_usage_stats |
Fetch printing vs not printing statistics for a printer. |
get_snapshot |
Fetch a snapshot from a camera. |
get_supported_commands |
Fetch supported commands for a printer. |
get_team_file |
Fetch details for a specific file in a team. |
get_team_jobs |
Fetch job history for a team. |
get_team_users |
Fetch all users associated with a team. |
initiate_team_upload |
Initiate a file upload to a team's storage. |
move_axis |
Move printer axis. |
pause_print |
Pause the current print. |
request |
Internal method alias for services. |
resume_print |
Resume the current print. |
set_job_failure_reason |
Set the failure reason for a stopped job. |
stop_print |
Stop the current print. |
trigger_snapshot |
Trigger a new snapshot locally on the camera/server. |
upload_team_file |
Upload raw file data for a previously initiated upload. |
validate_gcode |
Validates a G-code file and returns its metadata. |
Source code in src/prusa/connect/client/sdk.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 | |
config
property
The application configuration. Verified to be populated after init.
__init__(credentials=None, base_url=consts.DEFAULT_BASE_URL, timeout=consts.DEFAULT_TIMEOUT, cache_dir=None, cache_ttl=3600)
Initializes the client.
| PARAMETER | DESCRIPTION |
|---|---|
credentials
|
An object adhering to the
TYPE:
|
base_url
|
Optional override for the API endpoint.
TYPE:
|
timeout
|
Default timeout for API requests in seconds.
TYPE:
|
cache_dir
|
Optional directory to store persistent caches (e.g. supported commands).
TYPE:
|
cache_ttl
|
Cache Time-To-Live in seconds. Defaults to 24 hours.
TYPE:
|
Source code in src/prusa/connect/client/sdk.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | |
add_team_user(team_id, email, rights_ro=True, rights_use=False, rights_rw=False)
Invite a user to a team.
| PARAMETER | DESCRIPTION |
|---|---|
team_id
|
The ID of the team.
TYPE:
|
email
|
The email address of the user to invite.
TYPE:
|
rights_ro
|
Grant read-only rights.
TYPE:
|
rights_use
|
Grant usage rights.
TYPE:
|
rights_rw
|
Grant read-write rights.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the user was invited successfully. |
Source code in src/prusa/connect/client/sdk.py
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 | |
api_request(method, endpoint, **kwargs)
Public wrapper for making raw authenticated requests.
This method allows access to endpoints that may not yet be covered by specific methods in this client.
| PARAMETER | DESCRIPTION |
|---|---|
method
|
HTTP method (e.g. "GET", "POST").
TYPE:
|
endpoint
|
API endpoint (e.g. "/printers").
TYPE:
|
**kwargs
|
Arbitrary keyword arguments passed to the underlying
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
Any
|
The parsed JSON response. |
Usage Example:
>>> response = client.api_request("GET", "/printers")
>>> print(response)
Source code in src/prusa/connect/client/sdk.py
337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 | |
cancel_object(printer_uuid, object_id)
Cancel a specific object during print.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
object_id
|
The ID of the object to cancel.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the command was successfully sent. |
Source code in src/prusa/connect/client/sdk.py
702 703 704 705 706 707 708 709 710 711 712 | |
download_team_file(team_id, file_hash)
Download a file from a team's storage.
| PARAMETER | DESCRIPTION |
|---|---|
team_id
|
The team ID.
TYPE:
|
file_hash
|
The SHA256 hash (or identifier) of the file.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bytes
|
The binary content of the file. |
Source code in src/prusa/connect/client/sdk.py
410 411 412 413 414 415 416 417 418 419 420 | |
execute_printer_command(printer_uuid, command, args=None)
Execute a printer command with validation against supported commands.
This method first checks if the command is supported by the printer and validates the provided arguments against the command definition.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
command
|
The command string (e.g., 'MOVE_Z').
TYPE:
|
args
|
A dictionary of arguments for the command.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the command was successfully sent. |
| RAISES | DESCRIPTION |
|---|---|
ValueError
|
If the command is not supported or arguments are invalid. |
PrusaApiError
|
If the API request fails. |
Source code in src/prusa/connect/client/sdk.py
582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 | |
flash_firmware(printer_uuid, file_path)
Flash firmware from a file path on the printer/storage.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
file_path
|
The path to the .bbf file on the printer's storage (e.g. /usb/firmware.bbf).
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the command was successfully sent. |
Source code in src/prusa/connect/client/sdk.py
752 753 754 755 756 757 758 759 760 761 762 | |
get_app_config(force_refresh=False)
Fetch and cache the application configuration from /app/config.
| PARAMETER | DESCRIPTION |
|---|---|
force_refresh
|
If True, ignore cached config and fetch from server.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
AppConfig
|
The |
| RAISES | DESCRIPTION |
|---|---|
PrusaApiError
|
If the request fails. |
ValueError
|
If the server does not support the required auth method. |
Source code in src/prusa/connect/client/sdk.py
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 | |
get_camera_client(camera_token, signaling_url=None)
Returns a pre-configured PrusaCameraClient.
| PARAMETER | DESCRIPTION |
|---|---|
camera_token
|
The target camera's unique ID.
TYPE:
|
signaling_url
|
Optional override for the signaling server.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
PrusaCameraClient
|
A |
Source code in src/prusa/connect/client/sdk.py
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 | |
get_file_list(team_id)
Fetch files for a specific team.
| PARAMETER | DESCRIPTION |
|---|---|
team_id
|
The team ID to fetch files for.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
list[File]
|
A list of |
Source code in src/prusa/connect/client/sdk.py
360 361 362 363 364 365 366 367 368 369 | |
get_job(printer_uuid, job_id)
Fetch detailed information about a specific job.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
job_id
|
The job ID.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
Job
|
A |
Source code in src/prusa/connect/client/sdk.py
782 783 784 785 786 787 788 789 790 791 792 793 | |
get_printer_files(printer_uuid)
Fetch files stored on the printer.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
list[File]
|
A list of |
Source code in src/prusa/connect/client/sdk.py
795 796 797 798 799 800 801 802 803 804 805 806 807 | |
get_printer_jobs(printer_uuid, state=None, limit=None)
Fetch job history for a printer.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
state
|
Optional list of states to filter by.
TYPE:
|
limit
|
Optional maximum number of jobs to return.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
list[Job]
|
A list of |
Source code in src/prusa/connect/client/sdk.py
468 469 470 471 472 473 474 475 476 477 478 479 480 481 | |
get_printer_jobs_success_stats(printer_uuid, from_time=None, to_time=None)
Fetch jobs success statistics for a printer.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
from_time
|
Optional start date or timestamp.
TYPE:
|
to_time
|
Optional end date or timestamp.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
JobsSuccess
|
A |
Source code in src/prusa/connect/client/sdk.py
550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 | |
get_printer_material_stats(printer_uuid, from_time=None, to_time=None)
Fetch material quantity statistics for a printer.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
from_time
|
Optional start date or timestamp.
TYPE:
|
to_time
|
Optional end date or timestamp.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
MaterialQuantity
|
A |
Source code in src/prusa/connect/client/sdk.py
496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 | |
get_printer_planned_tasks_stats(printer_uuid, from_time=None, to_time=None)
Fetch planned tasks statistics for a printer.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
from_time
|
Optional start date or timestamp.
TYPE:
|
to_time
|
Optional end date or timestamp.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
PlannedTasks
|
A |
Source code in src/prusa/connect/client/sdk.py
532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 | |
get_printer_queue(printer_uuid, limit=100, offset=0)
Fetch the print queue for a printer.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
limit
|
Optional maximum number of jobs to return.
TYPE:
|
offset
|
Optional offset for pagination.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
list[Job]
|
A list of |
Source code in src/prusa/connect/client/sdk.py
483 484 485 486 487 488 489 490 491 492 493 494 | |
get_printer_storages(printer_uuid)
Fetch storage devices attached to the printer.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
list[Storage]
|
A list of |
Source code in src/prusa/connect/client/sdk.py
809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 | |
get_printer_usage_stats(printer_uuid, from_time=None, to_time=None)
Fetch printing vs not printing statistics for a printer.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
from_time
|
Optional start date or timestamp.
TYPE:
|
to_time
|
Optional end date or timestamp.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
PrintingNotPrinting
|
A |
Source code in src/prusa/connect/client/sdk.py
514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 | |
get_snapshot(camera_id)
Fetch a snapshot from a camera.
| PARAMETER | DESCRIPTION |
|---|---|
camera_id
|
The numeric camera ID.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bytes
|
The binary image data. |
Usage Example:
>>> image_data = client.get_snapshot(camera_id="cam-1")
>>> with open("snap.jpg", "wb") as f:
... f.write(image_data)
Source code in src/prusa/connect/client/sdk.py
632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 | |
get_supported_commands(printer_uuid)
Fetch supported commands for a printer.
This method caches the result per printer UUID to avoid redundant network calls.
If cache_dir is configured, it will also persist the commands to disk.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
list[CommandDefinition]
|
A list of |
Source code in src/prusa/connect/client/sdk.py
568 569 570 571 572 573 574 575 576 577 578 579 580 | |
get_team_file(team_id, file_hash)
Fetch details for a specific file in a team.
| PARAMETER | DESCRIPTION |
|---|---|
team_id
|
The team ID.
TYPE:
|
file_hash
|
The SHA256 hash or identifier of the file.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
File
|
A |
Source code in src/prusa/connect/client/sdk.py
371 372 373 374 375 376 377 378 379 380 381 | |
get_team_jobs(team_id, state=None, limit=None)
Fetch job history for a team.
| PARAMETER | DESCRIPTION |
|---|---|
team_id
|
The team ID.
TYPE:
|
state
|
Optional list of states to filter by (e.g. ["PRINTING", "FINISHED"]).
TYPE:
|
limit
|
Optional maximum number of jobs to return.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
list[Job]
|
A list of |
Source code in src/prusa/connect/client/sdk.py
455 456 457 458 459 460 461 462 463 464 465 466 | |
get_team_users(team_id)
Fetch all users associated with a team.
| PARAMETER | DESCRIPTION |
|---|---|
team_id
|
The ID of the team.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
list[TeamUser]
|
A list of |
Source code in src/prusa/connect/client/sdk.py
422 423 424 425 426 427 428 429 430 431 | |
initiate_team_upload(team_id, destination, filename, size)
Initiate a file upload to a team's storage.
| PARAMETER | DESCRIPTION |
|---|---|
team_id
|
The team ID.
TYPE:
|
destination
|
The target folder path (e.g., 'connect/My Projects').
TYPE:
|
filename
|
The name of the file to upload.
TYPE:
|
size
|
The file size in bytes.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
UploadStatus
|
An |
Source code in src/prusa/connect/client/sdk.py
383 384 385 386 387 388 389 390 391 392 393 394 395 | |
move_axis(printer_uuid, x=None, y=None, z=None, e=None, speed=None)
Move printer axis.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
x
|
Target X position.
TYPE:
|
y
|
Target Y position.
TYPE:
|
z
|
Target Z position.
TYPE:
|
e
|
Extruder movement.
TYPE:
|
speed
|
Feedrate (speed).
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the command was successfully sent. |
Source code in src/prusa/connect/client/sdk.py
714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 | |
pause_print(printer_uuid)
Pause the current print.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the command was successfully sent. |
Source code in src/prusa/connect/client/sdk.py
669 670 671 672 673 674 675 676 677 678 | |
request(method, endpoint, **kwargs)
Internal method alias for services.
Source code in src/prusa/connect/client/sdk.py
152 153 154 | |
resume_print(printer_uuid)
Resume the current print.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the command was successfully sent. |
Source code in src/prusa/connect/client/sdk.py
680 681 682 683 684 685 686 687 688 689 | |
set_job_failure_reason(printer_uuid, job_id, reason, note='')
Set the failure reason for a stopped job.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
job_id
|
The job ID.
TYPE:
|
reason
|
The failure reason Enum.
TYPE:
|
note
|
Optional user note ("other" field).
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if successful. |
Source code in src/prusa/connect/client/sdk.py
764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 | |
stop_print(printer_uuid)
Stop the current print.
| PARAMETER | DESCRIPTION |
|---|---|
printer_uuid
|
The printer UUID.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the command was successfully sent. |
Source code in src/prusa/connect/client/sdk.py
691 692 693 694 695 696 697 698 699 700 | |
trigger_snapshot(camera_token)
Trigger a new snapshot locally on the camera/server.
| PARAMETER | DESCRIPTION |
|---|---|
camera_token
|
The camera token (alphanumeric).
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if triggered successfully. |
Usage Example:
>>> client.trigger_snapshot("camera-token-xyz")
Source code in src/prusa/connect/client/sdk.py
652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 | |
upload_team_file(team_id, upload_id, data, content_type='application/octet-stream')
Upload raw file data for a previously initiated upload.
| PARAMETER | DESCRIPTION |
|---|---|
team_id
|
The team ID.
TYPE:
|
upload_id
|
The ID of the upload session.
TYPE:
|
data
|
The binary content of the file.
TYPE:
|
content_type
|
Optional Content-Type header (e.g., 'application/x-bgcode').
TYPE:
|
Source code in src/prusa/connect/client/sdk.py
397 398 399 400 401 402 403 404 405 406 407 408 | |
validate_gcode(file_path)
Validates a G-code file and returns its metadata.
This is a utility method for pre-flight checks before uploading.
| PARAMETER | DESCRIPTION |
|---|---|
file_path
|
Path to the .gcode file.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
GCodeMetadata
|
A GCodeMetadata object containing extracted info. |
Source code in src/prusa/connect/client/sdk.py
825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 | |