<commit_before>
use <../oval/oval.scad>
use <../triangle/triangle.scad>

module fish(bodyRadius = 7, height = 1)
{
	rotate([0, 0, 135])
	union()
	{
		// body
		cylinder(height,bodyRadius,bodyRadius);

		// head end
		translate([-bodyRadius,-bodyRadius,0])
		{
			cube([bodyRadius,bodyRadius,height]);
		}

		// back end
		cube([bodyRadius,bodyRadius,height]);

		// tail
		size = 6.00015;
		xTranslate = bodyRadius + 3;
		yTranslate = bodyRadius + 2;//radius * 2 + 1;
		translate([xTranslate, yTranslate, 0])
		triangle(size= size, height=2);
	}
}

module fishThumbnail()
{
	fish();
}

/** Support functions and modules follow **/

module fish_tail(radius)
{

}
<commit_msg>Some documentation was added.<commit_after>
use <../oval/oval.scad>
use <../triangle/triangle.scad>

/**
 *  This a fish.  I used the following thing as an example of how to do the main fish
 *  body: 
 *
 *          https://www.thingiverse.com/thing:844015
 *
 */
module fish(bodyRadius = 7, height = 1)
{
	rotate([0, 0, 135])
	union()
	{
		// body
		cylinder(height,bodyRadius,bodyRadius);

		// head end
		translate([-bodyRadius,-bodyRadius,0])
		{
			cube([bodyRadius,bodyRadius,height]);
		}

		// back end
		cube([bodyRadius,bodyRadius,height]);

		// tail
		size = 6.00015;
		xTranslate = bodyRadius + 3;
		yTranslate = bodyRadius + 2;//radius * 2 + 1;
		translate([xTranslate, yTranslate, 0])
		triangle(size= size, height=2);
	}
}

module fishThumbnail()
{
	fish();
}

/** Support functions and modules follow **/

module fish_tail(radius)
{

}

{'fraction_non_alphanumeric': 0.16230366492146597, 'fraction_numerical': 0.030104712041884817, 'mean_word_length': 3.4063400576368874, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6268165', 'n_tokens_mistral': 635, 'n_tokens_neox': 556, 'n_words': 123}