Builds the coffee table from its framed glass top, four legs and an optional shelf, with Y up.
The result holds each part's shapes and points as well as the whole table; a shelfTopOffset of 0
leaves the shelf out. It throws when the sizes break the rules in the DTO, or when the caller is not
on the Silver or Gold plan.
Table size, top and glass sizes, chamfer, shelf, legs, scale and placement
The table data with the top, shelf and leg parts, the drawing groups and every shape
Collects the options that control how the coffee table is drawn.
It returns the inputs unchanged, ready to pass to the drawing of the model: materials for the glass, the top frame, the shelf and the legs, whether faces and edges are drawn, the edge color and width, and the meshing precision.
Materials, face and edge switches, edge color and width, and meshing precision
The same draw options
Gets the center of the table's top.
It is the center of an outline wire of the top frame, measured after the table is placed.
The table data returned by create
The center point of the top
Gets the center of the shelf's top.
It is measured after the table is placed, and it throws when the table was built without a shelf.
The table data returned by create
The center point of the shelf's top
Gets the point at the bottom of each leg.
The points follow the order of the legs, one per leg.
The table data returned by create
The center point of each leg's bottom outline
Gets the point at the top of each leg, where it meets the top frame.
The points follow the order of the legs, one per leg.
The table data returned by create
The center point of each leg's top outline
Gets the whole table shape out of a built model.
Use it to pass the table on to other shape operations or to export it.
The table data returned by create
The compound of the top frame, the glass, the legs and the shelf
Gets the four legs of a built table as a list of separate solids.
Use it to give the legs their own material or to export them one by one.
The table data returned by create
The four leg solids
Gets one leg of a built table by its 0-based index.
The table has four legs, so the index runs from 0 to 3. It throws when the index is outside that range.
The table data and the index of the leg
The leg solid
Gets the wooden top frame, the part that holds the glass, out of a built table.
Use it to give the frame its own material or to export it on its own.
The table data returned by create
The top frame solid
Gets an outline wire of the top frame out of a built table.
Its center is what getTableTopCenterPoint returns.
The table data returned by create
An outline wire of the top frame
Gets the glass panel set into the top out of a built table.
Use it to give the glass its own material or to export it on its own.
The table data returned by create
The glass panel solid
Gets the outline of the glass panel's upper face out of a built table.
The outline is the rectangle where the glass meets the top surface of the frame.
The table data returned by create
The outline wire of the glass
Gets the shelf between the legs out of a built table.
It throws when the table was built without a shelf, which happens when shelfTopOffset is 0.
The table data returned by create
The shelf solid
Gets an outline wire of the shelf's top out of a built table.
It throws when the table was built without a shelf, which happens when shelfTopOffset is 0.
The table data returned by create
An outline wire of the shelf's top
Gets the four legs of a built table together as one compound.
Use it to treat the legs as one shape, for example to draw them with one material.
The table data returned by create
The compound of the four legs
A low table with a wooden frame top that holds a recessed glass panel, four rectangular legs at the corners and an optional shelf between them. You vary the size, the frame and glass thicknesses, the glass inset, the chamfer, the shelf and the legs. It is computed for members of the Silver and Gold plans.