LuaCAD Help

Inserting blocks

Inserting a block

Goal: place a block or fixture from the library in the drawing – one or several in a row.

Picture coming soonPlan view, test drawing: a block hangs at the cursor (1), already inserted blocks next to it (2), the action bar with the keys (3)
  1. In the palette choose the block: click a tile (Library, Fixtures, Favorites or Recent page). It appears below as the selected block.
  2. Below that, set what applies to it: connector set, properties, drainage routing, elevation and rotation, "insert connectors only" – see the sections below.
  3. Click Insert … – or double-click the tile, or right-click the tile › Insert. The first time, the insertion help opens with a picture; "Don't show again" hides it.
  4. The block hangs at the cursor, the command line says "Block Library – <name>: click the insertion point …". Click the point – the block is inserted.
  5. The next identical block already hangs at the cursor ("(2.)" in the command line). Keep clicking, or go back to the palette with Enter or Esc – the inserted blocks stay and the command line states their number.

Keys at the cursor

KeyEffect
Spaceshow the base points and click one – see Choosing the base point
Gfree base point: the block stays put briefly, a click on any point on the block (with object snap) becomes the base point
Adistance to a reference point, plus rotation and elevation – see Inserting at a distance
Rrotate with the mouse; meanwhile the Space turns the 45° increment on and off
Dtype the rotation angle in the command line (degrees)
Wpick the angle with two clicks, for example along a wall
Mmirror left/right (fixtures: cold water stays on the right)
← / →rotate in steps of 45°
Enter / Escdone – back to the palette

Options

Video coming soon: Inserting a block

Choosing the base point

Goal: hold the block by the point that is to go against the wall, into the corner or onto a connector.

Picture coming soonPlan view: after the Spacebar the markers on the block – insertion point (1), left back corner (2), middle front (3), a connector (4); the one nearest to the cursor is yellow, the previous one green
  1. While the block hangs at the cursor, press the Space.
  2. The markers show: insertion point, the four corners (left/right back at the wall, left/right front), middle back (wall), middle front, middle and – for fixtures – every connector ("Connector 1" with its role …). The marker nearest to the cursor is yellow, the one in effect so far green.
  3. Click a marker – the block now hangs there. Esc keeps the previous one.
  4. If you need another point (an edge, a corner of the shape): in this choice press G and click the point on the block with object snap.

The base point applies to all further blocks of this insertion. In the preview window it can be chosen in advance; a connector clicked there hangs at the cursor when inserting. The corners and midpoints come from the outline of the block without attributes and without layers that are off.

Video coming soon: Choosing the base point

Inserting at a distance

Goal: place a block at a fixed distance from a point – for example a lavatory 300 mm from the corner of the wall.

Picture coming soonThe "Enter distance" dialog box: amounts X and Y (1), the 3 × 3 field with the base point (2), rotation (3), elevation (4); afterwards the red cross at the reference point in the drawing (5)
  1. While the block hangs at the cursor, press A.
  2. In the Enter distance dialog box enter the amounts X and Y – in the axes of the block: X along the wall, Y into the room. 0 and 0 = no distance.
  3. In the 3 × 3 field choose the base point – the side at which the distance applies follows it. Rotation and (in 3D) Elevation are in the same dialog box.
  4. OK – the command line says "Now click the point (red cross) …". Click the reference point, for example the corner of the wall (object snap helps). The block sits next to it.
  5. The distance applies to all further blocks of this insertion; the Space changes the base point, the distance stays. Next time the dialog box suggests the last values.

How the distance works in all plug-ins: Inserting at a distance.

Video coming soon: Inserting at a distance

Rotating, aligning and mirroring

Goal: turn the block the right way before placing it.

Picture coming soonPlan view: picking the angle with W – first point (1) and second point (2) along the wall, the room lies to the left of the direction; the block aligns to it (3)

Rotation and mirroring at the cursor apply to all further blocks of this insertion. Set the angle before inserting under Elevation and rotation. How typing and picking angles works the same in all plug-ins: Angles.

Video coming soon: Rotating, aligning and mirroring

Inserting in 2D or 3D

Goal: choose whether a block goes in with its solid at its elevation or only as a floor plan in the drawing plane.

The palette with the switch set to 2D (1): the tiles show floor plans (2), the elevation is hidden – under "Elevation and rotation" only the rotation remains (3)
The palette with the switch set to 2D (1): the tiles show floor plans (2), the elevation is hidden – under "Elevation and rotation" only the rotation remains (3)
  1. At the top of the palette set the switch to 3D or 2D. The line below says what it does.
  2. Tree, tiles, favorites, recent and search now show only blocks that have something to show in that mode; below the tiles is how many exist only in the other mode. If the selected block does not exist in the new mode, the selection is cleared ("… does not exist in 2D – selection cleared").
  3. Choose a block and insert as usual.
