Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor typos + line breaks

  • Loading branch information...
commit a78cee15b20ca158d18229d53dfb8792d1b357e1 1 parent 2429d9d
@kintel kintel authored
Showing with 40 additions and 14 deletions.
  1. +40 −14 README.md
View
54 README.md
@@ -26,29 +26,42 @@ STL and OFF file formats.
# Getting started
-You can download the latest binaries of OpenSCAD at <http://www.openscad.org>. Install binaries as you would any other software.
+You can download the latest binaries of OpenSCAD at
+<http://www.openscad.org>. Install binaries as you would any other
+software.
-When you open OpenSCAD, you'll see three frames within the window. The left frame is where you'll write code to model 3D objects. The right frame is where you'll see the 3D rendering of your model.
+When you open OpenSCAD, you'll see three frames within the window. The
+left frame is where you'll write code to model 3D objects. The right
+frame is where you'll see the 3D rendering of your model.
Let's make a tree! Type the following code into the left frame:
cylinder(h = 30, r = 8);
-Then render the 3D model by hitting F5. Now you can see a cylinder for the trunk in our tree. Now let's add the bushy/leafy part of the tree represented by a sphere. To do so, we will union a cylinder and a sphere.
+Then render the 3D model by hitting F5. Now you can see a cylinder for
+the trunk in our tree. Now let's add the bushy/leafy part of the tree
+represented by a sphere. To do so, we will union a cylinder and a
+sphere.
union() {
cylinder(h = 30, r = 8);
sphere(20);
}
-But, it's not quite right! The bushy/leafy are around the base of the tree. We need to move the sphere up the z-axis.
+But, it's not quite right! The bushy/leafy are around the base of the
+tree. We need to move the sphere up the z-axis.
union() {
cylinder(h = 30, r = 8);
translate([0, 0, 40]) sphere(20);
}
-And that's it! You made your first 3D model! There are other primitive shapes that you can combine with other set operations (union, intersection, difference) and transformations (rotate, scale, translate) to make complex models! Check out all the other language features in the [OpenSCAD Manual](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual).
+And that's it! You made your first 3D model! There are other primitive
+shapes that you can combine with other set operations (union,
+intersection, difference) and transformations (rotate, scale,
+translate) to make complex models! Check out all the other language
+features in the [OpenSCAD
+Manual](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual).
# Documentation
@@ -56,7 +69,8 @@ Have a look at the OpenSCAD Homepage (http://openscad.org/) for documentation.
## Building OpenSCAD
-To build OpenSCAD from source, follow the instructions for the platform applicable to you below.
+To build OpenSCAD from source, follow the instructions for the
+platform applicable to you below.
### Prerequisites
@@ -64,7 +78,10 @@ To build OpenSCAD, you need some libraries and tools. The version
numbers in brackets specify the versions which have been used for
development. Other versions may or may not work as well.
-If you're using Ubuntu, you can install these libraries from aptitude. If you're using Mac, there is a build script that compiles the libraries from source. Follow the instructions for the platform you're compiling on below.
+If you're using Ubuntu, you can install these libraries from
+aptitude. If you're using Mac, there is a build script that compiles
+the libraries from source. Follow the instructions for the platform
+you're compiling on below.
* [Qt4 (4.4 - 4.7)](http://www.qt.nokia.com/)
* [CGAL (3.6 - 3.9)](http://www.cgal.org/)
@@ -79,27 +96,35 @@ If you're using Ubuntu, you can install these libraries from aptitude. If you're
* [Bison (2.4)](http://www.gnu.org/software/bison/)
* [Flex (2.5.35)](http://flex.sourceforge.net/)
-### Building for MacOSX
+### Building for Mac OS X
-First, make sure that you have XCode installed to get GCC. Then after you've cloned this git repository, run the script that sets up the environment variables.
+First, make sure that you have XCode installed to get GCC. Then after
+you've cloned this git repository, run the script that sets up the
+environment variables.
- source setenv_maju.sh
+ source setenv_mjau.sh
Then run the script to compile all the prerequisite libraries above:
./scripts/macosx-build-dependencies.sh
-We currently don't use [port](http://mxcl.github.com/homebrew/) or [brew](http://mxcl.github.com/homebrew/) to install the prerequisite libraries because CGAL doesn't exist on brew and opencsg doesn't exist on ports. And more importantly, there are some patches to GMP in the compilation process.
+We currently don't use [MacPorts](http://www.macports.org) or
+[brew](http://mxcl.github.com/homebrew/) to install the prerequisite
+libraries because CGAL doesn't exist on brew and opencsg doesn't exist
+on ports. And more importantly, there are some patches to GMP in the
+compilation process.
After that, follow the Compilation instructions below.
### Building for Ubuntu
-If you have done this and want to contribute, fork the repo and contribute docs on how to build for windows!
+If you have done this and want to contribute, fork the repo and
+contribute docs on how to build for windows!
### Building for Windows
-If you have done this and want to contribute, fork the repo and contribute docs on how to build for windows!
+If you have done this and want to contribute, fork the repo and
+contribute docs on how to build for windows!
### Compilation
@@ -109,5 +134,6 @@ run 'qmake4', 'qmake-qt4' or something alike to run the qt4 version of the tool.
Then run make. Finally you might run 'make install' as root or simply copy the
'openscad' binary (OpenSCAD.app on Mac OS X) to the bin directory of your choice.
-If you had problems compiling from source, raise a new issue in the [issue tracker on the github page](https://github.com/openscad/openscad/issues).
+If you had problems compiling from source, raise a new issue in the
+[issue tracker on the github page](https://github.com/openscad/openscad/issues).
Please sign in to comment.
Something went wrong with that request. Please try again.