Repository navigation
Projects
Draft. Projects work in the command line now. The window cannot open a project yet.
A project puts many objects into one room. For example: a steel rack, a drawer cabinet, a crate and a printed knob. Each object has its own place. One parts list counts the parts of all objects.
- Objects. An object is an OpenSCAD model, a mesh file (STL or 3MF) or a simple box. Each object has a place: a move in mm and a turn in degrees.
- Values. Two objects can use the same model with different values. For example, a narrow and a wide shelf from one file.
- Scenes. A scene is a list of the objects that you see. A scene can also change values. For example, the same rack with one bay and with two bays.
- Materials. A material gives an object its color and surface.
- Plugins. The project lists the plugins that its models use.
The project is one file that ends in .cgeocad, in the folder of its models. The Project file page tells the format.
The folder examples/projects/storage-room of the source has an example project. Open a terminal in that folder:
cgeocad project check storage-room.cgeocad
cgeocad parts-list storage-room.cgeocad --include-plugins
cgeocad checks storage-room.cgeocad --include-plugins
cgeocad export storage-room.cgeocad -o room.glb --include-plugins-
project checktells if all files are there. -
parts-listgives one list for the whole room. -
checksgives the checks of all objects. The example has two scenes that show the rack with different parts, so you get a warning: the two forms of one object do not use the same parts. -
export ... -o room.glbwrites the room as a 3D file that many viewers can open.
cgeocad project new garage.cgeocad --title Garage
cgeocad project add garage.cgeocad shelf.scad --at 0,0,0
cgeocad project add garage.cgeocad box:400x300x250 --id crate --at 1500,50,0Each project add adds one object and shows it in the first scene. The Command line page has all options.
Plugins run code. A project can come from another person. Thus CgeoCAD does not include the plugins of a project by itself. Add --include-plugins to the command when you trust the file.
cgeocad export garage.cgeocad -o garage.zip writes the project folder as one zip file. The zip holds the project file, the models and the SCAD libraries that the models use.
Home · Glossary · Problems and answers · Download · Website
The source of these pages is the docs/wiki/ folder of the repository. Changes that you make on the wiki website are lost at the next update.
Start
Look at the model
Furniture
Projects
More
Advanced