3D2D
What is insertedthe block with its solid and – for fixtures – the connector objectsonly its 2D parts; the connectors of a fixture as colored marks in the color of their system
Elevationfrom the palette or Aalways 0 (drawing plane); no elevation in the distance dialog box
Drainage routingfor standard fixturesnot used
Tile picture, previewin 3Dthe floor plan, from above
ForPiping 3D, Drainage 3DPiping 2D, floor plans

If a block has no 2D parts of its own, LuaCAD draws its outline from above in 2D and says so in the command line. A 2D fixture can be converted to 3D later with Piping 3D – see Connecting pipes.

Video coming soon: Inserting in 2D or 3D

Inserting connectors only

Goal: place only the connectors on a fixture the architect has already drawn – without a second fixture on top.

Test drawing: lavatory, toilet and shower tray with "connectors only" – a small marker each (1) and the connectors as colored marks (2); the floor plan comes from the architect's drawing
Test drawing: lavatory, toilet and shower tray with "connectors only" – a small marker each (1) and the connectors as colored marks (2); the floor plan comes from the architect's drawing
  1. Choose the matching fixture (Fixtures page).
  2. At the bottom check Insert connectors only.
  3. Insert … and place the fixture on the architect's floor plan – usually with W against the wall and the insertion point at the middle of the back wall.
  4. A small marker with the connectors is inserted: in 3D at their elevation, in 2D as marks. The command line shows "(connectors only)" after the name.

The check box applies only to fixtures – other blocks come complete. It stays set until you clear it. To switch later: click the fixture › Properties palette › LuaCAD › Display (fixture | connectors only). The connectors are on the layer of the plumbing connectors.

Video coming soon: Inserting connectors only

Choosing the connector set

Goal: for a fixture with several connector sets, decide which one is inserted – for example the shower valve on the side wall.

At the bottom of the palette, for the shower tray 100 x 80, the row "Connectors" with the list, here "A – valve on the back wall" (1), and its "i" (2)
At the bottom of the palette, for the shower tray 100 x 80, the row "Connectors" with the list, here "A – valve on the back wall" (1), and its "i" (2)
  1. Choose the fixture. If it has several connector sets, the row Connectors appears below the selected block.
  2. Choose the set – "A – …" is the default set. The preview window shows the connectors of the chosen set, and so does the preview at the cursor when inserting.
  3. Insert as usual. If the fixture already hangs at the cursor, inserting starts again with the new set.

The choice is remembered per fixture – also for Detecting fixtures in the plan. Change placed fixtures later – see Changing the connector set.

Video coming soon: Choosing the connector set

Elevation and rotation

Goal: decide at which elevation and in which direction the next block is placed.

At the bottom of the palette: Elevation, here absolute elevation – from level and free are also available (1), Value with crosshair and check mark (2), Rotation (degrees) (3)
At the bottom of the palette: Elevation, here absolute elevation – from level and free are also available (1), Value with crosshair and check mark (2), Rotation (degrees) (3)
  1. Under Elevation choose the method (3D only):
    • absolute elevation – the value is the Z coordinate,
    • from level – first the level (preset with that of the drawing), then Distance from (TOS, BOS, FF, FC, their elevation in brackets) and the value from this reference level,
    • free – no fixed elevation: it comes from the clicked point; object snap on an existing part takes its elevation.
  2. Type the value (you may calculate: "600+250"). With no insertion running it applies right away; when inserting, whatever is in the field always applies. Switching the method keeps the elevation, only the number is converted.
  3. The crosshair next to it picks the elevation: click a point with object snap – its elevation applies, with from level as the value from the chosen reference level. Esc = back without a change.
  4. Rotation (degrees): the angle at which the next block hangs at the cursor. It applies when you leave the field; values over 360° are converted.

The elevation means the insertion point: for standard fixtures the floor – "from level, FF, 0" puts it on the finished floor. If a block already hangs at the cursor, change its elevation with A; a change in the palette applies from the next insertion. The reference levels are explained in Elevations and reference levels, the elevation choice in all plug-ins in Choosing the elevation.

Video coming soon: Elevation and rotation

Properties of the next block

Goal: give every new block values right away – room, description, construction phase, a tag …

The area "Properties of the next block" expanded: the heading with the arrow (1), the line "These values go to the next inserted parts." with "i" (2), the fields, still empty here (3)
The area "Properties of the next block" expanded: the heading with the arrow (1), the line "These values go to the next inserted parts." with "i" (2), the fields, still empty here (3)
  1. At the bottom of the palette click the heading Properties of the next block – the area expands (it is collapsed when the palette opens).
  2. Fill in the fields: text, number, yes/no or a choice, depending on the field. A value is checked when you leave the field; an invalid one gets a red border.
  3. Insert – every following block gets these values, ahead of the defaults of its DWG. An empty field leaves the default of the DWG.
  4. Collapsed, the heading states how many fields are filled in – so you do not overlook a value that is set.

The values stay remembered until you clear them – even after a restart. Which fields appear here is decided by gear menu › Property fields …: these are the fields for blocks with the attribute "ask before inserting". Blocks already inserted do not change – use the Properties palette or the Current Drawing page for that.

Video coming soon: Properties of the next block