Files
OrcaSlicer/resources/chroma_frames/flat_border.json
ExPikaPaka 3e7609f812 Give ChromaStack its own galleries, and rebuild the card around them
A picture was chosen through the texture library, which is a library of height
maps: a file that is right for one is wrong for the other, and neither picker
should have been offering the other's. ChromaStack now has two libraries of its
own, built on a shared gallery widget. Ten public-domain pictures ship with it,
and eleven frames, each one a real moulding in cross-section rather than a
shape enum crossed with a profile enum - which is why the old frames could only
ever look like one of eight things, and why a frame somebody draws themselves
is now a file rather than a code change. The frame's width, its rise, a drawing
of its section, taking it off and cutting the plate to an SVG all moved into
that gallery, because six millimetres means nothing on a row of its own and
everything beside the profile it shapes.

The card was four blocks' worth of controls in one flat list, every row the
same weight, with the plate's dimensions and the picture's placement mixed
together and Bake live from the moment a layer existed. It is now four blocks
in the order of the work. The previews lead, captioned, with the match as a
figure on the prediction and a click to see both at the size of the canvas.
Under them is one derived line saying whether this is ready to print, and Bake
takes that same sentence as its reason for being disabled - two readings of one
state are two things that can disagree, and the place a user looks for "can I
print this yet" must not contradict the button they are looking at. A filament
row is two lines now: what gets changed on the first, and on the second how
deep light gets into that filament and how many layers of it hide what is under
it, which is the fact that decides whether the stack works at this layer height
and lived only in a tooltip. The five controls that are a filament's own rather
than the stack's moved behind a chevron. Where the picture sits on the model is
absent for a generated plate instead of disabled: the picture is the plate, so
none of it can act, and a control that cannot act is worse than one that is not
there.

Printed picture down, the preview showed nothing. The shader read each
fragment's depth from the bottom of the stack, which is right when the picture
is on top and backwards when it is underneath, so the plate's own edge stripes
ran in the wrong order and its painted face was flat backing. It now measures
from the top when the plate is face down, and the panel offers a way round to
the underside, since the bed is not something the picture can be seen from.

Lit from behind and lit from the front were the only two modes, and most
back-lit prints hang in a lit room rather than in the dark. Both at once is a
third: the two lights add in linear light, which is the only space where adding
two lights means anything, by a balance the user sets. It is a mode rather than
a view because the sum is a different set of colours from either walk, and a
stack chosen against the lamp alone washes out the moment room light lands
on it.

The rest, in brief. Suggest used to print a shopping list and stop; it now
applies, either as suggested or mapped onto the filaments the project has.
Filters - ten of them, rendered on the user's own picture - sit above the
adjustment sliders, and committing one writes a new picture to their gallery
rather than editing the one they started from. A brush corrects an area the
solve got wrong, or marks the part of the picture the stack should be chosen
for. An error view paints how far the solve landed from the picture, per pixel.
A transmission distance can be measured with a wedge or imported from somebody
else's library. Dithering works on cells the size of a printed line rather than
on texels, so the preview stops promising detail the nozzle cannot lay down,
and flat artwork is downsampled nearest-neighbour so two flat colours are never
averaged into a third that is not in the picture.

Nothing here has been through a compiler.
2026-10-28 08:00:14 +01:00

14 lines
255 B
JSON

{
"chroma_frame": 1,
"name": "Flat border",
"category": "plain",
"width_mm": 8.0,
"rise_mm": 0.0,
"outline": { "shape": "rectangle" },
"profile": [
[0.0, 0.0], [1.0, 0.0]
],
"profile_scaling": "stretch",
"legacy_profile": "flat"
}