Difference between revisions of "Nicescad"

From BITPlan Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|title=nicescad
 
|title=nicescad
 
|url=https://github.com/WolfgangFahl/nicescad
 
|url=https://github.com/WolfgangFahl/nicescad
|version=0.0.1
+
|version=0.2.0
|date=2023-07-21
+
|date=2024-08-10
 
|since=2023-07-19
 
|since=2023-07-19
 
|storemode=property
 
|storemode=property
 
}}
 
}}
 
{{pip|nicescad}}
 
{{pip|nicescad}}
 +
= Prerequisites =
 +
* [https://openscad.org/ OpenScad] needs to be installed
 +
* [https://pygments.org/ Pygments] needs to be installed for syntax highlighting
 +
 
= Usage =
 
= Usage =
 
== command line ==
 
== command line ==
 
<source lang='bash'>
 
<source lang='bash'>
nicescad -h
+
nicescad -h  
usage: nicescad [-h] [-a] [-c] [-d] [--host HOST] [--port PORT] [-s] [-V]
+
usage: nicescad [-h] [-a] [-c] [-d] [-l] [-i INPUT] [-rp ROOT_PATH] [--host HOST]
 +
                [--port PORT] [-s] [-V]
  
 
Copyright 2023 contributors. All rights reserved.
 
Copyright 2023 contributors. All rights reserved.
Line 28: Line 33:
  
 
options:
 
options:
   -h, --help     show this help message and exit
+
   -h, --help           show this help message and exit
   -a, --about   show about info [default: False]
+
   -a, --about           show about info [default: False]
   -c, --client   start client [default: False]
+
   -c, --client         start client [default: False]
   -d, --debug   show debug info [default: False]
+
   -d, --debug           show debug info [default: False]
   --host HOST   the host to serve / listen from [default: localhost]
+
  -l, --local          run with local file system access [default: False]
   --port PORT   the port to serve from [default: 9858]
+
  -i INPUT, --input INPUT
   -s, --serve   start webserver [default: False]
+
                        input file
   -V, --version show program's version number and exit
+
  -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
 
</source>
 
</source>
 +
= Links =
 +
== Demo ==
 +
http://nicescad.bitplan.com/
 +
== Libraries used ===
 +
* https://openscad.org/
 +
* https://nicegui.io
 +
== Alternative online editors ==
 +
* https://ochafik.com/openscad2/
 +
* http://www.implicitcad.org/editor
 +
* https://www.blockscad3d.com/editor/
 +
* https://openjscad.azurewebsites.net/
 +
* https://openjscad.xyz/
 +
[[Category:3DPrint]]

Latest revision as of 09:04, 10 August 2024

OsProject

OsProject
edit
id  nicescad
state  active
owner  WolfgangFahl
title  nicescad
url  https://github.com/WolfgangFahl/nicescad
version  0.2.0
description  
date  2024-08-10
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