Nicescad

From BITPlan Wiki
Jump to navigation Jump to search

OsProject

OsProject
edit
id  nicescad
state  active
owner  WolfgangFahl
title  nicescad
url  https://github.com/WolfgangFahl/nicescad
version  0.0.1
description  
date  2023-07-21
since  2023-07-19
until  


Installation

pip install nicescad
# alternatively if your pip is not a python3 pip
pip3 install nicescad 
# local install from source directory of nicescad 
pip install .

upgrade

pip install nicescad  -U
# alternatively if your pip is not a python3 pip
pip3 install nicescad -U


Prerequisites

  • OpenScad needs to be installed
  • Pygments needs to be installed for syntax highlighting

Usage

command line

nicescad -h
usage: nicescad [-h] [-a] [-c] [-d] [-i INPUT] [--host HOST] [--port PORT]
                [-s] [-V]

Copyright 2023 contributors. All rights reserved.

  Licensed under the Apache License 2.0
  http://www.apache.org/licenses/LICENSE-2.0

  Distributed on an "AS IS" basis without warranties
  or conditions of any kind, either express or implied.

options:
  -h, --help            show this help message and exit
  -a, --about           show about info [default: False]
  -c, --client          start client [default: False]
  -d, --debug           show debug info [default: False]
  -i INPUT, --input INPUT
                        input file
  --host HOST           the host to serve / listen from [default: localhost]
  --port PORT           the port to serve from [default: 9858]
  -s, --serve           start webserver [default: False]
  -V, --version         show program's version number and exit