For a model to be customizable by AlaCAD, the customizable parameters need to be identifiable (this manual does not discuss parametric design as such). How to do this depends on your CAD program.
The OpenSCAD has a built in customizer, based on the Thingiverse customizer. Both of these use the same markup scheme, and AlaCAD supports a subset of these schemes:
.scad
file. // variable description
variable name = default value; // possible values
// Designated simply by assigning a boolean default value to a variable
shouldIStay = true;
// Designated by a string assignment, optionally specifying a max length
myNameIs = "Nobody"; // 7
// Numeric assignment, optionally specifying a step size
imGettingOdd = 1; // 2
// Numeric assignment, mandatory maximum value specification
crawling = 10; // [50]
// Minimum and maximum
king = 20; // [10:50]
// Minimum, step size, and maximum
snake = 30; // [10:5:50]
// Numeric with straight options
fontSize = 6; // [5,6,8,9,10,12,14,18]
// String with straight options
direction = "north"; // [north, south, east, west]
// Numeric with labelled options
size = 5; // [5:S, 10:M, 20:L, 30:XL]
// String with labelled options
compass = "SE"; // [N:North,NW:Northwest,W:West,SW:Southwest,S:South,SE:Southeast,E:East,NE:Northeast]
In FreeCAD, there is (to my knowledge) no customization scheme defined yet, so AlaCAD uses a homegrown scheme:
AlaCAD_Parameters
or
Parameters
, or a link of that name to a spreadsheet (The first name is
implemented to avoid name clashes with existing spreadsheets that may be formatted
differently).
A
.B
. It must have an alias name, giving the variable name.C
, optional maximum
length in column D
.
C
, optional step size
in column D
.
C
, minimum in column D
, and either step size in column D
and maximum in column E
, or just the maximum in column D
.C
and comma separated list of options (optionally followed by labels, as for OpenSCAD
) in column D
.AlaCAD_Result
or
Result
, or a link of that name to an object.Drag or select a FreeCAD
or OpenSCAD
file to the drop zone and then click the Customize Model
button.
Adjust parameter settings to your liking and observe how they change the model. Once you have the model to your liking, click the Download Model
button at the top right to download the STL for the model.
AlaCAD is built on top of a sizable stack of technologies: