I am trying to get an outline on a simple building color. How would I specify a outline color and thickness in a CGA rule. Any help would be great.
Here is a sample of what I have now for making a building a color.
/** * File: Gray.cga
* Created: 28 Aug
* Author: MPG
*/ version "2016.0"
Shape --> color("#ffffff")
Then, to specify the edge thickness:
const edge_width = 0.1 edges --> primitiveCube s('1, edge_width, edge_width) center(yz)
You can use a cylinder instead of a cube if you want rounder edges.