C3 CAD Tutorial – Command-based 3D Furniture Modeling

This tutorial explains step by step how to model furniture from cuboids using C3 CAD. Everything is based on small lines of text with compact command blocks – written entirely in lowercase with no spaces inside the commands.

1. Basic Principles

2. Project Header (first line)

Format:

projectname thicknessMaterial1 [thicknessMaterial2 ...] [switches]

Example:

cabinet01 m1,1.9,we m2,1.6,gr -t o e

Materials always start with m1, m2, m3, ... and are referred to by number. Each value is separated by a comma.

3. Corpus Line (from line 2)

Format:

corpusname pparts wwidth ddepth hheight [material assignments] [optional commands]

Example:

a plrgtb w60 d45 h72 m1 ml2 mr2 ub20g

4. Command Blocks

5. Part Abbreviations (for p-command)

6. Switches

7. Special Features

8. Complete Example


cabinet01 m1,1.9,we m2,1.6,gr t o e
a plrgtb w60 d40 h72 m1
b pgtlrb w50 d30 h60 m1 ml2 mr2
c plrgt w80 d50 h720 m2 x20 y-10
  

The connect (c) Command

This command connects the current corpus to another one. This only works if the target corpus appears above in the editor.

Each corpus has 8 corners, numbered 0–7:


    connect

  5 --- 6
/ .    / |
1 --- 2  |
| 4 . |. 7
|.    | /
0 --- 3 
  

Example: c0_a3 connects corner 0 of the current corpus to corner 3 of corpus a.