Przejdź do treści
Biblioteka skilli
Inne · Analiza

slice-for-printing

/slice-for-printing

Kroi model 3D w PrusaSlicer, by podać czas druku, zużycie filamentu i wagę, a także wycenę druku w farmie Slant 3D.

Repozytorium
metaforge ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Kroi model 3D w PrusaSlicer, by podać czas druku, zużycie filamentu i wagę, a także wycenę druku w farmie Slant 3D.

Oryginalny opis (EN)

Slice a model for FDM 3D printing with PrusaSlicer to get its real print time, filament use and weight, and price printing it at the Slant 3D print farm. Use when the user asks how long a part takes to print, how much filament or material it needs, to compare print settings (layer height, infill, supports, material), wants G-code for their printer, or asks what a print farm would charge. Do not use for CNC, sheet metal or PCB quotes (that is quote-and-order).

Jak działa

  1. Rules
  2. Steps: estimate with the slicer
  3. Steps: price at Slant 3D
  4. Checklist
Sekcje z nagłówków SKILL.md, w oryginale · 66 linii, 525 słów
Podgląd SKILL.md
---
name: slice-for-printing
description: Slice a model for FDM 3D printing with PrusaSlicer to get its real print time, filament use and weight, and price printing it at the Slant 3D print farm. Use when the user asks how long a part takes to print, how much filament or material it needs, to compare print settings (layer height, infill, supports, material), wants G-code for their printer, or asks what a print farm would charge. Do not use for CNC, sheet metal or PCB quotes (that is quote-and-order).
---

# Slice for printing

`slicer.slice` runs PrusaSlicer in its own container and reads the estimates
from the G-code it writes. Its numbers are the slicer's, not guesses: quote
them as such. `slant3d.*` asks the Slant 3D farm to slice and price the same
part when `SLANT3D_API_KEY` is set.

## Rules

1. **Slice a real file.** The input is an STL, 3MF, OBJ or STEP on the adapter
   workspace, in millimetres. For a part in the twin, get its path with
   `twin.stage_work_product_file`. A STEP from CAD slices directly; a mesh
   from `mesh-from-prompt` is already a file path.
2. **Say which printer the numbers are for.** The built-in printers
   (`slicer.list_profiles`) are generic Marlin machines by bed size. Their
   start G-code is generic: tell the person not to print it as is on a
   machine with its own start sequence. For their real printer, ask for a
   config exported from PrusaSlicer (File, Export, Export Config) on the
   workspace and pass it as `config_path`.
3. **A refusal is an answer.** The slicer refuses a part that does not fit
   the bed, copies that do not all fit, and any config with a post-processing
   script. Report the reason; do not shrink the part or drop copies silently.
4. **A farm quote is print cost only.** Slant 3D prices exclude shipping and
   tax, and `slant3d.analyze_part` sends the file to Slant 3D, where it stays
   on the account. Say both. There is no order tool: ordering happens on
   Slant 3D's site, by the person.

## Steps: estimate with the slicer

1. `slicer.list_profiles` if the person has not named a printer and
   material. Defaults: `generic_220`, PLA, 0.2 mm layers, 20% infill, two
   perimeters, no supports.
2. `slicer.slice` with `file_path`, plus `printer` and `material` or
   `config_path`, and any of `layer_height`, `infill_percent`, `perimeters`,
   `supports`, `brim_mm`, `nozzle_mm` and `copies`.
3. Report `print_time`, `filament_g`, `filament_mm`,
   `layers` and the settings used, and the `gcode_path` it wrote. To compare
   options, slice once per option and give a small table.
4. To keep the G-code, or to print it, record the slicer's run folder (the
   folder holding `gcode_path`) with `twin.record_design_files`,
   `work_product_type: gcode`, a name that says the part and printer, the
   part's node as `source_node_ids`, and the estimate as `metadata`. Slicing
   the same part for the same printer again is its next revision.
5. To print on the person's own printer, `library.dispatch_job` with that
   work product (`manage-machines`). To give them the file, `files.link`
   (`move-files`).

## Steps: price at Slant 3D

1. The part must be an STL. Convert a STEP with `cadquery.export_geometry`
   or `zoo.convert`, or a GLB with `tripo.convert`.
2. `slant3d.analyze_part` with `file_path`. It returns a `file_id` with the
   farm's own size, weight, print time and whether it needs supports.
3. `slant3d.list_filaments` to pick a material and colour that is in stock.
4. `slant3d.quote` with `file_id`, `filament_id` and `quantity`. Report the
   per-unit price, any multi-body or oversize surcharge, and the total in
   USD.

## Checklist

- [ ] printer and material named with the estimate
- [ ] generic start G-code flagged when a built-in printer was used
- [ ] refusals reported, not worked around
- [ ] farm quote stated as print cost only, excluding shipping and tax

Wersje

W bazie nie ma innych skilli o nazwie slice-for-printing.

Migawka bazy z 13.11.2026 · wersja paczki f7816bc965ab (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 1003d-print-modeling
    Modeluje obiekty do druku FDM od wywiadu po gotowy plik 3MF dla Bambu Studio, z tolerancjami i podporami.
  • 90voron-print-preflight
    Sprawdza modele CAD, pliki STL i 3MF oraz projekty PrusaSlicer przed drukiem na drukarce Voron 2.
  • 100orcaslicer-mcp-skills
    Steruje OrcaSlicer przez serwer MCP: ładuje i układa modele, ustawienia druku i filamentu, podpory, wielokolorowość, krojenie i eksport G-code.
  • 100quote-and-order
    Pobiera realne ceny od dostawców produkcji PCB, druku 3D i CNC, zapisuje wyceny i składa zamówienie dopiero po zatwierdzeniu.
  • 1003d-printing
    Analizuje plik 3D dla drukarki Bambu Lab: część, materiał, czas, wagę i gotowy plik do wydruku.
  • 100image2gcode
    Zamienia zdjęcie, szkic odręczny lub obraz przekroju części 2D w gotowy do druku kod G-code FDM bez CAD, z walidacją granic drukarki.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.