1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-11 09:53:58 +02:00

Merge pull request #118 from martinbudden/carriage_fix

Fixed error in carriage_size function.
This commit is contained in:
Chris
2020-12-26 19:46:20 +00:00
committed by GitHub

View File

@@ -40,7 +40,7 @@ function carriage_length(type) = type[0]; //! Overall length
function carriage_block_length(type) = type[1]; //! Length of the metal part function carriage_block_length(type) = type[1]; //! Length of the metal part
function carriage_width(type) = type[2]; //! Width of carriage function carriage_width(type) = type[2]; //! Width of carriage
function carriage_height(type) = type[3]; //! Height of carriage function carriage_height(type) = type[3]; //! Height of carriage
function carriage_size(type) = [ type[1], type[2], type[3] ]; //! Size of carriage function carriage_size(type) = [ type[0], type[2], type[3] ]; //! Size of carriage
function carriage_clearance(type) = type[4]; //! Gap under the carriage function carriage_clearance(type) = type[4]; //! Gap under the carriage
function carriage_pitch_x(type) = type[5]; //! Screw hole x pitch function carriage_pitch_x(type) = type[5]; //! Screw hole x pitch
function carriage_pitch_y(type) = type[6]; //! Screw hole y pitch function carriage_pitch_y(type) = type[6]; //! Screw hole y pitch