layerlingInstrukcja
Polski
Otwórz edytor

Placing and adjusting shapes

The shape library, dimensions by number and by handle, colour, rotating, tapering and twisting.

Ten rozdział nie jest jeszcze przetłumaczony na polski. Poniżej tekst angielski.

Every part in layerling starts with a shape. From them you build everything else: shapes complement each other, cut each other out or are joined into a new shape.

Adding a shape

Click „Dodaj kształt” in the ribbon. The shape library opens.

The shape library. Every little picture is rendered from the shape's real geometry.
The shape library. Every little picture is rendered from the shape's real geometry.

Pick a shape. It now hangs on the mouse pointer and lands where you click. Move it over a body and it lies down on the face under the pointer, sloped ones too, like Cruise in Tinkercad; over the empty plate it lands on the workplane. Esc cancels placing. A tool that waits for a click, such as the tape measure, the framing square, a note, „Umieść płaszczyznę roboczą”, „Połóż płasko na ścianie” or the edge tools, is switched off when you pick a shape, so the click places the shape. The other way round, switching one of those tools on puts the shape down again. If you would rather have the shape appear in the middle of the plate, you can switch off placing by click in the settings (area „Wygląd”, switch „Prowadź nowy kształt za kursorem przy dodawaniu”).

What the library offers:

You get a triangle in two ways: the „Wielokąt” with three sides is an isosceles triangle, the "Roof" of Tinkercad, and the „Klin” is a right triangle. Both are true triangular prisms. For a triangular hole, copy the shape, make the copy smaller, mark it as a hole and line it up with „Wyśrodkuj na płaszczyźnie roboczej” or „Wyrównaj”. Both work with the shape's bounding box, the smallest box that encloses it, so a halved square still counts as a whole square. The command search (Ctrl+K) also finds both shapes under "triangle" or "roof".

The „Kapsuła” can be narrower at one end than at the other, say for a guard over a belt between two pulleys. Under „Właściwości” set „Mniejszy koniec (średnica)”; the large end is as wide as the capsule, and the sides run straight from one arc to the other. „Rozstaw środków” is the distance between the two arcs' centres, that is how far apart the pulleys are. Change the small end and the centre distance stays, the capsule getting longer or shorter. The tapered capsule stays an exact body too, for fillets and STEP.

The shape's settings

As soon as a shape is selected, its settings appear on the right. At the top is the name; the pencil beside it („Zmień nazwę”) lets you type a new one. Enter keeps it, Esc cancels, and an empty name brings back the shape's default name. Further right, the padlock locks the shape against accidental moving and the eye hides it. The arrow on the far left folds the settings down to their title bar.

The settings sit docked at the right edge. If they cover something you want to see, drag them by their title bar and they float wherever you drop them; they stay there for the next shape too. Drop them back at the top right, or double-click the title bar, and they dock again. While they float or are folded down, the snap step moves from the bottom of the settings to the bottom right of the workplane.

The settings of a cylinder: solid or hole, diameter and height as a number and as a slider.
The settings of a cylinder: solid or hole, diameter and height as a number and as a slider.
A group of an orange block, a blue peg and a hole, cut into one body. With Multicolor switched on, the peg stays blue, the block orange, and the walls of the hole take the block's colour.
A group of an orange block, a blue peg and a hole, cut into one body. With Multicolor switched on, the peg stays blue, the block orange, and the walls of the hole take the block's colour.

Taper and twist work on almost every shape. Only the gear, thread, spring, knurl, hinge, pyramid, bent tube, teardrop, the screw-head cutters and the ruler leave them out: they have fixed measures of their own or, like the pyramid, a top of their own already.

A cone whose top radius and height were changed: a small arrow next to each takes the value back, and the two buttons at the bottom save or reset the defaults of the shape.
A cone whose top radius and height were changed: a small arrow next to each takes the value back, and the two buttons at the bottom save or reset the defaults of the shape.

A tapered or leaning box, cylinder, ellipse, polygon, tube or ring keeps its exact shape, and so do the capsule, star, heart, crescent, dovetail and a rounded box without rounded top and bottom edges: chamfers and fillets work on it as on the plain shape, and the STEP export writes it. The same holds for a twisted shape: its section turns exactly as it rises, and the sides wind evenly from bottom to top.

Typing is more exact than dragging. All number fields take millimetres, but also percentages: type "50 %" into a width of 40 mm and you get 20 mm. They calculate too: "15*3", "120-2*4" or "(40+2)/2" give 45, 112 and 21; x works instead of *. The field remembers the calculation, in the Properties panel as well as in the dimension boxes around the selected body: click into it again later and the formula stands there instead of the number, as long as the value still matches it, and you change it in place, "(140+2)/2" becoming "(40+6)/2". Drag the body by a handle or scale it and the formula no longer fits, so the field shows just the number again.

How round is round? The side count

