RazorCAD
Chapters

User manual / Surfaces

Surfaces

The Surfaces tab builds surface bodies (zero-thickness faces), listed under Surface Bodies in the tree. Cuts and Combine only act on solid bodies; Knit, Thicken or Convert to Solid turn surfaces into solids.

Making surfaces

FeatureWhat it does
Extruded SurfaceExtrudes selected regions, open/closed contours or individual entities (the sketch just drawn for it, or selected, open curves and all, unless it has one closed region); one side, symmetric total depth or independent depths on both sides; reverse supported
Revolved SurfaceRevolves selected regions or open/closed contours with separate axis selection, optional axis projection and the same Full/Angle, one-side/two-side/symmetric controls as solid Revolve
Planar SurfaceCreates flat surfaces from selected sketch regions, closed entity contours or coplanar model boundary edges; sketch regions preserve their holes
Lofted SurfaceA surface through two or more profiles (sketches or 3D sketches), open or closed, optionally ruled (straight between profiles). Open profiles drawn in opposite directions are lined up automatically. Guide Curves (rails, optional): sketches or curves the surface follows between the profiles, e.g. along its edges; each runs from the first profile to the last, through every profile. One guide pulls the surface along it; two or more shape it across, each where it touches the profiles.
Swept SurfaceAn open or closed sketch profile, or a circle, swept along a sketch, 3D sketch, helix or chain of model edges. Orientation (including Square to faces), Twist angle, End scale and an optional Guide work as for Sweep (see Sweep and Sweep Cut); with a guide the profile can be open or closed. Closed profiles give a surface without end caps.
Filled SurfaceA smooth patch over a hole bounded by one closed loop of edges of a surface or a solid, touching (G0), tangent (G1) or matching curvature (G2) with the faces round it; the condition can be set for each edge. It can be knit into the surface and close a solid. A flat loop gives a flat patch.
Boundary SurfaceA surface through curves in two directions. The first and last curve of each direction bound it and must meet at their ends; the curves between shape it. Meeting other faces makes it tangent (G1) or curvature continuous (G2) to faces you pick (Select support faces): each bounding curve that runs along an edge of one of them meets that face so; the others just touch. It is checked on the CAD faces as for Filled Surface (contact 0.0001 mm, 0.5°, 0.001 1/mm) and the note gives what was measured. The curves must agree with the faces where they meet (a side curve leaving a G1 edge must leave along the face; for G2 its first three control points in line with it).
Ruled SurfaceStraight-sided surfaces standing on edges, either normal to the surface or along a direction tapered by an angle, on one or both sides (for example mould parting surfaces)
Offset SurfaceOffsets faces of any body
Copy SurfaceCopies faces of any body as surface bodies, leaving the body unchanged. Join copies that touch into one surface body is on by default.

Guide control for Swept Surface

Swept Surface uses the same separate canvas selectors and per-role Chain selection as solid Sweep. Choose one open or closed profile contour without holes; a region with inner loops must be reduced to the desired contour. Whole-sketch sources remain available explicitly for older workflows.

Without a guide, Orientation and Twist angle work as in solid Sweep: perpendicular sections with an optional signed total twist, or sections parallel to the initial profile. Open and closed profiles remain uncapped. The same open, tangent-continuous path restriction and numerical checks apply to nonzero twist.

Guide (optional) uses the same Orientation and Section size controls as the solid Sweep. Orientation keeps the profile dimensions; Section size uniformly scales the profile to follow the guide. Use one connected profile chain, open or closed, with an open path and guide. The guide must span the endpoint normal planes of the path; Section size also requires it to start on the profile curve and intersect every path normal plane once. Guide contact on the CAD surface is checked numerically to 0.0001 mm, using the same bounded scale-law refinement as solid Sweep. These are sampled numerical checks, not a certified global bound.

Open profiles form a sheet. Closed profiles and the Circular option form an uncapped surface shell; no end caps or solid are added. Removing the guide restores the ordinary swept surface.

Loft only the portions created by Split Face

In Lofted Surface, choose Profile Source → Model edges. Select only the actual boundary edges of the split portion, then click Add selected edges as profile. Repeat for the second section. A profile can be one edge or a connected, unbranched chain; disconnected edges belong in separate profiles or separate lofts. Each selected edge is kept as its exact trimmed CAD curve, not replaced with its source sketch curve.

