LuaCAD Help

Concepts

Whoever knows these terms understands every function of the Block Library. The tasks refer here when a term matters. General terms of all plug-ins (palette, system, layer, level, drawing units) are explained in Getting started › Concepts.

Block and fixture

Every DWG (or DXF) of a library is a block: when inserted it is loaded once into the drawing as a block definition (name = file name, insertion point = base point of the DWG), each insertion is a block reference. A fixture is a block with connectors for the plug-ins.

1 Block: a symbol without connectors, here the compass directions with a north arrow (1) – geometry and properties only
1 Block: a symbol without connectors, here the compass directions with a north arrow (1) – geometry and properties only
2 Fixture: lavatory, toilet, shower and shower tray with their connectors for cold water, hot water and drain (1)
2 Fixture: lavatory, toilet, shower and shower tray with their connectors for cold water, hot water and drain (1)
BlockFixture
What it bringsgeometry (2D, 3D or both) and propertiesplus connectors: cold water, hot water (some also recirculation, heating, gas) and a drain
How it is recognized–type "fixture" in the DWG (the block wizard writes it); the Fixtures page lists the blocks from folders named Apparate
What the plug-ins donothing – it is a drawing partPiping 3D and Piping 2D connect to the water connectors, Drainage 3D to the drain
Extra in the palette–connector set, drainage routing, "insert connectors only"

The connectors belong to the fixture: they move along when moving, rotating, copying and deleting; a copy gets its own.

Standard blocks and custom blocks

Standard blocksCustom blocks
Where they arein the program folder (<GstarCAD>\LuaCAD\Bloecke), suppliedin folders you add (gear menu › Folders …); by default the folder "Custom blocks" under AppData\Roaming\LuaCAD\Bibliothek\Bloecke, network drives too
In the folder treealways at the topbelow, in the order of your list
Changingnever – read-only (no new folder, no renaming)freely: create, rename, delete folders; the block wizard saves here
Layersthe insertion goes on the layer of its group (for example LuaCAD_SAN_Apparate), the content is on layer 0the insertion is on layer 0, the content keeps the layers, colors and linetypes of its DWG
Defaults from palette and settingsstandard fixtures accept the drainage routing and the systems of fixture connectorsa custom fixture keeps its connectors exactly as they are defined in the block

The standard blocks are sorted by discipline: fixtures (the standard fixtures with connectors), architecture, fire protection, electrical, heating, ventilation, title blocks and layouts, plumbing. Folders whose name starts with "_" or "." (such as _Bilder) are not shown – they hold preview images and helper files.

2D, 3D and "connectors only"

The switch at the top of the palette and the check box at the bottom give four cases together:

1 3D (isometric view): lavatory, toilet, shower and shower tray complete, with solid (1) and their connectors at their elevation (2)
1 3D (isometric view): lavatory, toilet, shower and shower tray complete, with solid (1) and their connectors at their elevation (2)
2 2D (plan view): the floor plans of lavatory, toilet and shower tray in the drawing plane (1), the connectors as colored marks (2)
2 2D (plan view): the floor plans of lavatory, toilet and shower tray in the drawing plane (1), the connectors as colored marks (2)
3 Connectors only: of lavatory, toilet and shower tray only the small marker (1) and the connectors as colored marks (2) – the floor plan comes from the architect's drawing
3 Connectors only: of lavatory, toilet and shower tray only the small marker (1) and the connectors as colored marks (2) – the floor plan comes from the architect's drawing
3D2Dconnectors only (check box)
What you see in the paletteblocks with solidsblocks with 2D parts (floor plan, symbol, title block)as the switch
What is insertedthe block with solid, at the elevation from the paletteonly the 2D parts, in the drawing plane (elevation 0)instead of the fixture only its connectors with a small marker – in 3D at their elevation, in 2D as marks
Connectors of a fixtureconnector objects for Piping 3D and Drainage 3Dcolored marks in the color of their system, for Piping 2Das on the left, without the fixture
Elevation, drainage routingyesnot usedyes in 3D
What fordesign in 3Dfloor plans, Piping 2Dthe architect has already drawn the fixture

