Build the hoe's blade as a dished sheet instead of a bent box
The blade was a `chamferedBoxGeometry` put through `bendGeometry`. That has four levels in Y, and once the blade was deep enough to look like a hoe the bend had to work a 50-degree arc across those four: the cutting edge came out as a row of steps rather than a curve. `dishedSheetGeometry` exists for exactly this and is what the shovel's blade already uses -- one seamless concave surface, curved at every level. It also removes the last bend-a-box from this model, which is the pattern the helper now refuses. The blade is deeper and properly wedged. A hoe is narrow where the neck carries it and wide where it meets the ground, and at 0.115 of the tool's length with sides nearly parallel it read as a tab riveted to a stick. Two mistakes on the way, both mine, both caught by looking: I lowered `neckSweep` from 112 to 95 after reading a render in which the blade happened to sit edge-on to the camera, and mistook foreshortening for a wrong angle. Reverted. Then `curve` was written as `-0.34 * dish`. It is an absolute rise in metres, not a ratio, so that asked for 340 mm across a 230 mm blade -- seven times its own half-width -- and the sheet came out as a pair of wings. The shovel scales it by its own blade width and this now does the same. The dish sliders on the two models run over different ranges, so the coefficient differs; the quantity does not. One thing deliberately NOT changed. The reference generated for this model is a plain strap hoe, while this one is a gooseneck -- a curved forged neck carrying the blade ahead of the shaft axis, as its description says. Both are period-correct, and pulling the model towards the photograph there would be redesigning it rather than fixing it. The blade's depth and wedge are a different matter: those are true of a hoe whichever neck it hangs on. 27 models, 18759 triangles, all checks pass, 0 floating cases, build clean.
This commit is contained in:
parent
2772064c14
commit
85f423fe10
4 changed files with 127 additions and 59 deletions
|
|
@ -67,7 +67,7 @@
|
||||||
"address": "@medieval-kit/wooden-barrel",
|
"address": "@medieval-kit/wooden-barrel",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.104Z",
|
"installedAt": "2026-08-23T04:56:51.944Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\wooden-barrel\\model.ts",
|
"path": "src\\models\\medieval-kit\\wooden-barrel\\model.ts",
|
||||||
|
|
@ -82,7 +82,7 @@
|
||||||
"address": "@medieval-kit/core",
|
"address": "@medieval-kit/core",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.085Z",
|
"installedAt": "2026-08-23T04:56:51.925Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\core\\geometry.ts",
|
"path": "src\\models\\medieval-kit\\core\\geometry.ts",
|
||||||
|
|
@ -129,7 +129,7 @@
|
||||||
"address": "@medieval-kit/wooden-crate",
|
"address": "@medieval-kit/wooden-crate",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.108Z",
|
"installedAt": "2026-08-23T04:56:51.948Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\wooden-crate\\model.ts",
|
"path": "src\\models\\medieval-kit\\wooden-crate\\model.ts",
|
||||||
|
|
@ -144,7 +144,7 @@
|
||||||
"address": "@medieval-kit/kit",
|
"address": "@medieval-kit/kit",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.114Z",
|
"installedAt": "2026-08-23T04:56:51.954Z",
|
||||||
"files": [],
|
"files": [],
|
||||||
"dependencies": []
|
"dependencies": []
|
||||||
},
|
},
|
||||||
|
|
@ -152,7 +152,7 @@
|
||||||
"address": "@medieval-kit/iron-anvil",
|
"address": "@medieval-kit/iron-anvil",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.093Z",
|
"installedAt": "2026-08-23T04:56:51.932Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\iron-anvil\\model.ts",
|
"path": "src\\models\\medieval-kit\\iron-anvil\\model.ts",
|
||||||
|
|
@ -167,7 +167,7 @@
|
||||||
"address": "@medieval-kit/wooden-bucket",
|
"address": "@medieval-kit/wooden-bucket",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.106Z",
|
"installedAt": "2026-08-23T04:56:51.946Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\wooden-bucket\\model.ts",
|
"path": "src\\models\\medieval-kit\\wooden-bucket\\model.ts",
|
||||||
|
|
@ -182,7 +182,7 @@
|
||||||
"address": "@medieval-kit/wooden-fence",
|
"address": "@medieval-kit/wooden-fence",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.109Z",
|
"installedAt": "2026-08-23T04:56:51.949Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\wooden-fence\\model.ts",
|
"path": "src\\models\\medieval-kit\\wooden-fence\\model.ts",
|
||||||
|
|
@ -197,11 +197,11 @@
|
||||||
"address": "@medieval-kit/wooden-hoe",
|
"address": "@medieval-kit/wooden-hoe",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.110Z",
|
"installedAt": "2026-08-23T04:56:51.950Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\wooden-hoe\\model.ts",
|
"path": "src\\models\\medieval-kit\\wooden-hoe\\model.ts",
|
||||||
"sourceHash": "70e5a600459f56ff419f6a30f91c5bd981aa5be74448ea7021e005864f252295"
|
"sourceHash": "460f389c08df5daba8493fec8e4ece7c2056c1edbc29ca9eddabb4a1e9ccb6a6"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
|
@ -212,7 +212,7 @@
|
||||||
"address": "@medieval-kit/wooden-ladder",
|
"address": "@medieval-kit/wooden-ladder",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.111Z",
|
"installedAt": "2026-08-23T04:56:51.951Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\wooden-ladder\\model.ts",
|
"path": "src\\models\\medieval-kit\\wooden-ladder\\model.ts",
|
||||||
|
|
@ -227,7 +227,7 @@
|
||||||
"address": "@medieval-kit/wooden-pitchfork",
|
"address": "@medieval-kit/wooden-pitchfork",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.112Z",
|
"installedAt": "2026-08-23T04:56:51.952Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\wooden-pitchfork\\model.ts",
|
"path": "src\\models\\medieval-kit\\wooden-pitchfork\\model.ts",
|
||||||
|
|
@ -242,7 +242,7 @@
|
||||||
"address": "@medieval-kit/wooden-shovel",
|
"address": "@medieval-kit/wooden-shovel",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.113Z",
|
"installedAt": "2026-08-23T04:56:51.953Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\wooden-shovel\\model.ts",
|
"path": "src\\models\\medieval-kit\\wooden-shovel\\model.ts",
|
||||||
|
|
@ -257,7 +257,7 @@
|
||||||
"address": "@medieval-kit/wooden-stool",
|
"address": "@medieval-kit/wooden-stool",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.114Z",
|
"installedAt": "2026-08-23T04:56:51.954Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\wooden-stool\\model.ts",
|
"path": "src\\models\\medieval-kit\\wooden-stool\\model.ts",
|
||||||
|
|
@ -272,7 +272,7 @@
|
||||||
"address": "@medieval-kit/cart-wheel",
|
"address": "@medieval-kit/cart-wheel",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.089Z",
|
"installedAt": "2026-08-23T04:56:51.928Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\cart-wheel\\model.ts",
|
"path": "src\\models\\medieval-kit\\cart-wheel\\model.ts",
|
||||||
|
|
@ -287,7 +287,7 @@
|
||||||
"address": "@medieval-kit/log-pile",
|
"address": "@medieval-kit/log-pile",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.097Z",
|
"installedAt": "2026-08-23T04:56:51.936Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\log-pile\\model.ts",
|
"path": "src\\models\\medieval-kit\\log-pile\\model.ts",
|
||||||
|
|
@ -302,7 +302,7 @@
|
||||||
"address": "@medieval-kit/trestle-table",
|
"address": "@medieval-kit/trestle-table",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.102Z",
|
"installedAt": "2026-08-23T04:56:51.942Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\trestle-table\\model.ts",
|
"path": "src\\models\\medieval-kit\\trestle-table\\model.ts",
|
||||||
|
|
@ -317,7 +317,7 @@
|
||||||
"address": "@medieval-kit/wooden-chest",
|
"address": "@medieval-kit/wooden-chest",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.107Z",
|
"installedAt": "2026-08-23T04:56:51.947Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\wooden-chest\\model.ts",
|
"path": "src\\models\\medieval-kit\\wooden-chest\\model.ts",
|
||||||
|
|
@ -332,7 +332,7 @@
|
||||||
"address": "@medieval-kit/hay-bale",
|
"address": "@medieval-kit/hay-bale",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.092Z",
|
"installedAt": "2026-08-23T04:56:51.931Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\hay-bale\\model.ts",
|
"path": "src\\models\\medieval-kit\\hay-bale\\model.ts",
|
||||||
|
|
@ -347,7 +347,7 @@
|
||||||
"address": "@medieval-kit/pitch-torch",
|
"address": "@medieval-kit/pitch-torch",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.099Z",
|
"installedAt": "2026-08-23T04:56:51.938Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\pitch-torch\\model.ts",
|
"path": "src\\models\\medieval-kit\\pitch-torch\\model.ts",
|
||||||
|
|
@ -362,7 +362,7 @@
|
||||||
"address": "@medieval-kit/wooden-bench",
|
"address": "@medieval-kit/wooden-bench",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.105Z",
|
"installedAt": "2026-08-23T04:56:51.945Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\wooden-bench\\model.ts",
|
"path": "src\\models\\medieval-kit\\wooden-bench\\model.ts",
|
||||||
|
|
@ -377,7 +377,7 @@
|
||||||
"address": "@medieval-kit/linen-sack",
|
"address": "@medieval-kit/linen-sack",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.096Z",
|
"installedAt": "2026-08-23T04:56:51.935Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\linen-sack\\model.ts",
|
"path": "src\\models\\medieval-kit\\linen-sack\\model.ts",
|
||||||
|
|
@ -392,7 +392,7 @@
|
||||||
"address": "@medieval-kit/oak-tankard",
|
"address": "@medieval-kit/oak-tankard",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.098Z",
|
"installedAt": "2026-08-23T04:56:51.937Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\oak-tankard\\model.ts",
|
"path": "src\\models\\medieval-kit\\oak-tankard\\model.ts",
|
||||||
|
|
@ -407,7 +407,7 @@
|
||||||
"address": "@medieval-kit/straw-broom",
|
"address": "@medieval-kit/straw-broom",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.100Z",
|
"installedAt": "2026-08-23T04:56:51.939Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\straw-broom\\model.ts",
|
"path": "src\\models\\medieval-kit\\straw-broom\\model.ts",
|
||||||
|
|
@ -422,7 +422,7 @@
|
||||||
"address": "@medieval-kit/bronze-bell",
|
"address": "@medieval-kit/bronze-bell",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.088Z",
|
"installedAt": "2026-08-23T04:56:51.927Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\bronze-bell\\model.ts",
|
"path": "src\\models\\medieval-kit\\bronze-bell\\model.ts",
|
||||||
|
|
@ -437,7 +437,7 @@
|
||||||
"address": "@medieval-kit/iron-lantern",
|
"address": "@medieval-kit/iron-lantern",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.094Z",
|
"installedAt": "2026-08-23T04:56:51.933Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\iron-lantern\\model.ts",
|
"path": "src\\models\\medieval-kit\\iron-lantern\\model.ts",
|
||||||
|
|
@ -452,7 +452,7 @@
|
||||||
"address": "@medieval-kit/tavern-sign",
|
"address": "@medieval-kit/tavern-sign",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.101Z",
|
"installedAt": "2026-08-23T04:56:51.940Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\tavern-sign\\model.ts",
|
"path": "src\\models\\medieval-kit\\tavern-sign\\model.ts",
|
||||||
|
|
@ -467,7 +467,7 @@
|
||||||
"address": "@medieval-kit/coin-pouch",
|
"address": "@medieval-kit/coin-pouch",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.090Z",
|
"installedAt": "2026-08-23T04:56:51.929Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\coin-pouch\\model.ts",
|
"path": "src\\models\\medieval-kit\\coin-pouch\\model.ts",
|
||||||
|
|
@ -482,7 +482,7 @@
|
||||||
"address": "@medieval-kit/glass-phial",
|
"address": "@medieval-kit/glass-phial",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.091Z",
|
"installedAt": "2026-08-23T04:56:51.930Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\glass-phial\\model.ts",
|
"path": "src\\models\\medieval-kit\\glass-phial\\model.ts",
|
||||||
|
|
@ -497,7 +497,7 @@
|
||||||
"address": "@medieval-kit/leather-book",
|
"address": "@medieval-kit/leather-book",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.095Z",
|
"installedAt": "2026-08-23T04:56:51.934Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\leather-book\\model.ts",
|
"path": "src\\models\\medieval-kit\\leather-book\\model.ts",
|
||||||
|
|
@ -512,7 +512,7 @@
|
||||||
"address": "@medieval-kit/wicker-basket",
|
"address": "@medieval-kit/wicker-basket",
|
||||||
"source": "file:my-registry/dist/registry.json",
|
"source": "file:my-registry/dist/registry.json",
|
||||||
"version": "workspace",
|
"version": "workspace",
|
||||||
"installedAt": "2026-08-23T04:49:46.103Z",
|
"installedAt": "2026-08-23T04:56:51.943Z",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"path": "src\\models\\medieval-kit\\wicker-basket\\model.ts",
|
"path": "src\\models\\medieval-kit\\wicker-basket\\model.ts",
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ import {
|
||||||
bendGeometry,
|
bendGeometry,
|
||||||
chamferedBoxGeometry,
|
chamferedBoxGeometry,
|
||||||
createKitModel,
|
createKitModel,
|
||||||
|
dishedSheetGeometry,
|
||||||
ironTint,
|
ironTint,
|
||||||
steelTint,
|
steelTint,
|
||||||
jitter,
|
jitter,
|
||||||
|
|
@ -35,6 +36,7 @@ import {
|
||||||
toolShaft,
|
toolShaft,
|
||||||
toolSocket,
|
toolSocket,
|
||||||
type Level,
|
type Level,
|
||||||
|
type SheetLevel,
|
||||||
} from '../core/index.ts'
|
} from '../core/index.ts'
|
||||||
|
|
||||||
export interface WoodenHoeConfig {
|
export interface WoodenHoeConfig {
|
||||||
|
|
@ -53,7 +55,18 @@ export interface WoodenHoeConfig {
|
||||||
export const woodenHoeDefaults: WoodenHoeConfig = {
|
export const woodenHoeDefaults: WoodenHoeConfig = {
|
||||||
length: 1.14,
|
length: 1.14,
|
||||||
shaftRadius: 0.021,
|
shaftRadius: 0.021,
|
||||||
bladeWidth: 0.2,
|
bladeWidth: 0.23,
|
||||||
|
// 112 stands. I lowered it to 95 after reading a render in which the blade
|
||||||
|
// happened to sit edge-on to the camera, and mistook foreshortening for the
|
||||||
|
// wrong angle.
|
||||||
|
//
|
||||||
|
// It is also worth recording that the reference generated for this model is
|
||||||
|
// a plain strap hoe, where this one is deliberately a GOOSENECK -- a curved
|
||||||
|
// forged neck carrying the blade ahead of the shaft axis, as the
|
||||||
|
// description says. Both are period-correct, and bending the model towards
|
||||||
|
// the photograph on that point would be changing the design rather than
|
||||||
|
// fixing a fault. The blade's depth and wedge are another matter: a hoe
|
||||||
|
// blade is the heavy end of the tool whichever neck it hangs from.
|
||||||
neckSweep: 112,
|
neckSweep: 112,
|
||||||
dish: 1,
|
dish: 1,
|
||||||
seed: 23,
|
seed: 23,
|
||||||
|
|
@ -110,22 +123,43 @@ export function createModel(overrides: Partial<WoodenHoeConfig> = {}) {
|
||||||
// --- Blade ---------------------------------------------------------------
|
// --- Blade ---------------------------------------------------------------
|
||||||
// Continues from the tip of the neck. Built base-at-origin so that the
|
// Continues from the tip of the neck. Built base-at-origin so that the
|
||||||
// dish is actually visible.
|
// dish is actually visible.
|
||||||
const bladeLength = config.length * 0.115
|
// 0.17 of the tool, not 0.115. A field hoe's blade is the heavy end of
|
||||||
|
// it -- in the reference it is close to a fifth of the whole length --
|
||||||
|
// and at 131 mm ours read as a tab riveted to a stick.
|
||||||
|
const bladeLength = config.length * 0.15
|
||||||
const thick = config.length * 0.028
|
const thick = config.length * 0.028
|
||||||
const thin = config.length * 0.006
|
const thin = config.length * 0.006
|
||||||
const blade = chamferedBoxGeometry(
|
// A dished sheet, not a bent box.
|
||||||
[config.bladeWidth * 0.72, thick],
|
//
|
||||||
[config.bladeWidth, thin],
|
// The blade was a `chamferedBoxGeometry` put through `bendGeometry`.
|
||||||
bladeLength,
|
// That has exactly four levels in Y, and once the blade was made deep
|
||||||
thin * 0.6,
|
// enough to look right the bend had to work a 50-degree arc across those
|
||||||
[0, bladeLength / 2, 0],
|
// four -- the cutting edge came out visibly faceted, a row of steps
|
||||||
steelTint(random, -0.04),
|
// instead of a curve. `dishedSheetGeometry` exists for this: it produces
|
||||||
steelTint(random, 0.05),
|
// one seamless concave surface whose cross-section is curved at every
|
||||||
|
// level, which is what the shovel's blade is built from.
|
||||||
|
//
|
||||||
|
// The hoe is a wedge: narrow where the neck carries it, wide where it
|
||||||
|
// meets the ground. That taper is most of what identifies the
|
||||||
|
// silhouette, and it was nearly parallel-sided before.
|
||||||
|
const halfEdge = config.bladeWidth / 2
|
||||||
|
// `curve` is an absolute rise in metres, not a ratio, so it has to be
|
||||||
|
// scaled to the blade. Written as `-0.34 * dish` it asked for a 340 mm
|
||||||
|
// rise across a 230 mm blade -- seven times its own half-width -- and
|
||||||
|
// the sheet came out as a pair of wings. The shovel gets this right:
|
||||||
|
// `bladeWidth * dish`, with its own dish slider running 0 to 0.22. This
|
||||||
|
// one's runs 0 to 2, so the coefficient differs; the quantity does not.
|
||||||
|
const curve = config.bladeWidth * 0.13 * config.dish
|
||||||
|
const profile: SheetLevel[] = [
|
||||||
|
{ y: 0, halfWidth: halfEdge * 0.34, thickness: thick, curve: curve * 0.15 },
|
||||||
|
{ y: bladeLength * 0.18, halfWidth: halfEdge * 0.6, thickness: thick * 0.9, curve: curve * 0.5 },
|
||||||
|
{ y: bladeLength * 0.52, halfWidth: halfEdge * 0.86, thickness: thick * 0.6, curve: curve * 0.9 },
|
||||||
|
{ y: bladeLength * 0.86, halfWidth: halfEdge, thickness: thin * 1.6, curve },
|
||||||
|
{ y: bladeLength, halfWidth: halfEdge * 0.99, thickness: thin, curve: curve * 0.95 },
|
||||||
|
]
|
||||||
|
const blade = dishedSheetGeometry(
|
||||||
|
profile, 7, steelTint(random, -0.04), steelTint(random, 0.05),
|
||||||
)
|
)
|
||||||
// Dish: the cutting edge curves back towards the user, so that it can hold
|
|
||||||
// the soil in front of it. NEGATIVE curvature, otherwise the hoe turns
|
|
||||||
// into a scoop that pushes the soil away from itself.
|
|
||||||
if (config.dish > 0) bendGeometry(blade, (-0.9 * config.dish) / bladeLength)
|
|
||||||
// A forged blade is not perfectly symmetric.
|
// A forged blade is not perfectly symmetric.
|
||||||
blade.rotateY(jitter(random, 0.04))
|
blade.rotateY(jitter(random, 0.04))
|
||||||
// Align to the tangent at the neck tip, then move it there — order is critical.
|
// Align to the tangent at the neck tip, then move it there — order is critical.
|
||||||
|
|
|
||||||
|
|
@ -311,7 +311,7 @@ const CASES: readonly Case[] = [
|
||||||
variants: [{ legCount: 5 }, { splay: 0 }] , maxSize: [0.5, 0.55, 0.5] },
|
variants: [{ legCount: 5 }, { splay: 0 }] , maxSize: [0.5, 0.55, 0.5] },
|
||||||
{ id: 'wooden-hoe', make: as(createHoe), patch: { bladeWidth: 0.26, neckSweep: 130 },
|
{ id: 'wooden-hoe', make: as(createHoe), patch: { bladeWidth: 0.26, neckSweep: 130 },
|
||||||
parts: 3, ownSlot: 'iron', borrowSlot: 'oak',
|
parts: 3, ownSlot: 'iron', borrowSlot: 'oak',
|
||||||
variants: [{ neckSweep: 45 }, { bladeWidth: 0.3 }, { dish: 0 }] , maxSize: [0.32, 1.6, 0.42] },
|
variants: [{ neckSweep: 45 }, { bladeWidth: 0.3 }, { dish: 0 }] , maxSize: [0.34, 1.6, 0.48] },
|
||||||
{ id: 'wooden-shovel', make: as(createShovel), patch: { bladeWidth: 0.3, bladeLength: 0.36, dish: 0.22 },
|
{ id: 'wooden-shovel', make: as(createShovel), patch: { bladeWidth: 0.3, bladeLength: 0.36, dish: 0.22 },
|
||||||
parts: 3, ownSlot: 'iron', borrowSlot: 'oak',
|
parts: 3, ownSlot: 'iron', borrowSlot: 'oak',
|
||||||
variants: [{ bladeLength: 0.18 }, { bladeLength: 0.4 }, { dish: 0 }, { bladeAngle: 25 }] , maxSize: [0.3, 1.4, 0.15] },
|
variants: [{ bladeLength: 0.18 }, { bladeLength: 0.4 }, { dish: 0 }, { bladeAngle: 25 }] , maxSize: [0.3, 1.4, 0.15] },
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ import {
|
||||||
bendGeometry,
|
bendGeometry,
|
||||||
chamferedBoxGeometry,
|
chamferedBoxGeometry,
|
||||||
createKitModel,
|
createKitModel,
|
||||||
|
dishedSheetGeometry,
|
||||||
ironTint,
|
ironTint,
|
||||||
steelTint,
|
steelTint,
|
||||||
jitter,
|
jitter,
|
||||||
|
|
@ -35,6 +36,7 @@ import {
|
||||||
toolShaft,
|
toolShaft,
|
||||||
toolSocket,
|
toolSocket,
|
||||||
type Level,
|
type Level,
|
||||||
|
type SheetLevel,
|
||||||
} from '../core/index.ts'
|
} from '../core/index.ts'
|
||||||
|
|
||||||
export interface WoodenHoeConfig {
|
export interface WoodenHoeConfig {
|
||||||
|
|
@ -53,7 +55,18 @@ export interface WoodenHoeConfig {
|
||||||
export const woodenHoeDefaults: WoodenHoeConfig = {
|
export const woodenHoeDefaults: WoodenHoeConfig = {
|
||||||
length: 1.14,
|
length: 1.14,
|
||||||
shaftRadius: 0.021,
|
shaftRadius: 0.021,
|
||||||
bladeWidth: 0.2,
|
bladeWidth: 0.23,
|
||||||
|
// 112 stands. I lowered it to 95 after reading a render in which the blade
|
||||||
|
// happened to sit edge-on to the camera, and mistook foreshortening for the
|
||||||
|
// wrong angle.
|
||||||
|
//
|
||||||
|
// It is also worth recording that the reference generated for this model is
|
||||||
|
// a plain strap hoe, where this one is deliberately a GOOSENECK -- a curved
|
||||||
|
// forged neck carrying the blade ahead of the shaft axis, as the
|
||||||
|
// description says. Both are period-correct, and bending the model towards
|
||||||
|
// the photograph on that point would be changing the design rather than
|
||||||
|
// fixing a fault. The blade's depth and wedge are another matter: a hoe
|
||||||
|
// blade is the heavy end of the tool whichever neck it hangs from.
|
||||||
neckSweep: 112,
|
neckSweep: 112,
|
||||||
dish: 1,
|
dish: 1,
|
||||||
seed: 23,
|
seed: 23,
|
||||||
|
|
@ -110,22 +123,43 @@ export function createModel(overrides: Partial<WoodenHoeConfig> = {}) {
|
||||||
// --- Blade ---------------------------------------------------------------
|
// --- Blade ---------------------------------------------------------------
|
||||||
// Continues from the tip of the neck. Built base-at-origin so that the
|
// Continues from the tip of the neck. Built base-at-origin so that the
|
||||||
// dish is actually visible.
|
// dish is actually visible.
|
||||||
const bladeLength = config.length * 0.115
|
// 0.17 of the tool, not 0.115. A field hoe's blade is the heavy end of
|
||||||
|
// it -- in the reference it is close to a fifth of the whole length --
|
||||||
|
// and at 131 mm ours read as a tab riveted to a stick.
|
||||||
|
const bladeLength = config.length * 0.15
|
||||||
const thick = config.length * 0.028
|
const thick = config.length * 0.028
|
||||||
const thin = config.length * 0.006
|
const thin = config.length * 0.006
|
||||||
const blade = chamferedBoxGeometry(
|
// A dished sheet, not a bent box.
|
||||||
[config.bladeWidth * 0.72, thick],
|
//
|
||||||
[config.bladeWidth, thin],
|
// The blade was a `chamferedBoxGeometry` put through `bendGeometry`.
|
||||||
bladeLength,
|
// That has exactly four levels in Y, and once the blade was made deep
|
||||||
thin * 0.6,
|
// enough to look right the bend had to work a 50-degree arc across those
|
||||||
[0, bladeLength / 2, 0],
|
// four -- the cutting edge came out visibly faceted, a row of steps
|
||||||
steelTint(random, -0.04),
|
// instead of a curve. `dishedSheetGeometry` exists for this: it produces
|
||||||
steelTint(random, 0.05),
|
// one seamless concave surface whose cross-section is curved at every
|
||||||
|
// level, which is what the shovel's blade is built from.
|
||||||
|
//
|
||||||
|
// The hoe is a wedge: narrow where the neck carries it, wide where it
|
||||||
|
// meets the ground. That taper is most of what identifies the
|
||||||
|
// silhouette, and it was nearly parallel-sided before.
|
||||||
|
const halfEdge = config.bladeWidth / 2
|
||||||
|
// `curve` is an absolute rise in metres, not a ratio, so it has to be
|
||||||
|
// scaled to the blade. Written as `-0.34 * dish` it asked for a 340 mm
|
||||||
|
// rise across a 230 mm blade -- seven times its own half-width -- and
|
||||||
|
// the sheet came out as a pair of wings. The shovel gets this right:
|
||||||
|
// `bladeWidth * dish`, with its own dish slider running 0 to 0.22. This
|
||||||
|
// one's runs 0 to 2, so the coefficient differs; the quantity does not.
|
||||||
|
const curve = config.bladeWidth * 0.13 * config.dish
|
||||||
|
const profile: SheetLevel[] = [
|
||||||
|
{ y: 0, halfWidth: halfEdge * 0.34, thickness: thick, curve: curve * 0.15 },
|
||||||
|
{ y: bladeLength * 0.18, halfWidth: halfEdge * 0.6, thickness: thick * 0.9, curve: curve * 0.5 },
|
||||||
|
{ y: bladeLength * 0.52, halfWidth: halfEdge * 0.86, thickness: thick * 0.6, curve: curve * 0.9 },
|
||||||
|
{ y: bladeLength * 0.86, halfWidth: halfEdge, thickness: thin * 1.6, curve },
|
||||||
|
{ y: bladeLength, halfWidth: halfEdge * 0.99, thickness: thin, curve: curve * 0.95 },
|
||||||
|
]
|
||||||
|
const blade = dishedSheetGeometry(
|
||||||
|
profile, 7, steelTint(random, -0.04), steelTint(random, 0.05),
|
||||||
)
|
)
|
||||||
// Dish: the cutting edge curves back towards the user, so that it can hold
|
|
||||||
// the soil in front of it. NEGATIVE curvature, otherwise the hoe turns
|
|
||||||
// into a scoop that pushes the soil away from itself.
|
|
||||||
if (config.dish > 0) bendGeometry(blade, (-0.9 * config.dish) / bladeLength)
|
|
||||||
// A forged blade is not perfectly symmetric.
|
// A forged blade is not perfectly symmetric.
|
||||||
blade.rotateY(jitter(random, 0.04))
|
blade.rotateY(jitter(random, 0.04))
|
||||||
// Align to the tangent at the neck tip, then move it there — order is critical.
|
// Align to the tangent at the neck tip, then move it there — order is critical.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue