RazorCAD
Chapters

User manual / Bodies and Multi-Body Parts

Bodies and Multi-Body Parts

Solid bodies

A part can contain several solid bodies. A boss that doesn't touch the existing material makes a new body; untick Merge result to keep a touching boss separate. A cut that slices a body in two leaves two bodies.

The Solid Bodies (n) folder at the top of the tree lists the bodies:

  • Click a body to select and highlight it.
  • Double-click (or right-click ▸ Rename) to name it. Unnamed bodies are named after the last feature that changed them.
  • Bodies are identified by the feature that created them, so names and materials stay attached when you change dimensions.
  • Folders: right-click ▸ Add to New Folder or Move to folder to organise bodies.
  • Identical bodies are listed once with their count (×N). Open the item to see each body. Right-click for Isolate, Hide or Show all of them. Identical means the same volume, surface area, principal moments of inertia, handedness and material (and for sheet metal, the same thickness and flat pattern).

Body Properties

Right-click a body (tree or view) ▸ Body Properties…. It holds the body's name, material, description and any number of custom properties (name/value pairs such as part number or finish). It also shows the body's mass, volume, area and centre of mass. For sheet metal bodies it adds the sheet data (Sheet Metal chapter).

Materials

The Material item in the tree sets the part material (Tools ▸ Edit Material…). The list holds metals, plastics and timbers (pine, oak, plywood and MDF, at typical densities). A body set to Use part material follows it. A body given its own material keeps it when the part material changes and is drawn in that material's colour. Mass Properties adds up every body with its own density. The material list is in Appendix B.

Appearances

The Appearances tab (above the feature tree, next to Configurations) holds the colours and finishes put on the part: on single faces, on whole bodies, or on the whole part. Use them to tell parts and bodies apart at a glance, or to set a part up for a photorealistic render.

