kumiki.joints.workshop.decorative¶
Flat import path
kumiki/__init__.py re-exports everything on this page via from kumiki import *, so every name below is also available directly as kumiki.decorative -- you do not need to import from the submodule path shown in the heading above.
kumiki.joints.workshop.decorative
¶
Kumiki - Decorative joint construction functions
cut_practice_roundover_decoration
¶
cut_practice_roundover_decoration(timber: BlockLike, edges: List[TimberEdge], radius: Numeric) -> Joint
Cuts a roundover of radius radius along edges of timber.
Short edges (edges on the timber ends) are at the declared length of the timber rather than the maybe_end_cut length (which is not known here).
Note, this does not check if round radii overlap.
Source code in kumiki/joints/workshop/decorative/decorative_joints.py
cut_practice_rounded_end_decoration
¶
cut_practice_rounded_end_decoration(timber: BlockLike, rounded_face: TimberFace, rounded_end: TimberFace, radius: Numeric, distance_from_end: Numeric, lateral_offset: Numeric = 0) -> Joint
Rounds off rounded_end of timber with a single large-radius arc spanning
the full width perpendicular to both rounded_face and rounded_end -- a
gentle bowed/bullnose end profile, visible as a curved outline when looking
straight at rounded_face (the arc's plane is perpendicular to
rounded_face's normal, i.e. that normal is the cylinder's own axis).
Source code in kumiki/joints/workshop/decorative/decorative_joints.py
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 | |
cut_practice_rafter_tail_scallop_corner_end_decoration
¶
cut_practice_rafter_tail_scallop_corner_end_decoration(timber: BlockLike, short_edge: Union[TimberShortEdge], scallop_height: Numeric, scallop_length: Numeric) -> Joint
|
__◜ ←scallop_height ↑ scallop_width
Source code in kumiki/joints/workshop/decorative/decorative_joints.py
cut_practice_path_extrusion_corner_end_decoration
¶
cut_practice_path_extrusion_corner_end_decoration(timber: BlockLike, cut_corner: TimberShortEdge, cut_path: List[PathSegment]) -> Joint
path coordinates is based on cut_corner
+y | |_ |_|__ +x ^ cut_corner
Source code in kumiki/joints/workshop/decorative/decorative_joints.py
292 293 294 295 296 297 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 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 | |
cut_practice_straight_angled_end_cut_decoration
¶
cut_practice_straight_angled_end_cut_decoration(timber: BlockLike, front_face: TimberFace, position_from_end: Numeric, angle: Numeric = degrees(0), angle_towards_face: Optional[TimberFace] = None, timber_end: Union[TimberEnd, TimberFace] = TOP) -> Joint
Cuts a straight angled cut on timber_end of timber.
Looking straight at front_face (the face from which the angled cut outline
is visible), the cut is angled by angle (0 is perpendicular to the length axis)
and passes through timber's centerline at distance position_from_end from timber_end.
front_face \ <-timber_end _______\