For a 3 mm strip, select the boundary segment between the original surface edge and the Split Face boundary. Do not select the whole sketch contour. When bridging the two sides of an open surface model, make a separate loft for each side. Existing sketch profiles can be removed with the ✕ buttons before selecting the split model edges.

Model-edge profiles currently use Free start/end conditions, Automatic correspondence and no guides. Sketch profiles retain the guide and endpoint-condition tools below. The original bodies and the feature that made the selected edges are kept as dependencies, so changing the split rebuilds the loft.

Start and end conditions for Lofted Surface

Lofted Surface uses the same Start Condition, End Condition, Influence and Reverse tangent direction controls described under Loft. Adjacent support faces can belong to solids or surfaces. Open profiles form a sheet; closed profiles form an uncapped shell. Guide curves can be combined with endpoint conditions using Adaptive approximation, with the same endpoint-tangent compatibility and sampled CAD contact checks as solid Loft.

Guide construction for Lofted Surface

Select Guide Curves → Guide construction → CAD constraints (two profiles) to use the original guide edges as patch boundaries. This supports open profiles forming a sheet, or closed profiles forming an uncapped surface shell. Guides can lie in different planes, making a nonplanar surface. A closed profile does not add end caps or make a solid.

The kernel checks the patch contact error to 0.0001 mm, validates the resulting CAD shape and checks points on the guide curves independently. Across guide seams offers C0 (contact), G1 (tangency) and G2 (curvature continuity) along shared guide edges. G1 checks native CAD normals at nine interior positions, allowing at most 0.5° mismatch. G2 constructs a C2 B-spline surface for internal guide networks, trims the resulting patches and checks contact, normals and all three components of the second fundamental form at 33 independent positions on each seam. Its curvature mismatch limit is 0.001 1/mm. Measured angular and G2 curvature mismatches appear in the feature note. These are numerical tolerance checks, not a symbolic proof that every guide point is exact. The method requires two compatible profiles without holes or Thin Feature. Original profile corners are preserved. A transverse guide through a sharp corner cannot provide G2 continuity: choose C0 or move the contact onto a smooth profile segment. Circular profile seams are positioned automatically; straight guides already on a cylinder or cone preserve its geometry. Incompatible constraints report an error without lowering continuity or switching methods. Choose Adaptive approximation explicitly for other supported loft configurations.

Surface Extrude and Revolve selection

These commands use the same canvas profile/contour selector as Planar Surface and solid features. Turn off Chain selection for individual sketch entities and confirm the contour with Add selected contour. Unlike a solid profile, an open chain is valid. Selecting a region uses its boundary curves, including holes, without automatically using unrelated curves from its sketch. Closed contours remain surface shells; the command does not turn them into solids. Earlier whole-sketch features still rebuild and can be edited through the explicit whole-source fallback.

Surface Revolve has separate profile and axis slots; the axis can come from another sketch. Surface Extrude's Symmetric depth is the total depth, while Two sides uses Depth and Second depth independently. Surface Revolve shares Full/Angle and one-side/two-side/symmetric behavior with solid Revolve, and goes Up To Vertex or Up To Surface too (a plane beside the axis trims it, as for solid Revolve). These surface commands create new surface bodies.

