Skip to content

Studio Design & Slicing Model

The first release accepts a trusted FreeCAD document and applies one named slicing profile. It exports geometry, runs the installed OrcaSlicer, and presents a downloadable artifact with a report. The report records the source, settings and output hashes, executable tool selections, and temperature instructions. Unknown observations stay unknown. A completed slice is ready for review.

Profile scope

A profile has an ID, a display name, and three settings files: machine, process and filament. Plate type is optional. An installation can have more than one profile for the same machine. On submission, each job copies its settings. Slicing does not require a network address, printer credentials, controller inventory, or feeder description.

This split follows the native Orca machine, process and filament presets. Printbuddy also keeps connection and provider settings on a printer instance. When a hardware connection is added, its capabilities can be discovered independently of the slicer preset. Orca preset design · Printbuddy printer model

Design a part in the browser

The template-based milestone below records the initial workflow. The conversational FreeCAD specification describes the current implementation, its isolated worker, and the acceptance test.

The browser displays a conversation beside a dimensioned model preview. A user can describe a part, change its dimensions by asking, and select a revision to slice. FreeCAD produces the editable document locally. Uploading an existing document remains available.

For example, the user asks for a 60 × 24 × 4 mm mounting plate with two 4 mm through-holes. The assistant asks for the hole spacing because it affects fit. The user specifies 40 mm center to center, with the pair centered on the plate. The preview shows the dimensions and hole centers. “Make it 6 mm thick” creates a new revision and keeps both holes through the plate.

The builder supports a rectangular plate with zero or two holes and an open cylindrical cup. For a cup, FreeCAD pads the outer sketch and cuts a pocket above the floor. The assistant translates intent into named, unit-bearing parameters. A local builder validates those parameters, creates the solid, and returns its measured dimensions and preview. An unsupported shape or a hole outside the solid produces a specific explanation. Each successful edit saves the parameters, the editable document, and its parent revision. A failed edit leaves the last usable revision available.

The owner supplies an OpenAI key on the server. The assistant receives the supported operations, recent conversation, and dimensions of the selected revision. The model files and credentials stay on the host. The UI offers the generated model for download and a Slice action for the selected revision. The existing worker records the exact document hash in the review.

An import uses the final printable solid from a FreeCAD document. If the part fits the browser preview limit, the preview shows its measured dimensions and a mesh. Selecting a new source clears the old job review. An operator can reopen a previous result from job history.

Acceptance covers both entry points. Create a cup, change its height, and measure the floor, wall, and cavity of the revised model. Import an equivalent Boolean cut and compare its dimensions. Slice both sources and match each report to the selected document hash. Repeat with a solid plate and make sure that an unsupported request leaves its last usable revision available.

Access for a shared installation

An HTTPS installation can use OpenID Connect for sign-in. The server verifies the identity provider’s response and assigns a role. A viewer can open saved designs, revisions, jobs, and downloadable results. A maker can also create designs, ask for changes, upload models, slice, and retry jobs.

The browser hides maker controls for viewers. The server enforces the same access rules for every request. Authorized users share one data store. Future per-user projects will need an ownership model and a data migration.

Later phase: expose an MCP server

The Model Context Protocol (MCP) lets an external assistant call application tools. The web UI can ship before this integration. Once the browser workflow works, expose the same model and job operations through a separately enabled server. An external client can create or revise a model, request its preview, submit a selected revision for slicing, and read the review. Reuse the application’s validation, revision IDs and job records. Test that a browser user can open and continue a revision created by an MCP client. Any future printer-control tools need their own permissions and hardware qualification.

Printbuddy library handoff

A maker can save a ready slice from Job review. Enmesh compares the G-code against its job report and reads the uploaded file back from Printbuddy. After readback, the job links to the library file in Printbuddy’s G-code viewer. Starting a print is a separate operator action.

Other planned integrations

  • Support plate-aware review of pre-sliced jobs, part selection and material assignments.
  • When a protocol exposes controllers and material feeds, attach them to an instance and keep declared hardware separate from observed hardware.
  • For a qualified direct printer connection, transfer the selected artifact, inspect it on the destination, and ask separately before starting.

These capabilities need their own implementation and acceptance tests. A successful offline slice does not qualify a transfer, print start, or material change.

Match the implementation to existing projects

Printbuddy already accepts model files, offers a browser Slice dialog, and runs OrcaSlicer or Bambu Studio in an optional service. It writes a sliced package to the library. SliceDeck implements a similar standalone web workflow with preset-bundle import, job history, preview, and Moonraker delivery. Compare an exported mesh from this worker with their existing slicing paths before expanding job management. Printbuddy slicing service · SliceDeck implementation

The reusable part of this milestone is the native FreeCAD import and its link to review evidence. A future connector can provide geometry to another slicer service and attach a report to the resulting artifact. File identity, selected profiles and command evidence must refer to the exact artifact the destination receives.

Optional hardware profiles

A printer instance can eventually reference its slicer preset, a protocol adapter, optional controller boards, and material feeds. Each has its own identity and revision. Names provided by an operator serve as labels. A board or feeder remains unknown unless a connection identifies it. No controller inventory is needed to start slicing.

An adapter can discover more than one MCU (microcontroller) and multiple material units. Record each unit and slot separately from the logical tool map. Keep declared capabilities, live readings, and hardware qualification separate. If a connection cannot identify a board or feeder, it stays unknown. Replacing a feeder preserves the old review but invalidates pending actions that depend on it.