swcad-js 0.10.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +5 -0
  3. package/docs/builders.arches.html +578 -0
  4. package/docs/builders.buttress.html +782 -0
  5. package/docs/builders.columns.html +392 -0
  6. package/docs/builders.entryways.html +655 -0
  7. package/docs/builders.html +154 -0
  8. package/docs/builders.roofs.html +1024 -0
  9. package/docs/builders.walls.html +609 -0
  10. package/docs/colors.html +132 -0
  11. package/docs/core.constants.html +1387 -0
  12. package/docs/core.errors.html +227 -0
  13. package/docs/core.geometry.html +533 -0
  14. package/docs/core.geometry.points.html +284 -0
  15. package/docs/core.geometry.regPoly.html +823 -0
  16. package/docs/core.html +456 -0
  17. package/docs/core.internals.html +227 -0
  18. package/docs/core.maths.html +227 -0
  19. package/docs/core.position.cuboid.html +725 -0
  20. package/docs/core.position.html +640 -0
  21. package/docs/core.position.rectangle.html +725 -0
  22. package/docs/core.position.triangle.html +133 -0
  23. package/docs/core.specifications.html +227 -0
  24. package/docs/core.standards.html +227 -0
  25. package/docs/design/entities.md +22 -0
  26. package/docs/design/internals.md +98 -0
  27. package/docs/design/packages.md +29 -0
  28. package/docs/design/system.dot +44 -0
  29. package/docs/design/system.svg +140 -0
  30. package/docs/families.brick.html +139 -0
  31. package/docs/families.brick.northAmerica.html +133 -0
  32. package/docs/families.crafts.html +132 -0
  33. package/docs/families.dowelFittings.dowelCouplers.html +133 -0
  34. package/docs/families.dowelFittings.dowelJigs.html +133 -0
  35. package/docs/families.dowelFittings.dowelJoists.html +133 -0
  36. package/docs/families.dowelFittings.html +145 -0
  37. package/docs/families.lumber.html +139 -0
  38. package/docs/families.lumber.northAmerica.html +133 -0
  39. package/docs/families.paper.html +132 -0
  40. package/docs/families.tile.html +139 -0
  41. package/docs/families.tile.northAmerica.html +133 -0
  42. package/docs/families.trim.aranea.html +133 -0
  43. package/docs/families.trim.html +139 -0
  44. package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
  45. package/docs/fonts/OpenSans-Bold-webfont.svg +1830 -0
  46. package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
  47. package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  48. package/docs/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
  49. package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  50. package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
  51. package/docs/fonts/OpenSans-Italic-webfont.svg +1830 -0
  52. package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
  53. package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
  54. package/docs/fonts/OpenSans-Light-webfont.svg +1831 -0
  55. package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
  56. package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  57. package/docs/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
  58. package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  59. package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
  60. package/docs/fonts/OpenSans-Regular-webfont.svg +1831 -0
  61. package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
  62. package/docs/global.html +746 -0
  63. package/docs/img/entryways-1.png +0 -0
  64. package/docs/img/gallery-1.png +0 -0
  65. package/docs/img/gallery-2.png +0 -0
  66. package/docs/img/wall-1.png +0 -0
  67. package/docs/index.html +71 -0
  68. package/docs/layers.html +132 -0
  69. package/docs/layout.html +486 -0
  70. package/docs/models.html +142 -0
  71. package/docs/models.prefab.foils3d.html +1412 -0
  72. package/docs/models.prefab.html +149 -0
  73. package/docs/models.prefab.mesh3d.html +133 -0
  74. package/docs/models.prefab.mouldings.html +1254 -0
  75. package/docs/models.prefab.text3d.html +431 -0
  76. package/docs/models.profiles.connections.html +727 -0
  77. package/docs/models.profiles.curves.html +1166 -0
  78. package/docs/models.profiles.edge.html +601 -0
  79. package/docs/models.profiles.ellipse.html +1166 -0
  80. package/docs/models.profiles.foils2d.html +1412 -0
  81. package/docs/models.profiles.frameRect.html +1018 -0
  82. package/docs/models.profiles.html +775 -0
  83. package/docs/models.profiles.rectangle.html +1166 -0
  84. package/docs/models.profiles.reinforcement.html +1607 -0
  85. package/docs/models.profiles.text2d.html +284 -0
  86. package/docs/models.profiles.triangle.html +1166 -0
  87. package/docs/scripts/linenumber.js +25 -0
  88. package/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
  89. package/docs/scripts/prettify/lang-css.js +2 -0
  90. package/docs/scripts/prettify/prettify.js +28 -0
  91. package/docs/static/design/system.svg +140 -0
  92. package/docs/static/img/entryways-1.png +0 -0
  93. package/docs/static/img/gallery-1.png +0 -0
  94. package/docs/static/img/gallery-2.png +0 -0
  95. package/docs/static/img/wall-1.png +0 -0
  96. package/docs/styles/jsdoc-default.css +358 -0
  97. package/docs/styles/prettify-jsdoc.css +111 -0
  98. package/docs/styles/prettify-tomorrow.css +132 -0
  99. package/docs/swcad-js-builders_src_builders_arches.js.html +153 -0
  100. package/docs/swcad-js-builders_src_builders_buttress.js.html +162 -0
  101. package/docs/swcad-js-builders_src_builders_columns.js.html +204 -0
  102. package/docs/swcad-js-builders_src_builders_entryways.js.html +217 -0
  103. package/docs/swcad-js-builders_src_builders_index.js.html +74 -0
  104. package/docs/swcad-js-builders_src_builders_roofs.js.html +287 -0
  105. package/docs/swcad-js-builders_src_builders_walls.js.html +241 -0
  106. package/docs/swcad-js-core_node_modules_sw-jscad-std-specs_src_core_constants.js.html +86 -0
  107. package/docs/swcad-js-core_node_modules_sw-jscad-std-specs_src_core_errors.js.html +80 -0
  108. package/docs/swcad-js-core_node_modules_sw-jscad-std-specs_src_core_index.js.html +73 -0
  109. package/docs/swcad-js-core_node_modules_sw-jscad-std-specs_src_core_internals.js.html +128 -0
  110. package/docs/swcad-js-core_node_modules_sw-jscad-std-specs_src_core_maths.js.html +131 -0
  111. package/docs/swcad-js-core_node_modules_sw-jscad-std-specs_src_core_specifications.js.html +151 -0
  112. package/docs/swcad-js-core_node_modules_sw-jscad-std-specs_src_core_standards_index.js.html +100 -0
  113. package/docs/swcad-js-core_node_modules_sw-jscad-std-specs_src_core_standards_std-lumber.js.html +169 -0
  114. package/docs/swcad-js-core_src_core_geometry_geo-reg-poly.js.html +123 -0
  115. package/docs/swcad-js-core_src_core_geometry_geometry.js.html +199 -0
  116. package/docs/swcad-js-core_src_core_index.js.html +68 -0
  117. package/docs/swcad-js-core_src_core_position_pos-cuboid.js.html +214 -0
  118. package/docs/swcad-js-core_src_core_position_pos-rectangle.js.html +155 -0
  119. package/docs/swcad-js-core_src_core_position_pos-triangle.js.html +181 -0
  120. package/docs/swcad-js-core_src_core_position_position.js.html +150 -0
  121. package/docs/swcad-js-core_src_models_index.js.html +67 -0
  122. package/docs/swcad-js-core_src_models_prefab_foils-3d.js.html +214 -0
  123. package/docs/swcad-js-core_src_models_prefab_index.js.html +68 -0
  124. package/docs/swcad-js-core_src_models_prefab_mesh-3d.js.html +570 -0
  125. package/docs/swcad-js-core_src_models_prefab_mouldings.js.html +162 -0
  126. package/docs/swcad-js-core_src_models_prefab_text-3d.js.html +129 -0
  127. package/docs/swcad-js-core_src_models_profiles_connections.js.html +296 -0
  128. package/docs/swcad-js-core_src_models_profiles_edge.js.html +155 -0
  129. package/docs/swcad-js-core_src_models_profiles_foils-2d.js.html +187 -0
  130. package/docs/swcad-js-core_src_models_profiles_frame-rect.js.html +468 -0
  131. package/docs/swcad-js-core_src_models_profiles_profiles.js.html +536 -0
  132. package/docs/swcad-js-core_src_models_profiles_reinforcement.js.html +278 -0
  133. package/docs/swcad-js-core_src_models_profiles_text-2d.js.html +92 -0
  134. package/docs/swcad-js-core_src_utils_extras.js.html +84 -0
  135. package/docs/swcad-js-core_src_utils_index.js.html +68 -0
  136. package/docs/swcad-js-core_src_utils_transform.js.html +164 -0
  137. package/docs/swcad-js-families_src_brick_brick-na.js.html +94 -0
  138. package/docs/swcad-js-families_src_brick_index.js.html +67 -0
  139. package/docs/swcad-js-families_src_crafts_index.js.html +168 -0
  140. package/docs/swcad-js-families_src_dowel-fittings_dowel-couplers.js.html +166 -0
  141. package/docs/swcad-js-families_src_dowel-fittings_dowel-jigs.js.html +392 -0
  142. package/docs/swcad-js-families_src_dowel-fittings_dowel-joists.js.html +498 -0
  143. package/docs/swcad-js-families_src_dowel-fittings_index.js.html +69 -0
  144. package/docs/swcad-js-families_src_lumber_index.js.html +67 -0
  145. package/docs/swcad-js-families_src_lumber_lumber-na.js.html +84 -0
  146. package/docs/swcad-js-families_src_paper_index.js.html +128 -0
  147. package/docs/swcad-js-families_src_tile_index.js.html +67 -0
  148. package/docs/swcad-js-families_src_tile_tile-na.js.html +111 -0
  149. package/docs/swcad-js-families_src_trim_index.js.html +67 -0
  150. package/docs/swcad-js-families_src_trim_trim-aranea.js.html +365 -0
  151. package/docs/swcad-js-std-specs_src_core_constants.js.html +86 -0
  152. package/docs/swcad-js-std-specs_src_core_errors.js.html +80 -0
  153. package/docs/swcad-js-std-specs_src_core_index.js.html +73 -0
  154. package/docs/swcad-js-std-specs_src_core_internals.js.html +128 -0
  155. package/docs/swcad-js-std-specs_src_core_maths.js.html +131 -0
  156. package/docs/swcad-js-std-specs_src_core_specifications.js.html +151 -0
  157. package/docs/swcad-js-std-specs_src_core_standards_index.js.html +100 -0
  158. package/docs/swcad-js-std-specs_src_core_standards_std-lumber.js.html +169 -0
  159. package/docs/swcad-js-ui_src_ux_colors.js.html +121 -0
  160. package/docs/swcad-js-ui_src_ux_layers.js.html +63 -0
  161. package/docs/swcad-js-ui_src_ux_layout.js.html +401 -0
  162. package/docs/tweaks.css +3 -0
  163. package/docs/utils.extras.html +431 -0
  164. package/docs/utils.html +142 -0
  165. package/docs/utils.transform.html +784 -0
  166. package/jsdoc.json +28 -0
  167. package/package.json +33 -0
  168. package/packages/swcad-js-builders/LICENSE +21 -0
  169. package/packages/swcad-js-builders/jsdoc.json +28 -0
  170. package/packages/swcad-js-builders/package.json +26 -0
  171. package/packages/swcad-js-builders/readme.md +187 -0
  172. package/packages/swcad-js-builders/src/builders/arches.js +102 -0
  173. package/packages/swcad-js-builders/src/builders/buttress.js +111 -0
  174. package/packages/swcad-js-builders/src/builders/columns.js +153 -0
  175. package/packages/swcad-js-builders/src/builders/entryways.js +166 -0
  176. package/packages/swcad-js-builders/src/builders/index.js +23 -0
  177. package/packages/swcad-js-builders/src/builders/roofs.js +236 -0
  178. package/packages/swcad-js-builders/src/builders/walls.js +190 -0
  179. package/packages/swcad-js-builders/src/index.js +9 -0
  180. package/packages/swcad-js-builders/test/README.md +3 -0
  181. package/packages/swcad-js-core/LICENSE +21 -0
  182. package/packages/swcad-js-core/jsdoc.json +28 -0
  183. package/packages/swcad-js-core/package.json +32 -0
  184. package/packages/swcad-js-core/readme.md +188 -0
  185. package/packages/swcad-js-core/src/core/geometry/geo-reg-poly.js +72 -0
  186. package/packages/swcad-js-core/src/core/geometry/geometry.js +148 -0
  187. package/packages/swcad-js-core/src/core/geometry/index.js +7 -0
  188. package/packages/swcad-js-core/src/core/index.js +17 -0
  189. package/packages/swcad-js-core/src/core/position/index.js +7 -0
  190. package/packages/swcad-js-core/src/core/position/pos-cuboid.js +163 -0
  191. package/packages/swcad-js-core/src/core/position/pos-rectangle.js +104 -0
  192. package/packages/swcad-js-core/src/core/position/pos-triangle.js +130 -0
  193. package/packages/swcad-js-core/src/core/position/position.js +99 -0
  194. package/packages/swcad-js-core/src/index.js +23 -0
  195. package/packages/swcad-js-core/src/models/index.js +16 -0
  196. package/packages/swcad-js-core/src/models/prefab/foils-3d.js +163 -0
  197. package/packages/swcad-js-core/src/models/prefab/index.js +17 -0
  198. package/packages/swcad-js-core/src/models/prefab/mesh-3d.js +519 -0
  199. package/packages/swcad-js-core/src/models/prefab/mouldings.js +111 -0
  200. package/packages/swcad-js-core/src/models/prefab/text-3d.js +78 -0
  201. package/packages/swcad-js-core/src/models/profiles/connections.js +246 -0
  202. package/packages/swcad-js-core/src/models/profiles/edge.js +105 -0
  203. package/packages/swcad-js-core/src/models/profiles/foils-2d.js +136 -0
  204. package/packages/swcad-js-core/src/models/profiles/frame-rect.js +417 -0
  205. package/packages/swcad-js-core/src/models/profiles/index.js +19 -0
  206. package/packages/swcad-js-core/src/models/profiles/mesh-2d.js +5 -0
  207. package/packages/swcad-js-core/src/models/profiles/profiles.js +485 -0
  208. package/packages/swcad-js-core/src/models/profiles/reinforcement.js +228 -0
  209. package/packages/swcad-js-core/src/models/profiles/text-2d.js +41 -0
  210. package/packages/swcad-js-core/src/utils/extras.js +33 -0
  211. package/packages/swcad-js-core/src/utils/index.js +17 -0
  212. package/packages/swcad-js-core/src/utils/transform.js +113 -0
  213. package/packages/swcad-js-core/test/README.md +3 -0
  214. package/packages/swcad-js-families/LICENSE +21 -0
  215. package/packages/swcad-js-families/jsdoc.json +28 -0
  216. package/packages/swcad-js-families/package.json +26 -0
  217. package/packages/swcad-js-families/readme.md +187 -0
  218. package/packages/swcad-js-families/src/brick/brick-na.js +43 -0
  219. package/packages/swcad-js-families/src/brick/index.js +16 -0
  220. package/packages/swcad-js-families/src/crafts/index.js +117 -0
  221. package/packages/swcad-js-families/src/dowel-fittings/dowel-couplers.js +115 -0
  222. package/packages/swcad-js-families/src/dowel-fittings/dowel-jigs.js +341 -0
  223. package/packages/swcad-js-families/src/dowel-fittings/dowel-joists.js +447 -0
  224. package/packages/swcad-js-families/src/dowel-fittings/index.js +18 -0
  225. package/packages/swcad-js-families/src/index.js +23 -0
  226. package/packages/swcad-js-families/src/lumber/index.js +16 -0
  227. package/packages/swcad-js-families/src/lumber/lumber-na.js +33 -0
  228. package/packages/swcad-js-families/src/paper/index.js +77 -0
  229. package/packages/swcad-js-families/src/tile/index.js +16 -0
  230. package/packages/swcad-js-families/src/tile/tile-na.js +60 -0
  231. package/packages/swcad-js-families/src/trim/index.js +16 -0
  232. package/packages/swcad-js-families/src/trim/trim-aranea.js +314 -0
  233. package/packages/swcad-js-families/test/README.md +3 -0
  234. package/packages/swcad-js-std-specs/LICENSE +21 -0
  235. package/packages/swcad-js-std-specs/jsdoc.json +28 -0
  236. package/packages/swcad-js-std-specs/package.json +26 -0
  237. package/packages/swcad-js-std-specs/readme.md +187 -0
  238. package/packages/swcad-js-std-specs/src/core/constants.js +35 -0
  239. package/packages/swcad-js-std-specs/src/core/errors.js +29 -0
  240. package/packages/swcad-js-std-specs/src/core/index.js +22 -0
  241. package/packages/swcad-js-std-specs/src/core/internals.js +77 -0
  242. package/packages/swcad-js-std-specs/src/core/maths.js +80 -0
  243. package/packages/swcad-js-std-specs/src/core/specifications.js +100 -0
  244. package/packages/swcad-js-std-specs/src/core/standards/index.js +49 -0
  245. package/packages/swcad-js-std-specs/src/core/standards/std-crafts.js +13 -0
  246. package/packages/swcad-js-std-specs/src/core/standards/std-lumber.js +118 -0
  247. package/packages/swcad-js-std-specs/src/core/standards/std-masonry.js +66 -0
  248. package/packages/swcad-js-std-specs/src/core/standards/std-paper.js +117 -0
  249. package/packages/swcad-js-std-specs/src/core/standards/std-tiles.js +9 -0
  250. package/packages/swcad-js-std-specs/src/index.js +9 -0
  251. package/packages/swcad-js-std-specs/test/README.md +3 -0
  252. package/packages/swcad-js-ui/LICENSE +21 -0
  253. package/packages/swcad-js-ui/jsdoc.json +28 -0
  254. package/packages/swcad-js-ui/package.json +26 -0
  255. package/packages/swcad-js-ui/readme.md +187 -0
  256. package/packages/swcad-js-ui/src/index.js +11 -0
  257. package/packages/swcad-js-ui/src/ux/colors.js +70 -0
  258. package/packages/swcad-js-ui/src/ux/index.js +13 -0
  259. package/packages/swcad-js-ui/src/ux/layers.js +12 -0
  260. package/packages/swcad-js-ui/src/ux/layout.js +350 -0
  261. package/packages/swcad-js-ui/test/README.md +3 -0
  262. package/src/index.js +24 -0
  263. package/static/design/entities.md +22 -0
  264. package/static/design/internals.md +98 -0
  265. package/static/design/packages.md +29 -0
  266. package/static/design/system.dot +44 -0
  267. package/static/design/system.svg +140 -0
  268. package/static/img/entryways-1.png +0 -0
  269. package/static/img/gallery-1.png +0 -0
  270. package/static/img/gallery-2.png +0 -0
  271. package/static/img/wall-1.png +0 -0
  272. package/static/static/design/system.svg +140 -0
  273. package/static/static/img/entryways-1.png +0 -0
  274. package/static/static/img/gallery-1.png +0 -0
  275. package/static/static/img/gallery-2.png +0 -0
  276. package/static/static/img/wall-1.png +0 -0
  277. package/static/tweaks.css +3 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Salvador Workshop
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # swcad-js
2
+
3
+ Salvador Workshop's CAD coding tools (in JavaScript)
4
+
5
+ ---
@@ -0,0 +1,578 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>JSDoc: Namespace: arches</title>
6
+
7
+ <script src="scripts/prettify/prettify.js"> </script>
8
+ <script src="scripts/prettify/lang-css.js"> </script>
9
+ <!--[if lt IE 9]>
10
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
+ <![endif]-->
12
+ <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
14
+ </head>
15
+
16
+ <body>
17
+
18
+ <div id="main">
19
+
20
+ <h1 class="page-title">Namespace: arches</h1>
21
+
22
+
23
+
24
+
25
+
26
+
27
+ <section>
28
+
29
+ <header>
30
+
31
+ <h2>
32
+ <span class="ancestors"><a href="builders.html">builders</a>.</span>arches</h2>
33
+
34
+
35
+ </header>
36
+
37
+ <article>
38
+ <div class="container-overview">
39
+
40
+
41
+ <div class="description">Builds circle-based arches. Input 2D profiles must be centred at (0, 0, 0)</div>
42
+
43
+
44
+
45
+
46
+
47
+ <dl class="details">
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+ <dt class="tag-source">Source:</dt>
75
+ <dd class="tag-source"><ul class="dummy"><li>
76
+ <a href="swcad-js-builders_src_builders_arches.js.html">swcad-js-builders/src/builders/arches.js</a>, <a href="swcad-js-builders_src_builders_arches.js.html#line3">line 3</a>
77
+ </li></ul></dd>
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+ </dl>
86
+
87
+
88
+
89
+
90
+ </div>
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <h3 class="subsection-title">Methods</h3>
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+ <h4 class="name" id="onePtArch"><span class="type-signature"></span>onePtArch<span class="signature">(opts, geomProfile)</span><span class="type-signature"></span></h4>
116
+
117
+
118
+
119
+
120
+
121
+
122
+ <div class="description">
123
+ Builds a one-centre (semicircular) arch.
124
+ </div>
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <h5>Parameters:</h5>
135
+
136
+
137
+ <table class="params">
138
+ <thead>
139
+ <tr>
140
+
141
+ <th>Name</th>
142
+
143
+
144
+ <th>Type</th>
145
+
146
+
147
+
148
+
149
+
150
+ <th class="last">Description</th>
151
+ </tr>
152
+ </thead>
153
+
154
+ <tbody>
155
+
156
+
157
+ <tr>
158
+
159
+ <td class="name"><code>opts</code></td>
160
+
161
+
162
+ <td class="type">
163
+
164
+
165
+ <span class="param-type">Object</span>
166
+
167
+
168
+
169
+ </td>
170
+
171
+
172
+
173
+
174
+
175
+ <td class="description last">
176
+ <h6>Properties</h6>
177
+
178
+
179
+ <table class="params">
180
+ <thead>
181
+ <tr>
182
+
183
+ <th>Name</th>
184
+
185
+
186
+ <th>Type</th>
187
+
188
+
189
+
190
+
191
+
192
+ <th class="last">Description</th>
193
+ </tr>
194
+ </thead>
195
+
196
+ <tbody>
197
+
198
+
199
+ <tr>
200
+
201
+ <td class="name"><code>arcRadius</code></td>
202
+
203
+
204
+ <td class="type">
205
+
206
+
207
+ <span class="param-type">number</span>
208
+
209
+
210
+
211
+ </td>
212
+
213
+
214
+
215
+
216
+
217
+ <td class="description last">arc radius</td>
218
+ </tr>
219
+
220
+
221
+ </tbody>
222
+ </table>
223
+
224
+ </td>
225
+ </tr>
226
+
227
+
228
+
229
+ <tr>
230
+
231
+ <td class="name"><code>geomProfile</code></td>
232
+
233
+
234
+ <td class="type">
235
+
236
+
237
+ <span class="param-type">geom2.Geom2</span>
238
+
239
+
240
+
241
+ </td>
242
+
243
+
244
+
245
+
246
+
247
+ <td class="description last">2D cross-section profile</td>
248
+ </tr>
249
+
250
+
251
+ </tbody>
252
+ </table>
253
+
254
+
255
+
256
+
257
+
258
+
259
+ <dl class="details">
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+ <dt class="tag-source">Source:</dt>
287
+ <dd class="tag-source"><ul class="dummy"><li>
288
+ <a href="swcad-js-builders_src_builders_arches.js.html">swcad-js-builders/src/builders/arches.js</a>, <a href="swcad-js-builders_src_builders_arches.js.html#line25">line 25</a>
289
+ </li></ul></dd>
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+ </dl>
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+ <h4 class="name" id="twoPtArch"><span class="type-signature"></span>twoPtArch<span class="signature">(opts, geomProfile)</span><span class="type-signature"></span></h4>
325
+
326
+
327
+
328
+
329
+
330
+
331
+ <div class="description">
332
+ Builds a two-centre pointed arch.
333
+ </div>
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+ <h5>Parameters:</h5>
344
+
345
+
346
+ <table class="params">
347
+ <thead>
348
+ <tr>
349
+
350
+ <th>Name</th>
351
+
352
+
353
+ <th>Type</th>
354
+
355
+
356
+
357
+
358
+
359
+ <th class="last">Description</th>
360
+ </tr>
361
+ </thead>
362
+
363
+ <tbody>
364
+
365
+
366
+ <tr>
367
+
368
+ <td class="name"><code>opts</code></td>
369
+
370
+
371
+ <td class="type">
372
+
373
+
374
+ <span class="param-type">Object</span>
375
+
376
+
377
+
378
+ </td>
379
+
380
+
381
+
382
+
383
+
384
+ <td class="description last">
385
+ <h6>Properties</h6>
386
+
387
+
388
+ <table class="params">
389
+ <thead>
390
+ <tr>
391
+
392
+ <th>Name</th>
393
+
394
+
395
+ <th>Type</th>
396
+
397
+
398
+
399
+
400
+
401
+ <th class="last">Description</th>
402
+ </tr>
403
+ </thead>
404
+
405
+ <tbody>
406
+
407
+
408
+ <tr>
409
+
410
+ <td class="name"><code>arcRadius</code></td>
411
+
412
+
413
+ <td class="type">
414
+
415
+
416
+ <span class="param-type">number</span>
417
+
418
+
419
+
420
+ </td>
421
+
422
+
423
+
424
+
425
+
426
+ <td class="description last">arc radius</td>
427
+ </tr>
428
+
429
+
430
+
431
+ <tr>
432
+
433
+ <td class="name"><code>archWidth</code></td>
434
+
435
+
436
+ <td class="type">
437
+
438
+
439
+ <span class="param-type">number</span>
440
+
441
+
442
+
443
+ </td>
444
+
445
+
446
+
447
+
448
+
449
+ <td class="description last">arch width</td>
450
+ </tr>
451
+
452
+
453
+ </tbody>
454
+ </table>
455
+
456
+ </td>
457
+ </tr>
458
+
459
+
460
+
461
+ <tr>
462
+
463
+ <td class="name"><code>geomProfile</code></td>
464
+
465
+
466
+ <td class="type">
467
+
468
+
469
+ <span class="param-type">geom2.Geom2</span>
470
+
471
+
472
+
473
+ </td>
474
+
475
+
476
+
477
+
478
+
479
+ <td class="description last">2D cross-section profile</td>
480
+ </tr>
481
+
482
+
483
+ </tbody>
484
+ </table>
485
+
486
+
487
+
488
+
489
+
490
+
491
+ <dl class="details">
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+
510
+
511
+
512
+
513
+
514
+
515
+
516
+
517
+
518
+ <dt class="tag-source">Source:</dt>
519
+ <dd class="tag-source"><ul class="dummy"><li>
520
+ <a href="swcad-js-builders_src_builders_arches.js.html">swcad-js-builders/src/builders/arches.js</a>, <a href="swcad-js-builders_src_builders_arches.js.html#line49">line 49</a>
521
+ </li></ul></dd>
522
+
523
+
524
+
525
+
526
+
527
+
528
+
529
+ </dl>
530
+
531
+
532
+
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+
556
+ </article>
557
+
558
+ </section>
559
+
560
+
561
+
562
+
563
+ </div>
564
+
565
+ <nav>
566
+ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="builders.html">builders</a></li><li><a href="builders.arches.html">builders.arches</a></li><li><a href="builders.buttress.html">builders.buttress</a></li><li><a href="builders.columns.html">builders.columns</a></li><li><a href="builders.entryways.html">builders.entryways</a></li><li><a href="builders.roofs.html">builders.roofs</a></li><li><a href="builders.walls.html">builders.walls</a></li><li><a href="colors.html">colors</a></li><li><a href="core.html">core</a></li><li><a href="core.constants.html">core.constants</a></li><li><a href="core.errors.html">core.errors</a></li><li><a href="core.geometry.html">core.geometry</a></li><li><a href="core.geometry.points.html">core.geometry.points</a></li><li><a href="core.geometry.regPoly.html">core.geometry.regPoly</a></li><li><a href="core.internals.html">core.internals</a></li><li><a href="core.maths.html">core.maths</a></li><li><a href="core.position.html">core.position</a></li><li><a href="core.position.cuboid.html">core.position.cuboid</a></li><li><a href="core.position.rectangle.html">core.position.rectangle</a></li><li><a href="core.position.triangle.html">core.position.triangle</a></li><li><a href="core.specifications.html">core.specifications</a></li><li><a href="core.standards.html">core.standards</a></li><li><a href="families.brick.html">families.brick</a></li><li><a href="families.brick.northAmerica.html">families.brick.northAmerica</a></li><li><a href="families.crafts.html">families.crafts</a></li><li><a href="families.dowelFittings.html">families.dowelFittings</a></li><li><a href="families.dowelFittings.dowelCouplers.html">families.dowelFittings.dowelCouplers</a></li><li><a href="families.dowelFittings.dowelJigs.html">families.dowelFittings.dowelJigs</a></li><li><a href="families.dowelFittings.dowelJoists.html">families.dowelFittings.dowelJoists</a></li><li><a href="families.lumber.html">families.lumber</a></li><li><a href="families.lumber.northAmerica.html">families.lumber.northAmerica</a></li><li><a href="families.paper.html">families.paper</a></li><li><a href="families.tile.html">families.tile</a></li><li><a href="families.tile.northAmerica.html">families.tile.northAmerica</a></li><li><a href="families.trim.html">families.trim</a></li><li><a href="families.trim.aranea.html">families.trim.aranea</a></li><li><a href="layers.html">layers</a></li><li><a href="layout.html">layout</a></li><li><a href="models.html">models</a></li><li><a href="models.prefab.html">models.prefab</a></li><li><a href="models.prefab.foils3d.html">models.prefab.foils3d</a></li><li><a href="models.prefab.mesh3d.html">models.prefab.mesh3d</a></li><li><a href="models.prefab.mouldings.html">models.prefab.mouldings</a></li><li><a href="models.prefab.text3d.html">models.prefab.text3d</a></li><li><a href="models.profiles.html">models.profiles</a></li><li><a href="models.profiles.connections.html">models.profiles.connections</a></li><li><a href="models.profiles.curves.html">models.profiles.curves</a></li><li><a href="models.profiles.edge.html">models.profiles.edge</a></li><li><a href="models.profiles.ellipse.html">models.profiles.ellipse</a></li><li><a href="models.profiles.foils2d.html">models.profiles.foils2d</a></li><li><a href="models.profiles.frameRect.html">models.profiles.frameRect</a></li><li><a href="models.profiles.rectangle.html">models.profiles.rectangle</a></li><li><a href="models.profiles.reinforcement.html">models.profiles.reinforcement</a></li><li><a href="models.profiles.text2d.html">models.profiles.text2d</a></li><li><a href="models.profiles.triangle.html">models.profiles.triangle</a></li><li><a href="utils.html">utils</a></li><li><a href="utils.extras.html">utils.extras</a></li><li><a href="utils.transform.html">utils.transform</a></li></ul><h3>Global</h3><ul><li><a href="global.html#dowelCouplers">dowelCouplers</a></li><li><a href="global.html#dowelJigs">dowelJigs</a></li><li><a href="global.html#dowelJoists">dowelJoists</a></li><li><a href="global.html#lumberStd">lumberStd</a></li></ul>
567
+ </nav>
568
+
569
+ <br class="clear">
570
+
571
+ <footer>
572
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Thu Mar 26 2026 14:09:49 GMT-0400 (Eastern Daylight Time)
573
+ </footer>
574
+
575
+ <script> prettyPrint(); </script>
576
+ <script src="scripts/linenumber.js"> </script>
577
+ </body>
578
+ </html>