{
"nominal": {
"name": "2x4",
"thickness": {
"in": 2,
"fraction": "2",
"mm": 50.8
},
"width": {
"in": 4,
"fraction": "4",
"mm": 101.6
}
},
"type": "softwood",
"category": "dimension",
"condition": "dry",
"actual": {
"thickness": {
"in": 1.5,
"fraction": "1-1/2",
"mm": 38.1
},
"width": {
"in": 3.5,
"fraction": "3-1/2",
"mm": 88.9
}
},
"bothConditions": {
"dry": {
"thickness": {
"in": 1.5,
"fraction": "1-1/2",
"mm": 38.1
},
"width": {
"in": 3.5,
"fraction": "3-1/2",
"mm": 88.9
}
},
"green": {
"thickness": {
"in": 1.5625,
"fraction": "1-9/16",
"mm": 39.7
},
"width": {
"in": 3.5625,
"fraction": "3-9/16",
"mm": 90.5
}
}
},
"convention": {
"nominal": "The trade name of the size (2x4), measured before drying and surfacing.",
"actual": "The dressed (surfaced) size you measure on the board.",
"dry": "Seasoned to 19% moisture content or less (S-DRY, KD); the default.",
"green": "Surfaced unseasoned (S-GRN), a little larger so it shrinks to about the dry size.",
"boardFeet": "Computed from nominal sizes unless basis=actual (the trade convention).",
"lengths": "Lengths are not reduced: an 8 ft board is 8 ft (often a little over).",
"condition": "dry"
},
"disclaimer": "Reference sizes and arithmetic only, not structural or building-code advice. Mills, species, moisture and regions differ: check the actual stock and your supplier before you cut or order."
}
curl --location --request GET 'https://zylalabs.com/api/14693/lumber+size+and+board+feet+calculator+api/37981/nominal+to+actual+size+softwood+or+hardwood?nominal=2x4&type=softwood&condition=dry' --header 'Authorization: Bearer YOUR_API_KEY'
{
"type": "softwood",
"count": 21,
"sizes": [
{
"nominal": "1x2",
"category": "boards",
"condition": "dry",
"actual": {
"thickness": {
"in": 0.75,
"fraction": "3/4",
"mm": 19
},
"width": {
"in": 1.5,
"fraction": "1-1/2",
"mm": 38.1
}
}
},
{
"nominal": "1x3",
"category": "boards",
"condition": "dry",
"actual": {
"thickness": {
"in": 0.75,
"fraction": "3/4",
"mm": 19
},
"width": {
"in": 2.5,
"fraction": "2-1/2",
"mm": 63.5
}
}
},
{
"nominal": "1x4",
"category": "boards",
"condition": "dry",
"actual": {
"thickness": {
"in": 0.75,
"fraction": "3/4",
"mm": 19
},
"width": {
"in": 3.5,
"fraction": "3-1/2",
"mm": 88.9
}
}
},
{
"nominal": "1x6",
"category": "boards",
"condition": "dry",
"actual": {
"thickness": {
"in": 0.75,
"fraction": "3/4",
"mm": 19
},
"width": {
"in": 5.5,
"fraction": "5-1/2",
"mm": 139.7
}
}
},
{
"nominal": "1x8",
"category": "boards",
"condition": "dry",
"actual": {
"thickness": {
"in": 0.75,
"fraction": "3/4",
"mm": 19
},
"width": {
"in": 7.25,
"fraction": "7-1/4",
"mm": 184.1
}
}
}
],
"convention": {
"nominal": "The trade name of the size (2x4), measured before drying and surfacing.",
"actual": "The dressed (surfaced) size you measure on the board.",
"dry": "Seasoned to 19% moisture content or less (S-DRY, KD); the default.",
"green": "Surfaced unseasoned (S-GRN), a little larger so it shrinks to about the dry size.",
"boardFeet": "Computed from nominal sizes unless basis=actual (the trade convention).",
"lengths": "Lengths are not reduced: an 8 ft board is 8 ft (often a little over).",
"condition": "dry"
},
"disclaimer": "Reference sizes and arithmetic only, not structural or building-code advice. Mills, species, moisture and regions differ: check the actual stock and your supplier before you cut or order."
}
curl --location --request GET 'https://zylalabs.com/api/14693/lumber+size+and+board+feet+calculator+api/37982/common+sizes+with+their+actual+dimensions?type=softwood&condition=dry' --header 'Authorization: Bearer YOUR_API_KEY'
{
"input": {
"thickness": {
"in": 2,
"fraction": "2",
"mm": 50.8
},
"width": {
"in": 4,
"fraction": "4",
"mm": 101.6
},
"nominal": "2x4",
"length": {
"ft": 8,
"in": 96,
"m": 2.438
},
"qty": 10,
"type": "softwood",
"category": "dimension"
},
"basis": "nominal",
"boardFeet": {
"perPiece": 5.333,
"total": 53.333
},
"linearFeet": 80,
"linearMeters": 24.384,
"volume": {
"ft3": 4.4444,
"m3": 0.1259
},
"cost": {
"price": 4.5,
"priceUnit": "piece",
"perPiece": 4.5,
"total": 45,
"perBoardFoot": 0.8438,
"perLinearFoot": 0.5625
},
"formula": "board feet = thickness (in) x width (in) x length (ft) / 12, per piece",
"convention": {
"nominal": "The trade name of the size (2x4), measured before drying and surfacing.",
"actual": "The dressed (surfaced) size you measure on the board.",
"dry": "Seasoned to 19% moisture content or less (S-DRY, KD); the default.",
"green": "Surfaced unseasoned (S-GRN), a little larger so it shrinks to about the dry size.",
"boardFeet": "Computed from nominal sizes unless basis=actual (the trade convention).",
"lengths": "Lengths are not reduced: an 8 ft board is 8 ft (often a little over).",
"basis": "nominal"
},
"disclaimer": "Reference sizes and arithmetic only, not structural or building-code advice. Mills, species, moisture and regions differ: check the actual stock and your supplier before you cut or order."
}
curl --location --request GET 'https://zylalabs.com/api/14693/lumber+size+and+board+feet+calculator+api/37983/board+feet+linear+feet+volume+and+cost?nominal=2x4x8&lengthUnit=ft&qty=10&basis=nominal&type=softwood&condition=dry&price=4.5&priceUnit=piece' --header 'Authorization: Bearer YOUR_API_KEY'
{
"type": "plywood",
"thickness": {
"nominal": {
"in": 0.75,
"fraction": "3/4",
"mm": 19,
"name": "3/4"
},
"actual": {
"in": 0.7188,
"fraction": "23/32",
"mm": 18.3
},
"differs": true,
"note": "Hardwood and Baltic birch plywood sold as 3/4 is often 18 mm (0.709 in); sanded softwood plywood is usually 23/32."
},
"count": {
"sheetSize": {
"name": "4x8",
"widthFt": 4,
"lengthFt": 8,
"widthMm": 1219,
"lengthMm": 2438,
"areaFt2": 32,
"areaM2": 2.973
},
"area": {
"ft2": 320,
"m2": 29.729
},
"wastePercent": 10,
"areaWithWaste": {
"ft2": 352,
"m2": 32.702
},
"sheetsExact": 11,
"sheets": 11,
"coveredFt2": 352
},
"convention": {
"nominal": "The thickness the panel is sold as.",
"actual": "Typical measured thickness (plywood and OSB run under the name; drywall is made at it).",
"lengths": "Sheets are full size (4x8 = 48 x 96 in)."
},
"disclaimer": "Reference sizes and arithmetic only, not structural or building-code advice. Mills, species, moisture and regions differ: check the actual stock and your supplier before you cut or order."
}
curl --location --request GET 'https://zylalabs.com/api/14693/lumber+size+and+board+feet+calculator+api/37984/plywood+osb+and+drywall+thickness+and+sheets+for+an+area?type=plywood&nominal=3/4&area=320&areaUnit=ft2&size=4x8' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 木材尺寸和板尺计算器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
2x4是粗锯板的标称(贸易)尺寸 干燥和刨削使其达到成品尺寸 1-1/2 x 3-1/2 英寸 API返回两者的尺寸 单位为英寸(小数和商用分数)和毫米
干木材的湿度为19%或更低,并且是默认值。湿木材(未干燥木材)的表面略大,以便它缩小到干燥后的尺寸。一般来说,厚度在5英寸及以上的木材通常以湿木材出售,因此它们以湿尺寸来计价
厚度(英寸) x 宽度(英寸) x 长度(英尺) / 12 每件 默认按名义尺寸计算,如木材交易所定价。添加基础=实际以计算加工尺寸。
一些在宽板上打印绿色宽度(1x8的7-1/2),而整理干燥的宽度是7-1/4。API在备注中标记了这些
不 跨距和载荷取决于树种 级别和您当地的规范 API仅提供尺寸和算术
不 每个调用都是在内存中计算的 并且没有任何日志记录
每个端点返回与木材尺寸、板尺计算以及胶合板、OSB 和干墙的板数相关的特定数据例如名义尺寸到实际尺寸的端点提供名义和实际格式的尺寸而板尺端点根据用户输入计算体积和成本
关键字段包括名义尺寸、实际尺寸(厚度和宽度)、类型(软木或硬木)、类别(板材、尺寸材料、木材)和成本细节。对于板尺计算,还包括板尺、线性尺和体积等字段
参数因端点而异,但通常包括名义尺寸(例如2x4)、尺寸(厚度和宽度)、长度、类型(软木或硬木)以及面积规格用于片数。用户可以通过指定这些参数来自定义请求
响应数据采用JSON格式结构,其中包含维度、条件和计算的嵌套对象。例如,板木尺端点将输入数据、计算值和成本细节组织在不同的部分以便清晰。
该API提供有关名义和实际木材尺寸、板尺计算以及各种材料的板数信息。每个端点专注于特定方面,例如尺寸、体积和成本,旨在满足用户需求
用户可以通过解释建筑项目的维度来利用返回的数据,计算材料成本,并确定特定区域所需的板材数量。结构化格式便于集成到应用程序或电子表格中
典型的使用案例包括建筑规划、估算材料成本以及确定项目的木材需求。建筑商和承包商可以使用API快速访问准确的木材尺寸和价格信息
数据准确性通过使用标准化的木材尺寸公约和行业实践来保持 API引用了已建立的图表和指南,确保用户在计算中获得可靠和一致的信息