Update README.md

This commit is contained in:
colin 2024-12-12 11:05:19 -05:00
parent 54c2db98bd
commit 158552a2d4
1 changed files with 6 additions and 6 deletions

View File

@ -5,9 +5,9 @@ This guide provides an automated setup process for OpenSCAD and a curated set of
## Quick Start: Automated Installation ## Quick Start: Automated Installation
Run the following command to install OpenSCAD, set up libraries, and validate the configuration: Run the following command to install OpenSCAD, set up libraries, and validate the configuration:
```bash
curl -sL https://git.nixc.us/colin/OpenSCAD/raw/branch/main/install.sh | bash curl -sL https://git.nixc.us/colin/OpenSCAD/raw/branch/main/install.sh | bash
```
### What the Script Does ### What the Script Does
1. Checks for Homebrew and installs it if not found. 1. Checks for Homebrew and installs it if not found.
2. Installs OpenSCAD using Homebrew if it is not already installed. 2. Installs OpenSCAD using Homebrew if it is not already installed.
@ -27,7 +27,7 @@ curl -sL https://git.nixc.us/colin/OpenSCAD/raw/branch/main/install.sh | bash
### Verifying the Installation ### Verifying the Installation
1. Open OpenSCAD and create a new file. 1. Open OpenSCAD and create a new file.
2. Add the following test code: 2. Add the following test code:
``` ```c
use <BOSL2/std.scad>; use <BOSL2/std.scad>;
cube([10, 10, 10], center = true); cube([10, 10, 10], center = true);
@ -37,16 +37,16 @@ cube([10, 10, 10], center = true);
Troubleshooting Troubleshooting
1. Ensure Homebrew is installed by visiting https://brew.sh/. 1. Ensure Homebrew is installed by visiting https://brew.sh/.
2. Verify Git is installed and accessible by running: 2. Verify Git is installed and accessible by running:
``` ```bash
git --version git --version
``` ```
3. Confirm the libraries exist in the OpenSCAD libraries directory: 3. Confirm the libraries exist in the OpenSCAD libraries directory:
``` ```bash
ls ~/Documents/OpenSCAD/libraries/ ls ~/Documents/OpenSCAD/libraries/
``` ```
4. Verify OpenSCAD is installed by running: 4. Verify OpenSCAD is installed by running:
``` ```bash
openscad --version openscad --version
``` ```