Difference between revisions of "Nicescad"

From BITPlan Wiki
Jump to navigation Jump to search
 
(4 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
Line 20: Line 20:
 
== command line ==
 
== command line ==
 
<source lang='bash'>
 
<source lang='bash'>
nicescad -h
+
nicescad -h  
usage: nicescad [-h] [-a] [-c] [-d] [-i INPUT] [--host HOST] [--port PORT]
+
usage: nicescad [-h] [-a] [-c] [-d] [-l] [-i INPUT] [-rp ROOT_PATH] [--host HOST]
                [-s] [-V]
+
                [--port PORT] [-s] [-V]
  
 
Copyright 2023 contributors. All rights reserved.
 
Copyright 2023 contributors. All rights reserved.
Line 37: Line 37:
 
   -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]
 +
  -l, --local          run with local file system access [default: False]
 
   -i INPUT, --input INPUT
 
   -i INPUT, --input INPUT
 
                         input file
 
                         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]
 
   --host HOST          the host to serve / listen from [default: localhost]
 
   --port PORT          the port to serve from [default: 9858]
 
   --port PORT          the port to serve from [default: 9858]
Line 44: Line 49:
 
   -V, --version        show program's version number and exit
 
   -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