☰

⚠️ LLM-generated content notice: Parts of this page may have been created or edited with the assistance of a large language model (LLM). The prompts that have been used might be on the page itself, the discussion page or in straight forward cases the prompt was just "Write a mediawiki page on X" with X being the page name. While the content has been reviewed it might still not be accurate or error-free.

OsProject

OsProject
edit
id  nicescad
state  active
owner  WolfgangFahl
title  nicescad
url  https://github.com/WolfgangFahl/nicescad
version  0.3.0
description  
date  2025-06-16
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

✍️🤖 Agent/Guido:

Features

✍️🤖 Agent/Guido:

Save rule

✍️🤖 Agent/Guido: On nicescad.bitplan.com a design is only saved as share link if the code contains both

Code missing one of them is silently not saved. Example:

// Copyright Wolfgang Fahl 2026
module example() {
  cube(30, center=true);
}
example();

Usage

command line

nicescad -h
usage: nicescad [-h] [-a] [-d] [--debugLocalPath DEBUGLOCALPATH]
                [--debugPort DEBUGPORT] [--debugRemotePath DEBUGREMOTEPATH]
                [--debugServer DEBUGSERVER] [-f] [-q] [-v] [-V]
                [--apache APACHE] [-c] [-l] [-i INPUT] [-rol] [--host HOST]
                [--port PORT] [-s] [-rp ROOT_PATH]
nicescad brings OpenScad to the browser (again)
options:
  -h, --help            show this help message and exit
  -a, --about           show version info and open documentation
  -d, --debug           enable debug output
  --debugLocalPath DEBUGLOCALPATH
                        remote debug Server path mapping - localPath - path on
                        machine where python runs
  --debugPort DEBUGPORT
                        remote debug Port [default: 5678]
  --debugRemotePath DEBUGREMOTEPATH
                        remote debug Server path mapping - remotePath - path
                        on debug server
  --debugServer DEBUGSERVER
                        remote debug Server
  -f, --force           force overwrite or unsafe actions
  -q, --quiet           suppress all output
  -v, --verbose         increase output verbosity
  -V, --version         show program's version number and exit
  --apache APACHE       create an apache configuration file for the given
                        domain
  -c, --client          start client
  -l, --local           run with local file system access
  -i INPUT, --input INPUT
                        input file
  -rol, --render_on_load
                        render on load
  --host HOST           the host to serve / listen from (default: localhost)
  --port PORT           the port to serve from (default: 9858)
  -s, --serve           start webserver
  -rp ROOT_PATH, --root_path ROOT_PATH
                        path to scad files [default:
                        .../site-packages/nicescad_examples]

Links

Demo

https://nicescad.bitplan.com/

Libraries used

Alternative online editors