Skip to content

yschaeff/pscad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Pscad - Terminal based OpenSCAD file editor

SYNOPSIS

pscad.py [-h] [-o OUT_FILE] IN_FILE

DESCRIPTION

Pscad will open and parse IN_FILE. The file will not automatically be written to.

  • -h, --help - show usage information and exit
  • -o, --outfile OUT_FILE - When this file is given Pscad will write the current state of the opened document on every change. This can be used to have OpenSCAD monitor the file and render automatically.

COMMANDS

CONTROL

  • z - Undo last action.
  • Z - Redo last undo.
  • q - Quit Pscad.
  • Q - Quit Pscad even if document is not (auto) written.
  • w - Write to IN_FILE.
  • esc - Reset edits and close dialogs

NAVIGATION

up/down, home/end, page up/down

TREE MANIPULATION

  • y - Yank node and its children. Copy to clipboard.
  • Y - Yank single node. Copy to clipboard.
  • x - Delete node and children from tree. Copy to clipboard.
  • X - Delete node from tree. Its children will be transferred to its parent. Copy to clipboard.
  • p - Paste clipboard contents after selected node as sibling.
  • P - Paste clipboard contents before selected node as sibling.
  • g - Gobble up next sibling and make it last child.
  • G - Degobble last child make it a sibling.
  • a - Insert new node as first child.
  • A - Insert new node as next sibling.
  • Tab - Push the node in sibling's child list.
  • Shift Tab - Pop node from parents child list and become a sibling.
  • enter - Start editing a node.

MODIFIERS

  • * - Toggle disable
  • ! - Toggle show only
  • # - Toggle highlight
  • % - Toggle transparent
  • / - Toggle comment

SHORTCUTS

  • d - New child node difference()
  • D - New parent node difference()
  • u - New child node union()
  • U - New parent node union()
  • i - New child node intersection()
  • I - New parent node intersection()
  • t - New child node translate()
  • T - New parent node translate()
  • r - New child node rotate()
  • R - New parent node rotate()
  • s - New child node scale()
  • S - New parent node scale()

AUTHOR

Yuri Schaeffer yuri@schaeffer.tk

REPORTING BUGS

Email or Github

LICENCE

MIT

SEE ALSO

openscad(1)