Round shapes such as cylinder, cone, tube, ellipse or the bores have the switch „Boki zależne od rozmiaru” and the slider „Boki” in their properties. The „Torus” has two sliders: „Boki pierścienia” around the ring and „Kroki rury” around the tube. They follow the size there too until you hold them, so a large torus shows no facets. The reason: for the view and for STL, 3MF and OBJ, layerling draws a circle as a polygon of many small sides. The more sides, the smoother it is, and the more triangles it takes.

Where the side count matters

Where it does not matter

Where it matters again

How to use it

Working with the handles

Besides the settings there are handles on the shape itself:

Once a shape is turned by right angles, for instance laid on its side with „Połóż płasko na ścianie”, the fields in the properties are named after the direction each measure runs in now: „Wysokość” is what goes up, „Szerokość” runs along X and „Długość” along Y. Typing the height of a shape lying down therefore changes the vertical measure, and its underside stays on the plate. A shape tilted at any other angle shows its own measures in the fields, and a note below says so.

Without the mouse, use the keyboard: the arrow keys move the selection by one snap step (0.1 mm when the grid is off), with Shift by five, or by ten if you set „Ciemniejsza linia siatki co” to 10 „kroki siatki: {count}” in the settings under „Wygląd”: as far as the next darker line, as in Tinkercad. They follow the view: → moves to where the screen's right is, ↑ away from you, even after turning the plate. Push a shape out of the picture and the view moves along. Ctrl+↑ and Ctrl+↓ raise and lower it. R rotates by 45°, Shift+R by 22.5°. D drops the selection onto the workplane.

The handles pull a shape as large as your plate, at least 220 mm wide and deep. Typing a number in the properties goes beyond that, and a shape made that large does not shrink back when you grab it again. A ceiling of your own per shape is set in the settings under „Domyślne kształtów” with „Własny limit rozmiaru”.

The snap step is at the bottom right of the editor and can be changed at any time.

Copying and duplicating

„Kopiuj”, „Wklej” and „Duplikuj” are in the ribbon („Schowek”). Ctrl+D duplicates a selection. layerling remembers how you last moved or rotated the copy and applies the same again on the next duplicate. That produces a row of holes or steps in a few key presses. For regular arrangements there is also the pattern, described in Selecting and arranging.

Custom shapes

A holder, a grip or a base plate you need again and again goes into the „Własne kształty”. They sit at the top of the shape library, above the „Podstawowe kształty”, and fold away with their arrow.

  1. Select one or more bodies, holes, groups or an imported model included.
  2. Open the shape library and click „Zapisz zaznaczenie”. Enter a name and confirm with „Zapisz”.
  3. In any design, a click on the tile inserts the shape, like any other shape. You can also drag the tile onto the workplane; it then lands where you let go.

Several bodies come back together, placed as they stood to each other, and stay selectable one by one. The pencil on a tile renames it, the bin removes it after asking. Shapes already inserted into designs stay as they are.

The „Własne kształty” live in this browser, apart from the designs, and are there again the next time you start. „Kopia zapasowa wszystkiego” on the start page backs them up with the designs, and opening the backup brings both back. To take only the shapes to another browser, „Kopia zapasowa własnych kształtów” (the arrow pointing down) saves them as a ZIP file and „Wczytaj kształty” (the arrow pointing up) brings them back there. „Wczytaj kształty” also takes single .lyl designs; each one becomes a shape. Shapes already there are not added twice.

Custom shapes on the server

With the shared server store switched on, the section shows two groups: „Na serwerze” and „W tej przeglądarce”. When saving you choose where the shape goes; the server is chosen to start with. There it lives in the folder Custom shapes, as a .lyl file of its own with a picture, ready on every device that reaches the server. The cloud on a browser tile puts that shape on the server; it is then no longer kept twice.

The Custom shapes folder shows on the start page as well. Open a shape there like a design, change it, and it is saved automatically like any design on the server; the next insert takes the new version. As the server store has no login, everyone who reaches the server sees the same shapes.

Wrapping around a cylinder

Should a pattern, a logo or lettering go onto a cup, a can or a tube? First lay it flat on the plate, as an imported SVG or as text for example, the way it should look from above. Then wrap it around a cylinder in the shape's settings under „Owiń wokół walca”:

  1. Open „Owiń wokół walca” and enter the „Średnica” of the cylinder wall, such as the outside diameter of your cup. Tenths of a millimetre work too, such as 63.5.
  2. Click „Owiń”. What ran from left to right now runs around the cylinder, the back edge becomes the top, and the thickness stands out of the wall.
  3. Select the wrapped shape and the cylinder and centre both, left to right and front to back. The middle of the wrapped shape is the cylinder's axis, so it then sits right on its wall.

For an engraving, switch on „Do wewnątrz (grawer)”: the thickness then goes into the wall. Make the shape a hole, centre it and group it with the cylinder.

A shape that is wrapped already is a mesh of the wrapped thing and cannot be wrapped again: undo the wrapping, or wrap the flat original once more with another diameter.

The result is a mesh like an imported model. Undo lays the shape flat again; for another diameter, undo first and wrap again. It cannot go further than once around the cylinder; then layerling names the smallest diameter that fits.