bd-materials
v0.2.6Typical-values engineering materials for build123d -- with finishes and three.js PBR looks
$ uv add bd-materialsbd_materials
Typical-value engineering materials — give a part a named material, get its mass and mechanical/thermal properties, and resolve how it looks (finish + color → three.js PBR).
from bd_materials import metals, finishes
part = metals.aluminum(metals.Alu.G7075_T6, finishes.anodize("champagne"))
part.material.mass(volume_mm3=8000) # grams
part.material # print -> typical-value range table
part.pbr # three.js material for OCP VSCode
1. Purpose
bd_materials is not a materials database. It is an opinionated, curated list of the common materials you actually reach for in mechanical/CAD design, with typical-value ranges for the properties and a single representative density.
⚠️ Disclaimer — read this
- Typical values only. Every mechanical/thermal property is a min–max
Range, not a guaranteed spec. Evendensityis a single representative value, not exact.- Real products can fall outside the range. Temper, heat treatment, product form, process (esp. additive), fillers and supplier variation all shift the numbers. The bands are common-knowledge typical figures — cross-checked, but approximate.
- For the early design phase. Use it for sizing, material selection, mass estimates and visualisation. In detailed design, use the actual product's data sheet.
- A property may be
None(value not filled in) orNOT_SUITABLE(Range(nan, nan)— the property does not apply, e.g. an elastomer's yield strength).- The
familytag drives the look (PBR), not the physics. Where three.js lacks a dedicated factory it falls back to the nearest bundled look.
2. Materials & finishes — organised by manufacturing process
The taxonomy follows how parts are actually made and finished, not an abstract chemistry tree.
Materials — 7 categories, grouped into families (grade enums)
| Category | Families (grade enums) | Grades |
|---|---|---|
metals |
Alu, Stainless, MildSteel, AlloySteel, ToolSteel, SpringSteel, Titanium, Brass, Copper, Magnesium, Bronze, Gold, Silver |
40 |
plastics |
PLA, ABS, Nylon, Peek, TPU, PC, PP, POM, PTFE, PMMA, PE, Phenolic, Rubber, PETG, PPS, FR4, CFRP, Asa |
26 |
resins |
Standard, Tough, HighTemp, Ceramic, Castable, Esd, Transparent, Flexible |
8 |
glass |
SodaLime, Borosilicate |
2 |
wood |
Hardwood, Softwood, EngineeredWood |
13 |
paper |
Paper, Cardboard, Foamboard |
3 |
textile |
Woven, Felt, Leather |
3 |
Grades encode the condition that governs properties — e.g. Alu.G7075_T6 (temper), Stainless.G316L_AS_BUILT (SLM as-built) vs G316L_ANNEALED (wrought), Nylon.PA12_SINTERED (SLS/MJF powder). Same alloy, different process → different grade.
Finishes — grouped by process family
Group (finishes.…) |
Finishes |
|---|---|
| Mechanical | bead blast, brushed, fine sanding, smooth machining, electropolish |
| Chemical | anodize, chem film, conductive oxidation, black oxide, passivate, pickle, dye |
| Metal plating | chrome, gold/nickel/silver/tin plate, PVD, zinc plate, vacuum plating |
| Coating | powder coat, spray paint, electrophoresis |
| Marking | laser engrave, etch, silkscreen |
Finishes are advisory hints, not gates — any finish may be applied to any material.
The applicability module answers "which finish typically suits which material" without restricting.
Processes — the as-made surface, before any finish
processes.… mirrors finishes.…: a flat verb function binds the per-part texture
geometry to a production route and returns an AppliedProcess. Which geometry each one
exposes follows what its surface looks like — the same rule the finishes use.
Process (processes.…) |
Takes | Surface |
|---|---|---|
fdm |
layer_height_mm, rotation, mm_per_uv |
wall: stacked layer lines |
fdm_skin |
line_width_mm, rotation |
top/bottom: solid infill at 45° |
sls, mjf, slm |
scale |
sintered powder (isotropic) |
vat, molded, machined, cast, wrought |
— | smooth, no as-made relief |
Both FDM maps are authored over a millimetre-true tile, so the printed spacing stays accurate on a part of any size, and their pitch argument scales the tile by the same ratio. The two pitches measure different things: a wall's beads are stacked, so its pitch is the layer height (0.2 mm authored); a skin's sit side by side, so its pitch is the extrusion width (0.4 mm authored). That is why they are separate functions rather than a flag — a single one would carry a dead argument in each mode.
rotation differs too: on the wall it lays the lines parallel to the base plate (which
depends on how the part sits on it); on the skin it is the infill direction, authored at
45° with -45 giving the bottom face, the way slicers alternate. Both still report
Process.FDM — same print, different face:
faces = box.faces().sort_by()
top, bot = faces[-1], faces[0]
top.material = plastics.asa(color="red", process=processes.fdm_skin())
bot.material = plastics.asa(color="red", process=processes.fdm_skin(rotation=-45))
for w in faces - [top, bot]:
w.material = plastics.asa(color="red", process=processes.fdm(rotation=90))
show(bot, top, faces - [top, bot]) # show the faces you assigned to
Curved faces — mm_per_uv
The layer map is sampled in surface-parameter space, so its spacing depends on how each face is parameterized. Planar faces and a cylinder's lateral surface are already metric along the build axis — one UV unit is one millimetre — and need nothing. A sphere's latitude is an angle: it spans π radians whatever the radius, so one UV unit is the radius in mm, and without saying so every sphere renders the same fixed ~16 layers. Tell it the conversion:
sphere.faces()[0].material = plastics.asa(process=processes.fdm(mm_per_uv=radius))
rotation and mm_per_uv are the same kind of knob — both compensate for the face's
parameterization, one for direction and one for spacing.
There is a limit worth knowing: real layers are planes of constant world Z, while a UV texture follows the surface, so on a doubly-curved face the spacing can only be right on average (exact at a sphere's equator, slightly compressed near the poles). Only triplanar projection, which samples in world space, is exact everywhere.
3. Examples
-
Aluminum, grade 6061, temper T6:
# mechanical properties density 2700 kg/m³ hardness 85 to 100 HB modulus_of_elasticity 66 to 70 GPa poisson_ratio 0.32 to 0.35 shear_modulus 25 to 28 GPa shear_strength 200 to 210 MPa tensile_strength 290 to 320 MPa yield_strength 240 to 280 MPa # thermal properties max_service_temp 80 to 120 °C melting_temperature 570 to 660 °C specific_heat_capacity 875 to 950 J/(kg·K) thermal_conductivity 130 to 180 W/(m·K) thermal_expansion 2.2e-05 to 2.4e-05 1/K -
PLA, carbon filled:
# mechanical properties density 1250 kg/m³ elongation_at_break 1 to 3 % hardness 80 to 88 Shore D modulus_of_elasticity 4 to 7 GPa poisson_ratio 0.35 to 0.4 shear_modulus 2 to 3.5 GPa shear_strength 30 to 50 MPa tensile_strength 40 to 65 MPa yield_strength 40 to 55 MPa # thermal properties glass_transition_temperature 55 to 65 °C heat_deflection_temperature 55 to 70 °C max_service_temp 55 to 65 °C specific_heat_capacity 1500 to 1700 J/(kg·K) thermal_conductivity 0.15 to 0.3 W/(m·K) thermal_expansion 2.5e-05 to 5e-05 1/K -
Hardwood, maple:
# mechanical properties compressive_strength_parallel 48 to 60 MPa density 705 kg/m³ janka_hardness 5500 to 7000 N modulus_of_elasticity 11 to 14 GPa modulus_of_rupture 95 to 120 MPa # thermal properties specific_heat_capacity 1200 to 1700 J/(kg·K) thermal_conductivity 0.12 to 0.18 W/(m·K)
4. Public API — from defaults to sophisticated
Every family function returns a FinishedMaterial: .material is the physics, .pbr is the look.
from bd_materials import metals, plastics, glass, wood, finishes, processes
# 1 — defaults only: the most common grade, bare surface
metals.aluminum() # 6061-T6
plastics.pla() # generic PLA
wood.hardwood() # generic hardwood
# 2 — pick a grade (grade is first-positional)
metals.aluminum(metals.Alu.G7075_T6)
metals.stainless(metals.Stainless.G316L_AS_BUILT) # SLM as-built
wood.hardwood(wood.Hardwood.OAK)
resins.tough() # each resin type is its own family fn
# 3 — selectable color (plastics/resins/paper/textile) and transparent panes
plastics.pla(color="red")
plastics.pmma(color="clear", thickness_mm=3) # transparent -> pane thickness
glass.borosilicate(color="green", thickness_mm=5)
# 4 — a finish (color and, for paints/coats, a sheen ride on the finish)
metals.aluminum(finish=finishes.anodize("champagne")) # finish on default grade
metals.aluminum(metals.Alu.G7075_T6, finishes.anodize("blue")) # grade + finish
metals.mild_steel(finish=finishes.powder_coat("green", finishes.Sheen.MATTE))
metals.brass(finish=finishes.pvd("gold"))
# 5 — texture scale & rotation (a UV transform on the resolved look)
metals.aluminum(finish=finishes.brushed(scale=(2, 2), rotation=90)) # finer, cross-grain
wood.hardwood(wood.Hardwood.OAK, scale=(2, 2)) # tile the wood-grain texture
# brushed takes scale+rotation (directional); bead_blast/fine_sanding are isotropic
# (scale only). wood/textile/paper take both; a textured finish's transform wins.
# 6 — process nudges the *bare* as-made surface (how the part was produced)
plastics.pla(color="black", process=processes.fdm()) # printed layer lines
plastics.pla(color="black", process=processes.fdm(rotation=90)) # lines || base plate
plastics.pla(color="black", process=processes.fdm(layer_height_mm=0.1)) # finer layers
plastics.nylon(process=processes.sls()) # powder-bed: as-built matte
plastics.pla(color="black", process=processes.molded()) # smooth, like the bare default
# process functions mirror the finish functions: fdm is directional (rotation +
# layer_height_mm, a real millimetre pitch held at any part size), sls/mjf/slm are
# isotropic (scale only), and the rest take nothing. Passing a bare Process member
# still works but is deprecated -- it cannot carry the per-part geometry.
# note: finish and process are mutually exclusive (a finished part is smooth)
# 7 — inspect the physics, compute mass, resolve the look
al = metals.aluminum(metals.Alu.G7075_T6)
print(al.material) # aligned "property min to max unit" table
al.material.mass(volume_mm3=8000) # grams (density x volume)
al.material.tensile_strength # Range(min=540, max=600) MPa
al.pbr # three.js PbrProperties
# density is a single representative value -- override it per part (e.g. measured):
metals.aluminum(density=2705).material.mass(volume_mm3=8000) # uses 2705, not 2700
# 8 — advisory applicability queries (never a constraint)
from bd_materials import typical_finishes, typical_materials
typical_finishes(metals.aluminum().material) # [Anodized, Bead Blast, ...]
typical_materials(finishes.Chemical.ANODIZED) # [Alu_G6061_T6, ..., Titanium_...]
# 9 — define your own material (not in the catalog): custom_<category>(...)
metals.custom_metal(name="MyAlloy", density=4500, family="titanium",
tensile_strength=900, yield_strength=830, # bare numbers = exact
hardness=350, hardness_scale="HB",
finish=finishes.anodize("blue")) # -> a FinishedMaterial
# each property is a Range(lo, hi) band, a bare number (exact value, min == max),
# None (missing) or NOT_SUITABLE (n/a). Returns a FinishedMaterial, so finishes /
# color / scale apply just like a catalog material; pass pbr=... for a ready-made look.
# 10 — look a material up by name (for consumers that assign one as a string)
from bd_materials import resolve, factory, material_names, canonical_name
resolve("aluminum") # == metals.aluminum()
resolve("oak"), resolve("felt"), resolve("mild steel")
resolve("Alu_G7075_T6") # a specific grade, by its name
factory("aluminum")(finish=finishes.anodize("blue")) # the family function, un-called
canonical_name(resolve("aluminum")) # -> "Alu_G6061_T6" (round-trips)
material_names() # all 155 accepted names
Grade enums live on their module (metals.Alu, glass.Borosilicate, …) or import directly: from bd_materials.materials.metals import Alu. Families with a single grade (e.g. glass.borosilicate(), resins.tough()) default to it, so you never need the enum until a family has more than one grade.
5. API reference — parameters by category
Every family function returns a FinishedMaterial and shares a common trailer (finish, process, density); the appearance parameters differ by category, following each category's color/texture model. grade is always first-positional and defaults to the most common grade. All parameters below the grade are keyword-friendly and optional.
metals — fixed intrinsic color
aluminum | stainless | mild_steel | alloy_steel | spring_steel |
tool_steel | titanium | brass | copper | magnesium | bronze | gold | silver
(grade=<default>, finish=None, process=None, density=None)
The metal's look is derived from its family — there is no color (recolor via a finish, e.g. anodize/powder_coat). Brushed/blasted relief comes from the finish, which carries its own scale/rotation.
plastics — selectable color; transparent grades add pane/opacity/roughness
# opaque grades (selectable filament/part color)
pla | abs_ | nylon | peek | tpu | pp | pom | ptfe | pe | phenolic |
rubber | petg | asa | pps | fr4 | cfrp
(grade=<default>, color=None, finish=None, process=None, density=None)
# transparent grades
pc | pmma
(grade=<default>, color=None, thickness_mm=None, opacity=None,
roughness=None, finish=None, process=None, density=None)
resins — selectable color; the transparent resin adds pane/opacity/roughness
standard | tough | high_temp | ceramic | castable | esd | flexible
(grade=<default>, color=None, finish=None, process=None, density=None)
transparent
(grade=<default>, color=None, thickness_mm=None, opacity=None,
roughness=None, finish=None, process=None, density=None)
glass — always transmissive
soda_lime | borosilicate
(grade=<default>, color=None, thickness_mm=None, opacity=None,
roughness=None, finish=None, process=None, density=None)
wood — fixed intrinsic color + substrate texture
hardwood | softwood | engineered_wood
(grade=<default>, finish=None, process=None, density=None,
scale=(1, 1), rotation=0)
The grain look is derived from family — no color; scale/rotation tile/orient the wood-grain texture.
paper — selectable color (except cardboard) + substrate texture
paper | foamboard
(grade=<default>, color=None, finish=None, process=None, density=None,
scale=(1, 1), rotation=0)
cardboard # fixed kraft look — no color
(grade=<default>, finish=None, process=None, density=None,
scale=(1, 1), rotation=0)
textile — selectable color + substrate texture
woven | felt | leather
(grade=<default>, color=None, finish=None, process=None, density=None,
scale=(1, 1), rotation=0)
Parameter glossary
| Parameter | Type | Categories | Meaning |
|---|---|---|---|
grade |
grade enum | all | Which grade to build; first-positional. Single-grade families default it. |
color |
color-like (see below) | plastics, resins, glass, textile, paper (not cardboard) | Selectable base color. Absent where the color is fixed intrinsic. Also on the finish verbs (anodize(color) …). |
thickness_mm |
float |
transparent (pc, pmma, resin transparent, glass) |
Pane thickness (mm) driving the transmissive refraction/tint look. |
opacity |
float 0.0–1.0 |
transparent (as above) | 0.0 fully clear … 1.0 opaque; None keeps the clear look. A milky PC V-wheel ≈ 0.65. |
roughness |
float 0.0–1.0 |
transparent (as above) | 0.0 glossy … 1.0 matte/frosted; None keeps the factory value. Independent of opacity. |
scale |
(u, v) |
wood, paper, textile | Substrate-texture UV scale; (2, 2) tiles it twice as fine. Default (1, 1). |
rotation |
float (degrees, CCW) |
wood, paper, textile | Substrate-texture rotation. Default 0. |
finish |
AppliedFinish / list |
all | Surface finish(es), e.g. anodize("blue"). Mutually exclusive with process. |
process |
AppliedProcess |
all | How the part was made, from a process function — fdm() → layer lines; sls()/mjf()/slm() → matte. Mutually exclusive with finish. |
density |
float |
all | Per-part override of the representative density (kg/m³) — cast-free copy of the material. |
Color inputs
Anywhere a color= is accepted (material families and the finish verbs), the value is color-like — the same shapes as build123d's ColorLike:
plastics.pla(color="red") # any CSS3 name (via webcolors)
plastics.pla(color="dodgerblue") # ...all ~147 of them
plastics.pla(color="#ff8800") # hex "#rrggbb" / "#rrggbbaa"
plastics.pla(color=0xff8800) # packed 0xRRGGBB int
plastics.pla(color=(1.0, 0.5, 0.0)) # 0..1 RGB(A) tuple
plastics.pla(color=("red", 0.5)) # (name, alpha)
plastics.pc(color=Color("white"), opacity=0.45) # a build123d Color
Named colors resolve through webcolors — the same resolver build123d and ocp-tessellate use — so color="name" equals build123d's Color("name") for every CSS3 name. (bd_materials adds a few of its own: the no-tint sentinels "natural"/"clear" and the metallic looks "gunmetal"/"nickel"/"chrome"/"rose gold"/"champagne".)
bd_materials cannot import build123d (build123d depends on bd_materials), so it accepts these structurally, never by importing the type — a build123d Color is Iterable[float], and a raw OCP Quantity_ColorRGBA is duck-typed. Alpha is dropped: transparency is the dedicated opacity / thickness_mm axes, not a color channel.
Beyond these parameters
For a look tweak not modeled by a keyword, resolve .pbr, adjust it with .override(...), and (optionally) pin it back — the escape hatch to the full three.js MeshPhysicalMaterial surface (clearcoat, attenuation_color, ior, …):
m = plastics.pc(color="white", thickness_mm=2, opacity=0.45)
m.pbr = m.pbr.override(roughness=0.45, clearcoat=1.0) # store the tuned look back
The per-part fields stay on the object as provenance; .pbr now returns the pinned look. (A ready-made look can also be passed at construction as pbr=…, which is mutually exclusive with the per-part appearance inputs.)
Custom materials
Each category exposes custom_<category>(name, density, *, …) — metals.custom_metal, plastics.custom_plastic, resins.custom_resin, glass.custom_glass, wood.custom_wood, paper.custom_paper, textile.custom_textile. name and density are required positional; everything else is keyword-only: the rest of the identity (family PBR key, transparent, hardness_scale where it applies), every property field as a Range / bare number (exact value) / None / NOT_SUITABLE, the same per-part trailer as that category (so a transparent custom_plastic accepts thickness_mm/opacity/roughness, a custom_wood accepts scale/rotation, …), plus pbr= for a ready-made look. Returns a FinishedMaterial.
Lookup by name
For consumers that assign a material as a string — part.material = "aluminum" — the catalog is also reachable by name, without importing a category module or a grade enum:
from bd_materials import resolve, factory, material_names, canonical_name
resolve("aluminum") # -> FinishedMaterial, == metals.aluminum()
resolve("Alu_G7075_T6") # -> that specific grade
factory("oak")(scale=(2, 2)) # the family function itself, for the per-part arguments
canonical_name(resolve("aluminum")) # -> "Alu_G6061_T6"
Two key sets, both derived from the catalog, so a new family or grade is addressable the day it lands:
| Key set | Count | Example | Resolves to |
|---|---|---|---|
| family names | 61 | aluminum, mild_steel, oak, felt, pla |
that family's default grade |
| grade names | 94 | Alu_G7075_T6, Hardwood_OAK, PETG_CF |
that exact grade |
The family names are the family/species function names (abs_ is keyed abs); the grade names are the materials' own names. Matching folds case, and reads spaces and hyphens as underscores ("Mild Steel" == "mild_steel"). An unknown name raises ValueError naming the closest matches.
resolve(name)returns a freshFinishedMaterialper call — it is mutable, so a shared instance would let one part'scolor/pbrchange leak into another. It also passes aFinishedMaterialthrough unchanged and wraps a bareMaterial, so a caller accepting a material in any of the three forms normalizes it with one call.factory(name)returns the family function un-called, so the per-part arguments still apply:factory("Alu_G7075_T6")(density=2790). A grade name binds only the grade, so both key sets take the same arguments.canonical_name(material)is the reverse: the material's catalog name, always the grade name so it stays exact if a family's default grade ever changes. It names the material only — aFinishedMaterial's color/finish/process are not encoded. Acustom_*material has no registry entry and raises.
6. Material classes
Shared primitives live in bd_materials.core:
Range(min, max)— a closed typical-value band;Range.value_at(r)samples it (0→ min,1→ max).NOT_SUITABLE=Range(nan, nan)(property N/A).PROPERTY_UNITS— the single unit + display-order table spanning all categories.Category/ALLOWED_CATEGORIES— the material taxonomy, validated per class.RangeMaterial— mixin givingmass(volume_mm3), a pretty__str__, and the identity fieldsname,density,category,family,transparent.
Each category is a frozen dataclass with the physics-range fields relevant to it:
| Class | Category-specific fields (beyond the shared solid ranges) |
|---|---|
MetalMaterial |
yield_strength, shear_strength, hardness(+hardness_scale), melting_temperature |
PlasticMaterial |
yield_strength, shear_strength, elongation_at_break, glass_transition_temperature, heat_deflection_temperature, hardness(+scale) |
ResinMaterial |
same as plastic (hardness_scale = Shore D rigid / Shore A flexible) |
GlassMaterial |
hardness(+scale, HV), glass_transition_temperature, melting_temperature (no yield — brittle) |
WoodMaterial |
along-grain modulus_of_elasticity, modulus_of_rupture, compressive_strength_parallel, janka_hardness |
PaperMaterial / TextileMaterial |
areal goods: areal_density (grammage), thickness, in-plane tensile_strength |
Intrinsic facts (family, category, transparent) live on the Material; per-part choices (color, thickness_mm, opacity, roughness, scale, rotation, finish, process) live on the FinishedMaterial:
FinishedMaterial(material, finish=None, *, color=None, thickness_mm=None,
opacity=None, roughness=None, scale=(1, 1), rotation=0,
process=None, pbr=None)
.material # the physics (a shared, immutable range table)
.name # the material's catalog name (== .material.name)
.pbr # the resolved three.js look (get; set to pin a tuned look)
opacity (0→clear, 1→opaque) and roughness (0→glossy, 1→matte) are meaningful only for a transparent material (see §5). .pbr is settable — assign .pbr.override(...) to pin a tuned look for tweaks no keyword models.
scale=(u, v) / rotation (degrees, CCW) are a texture UV transform — scale(2, 2) tiles a texture twice as fine. They apply to a substrate texture (wood grain, fabric weave, paper — set on the wood/textile/paper family functions) or a finish texture (brushed grain — set on the finish verb); a textured finish's transform takes precedence.
Each category module also exposes its <Cat>Material class, its grade enum(s), a public <FAMILY>_MATERIALS dict per family, and an ALL_<CATEGORY> tuple.
Define your own material with custom_<category>() — custom_metal, custom_plastic, custom_resin, custom_glass, custom_wood, custom_paper, custom_textile. name and density are the two required (positional) args; everything else is keyword-only — the rest of the identity (family, transparent, hardness_scale where it applies) plus every property field, each a Range, a bare number (an exact value, min == max, coerced via core.as_range), or None (missing / NOT_SUITABLE). It returns a FinishedMaterial, so a finish, color and the texture transform apply exactly as for a catalog material, and pbr= supplies a ready-made look. Coercion lives in the function, so the catalog stays strict Range.
7. Finish classes
In bd_materials.finishes:
Finish— a finish's intrinsic spec:name,colors(its standard palette),notes.Sheen—GLOSS(default) /MATTE, a per-application choice for paints/coatings.AppliedFinish— aFinishplus the per-partcolorandsheen(and, for the textured verbs, thescale/rotationUV transform). This is what the verb functions return and whatFinishedMaterial(finish=…)accepts.brushed(scale=(2, 2), rotation=90)takes both (directional grain);bead_blast/fine_sandingare isotropic →scaleonly.- Group enums (
Mechanical,Chemical,MetalPlating,Coating,Marking) + their<GROUP>_FINISHESdicts are the maintenance backbone; the verb functions are the API.
Color is handled per finish:
- Mandatory where the finish is defined by color —
anodize(color),dye(color),powder_coat(color, sheen=…),spray_paint(...),vacuum_plating(...). - Sensible default where a natural look exists —
pvd("clear"),zinc_plate("clear"),silkscreen("black")."clear"/"natural"render the bare substrate (no tint). - None where fixed/inherent —
chrome(),gold_plate(),electrophoresis()(black), and the mechanical finishes (bead_blast(),brushed(), …).
finish and process are mutually exclusive on a FinishedMaterial: a finish defines the surface, so the raw as-made process texture is moot (a spray-painted print is sanded first, hence smooth).
The material↔finish applicability relation lives in bd_materials.applicability as one central table with two advisory queries — typical_finishes(material) and typical_materials(finish).
Install & environment
Not on pypi yet
pip install -e .
Runtime dependencies: threejs-materials (without materialx support — just the out-of-the-box materials; FinishedMaterial.pbr yields a three.js material for the OCP VSCode viewer) and webcolors (~=24.8.0, the same color-name resolver build123d and ocp-tessellate use, so a named color= matches build123d's Color(name)).
Details
- Version
- 0.2.6
- License
- Apache-2.0
- Python
- >=3.10
- Maintainer
- Bernhard Walter <[email protected]>
Links
Release Cadence
Maintainers
- Bernhard Walter · [email protected]