Skip to content

A command line tool for quick ASCII STL Sphere 3D model generation

Notifications You must be signed in to change notification settings

Stegogo/sphere-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sphere-generator

           _                                   
 ___ _ __ | |__   ___ _ __ ___  __ _  ___ _ __  
/ __| '_ \| '_ \ / _ \ '__/ _ \/ _` |/ _ \ '_ \ 
\__ \ |_) | | | |  __/ | |  __/ (_| |  __/ | | |
|___/ .__/|_| |_|\___|_|  \___|\__, |\___|_| |_|
   |_|                        |___/            

Spheregen is a command line tool which generates an ASCII STL file of a sphere with the parameters you may specify. It may be useful if you need to generate a quick 3D model for some sort of test. Enjoy!

Running

  1. Clone the repo

  2. cd build/bin

  3. ./spheregen -h

Examples

./spheregen -R 1.5 -r 8 -s 10

Radius: 1.5
Horizontal segments: 8
Vertical segments: 10

image

./spheregen -R 0.5 -r 100 -s 100

Radius: 0.5
Horizontal segments: 100
Vertical segments: 100

image

About

A command line tool for quick ASCII STL Sphere 3D model generation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published