banana

command
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: BSD-2-Clause Imports: 7 Imported by: 0

README

banana

This example creates a banana shape on a small base. It demonstrates using bezier curves and 2D cross-sections to create a 3D shape. The model is intended to be printed (with supports) and stuck to a wall as decoration.

Defining the banana

The 2D cross-section of the banana is created by intersecting four circles. This looks like this:

Cross section

Next, the cross section is extended along a curve defining the length-wise shape of the banana. This defines the general arch that brings the middle of the banana down.

Finally, a separate function determines the radius along the length of the banana, which is smooth except for the stem which is constant radius. This makes the tips of the banana thinner than the middle.

Renderings

Rendering of the model

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL