In order to achieve the integration of driver experience and heterogeneous vehicle platform characteristics in the motion planning algorithm, based on the driver-behavior-based transferable motion primitives, a general motion planning framework for oine generation and online selection of motion primitives (MPs) is proposed. The optimal control theory is applied to solve the boundary value problems in the process of generating MPs, where the driver behaviors and the vehicle motion characteristics are integrated into the optimization in the form of constraints. Moreover, this paper proposes a layered, unequal-weighted MPs selection framework and utilizes the combination of environmental constraints, nonholonomic vehicle constraints, trajectory smoothness, and collision risk as the single-step extension evaluation index. The library of MPs generated oine demonstrates that the proposed generation method realizes the eective expansion of the MP types and achieves the diverse generation of MPs with various velocity attributes and platform types. We also present how the MP selection algorithm utilizes the unique MP library to achieve the online extension of MP sequences. The results show that the proposed motion planning framework can not only improve the eciency and rationality of the algorithm based on driving experience but also can transfer between heterogeneous vehicle platforms and highlight the unique motion characteristics of the platform.