{"size": 696, "ext": "jscad", "max_stars_repo_path": "examples/linear_extrude.jscad", "max_stars_repo_name": "samiwa/test", "max_stars_repo_stars_event_min_datetime": "2018-10-12T08:55:49.000Z", "max_stars_repo_stars_event_max_datetime": "2018-10-12T08:55:49.000Z", "max_issues_repo_path": "examples/linear_extrude.jscad", "max_issues_repo_name": "samiwa/test", "max_issues_repo_issues_event_min_datetime": "2020-07-17T11:46:03.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-09T17:12:14.000Z", "max_forks_repo_path": "examples/linear_extrude.jscad", "max_forks_repo_name": "samiwa/test", "max_forks_repo_forks_event_min_datetime": "2021-04-18T20:05:40.000Z", "max_forks_repo_forks_event_max_datetime": "2021-04-18T20:05:40.000Z"}
{"max_stars_count": 1, "max_issues_count": 2, "max_forks_count": 1, "avg_line_length": 46.4, "max_line_length": 149, "alphanum_fraction": 0.5948275862}
// title      : Linear Extrude
// author     : Rene K. Mueller
// license    : MIT License
// description: testing linear_extrude() function
// file       : linear_extrude.jscad

function main () {
  return [
    scale(3, linear_extrude({height: 10}, circle({r: 1, fn: 5, center: true}))),
    scale(3, linear_extrude({height: 10, twist: 90}, square({size: [1, 2], center: true})).translate([0, 5, 0])),
    scale(3, linear_extrude({height: 10, twist: -500, slices: 50}, translate([2, 0, 0], circle({r: 1, fn: 8, center: true}))).translate([0, -6, 0])),
    scale(3, linear_extrude({height: 20, twist: -90, center: true}, polygon([[0, 0], [4, 1], [1, 1], [1, 4]])).translate([0, -13, 0]))
  ];
}
