A general optimization model for the dimensional synthesis of defect-free revolute-cylindrical-cylindrical-cylindrical joint (or RCCC) motion generators is formulated and demonstrated in this work. With this optimization model, the RCCC dimensions required to approximate an indefinite number of precision positions are calculated. The model includes constraints to eliminate order branch and circuit defects—defects that are common in dyad-based dimensional synthesis. Therefore, the novelty of this work is the development of a general optimization model for RCCC motion generation for an indefinite number of precision positions that simultaneously considers order, branch, and circuit defect elimination. This work conveys both the benefits and drawbacks realized when implementing the optimization model on a personal computer using the commercial mathematical analysis software package matlab.