zCAD.Online
Sketches, constraints, and parametric design
Create controlled sketches and preserve editable design intent through dimensions, constraints, and features.
A sketch is not just an outline for the next feature. It is a compact set of decisions about size, alignment, symmetry, and the references the part must preserve when requirements change.
Choose the reference before drawing
Start the sketch on an origin plane, datum plane, or planar face that matches the way the feature should be controlled. A convenient face is not always a stable reference: if an earlier edit can remove or split that face, downstream sketches may fail even though their own geometry has not changed.
Use construction geometry for centerlines and layout relationships. When a sketch depends on existing model geometry, project only the references you actually need. Every extra external reference is another dependency that must survive later edits.
Constrain intent, not every visible detail
Add geometric constraints for relationships such as horizontal, vertical, parallel, perpendicular, tangent, concentric, and symmetric. Add driving dimensions for values that should control the design. Use a driven dimension when you only need to report the current result and do not want that value to move the geometry.
The published sketch status uses black for fully defined geometry, purple for underconstrained geometry, and red for an overconstrained or conflicting state. Treat the colors as a diagnostic, not a score. A fully defined sketch is useful only when the constraints express the intended relationships.
Dimension the functional width, spacing, diameter, or offset once.
Use symmetry or equal relationships where the design should change together.
Leave reference measurements driven instead of forcing the same condition twice.
When a constraint turns red
Do not add another constraint at random. Select the affected geometry, identify the dimensions and relationships already controlling it, and remove or convert the redundant one. A common conflict is defining the same distance with both geometry and a second driving dimension.
If a profile will not create a solid feature, also check for small gaps, overlapping segments, unwanted construction geometry, or self-intersections. A sketch can look closed at the current zoom and still contain a topological break.
Test the sketch before building on it
Change one or two controlling dimensions and watch how the profile responds. The sketch should preserve its intended center, tangency, alignment, and closed regions. Return the values to the design requirement, then build the feature. This small test is cheaper than discovering a fragile sketch after fillets, holes, patterns, and drawings depend on it.