Model edges and faces : besides sketch contours, both commands take edges of the model. Model Edges → Select model edges, then click edges on solids or surfaces (click again to remove one; Chain selection follows a surface body's open boundary). The edges join end to end into chains, open or closed; edges that branch are refused. Clicking a flat face of the model while choosing contours uses that face's outer and inner edges. Edges in one plane extrude square to it, out of the face they border when they lie on one; edges that do not lie in one plane, or a single straight edge, need Along (below). Surface Revolve revolves the chains about its axis, which must then be a reference axis, a model edge or face, or a line of a sketch.

Surface Extrude start, end, direction and draft : Start from is the contour plane, an offset from it, or a plane / planar face, as for solid Extrude. Direction adds Up To Vertex, Up To Surface and Offset From Surface to One side, Two sides and Symmetric; an angled start or end surface trims the extrusion along it. Along chooses an axis to extrude along instead of square to the contours (None); Depth is then measured along it, and an axis that lies in the contours' plane is refused. Draft angle tilts the walls of closed contours about where the extrusion starts, each contour narrowing away from it (or widening with Draft outward), as for solid Extrude; an open contour of sketch lines and arcs leans to its left as drawn (Draft outward: to its right), each line and arc offset in the contour's plane as the extrusion rises, so its faces stay flat and conical.

Planar Surface selection

Use Sketch Profiles → Select profiles in canvas to click inside a closed region or select its contour. Each selection adds only that region, including its inner holes, instead of every profile in its sketch. Click a selected profile again to remove it. Chain selection follows connected sketch entities; turn it off to pick individual curves, then use Add selected contour once they close. Selecting just an outer contour fills that outline; click the actual region to include its holes.

Use Model Boundary Edges → Select model edges for existing solid or surface edges. Choose one connected, closed, coplanar loop, with optional chain selection. The kernel rejects open, duplicate, missing or nonplanar boundary edges. Each selected sketch region creates a planar face; multiple independent regions are supported. Profiles remain linked to their source entities when dimensions change, and deleted selected entities require reselection.

Existing whole-sketch features remain compatible. Other sources (whole sketch / curve) keeps whole-sketch selection available explicitly. A sketch with multiple regions no longer gets selected in full automatically when starting Planar Surface: choose the desired profiles in the canvas. Planar Surface creates flat sheets; use Filled Surface for a nonplanar patch or continuity to adjacent faces.

Filled Surface / Patch continuity

Select one connected, closed boundary loop. Chain selection is enabled for new patches: click an edge to add its connected boundary chain on that body; click a fully selected chain again to remove it. Turn the checkbox off to add or remove individual edges. Partial chains are completed without duplicate edges or changing existing per-edge continuity. Selection stops at branches; for solid edges, an explicitly selected support face can identify its boundary loop. The checkbox is saved with the feature; older files keep individual selection until enabled.

Boundary continuity sets Contact (G0), Tangent (G1) or Curvature (G2) for the loop. Each edge can override that setting, so a patch can combine G0, G1 and G2 boundaries. Open, disconnected, duplicate or multiple loops report an error.

Tangent reach : a tangent (G1) edge's row has a reach in mm (0 by default). With a reach, the patch also passes through points that far in from the edge along the support's tangent plane, so it keeps to that plane further before it turns towards the middle: a fuller, flatter rim. It applies to G1 edges only.

Pass Through : Add a curve it passes through adds sketches, 3D sketches and curves lying inside the opening; Add points it passes through adds reference points, or a sketch's own points (those not on its curves). The patch passes through all of them as well as meeting its boundary; each is checked on the result to 0.0001 mm (the constraints are sampled more finely until it passes, or the patch reports how far off it is).

G1/G2 edges require an adjacent support face. An open surface edge infers its unique adjacent face. Use Select support faces when a solid edge has two adjacent faces; exactly one selected adjacent face must cover each constrained edge. Select boundary edges returns to picking edges. G0 does not require support faces. Older files with Tangent enabled keep G1 behavior, with strict verification instead of a contact-only fallback.

The resulting CAD face is checked for validity and sampled at 33 positions on each boundary: contact within 0.0001 mm, G1/G2 normal mismatch within 0.5°, and G2 mismatch of all three curvature components within 0.001 1/mm. Boundary trimming curves are checked again after knitting. Incompatible supports or failed constraints remain errors; the requested continuity is not downgraded. These checks are sampled numerical bounds, not a global mathematical proof. A latitude opening in a spherical face preserves its exact spherical continuation; other constrained patches use native plate construction with bounded refinement and final CAD checks.

Knit into the surface joins the patch when all selected edges belong to one surface body. Make a solid when that closes it closes a watertight result; if other openings remain, the result stays a surface and its note says so. Example: tests/data/surface-patch-g2.rcad.

Changing surfaces

FeatureWhat it does
Trim SurfaceCuts surfaces with a plane, a surface body or a sketch's curves (square to the sketch). Click the pieces to keep, or to remove. Mutual trims the tool surface too.
Extend SurfaceCarries open edges straight on by a distance, following the surface's slope at the edge, and knits the extension on
Untrim SurfaceFills a surface's holes, or gives it back its natural extent (holes and outline). Pick faces to untrim only those.
Knit SurfaceSews surfaces together within a gap tolerance. When they enclose a volume, Try to form a solid turns them into a solid.
ThickenGives a surface a wall thickness (one side or both) and makes it a solid
Delete FaceTakes faces out of a solid or surface. Either leave the hole (the body becomes a surface body), patch each hole smoothly, optionally tangent, so the solid stays solid, or Heal: the faces round the hole grow or shrink until they meet and close it exactly, with no patch (a boss or a rib deleted as if it was never there). Good for removing fillets and bad faces from imported parts.
Replace FaceMoves flat faces of a solid onto a surface body, so the body grows or shrinks to meet it (for example a curved top). The surface must reach past the faces all round.
FreeformReshapes one face of a solid or surface by handles you push in or out (see below)
Flatten SurfaceUnrolls faces of a surface or solid flat beside the model as a surface body (see below)
Split BodySplits solid or surface bodies into independent bodies
Move/Copy SurfacesAs Move/Copy Bodies, for surfaces
Delete SurfaceRemoves a surface body

Freeform

Surfaces ▸ Freeform reshapes one face by a grid of handles. Click the face: a flat face of any outline, holes and all (the top of a block or a disc, a plate with holes), or a freeform face (a lofted or fitted face, or one Freeform has already reshaped). On a flat face with four straight edges or a freeform face that covers its whole surface, Keep at the edges sets what is held there. On any other face (another outline, holes, a trimmed freeform face) only the inside moves: the face stays as it was in a band along every edge and hole, so it always meets them in tangent plane and curvature (G2), and handles that fall outside its outline are left out (the note says how many are on the face). Rounds and other curved faces can't be reshaped yet. Set how many handles there are Across and Along the face (1 to 6 each): they sit evenly across it, and each Handle is how far the face is pushed out there (below 0, in), along its normal. The face passes through every handle exactly. Drag a handle on the model, in or out of the face, to move it; the face rebuilds when you let go.

Keep at the edges says what the face keeps where it meets the faces round it: Contact (G0) (only the edges stay where they are), Tangent (G1) (the tangent plane along them too, so a face that ran smoothly into its neighbours still does; the default) or Curvature (G2) (the curvature as well). The more is kept, the closer to the middle the shape changes and the less it bulges. The face is made an exact B-spline surface and its control points are moved (the outer one, two or three rows of them held); the note gives how closely the handles are met and, measured on the CAD faces, how closely the tangent plane and curvature along the edges are kept. A face that would run through another face cannot be closed into the solid: use smaller heights.

Curves and Split Face

FeatureWhat it does
Split FaceSelect the faces first, then a splitting tool. Projection uses a sketch, along its normal or an explicit vector; Intersection uses a plane, model face or surface body. Automatic chooses from the tool. Extend Splitting Tool controls the tool extent. The body count stays unchanged; only selected faces gain boundaries.
Projected CurveProjects a sketch along its normal onto faces, as a 3D curve
Composite CurveJoins model edges end to end into one curve

Projected and composite curves can be used as sweep paths, lofted surface profiles, curve-driven pattern paths and boundary surface curves.

Flatten Surface

Click the faces to unroll. Faces that unroll (cylinders, cones, bent sheets) come out exact. A doubly curved face (for example a dome) can't lie flat without stretching: it is spread out keeping its edge lengths as well as possible, and the note gives the size, the area change and how much the edge lengths changed. Relaxing passes sets how hard it tries. A closed tube needs a seam (Split Face) to open out.

Meshes and closing surfaces

  • Convert to Solid (also right-click a surface body): surface bodies that together enclose a volume, or a mesh, are joined (edges closer than the gap tolerance meet) and made into one solid. When they leave gaps it says how many open edges and holes there are.
  • Repair Mesh: closes the holes of a surface body or a mesh with missing pieces (flat holes with a flat face, curved holes with a filling surface, holes in a mesh with triangles), turns triangles that face the wrong way round, and makes a solid. Option: the largest hole to close.

Surface quality can be checked with Zebra Stripes, Curvature and Draft Analysis (Evaluate and Tools chapter).