[OpenSCAD] ClikScad - create OpenSCAD models without all the typing

WillAdams willadams at aol.com
Sun Oct 27 19:11:52 EDT 2019


Sure!

//  Code created by ClikScad  at   18:57:14  27 Oct 2019
//see https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Customizer 

	$diameter = 6;
	$radius = $diameter/2;
	$height = 3;
	$width = 4;
	$depth = 5;


module Sph_15722048553 (radius = $radius, segments = 32, ){
	sphere( radius,  $fn = segments);
};

module Cub_15722169053 (xlength = $width, ylength = $depth, zlength =
$height, center = false, ){
	cube( [xlength, ylength, zlength], center = center);
};

module Trns_15722169779 (xMove = $radius+$width, yMove = 0, zMove = 0, ){
	translate( [ xMove, yMove, zMove]){
		Cub_15722169053();
	};
};

module main (){

		Sph_15722048553();
		Trns_15722169779();

};

main();



--
Sent from: http://forum.openscad.org/



More information about the Discuss mailing list