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.6
description  
date  2023-07-28
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] [-l] [-i INPUT] [-rp ROOT_PATH] [--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]
  -l, --local           run with local file system access [default: False]
  -i INPUT, --input INPUT
                        input file
  -rp ROOT_PATH, --root_path ROOT_PATH
                        path to scad files [default:
                        /Users/wf/Library/Python/3.10/lib/python/site-
                        packages/nicescad/../scad_examples]
  --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

Links

Demo

http://nicescad.bitplan.com/

Libraries used =

Alternative online editors