A block that has both (solid and floor plan) appears in both modes. A block without solids is a 2D block and appears only under 2D; a block made only of solids only under 3D. The "connectors only" check box applies only to fixtures – other blocks always come complete. To switch a placed one: Properties palette › LuaCAD › Display (fixture | connectors only).

Video coming soon: 2D, 3D and connectors only

Connector set

Plan view: the same shower tray twice – on the left connector set A "valve on the back wall" (1), on the right B "valve on the side wall" (2)
Plan view: the same shower tray twice – on the left connector set A "valve on the back wall" (1), on the right B "valve on the side wall" (2)

Some fixtures have several connector sets – for example a shower with the valve on the back wall (A) or on the side wall (B), a bathtub with the valve on the long wall (A) or on the end wall (B). Which one applies is the connector set. You choose it before inserting in the palette under Connectors (the row appears only for such fixtures, the choice is remembered per fixture) and change it later in the Properties palette or the shortcut menu; connected pipes follow. A is the default set.

Insertion point and base point

Picture coming soonPlan view: a lavatory at the cursor after the Spacebar – the markers of the base points: insertion point (1), corners (2), midpoints (3), connectors (4); the one nearest to the cursor is yellow

Elevation

In 3D every block goes to the elevation from the palette: absolute elevation (the Z coordinate), from level (level, reference level TOS, BOS, FF or FC and a value) or free (the elevation of the clicked point; object snap takes the elevation of a part). The elevation means the insertion point – for a standard fixture the floor; the fixture brings its own connector elevations. The reference levels are explained in Elevations and reference levels. In 2D there is no elevation.

Properties of a block

A placed block carries two kinds of values:

Property fieldsDimensions
Whatarticle number, description, manufacturer, type, room … and your office's own fieldswidth, depth, height, weight; on fixtures also distance CW–HW, water connector elevation, water DN and display
From wherethe defaults of the DWG, overridden by "Properties of the next block"from the DWG or from the position of the connectors
Where to changeProperties palette (category of the property fields), Current Drawing pageProperties palette › LuaCAD – a new width, depth or height scales the block, a new distance CW–HW moves the connectors
Which existgear menu › Property fields … (for all plug-ins)fixed

Both appear in the block extract, in lists, in annotation and in IFC. Attributes that a third-party DWG brings stay attributes of the block.

Layers

Gear menu › Layers › Create all layers of this plug-in creates the layers of the standard blocks at once. See also Layer.

Mirroring: cold water stays on the right

Plan view: the same lavatory normal (1) and mirrored (2) – both look the same: cold water (green) is on the right in both, hot water (red) on the left (seen from the front)
Plan view: the same lavatory normal (1) and mirrored (2) – both look the same: cold water (green) is on the right in both, hot water (red) on the left (seen from the front)

A fixture can be mirrored – at the cursor with M or placed with MIRROR of GstarCAD. Shape and drain are mirrored; the water connectors follow the plumbing rule cold water right, hot water left (seen from the front) – they swap places for it. The command line says so after the first mirrored fixture.

Blocks and CAD commands

Blocks of the library behave like other block references: grips, MOVE, ROTATE, MIRROR, COPY and ERASE work, the connectors move along (in the same undo step).

Scale factor of a folder

A folder of the library can carry a scale factor: blocks from it go into the drawing at this scale (for example 50 for plan symbols that would be too small at 1:1). It applies to the folder and its subfolders as long as one has no factor of its own, and appears in the tree after the name ("×50"). Fixtures with connectors always keep their size – their dimensions are real millimeters. The factor is stored only in your settings, never in the folder – so it works for the standard blocks too.

The preview window

The preview window "Block Library - Preview" floats next to the palette and shows the block whose tile you clicked last – with the switch on 3D with its body and connectors, on 2D only its 2D parts from above. The DWG is only read for this; the drawing stays untouched.

The preview window "Block Library - Preview" with the lavatory 60 in 3D (1), the gear (2) and the cube (3) for display and view, the Base point button (4), the connectors as colored markers (5)
The preview window "Block Library - Preview" with the lavatory 60 in 3D (1), the gear (2) and the cube (3) for display and view, the Base point button (4), the connectors as colored markers (5)