Adding one. Select faces or a body (or nothing, for the whole part) and click + Add Appearance in the tab (or Add Appearance on the Render tab, or right-click a face ▸ Face Appearance… / Part Appearance…, or a body ▸ Body Appearance…). The panel shows:

  • Apply to: Faces, Bodies or Whole part. With Faces or Bodies, click them in the view to add them; click one again to take it off.
  • Appearance: the library, by category. Metals (machined, mill-scale, brushed and polished stainless, chrome, galvanised, cast iron, brushed, bead-blasted and cast aluminium, checker plate, brass, copper, bronze, titanium, gold, weathering steel); Anodised aluminium (clear, black, red, blue, gold, green, purple, orange, titanium grey); Paints and coatings (gloss, satin and matte paint, metallic paint, smooth and textured powder coat, hammertone, safety yellow, red oxide primer, a plain colour); Plastics (gloss, matte, textured, nylon, clear acrylic, frosted); Glass (clear, tinted, frosted); Timber (oak, pine, walnut, maple, cherry, birch plywood, MDF); Stone and concrete (concrete, polished granite, marble, slate, sandstone, brick); Rubber (black, grey, red, ribbed matting, translucent silicone); Meshes and gratings (bar grating, expanded metal, perforated sheet with round holes or slots, woven wire mesh, welded wire fence mesh, chain-link fence); Fabrics and composites (carbon fibre twill, canvas, leather, felt).
  • Colour: any colour over the look (a red anodised, a green powder coat); Reset goes back to the library's colour.
  • Texture (looks with a pattern): its Scale and Angle. Patterns are drawn at their real size (a bar grating's bars 30 mm apart, a brick 215 mm long) and laid on each face from the side it faces most, so nothing needs unwrapping.
  • Name: shown in the tab (empty: the look's name).

✔ keeps it; ✗ cancels (an edit goes back to what it was).

Meshes and gratings are see-through : a plate given bar grating, expanded metal, perforated sheet or a fence mesh shows its holes (and casts the matching shadow in renders) without them being modelled. The part stays light and quick to rebuild, and the face can still be picked, measured and sketched on.

Order matters . The tab lists the appearances top to bottom in the order they apply; each goes over those above it. A face coloured red and, lower down, its body given oak shows oak; drag the oak above the red (or right-click ▸ Move Up) and the face is red again. The first row, Materials and body colours, is what is under them all: the bodies' materials and colours.

In the tab click an appearance to see what it is on, double-click it to edit it, drag it to change the order, and right-click it to Rename, Suppress (it stops applying but is kept), Copy, Move Up / Down or Delete it. Undo and Redo take them back like any change. Faces are found again by where they are when the model changes; if a face can no longer be found the appearance shows ! (hover for how many), and editing it lets you pick again.

Appearances are saved with the part and go with it into assemblies (as colours: textures show in the part itself). Render looks from Render (below) still apply to faces without an appearance. The older per-face colours of earlier versions still show, under the appearances.

The Render tab

The Render tab has the rendering tools: Render, Quick Render, Realistic View, Lighting, Add Appearance, Appearances (the tab), Edit Material, Decal, Decals and Export glTF (for other viewers and renderers).

Realistic View shows the part in the view as it renders: every face physically based (metals reflect, glass is clear, textures and gratings as they are), lit by the render scene. Click it again to go back to the normal shaded view. Lighting sets the scene (below), the exposure, the floor's shadow and how far a photographed place is turned, for renders and the realistic view; it is kept with the part. Quick Render renders the view at its size in one pass.

Render makes a photorealistic picture of the view as it is now : choose the size (as the view, or up to 3840 × 2160), the Quality (Draft: one pass; Good: 16 passes, Best: 64, each with the view and the light moved a little and the passes averaged, for smooth edges and soft shadows), the Scene, a soft shadow on the floor and the exposure, and a look for each body: polished, brushed or cast metal, gloss paint, powder coat, glossy or matte plastic, rubber or glass, or From the material (aluminium and stainless brushed, steel cast, brass and copper polished, ABS glossy, PLA and nylon matte). Bodies keep their colours, and their looks are kept with them; faces and bodies with an appearance render with it (its texture, finish and holes). Save PNG… writes the picture. The settings are kept with the part.

The scenes light the part, show in its reflections and sit behind it:

SceneWhat it looks like
StudioA soft grey room with a large light overhead and panels at the sides, on light grey
Studio on whiteThe studio, on white (for catalogues and web pages)
Soft gradient (infinity cove)A brighter, softer studio on a white-to-grey gradient
Dark studioA black room with a light overhead and tall strip lights at the sides (rim highlights), on a dark gradient
ShowroomA warm room with rows of ceiling spotlights, on a warm cream gradient
Night (blue)A dark blue room with a cool light on one side and a warm one on the other, on a dark blue gradient
Outdoors: field, clear skyA mown field with trees under a clear sky and a low sun
Outdoors: gardenA formal garden of clipped hedges and flower beds under a cloudy blue sky
Forest (misty)A pine forest in the mist: soft, even light
Overcast (hillside)A rocky hillside above a valley under a grey sky: soft light, faint shadows
Sunset (waterfront)A stone promenade by the water in Venice at sunset
Workshop (machine shop)A machine shop: concrete floor, castings, machines and an overhead crane
WarehouseAn empty warehouse: concrete floor, metal-clad walls and strip lights
OfficeA sunny office with desks, monitors and big windows
Store (home décor)A home décor shop with chandeliers, sofas and sample racks

The last nine are photographed places : real 360° HDR photographs. The place lights the part (its sun, sky, windows and lamps as bright as they really are), shows in its reflections, and is the backdrop. The part stands on the place's ground: the photograph's ground carries on under the part, seen from as high as the view looks from, with the part's shadow and a soft contact shadow where it meets the floor. So the view's angle matters: looking down on the part shows mostly the ground (a concrete floor, grass, paving); a lower view shows more of the place behind it. A perspective view (View ▸ Perspective) suits them best.

The sun (or the brightest light) is put at the view's right, where the key light is, so the part's light, its shadow and the place agree. Lighting ▸ Turn the place (degrees) turns the place about the vertical to choose what is behind the part; the sun, the key light and the shadow turn with it. Where the photograph's ground is not flat (hedges, the water's edge), turn the place until the part stands on open ground. The photographs are from Poly Haven (CC0); app/scenes/CREDITS.md lists them.

Spotlights

Render ▸ Spotlights (or Add Spotlight, or + Spotlight in the Appearances tab) places lights of your own around the part, as in a photo studio: a key light, a fill, a rim light, a coloured accent. They light renders and the realistic view only; the ordinary view is not changed. While the Spotlights panel is open the realistic view is on, and each light shines on the part as you change or drag it.

  • In the view: each light shows as a yellow lamp, a ring where it is aimed, and its beam's cone. Drag a lamp to move the light across the screen; Shift+drag moves it nearer to or farther from what it points at, along its beam. Drag the ring onto the part to aim the light at that point of its surface (off the part, the ring moves across the screen).
  • In the panel: the list of lights (click one to edit it; + Add Spotlight, Delete), and for the light picked: its Name, On, Colour (with warm, neutral, daylight and coloured presets), Brightness, Cone angle (how wide the beam is), Soft edge (a hard-edged or soft-edged pool of light), Casts shadows, and where it is (Light at) and where it points (Aimed at) as X, Y, Z. Aim at the Part points it at the part's middle; Light from the View puts it where the view looks from, pointing the same way.
  • Scene lighting: the scene (Lighting…) still lights the part. Turn its Scene light down and its Scene key light off to light the part with the spotlights alone, as in a dark studio; the Dark studio scene suits this.

✔ keeps the lights (with the part; Undo takes them back), ✗ puts them back as they were. The Appearances tab lists them under the appearances: double-click one to edit, right-click to turn it off or delete it. In multi-pass renders each spotlight's shadows are softened, more for a softer edge.

Render ▸ Decal puts a picture (a logo, a label) on a flat face: open the picture, give its width and angle, then click the face where its middle goes. Decals show in the view and in renders, are saved with the part, and are not geometry. Tools ▸ Decals… lists them, to delete them.

Exploded views of a part

A part with two or more bodies can have exploded views: Insert ▸ Exploded View…, or right-click the Solid Bodies folder. Only the display moves; the model stays as it is. The steps are made as for an assembly (see Exploded views in the Assemblies chapter). A drawing view of the part can be shown exploded too (Exploded in the view's panel), for a ballooned parts list of a fabrication made as one part.

Combine and Subtract Bodies

Combine joins bodies with Add, Subtract or Common; the first body clicked is the main body. Subtract Bodies picks a cutting body and target body; Consume cutting body (on by default) removes the cutting body afterwards.

Split Body

Split Body separates solid or surface bodies into independent bodies. First select Bodies to Split, then activate Select splitting tool and choose a sketch, construction plane, model face or surface body. A surface body selected as a target stays a target; it is not automatically treated as the tool. The tool is kept.

  • All intersected bodies is optional; otherwise only the selected bodies are divided.
  • Extend Splitting Tool uses the underlying surface of a trimmed face and extends open sketch ends along their endpoint tangents. Construction planes already extend through the model. A bounded spline surface retains its natural parameter limits.
  • With a planar tool, Keep retains all resulting bodies or only those on its positive or negative side.
  • If the tool does not divide any target, the operation reports an error instead of creating an unchanged result.

Both the Features and Surfaces toolbars provide Split Body and Split Face. Split Face keeps the body count unchanged; use it when you only need an extra boundary on a face.

Move/Copy Bodies

Moves or copies solid and surface bodies.

  • By coordinates: ΔX/ΔY/ΔZ plus a rotation about X/Y/Z or a reference axis, through the axis or the bodies' centre. Copies repeat the step.
  • With mates: Coincident, Distance, Parallel, Perpendicular, Angle and Concentric between an entity of the moving bodies (face, edge, vertex) and fixed geometry (another body, a plane, axis or point). Two flat faces made Coincident or Distance start facing the way they sit (a pin's top face on a plate's top face keeps the pin the right way up); Flip alignment turns a mate around. The mates follow what they are mated to: move the hole a pin is mated into and the pin moves with it (a mate on the hole's edge or on its wall).
  • Right-click a body (or a face of it) ▸ Move/Copy Body… starts it with that body picked.

Delete Body

Removes a body from the model from that point in the history. Deleting the Delete Body feature brings the body back.

Bodies to Parts

Bodies to Parts turns a multi-body part into a set of linked parts and, if you ask, an assembly of them. Model the whole design in one part, the master, then let RazorCAD make the files. This needs the desktop app, because the links are between real files.

Choose Bodies to Parts on the Features tab, or right-click Solid Bodies, or right-click a body to start with just that one ticked. Save the master first. In the dialog:

  • Folder: where the new files go. A file is never written over: if a name is taken, the new one gets the next number.
  • File names and Part numbers: templates, where {part} is the master, {body} the body and {n} its number. File names start as the body's name; change any of them in the list as well. Part numbers are left out when that box is empty.
  • The list of bodies: untick any you don't want. Give several bodies the same file name to put them in one part.
  • One part, N places or A part for each: for identical bodies. One part goes in the assembly at each body's position, so a change to it changes them all. A mirrored body counts as a different part.
  • Make Assembly: makes an assembly with every part fixed where its body is. Its components stay fixed until you float or mate them.
  • Add this part as an envelope: see below.
  • Body folders become sub-assemblies: appears when the master has body folders. Each folder becomes a sub-assembly, in a file of its own.
  • Planes and sketches for the parts: see Published planes and sketches. Sketches a feature has used aren't listed.

A Bodies to Parts feature appears at the end of the master's tree and stays there, however features are added or moved. Open it to see each part and whether it's up to date. Double-click it, or right-click ▸ Add Parts…, for bodies you haven't linked yet; they join the same assembly.

What a linked part holds

A part's first feature is Imported from Master. It holds the body in the master's coordinates, so its origin and planes are where they are in the master. A sheet metal body stays sheet metal, with its flat pattern and DXF export. Add anything you like after it: those features stay in the part and never go back to the master.

Sheet metal settings such as thickness belong to the master. Cuts and flanges can be added in the part.

Published planes and sketches

A skeleton is more than bodies. Tick planes and sketches in the Bodies to Parts dialog, or right-click one in the master ▸ Publish to Linked Parts, and every linked part takes them.

They appear under Imported from Master, in the same place as in the master. A published sketch is its solved geometry, without relations or dimensions. They are read-only in the part: change them in the master. Sketch on a published plane, extrude a published sketch, or convert its entities, and those features move when the master moves them. Stop Publishing leaves the parts with what they have, as it was.

When the master changes

Saving the master updates its linked parts and the assembly. RazorCAD lists what will change first, only the parts whose shape or properties really changed; tick Update them without asking to skip that. A part open in a tab updates as well; if it has unsaved edits, they stay yours to save. Nothing is updated while the master is rolled back or has rebuild errors. A link follows the configuration that was active when it was made.

Features you added in a part stay on top of the new shape. If a master edit removes something one of them used, it shows the usual rebuild error in the part.

Properties and appearances

A part takes its name, material, colours, appearances and custom properties from the master. The master's own Part Number isn't passed on. A value follows the master until you change it in the part. It then stays as you set it, field by field, and everything else keeps following. The tree shows how many overrides a part has, and right-click Imported from Master ▸ Reset to Master takes them all back.

InRight-clickWhat it does
The master, on a partOpen PartOpens the part
The master, on a partRelink…When its body is gone or its file moved: choose the body, or find the file
The master, on a partRemove LinkStops updating it; the file stays
The part, on Imported from MasterOpen MasterOpens the master
The part, on Imported from MasterRelink…When the master moved: find its file
The part, on Imported from MasterReset to MasterTakes back every override
The part, on Imported from MasterBreak Link…Keeps the shape and stops following the master, for good

Keep the files together and you can move the folder: links look beside the file first, then at the path they had. A status of out of date, its file was not found, its body is gone from this part or master not found tells you what needs attention.

A body has an identity in the master. If an edit replaces it, for example by deleting the feature that made it and modelling it again, the part keeps its last shape and shows its body is gone from this part. Use Relink… to choose the body it follows now.

Make Independent

When identical bodies share one part, right-click one of its components in the assembly it belongs to (open the sub-assembly if it's in one) ▸ Make Independent…. It gets a part file of its own, a copy of the shared one with everything added to it, to change separately. It stays where it is and stays linked to its own body in the master.

The master as an envelope

An envelope is the master, or any part, in the assembly as a reference. It stays at the top of the assembly's tree and shows see-through. It can take mates, so parts can be placed against the skeleton. It's left out of the bill of materials and masses, drawings, STEP export, exploded views and interference checks.

Tick the option in Bodies to Parts, or right-click any component ▸ Make Envelope. Stop Being an Envelope turns it back into a component.