BazisToMeb plugin
Exports a model from the Bazis program to a .meb 3.0.0 file: cabinets with blocks, panels with finished size, edge banding, holes, outlines, slots, bevels, hardware and grain continuity blocks.
Version 0.11.0 · 2026-11-19 · writes .meb 3.0.0 · one JavaScript file, 134 kB · MIT license
Requirements
- Bazis 10 or 11 with working scripts. Scripts run while technical support from the Bazis vendor is active.
- The plugin is developed and tested on Bazis 11 (API version 2211).
Installation
- Download the file. Save it as
BazisToMeb.jsin the Bazis scripts folder, e.g.Documents\Bazis\Scripts\bazisToMeb\. The plugin is a single file without dependencies. - Add an action in Bazis. In the action (script) management, add a new action and select the file. Name it, e.g., “Export to .meb”. You can assign a keyboard shortcut to it.
- Run the action as a test. A window opens with the plugin version and the “Eksportuj do .meb” (Export to .meb) button. If the action does not start, check the Bazis license.
Update
Download the new version and replace the BazisToMeb.js file with it. The action and its settings stay, and the version number is shown in the plugin window.
Preparing the model
Cabinets and blocks
The plugin transfers the model tree from Bazis to the file:
| In Bazis | In the .meb file |
|---|---|
| model | a group with the model name, the root of the tree |
| assembly unit | cabinet |
| block in an assembly unit | a group in the cabinet, nested as in Bazis (a drawer in a cabinet, a box in a drawer) |
| panel, hardware item | panel, hardware item in the block it belongs to |
| panel outside assembly units | panel directly in the model, without a cabinet (a worktop over several cabinets, a plinth, a strip) |
- Make every cabinet that is to be a separate item in the order a separate assembly unit.
- When the model has no assembly units, the plugin divides the panels by the position designation in the
01-03format (cabinet 01, panel 03). - Without assembly units and without such designations, the whole model goes into the file as one cabinet. Panels and machining operations are complete; only the division into cabinets is missing.
- The plugin lays out a model without positions by itself and records this in the log.
Panels
- Texture direction sets the grain of the panel. A panel without a direction goes into the file without grain.
- Position designation goes into the file as the production number of the panel.
- The panel size in the file is the size of the finished panel. The plugin adds applied edge banding (without pre-milling) to the size of a rectangular panel. On a shaped panel it leaves the size without the band and records this in the log for checking.
- Set the face on panels belonging to a grain continuity block (below).
Grain continuity
Bazis has no grain continuity blocks, so the block is written into the panel names using the .meb standard notation (specification §13.3). The plugin creates grain continuity groups from these names and removes the notation from the panel name.
Notation: #B.RA.P
| Part | Meaning |
|---|---|
B | block number: 1, 2, 3… One block is one continuous run of the pattern, e.g. the fronts of a display cabinet. |
R | row number in the block |
A | row alignment: P start, S center, K end |
P | position of the panel in the row, counted from the start edge |
A block is read looking at the furniture from the outside, at the face of the panels:
| Vertical grain | Horizontal grain | |
|---|---|---|
| row | horizontal strip of panels | vertical column of panels |
| row 1 | at the top | on the left |
| position 1 | on the left | at the bottom |
| P · S · K | to the left · in the center · to the right | to the bottom · in the center · to the top |
Example: display cabinet, vertical grain
Two drawer fronts 600 mm wide above a door 900 mm wide, placed in the center:
grain ↓
row 1 P │ 1: 600 │ 2: 600 │ height 200
row 2 S │ … │ 1: 900 │ … │ height 1000| Name in Bazis | Name in the file |
|---|---|
Display cabinet left drawer #1.1P.1 | Display cabinet left drawer |
Display cabinet right drawer #1.1P.2 | Display cabinet right drawer |
Display cabinet door #1.2S.1 | Display cabinet door |
Block rules
- at least two panels, all from the same board and with the texture direction set,
- rows and positions numbered consecutively from 1, without gaps and without two panels in one place,
- panels of one row have the same dimension along the grain (with vertical grain, the same height),
- the whole row has one alignment letter,
- the notation can stand anywhere in the name, and the letter can be lowercase (
#1.1p.2).
The plugin skips a block that does not follow the rules: the notations stay in the panel names, and the log says what does not match. Different letters in one row or a different grain direction of the panels result in a log entry and the majority choice.
The face is the side visible from the outside
A block is read from the outside, and machining operations from the inside of the cabinet (hinge cups, assembly drillings) lie on the back of the panel. Set the face on every panel of the block.
The plugin describes a panel with its face on side 2 from the face side. The panel and its drillings stay where they are; only the side from which the description looks changes, so nothing comes out mirrored. A panel without a face set gets side 1 and a log entry. This applies only to panels with a block notation.
Export
- Run the action and click “Eksportuj do .meb” (Export to .meb).
- Choose the location and name of the file. If you close the window without choosing, the file is saved next to the model file, under its name.
- Read the message. It gives the file path and the number of warnings. A log
<name>_bazis_export.logis created next to the.mebfile.
You can open the file in the .meb viewer: it shows the model tree, the cabinets in 3D and the machining operations of every panel.
Export log
The plugin skips nothing without a trace. Every machining operation that it did not transfer or that it simplified has a log entry. The log has no Polish characters. The most common entries:
| Entry | What it means |
|---|---|
Grupowanie: | how the model was divided into cabinets, how many there are and how many panels stand outside cabinets |
DIAGNOSTYKA drzewa modelu | the division into cabinets did not work; below it is the model structure from Bazis. If the cabinets should have been separated, send it together with the file. |
Ciaglosc sloja | how many blocks were created from panel names |
… pominiety: | a grain continuity block skipped, with the reason |
lico Bazisa po stronie 2 | the block panel was described from the face side |
obrzeze nakladane | size enlarged by the band or, on a shaped panel, to be checked |
okladziny plaszczyzn | facings (Plastics) written to the file; check whether they lie on the correct sides |
otwor skosny 3D | an angled hole that the standard does not describe |
Otwory nieprzypisane | holes that did not go into any panel, usually in hardware |
What goes into the file
| In Bazis | In the .meb file |
|---|---|
| outline, thickness, edge banding | panel with finished size: length, width, thickness |
| texture direction | grain along the length or no grain |
| board material | material catalog |
| edge banding on the sides | edge banding of the panel edges |
| edge banding on cut walls | edge banding of outline and cut-out walls |
| fastener holes | drillings in the face, in the edge and in the wall of a slanted segment or an arc |
| outlines and cuts | outline, through cut-out, pocket, straight or profiled slot, bevel with an angle |
| bent panel | bend: axis, radius, angle |
| facings (Plastics) | surface finish of the panel sides, always with a log entry |
| hardware and hardware sets | hardware items from the catalog, in their block; several codes separated by commas are several items |
| assembly units and blocks | cabinets and groups |
#B.RA.P notation | grain continuity group |
Axes and cabinet front
The file has the axes of the .meb 3.0 standard: X to the right, Z up, the cabinet front on the −Y side. A plugin older than 0.11.0 wrote the cabinet front on the +X side — export such a model again.
Limitations
- Names without Polish characters. Bazis reads the script in ANSI encoding, so the file and the log are in plain ASCII: “Półka” comes out as “Polka”, and Cyrillic is transliterated (“Тумба” as “Tumba”). Sizes and machining operations do not change.
- Facings (Plastics) always require checking the sides.
- Holes angled in space do not go into the file because the standard does not describe them. Each has a log entry.
- Two different edge bands on one edge of a panel: the file keeps the edge band of the longer section, with a log entry.
- Ellipses and curves that Bazis does not expose directly are converted to Bézier curves. You can check the outline in the .meb viewer.
- Biscuits and comments do not go into the file because Bazis does not expose them to scripts.
Version history
| Version | Date | Changes |
|---|---|---|
| 0.11.0 | 2026-11-19 | Writing .meb 3.0.0: the tree of cabinets and blocks from Bazis, hardware in its blocks, panels outside assembly units in the model, cabinet front on the −Y side. |
| 0.10.0 | 2026-11-19 | Grain continuity blocks from panel names (#B.RA.P) and the face of a block panel. |
| 0.9.9 | 2026-11-06 | A band without a specified width gets 22 mm with a log entry; fix for a profiled slot shifted to the left. |
| 0.9 | 2026-07 | Division into cabinets by assembly units, Cyrillic transliteration, ellipses as curves, correction of arc direction. |
| 0.8.0 | 2026-07 | Rebuild: outlines, slots, bevels and drillings in joints of two panels. |
MIT license: the plugin may be used, modified and distributed, including in commercial applications. The full text of the license is in the file header. © 2026 MEBsystem sp. z o.o.