@adatechnology/game-items-three 0.8.5 → 0.9.1
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.
- package/dist/{chunk-V4L35AWB.js → chunk-35IYUYZP.js} +603 -443
- package/dist/chunk-35IYUYZP.js.map +1 -0
- package/dist/index.d.ts +16 -2
- package/dist/index.global.js +31177 -4868
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/testing.js +1 -1
- package/package.json +13 -11
- package/dist/chunk-V4L35AWB.js.map +0 -1
|
@@ -301,6 +301,47 @@ var destruction_default = {
|
|
|
301
301
|
}
|
|
302
302
|
};
|
|
303
303
|
|
|
304
|
+
// src/data/makeups.json
|
|
305
|
+
var makeups_default = {
|
|
306
|
+
shovel: {
|
|
307
|
+
meshes: { wood: "handle", metal: "blade" },
|
|
308
|
+
spec: {
|
|
309
|
+
name: "shovel",
|
|
310
|
+
parts: [
|
|
311
|
+
{ id: "handle", material: "wood_hard", shape: { kind: "box", size: [0.9, 0.035, 0.035] }, position: [-0.101, 0.053, 0], mass: 0.9, hp: 800, grain: "x", tags: ["handle"] },
|
|
312
|
+
{ id: "blade", material: "steel", shape: { kind: "box", size: [0.301, 0.012, 0.22] }, position: [0.4005, 6e-3, 0], mass: 1.1, thickness: 2e-3, tags: ["blade"] }
|
|
313
|
+
],
|
|
314
|
+
joints: [{ id: "rivets", a: "handle", b: "blade", kind: "bolt", strength: 400 }],
|
|
315
|
+
tags: ["item", "tool"]
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
// src/makeup.ts
|
|
321
|
+
var MAKEUPS = makeups_default;
|
|
322
|
+
var itemMakeup = (modelId) => MAKEUPS[modelId];
|
|
323
|
+
function makeupSpec(modelId, tags = []) {
|
|
324
|
+
const makeup = MAKEUPS[modelId];
|
|
325
|
+
if (!makeup) return void 0;
|
|
326
|
+
const spec = structuredClone(makeup.spec);
|
|
327
|
+
return { ...spec, tags: [.../* @__PURE__ */ new Set([...spec.tags ?? [], ...tags])] };
|
|
328
|
+
}
|
|
329
|
+
function tagMakeupParts(root, modelId) {
|
|
330
|
+
const makeup = MAKEUPS[modelId];
|
|
331
|
+
if (!makeup) return;
|
|
332
|
+
const materialOf = new Map(makeup.spec.parts.map((part) => [part.id, part.material]));
|
|
333
|
+
root.traverse((object) => {
|
|
334
|
+
const mesh = object;
|
|
335
|
+
if (!mesh.isMesh) return;
|
|
336
|
+
const material = Array.isArray(mesh.material) ? mesh.material[0] : mesh.material;
|
|
337
|
+
const tag = material?.userData?.tag;
|
|
338
|
+
const part = typeof tag === "string" ? makeup.meshes[tag] : void 0;
|
|
339
|
+
if (part === void 0) return;
|
|
340
|
+
mesh.userData.destructionPart = part;
|
|
341
|
+
mesh.userData.destructionMaterial = materialOf.get(part);
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
|
|
304
345
|
// src/destruction.ts
|
|
305
346
|
var DESTRUCTION_MATERIAL_BY_TAG = {
|
|
306
347
|
metal: "steel",
|
|
@@ -432,6 +473,10 @@ function tessellateShapes(root, rule, T) {
|
|
|
432
473
|
function tagForDestruction(root, options = {}) {
|
|
433
474
|
const { modelId, shapeId, weight, size, powder, three } = options;
|
|
434
475
|
if (weight !== void 0 && weight > 0) root.userData.destructionMass = weight;
|
|
476
|
+
if (modelId !== void 0 && itemMakeup(modelId)) {
|
|
477
|
+
tagMakeupParts(root, modelId);
|
|
478
|
+
return;
|
|
479
|
+
}
|
|
435
480
|
const rule = modelId !== void 0 ? itemDestruction(modelId) : shapeId !== void 0 ? shapeDestruction(shapeId) : void 0;
|
|
436
481
|
if (rule?.tessellate) tessellateShapes(root, rule.tessellate, three);
|
|
437
482
|
const solid = [];
|
|
@@ -2972,13 +3017,43 @@ var models_default = [
|
|
|
2972
3017
|
0.05525
|
|
2973
3018
|
],
|
|
2974
3019
|
scale: 1
|
|
3020
|
+
},
|
|
3021
|
+
{
|
|
3022
|
+
id: "kabar",
|
|
3023
|
+
teamId: "kabar",
|
|
3024
|
+
teamBox: [
|
|
3025
|
+
3.0021,
|
|
3026
|
+
0.3804,
|
|
3027
|
+
0.56
|
|
3028
|
+
],
|
|
3029
|
+
scale: 0.100596
|
|
3030
|
+
},
|
|
3031
|
+
{
|
|
3032
|
+
id: "katana",
|
|
3033
|
+
teamId: "katana",
|
|
3034
|
+
teamBox: [
|
|
3035
|
+
9.8028,
|
|
3036
|
+
0.7878,
|
|
3037
|
+
0.8
|
|
3038
|
+
],
|
|
3039
|
+
scale: 0.099971
|
|
3040
|
+
},
|
|
3041
|
+
{
|
|
3042
|
+
id: "brass_knuckles",
|
|
3043
|
+
teamId: "soco_ingles",
|
|
3044
|
+
teamBox: [
|
|
3045
|
+
1.3,
|
|
3046
|
+
0.138,
|
|
3047
|
+
0.553
|
|
3048
|
+
],
|
|
3049
|
+
scale: 0.092308
|
|
2975
3050
|
}
|
|
2976
3051
|
];
|
|
2977
3052
|
|
|
2978
3053
|
// src/models/canned-beans.ts
|
|
2979
3054
|
var cannedBeans = ({ mesh, cyl, torus, G, metal, paper: paper2, food }) => {
|
|
2980
3055
|
const m = metal(9277590);
|
|
2981
|
-
return G(mesh(cyl(0.
|
|
3056
|
+
return G(mesh(cyl(0.29, 0.29, 0.52), m), mesh(cyl(0.31, 0.31, 0.34, 14), food(10172964)), mesh(cyl(0.33, 0.33, 0.06), paper2(14861162), [0, 0.02, 0]), mesh(torus(0.31, 0.025), m, [0, 0.26, 0], [Math.PI / 2, 0, 0]), mesh(torus(0.31, 0.025), m, [0, -0.26, 0], [Math.PI / 2, 0, 0]));
|
|
2982
3057
|
};
|
|
2983
3058
|
|
|
2984
3059
|
// src/data/opening.json
|
|
@@ -3142,7 +3217,7 @@ function setOpeningContents(root, share) {
|
|
|
3142
3217
|
}
|
|
3143
3218
|
|
|
3144
3219
|
// src/models/water-bottle.ts
|
|
3145
|
-
var waterBottle = ({ mesh, cyl, lathe, G, plastic, paper: paper2, glass }) => G(mesh(lathe([[0, -0.6], [0.2, -0.6], [0.
|
|
3220
|
+
var waterBottle = ({ mesh, cyl, lathe, G, plastic, paper: paper2, glass }) => G(mesh(lathe([[0, -0.6], [0.2, -0.6], [0.198, -0.5], [0.198, 0.2], [0.19, 0.32], [0.09, 0.45], [0.08, 0.55], [0, 0.55]]), glass(9421788, 0.55)), asLid(mesh(cyl(0.085, 0.085, 0.1, 12), plastic(2907530), [0, 0.6, 0])), mesh(cyl(0.212, 0.212, 0.22, 16), paper2(15330543), [0, -0.15, 0]), mesh(cyl(0.226, 0.226, 0.05, 16), plastic(3831976), [0, -0.12, 0]));
|
|
3146
3221
|
|
|
3147
3222
|
// src/models/rice.ts
|
|
3148
3223
|
var rice = ({ mesh, bx, G, paper: paper2, food }) => G(mesh(bx(0.7, 0.95, 0.28), paper2(15129792)), mesh(bx(0.72, 0.12, 0.1), paper2(14010792), [0, 0.52, 0]), mesh(bx(0.5, 0.3, 0.02), food(11883039), [0, 0.05, 0.15]), mesh(bx(0.3, 0.1, 0.02), paper2(4160069), [0, -0.25, 0.15]));
|
|
@@ -3151,12 +3226,12 @@ var rice = ({ mesh, bx, G, paper: paper2, food }) => G(mesh(bx(0.7, 0.95, 0.28),
|
|
|
3151
3226
|
var militaryRation = ({ mesh, bx, G, plastic, paper: paper2 }) => G(mesh(bx(0.75, 1, 0.22), plastic(5923142)), mesh(bx(0.77, 0.1, 0.23), plastic(4672823), [0, 0.48, 0]), mesh(bx(0.5, 0.14, 0.01), paper2(2237727), [0, 0.18, 0.115]), mesh(bx(0.36, 0.06, 0.01), paper2(2237727), [0, -0.02, 0.115]));
|
|
3152
3227
|
|
|
3153
3228
|
// src/models/cachaca.ts
|
|
3154
|
-
var cachaca = ({ mesh, cyl, lathe, G, wood, paper: paper2, food, glass }) => G(mesh(lathe([[0, -0.6], [0.
|
|
3229
|
+
var cachaca = ({ mesh, cyl, lathe, G, wood, paper: paper2, food, glass }) => G(mesh(lathe([[0, -0.6], [0.22, -0.6], [0.24, -0.52], [0.24, 0.1], [0.2, 0.25], [0.09, 0.35], [0.09, 0.58], [0, 0.58]]), glass(12749354, 0.78)), asLid(mesh(cyl(0.08, 0.07, 0.14, 10), wood(9071172), [0, 0.64, 0])), mesh(cyl(0.26, 0.26, 0.34, 16), paper2(15327692), [0, -0.25, 0]), mesh(cyl(0.276, 0.276, 0.06, 16), food(8007455), [0, -0.15, 0]));
|
|
3155
3230
|
|
|
3156
3231
|
// src/models/first-aid-kit.ts
|
|
3157
3232
|
var firstAidKit = ({ mesh, bx, torus, G, plastic }) => {
|
|
3158
3233
|
const r = plastic(11680300);
|
|
3159
|
-
return G(mesh(bx(1.05, 0.72, 0.38), plastic(15131608)), mesh(bx(1.07, 0.06, 0.4), plastic(12433578), [0, 0, 0]), mesh(bx(0.36, 0.1, 0.02), r, [0, 0.1, 0.2]), mesh(bx(0.1, 0.36, 0.02), r, [0, 0.1, 0.
|
|
3234
|
+
return G(mesh(bx(1.05, 0.72, 0.38), plastic(15131608)), mesh(bx(1.07, 0.06, 0.4), plastic(12433578), [0, 0, 0]), mesh(bx(0.36, 0.1, 0.02), r, [0, 0.1, 0.2]), mesh(bx(0.1, 0.36, 0.02), r, [0, 0.1, 0.195]), mesh(torus(0.16, 0.035, Math.PI), plastic(5591884), [0, 0.36, 0]));
|
|
3160
3235
|
};
|
|
3161
3236
|
|
|
3162
3237
|
// src/models/bandage.ts
|
|
@@ -3166,7 +3241,7 @@ var bandage = ({ mesh, cyl, bx, G, cloth: cloth2 }) => {
|
|
|
3166
3241
|
};
|
|
3167
3242
|
|
|
3168
3243
|
// src/models/amoxicillin.ts
|
|
3169
|
-
var amoxicillin = ({ T, mesh, bx, G, metal, plastic, paper: paper2 }) => G(mesh(bx(0.
|
|
3244
|
+
var amoxicillin = ({ T, mesh, bx, G, metal, plastic, paper: paper2 }) => G(mesh(bx(0.77, 0.42, 0.2), paper2(15789798)), mesh(bx(0.81, 0.1, 0.25), plastic(5141127), [0, 0.1, 0]), mesh(bx(0.6, 0.04, 0.3), metal(12172736), [0.15, -0.24, 0.25], [0, 0.3, 0]), ...[0, 1, 2, 3].map((k) => mesh(new T.SphereGeometry(0.05, 10, 8), plastic(14263361), [-0.05 + k * 0.14, -0.21, 0.3], [0, 0, 0], [1, 0.6, 1])));
|
|
3170
3245
|
|
|
3171
3246
|
// src/models/crowbar.ts
|
|
3172
3247
|
import { markShared } from "@adatechnology/game-shapes-three";
|
|
@@ -3203,11 +3278,79 @@ var crowbar = ({ T, mesh, bx, extrude, G, metal }) => {
|
|
|
3203
3278
|
// src/models/hammer.ts
|
|
3204
3279
|
var hammer = ({ T, mesh, cyl, bx, G, metal, wood, plastic }) => G(mesh(cyl(0.05, 0.065, 1.1, 10), wood(9069628), [0, -0.15, 0]), mesh(cyl(0.07, 0.07, 0.3, 10), plastic(2237727), [0, -0.6, 0]), mesh(bx(0.28, 0.15, 0.15), metal(5593437), [0.05, 0.45, 0]), mesh(cyl(0.08, 0.08, 0.1, 12), metal(5593437), [0.22, 0.45, 0], [0, 0, Math.PI / 2]), mesh(new T.ConeGeometry(0.06, 0.3, 6), metal(5593437), [-0.22, 0.5, 0.035], [0, 0, 1.9]), mesh(new T.ConeGeometry(0.06, 0.3, 6), metal(5593437), [-0.22, 0.5, -0.035], [0, 0, 1.9]));
|
|
3205
3280
|
|
|
3281
|
+
// src/models/brass-knuckles.ts
|
|
3282
|
+
var RINGS = [-0.455, -0.155, 0.155, 0.455];
|
|
3283
|
+
var brassKnuckles = ({ mesh, bx, cyl, lathe, G, metal }) => {
|
|
3284
|
+
const R = Math.PI / 2;
|
|
3285
|
+
const brass = metal(12095802);
|
|
3286
|
+
const ring = (radius) => lathe([[radius - 0.05, 0], [radius + 0.05, 0], [radius + 0.05, 0.1], [radius - 0.05, 0.1]], 10);
|
|
3287
|
+
return G(
|
|
3288
|
+
...RINGS.map((x, index) => mesh(ring(index === 0 || index === 3 ? 0.118 : 0.135), brass, [x, 0, 0.1])),
|
|
3289
|
+
mesh(bx(1.3, 0.1, 0.07), brass, [0, 0.05, 0.1]),
|
|
3290
|
+
mesh(cyl(0.068, 0.068, 1.16, 8), brass, [0, 0.07, -0.2], [0, 0, R]),
|
|
3291
|
+
// the plate behind the bar is 2 mm thinner on each face, so its top and bottom never share a plane with the bar's
|
|
3292
|
+
mesh(bx(1.1, 0.05, 0.3), brass, [0, 0.05, -0.05])
|
|
3293
|
+
);
|
|
3294
|
+
};
|
|
3295
|
+
|
|
3296
|
+
// src/models/kabar.ts
|
|
3297
|
+
var kabar = ({ mesh, bx, cyl, extrude, G, metal, plastic }) => {
|
|
3298
|
+
const R = Math.PI / 2;
|
|
3299
|
+
const steel = metal(2895667);
|
|
3300
|
+
const leather = plastic(8013603);
|
|
3301
|
+
const gap = plastic(2365458);
|
|
3302
|
+
const axis = 0.175;
|
|
3303
|
+
const gaps = Array.from({ length: 4 }, (_, index) => mesh(cyl(0.18, 0.18, 0.035, 8), gap, [0.4 + index * 0.25, axis, 0], [0, 0, R]));
|
|
3304
|
+
const blade2 = extrude([[1.36, -0.165], [2.48, -0.165], [2.72, -0.135], [2.995, -0.06], [3, -0.01], [2.82, 0.08], [2.55, 0.165], [1.36, 0.165]], 0.045, 2e-3);
|
|
3305
|
+
return G(
|
|
3306
|
+
mesh(cyl(0.2, 0.17, 0.16, 10), steel, [0.08, axis, 0], [0, 0, R]),
|
|
3307
|
+
mesh(cyl(0.175, 0.175, 1.1, 8), leather, [0.76, axis, 0], [0, 0, R]),
|
|
3308
|
+
...gaps,
|
|
3309
|
+
mesh(bx(0.07, 0.12, 0.52), steel, [1.325, axis, 0]),
|
|
3310
|
+
mesh(bx(0.12, 0.12, 0.04), steel, [1.36, axis, 0.26]),
|
|
3311
|
+
mesh(bx(0.12, 0.12, 0.04), steel, [1.36, axis, -0.26]),
|
|
3312
|
+
mesh(blade2, steel, [0, axis + 0.0225, 0], [R, 0, 0]),
|
|
3313
|
+
// the fuller stands 2 mm proud of the blade face, sunk into the blade below it, so the two never share a depth
|
|
3314
|
+
mesh(bx(0.95, 0.04, 0.045), metal(1776928), [1.95, axis + 0.0405, 0.07])
|
|
3315
|
+
);
|
|
3316
|
+
};
|
|
3317
|
+
|
|
3318
|
+
// src/models/katana.ts
|
|
3319
|
+
var SORI = 0.18;
|
|
3320
|
+
var TIP = 9.8;
|
|
3321
|
+
var ROOT = 3;
|
|
3322
|
+
var SAMPLES = 10;
|
|
3323
|
+
var bow = (t) => SORI * 4 * t * (1 - t);
|
|
3324
|
+
var halfWidth = (t) => 0.155 - 0.06 * t;
|
|
3325
|
+
var katana = ({ mesh, bx, cyl, extrude, G, metal, cloth: cloth2 }) => {
|
|
3326
|
+
const R = Math.PI / 2;
|
|
3327
|
+
const axis = 0.135;
|
|
3328
|
+
const edge = [];
|
|
3329
|
+
const spine = [];
|
|
3330
|
+
for (let index = 0; index <= SAMPLES; index++) {
|
|
3331
|
+
const t = index / SAMPLES;
|
|
3332
|
+
const x = ROOT + t * (TIP - ROOT - 0.25);
|
|
3333
|
+
edge.push([x, bow(t) - halfWidth(t)]);
|
|
3334
|
+
spine.push([x, bow(t) + halfWidth(t)]);
|
|
3335
|
+
}
|
|
3336
|
+
const blade2 = extrude([...edge, [TIP, bow(1) + 0.04], ...spine.reverse()], 0.055, 2e-3);
|
|
3337
|
+
const oval = [1, 1, 1.18];
|
|
3338
|
+
const bands = Array.from({ length: 8 }, (_, index) => mesh(cyl(0.142, 0.142, 0.05, 8), cloth2(12169888), [0.4 + index * 0.28, axis, 0], [0, 0, R], oval));
|
|
3339
|
+
return G(
|
|
3340
|
+
mesh(cyl(0.135, 0.135, 2.5, 8), cloth2(1848128), [1.45, axis, 0], [0, 0, R], oval),
|
|
3341
|
+
...bands,
|
|
3342
|
+
mesh(cyl(0.155, 0.155, 0.16, 8), metal(12095802), [0.08, axis, 0], [0, 0, R], oval),
|
|
3343
|
+
mesh(cyl(0.4, 0.4, 0.07, 18), metal(1908514), [2.735, axis, 0], [0, 0, R]),
|
|
3344
|
+
mesh(bx(0.22, 0.12, 0.3), metal(12095802), [2.9, axis, 0]),
|
|
3345
|
+
mesh(blade2, metal(13225682), [0, axis + 0.0275, 0], [R, 0, 0])
|
|
3346
|
+
);
|
|
3347
|
+
};
|
|
3348
|
+
|
|
3206
3349
|
// src/models/machete.ts
|
|
3207
3350
|
var machete = ({ mesh, cyl, bx, extrude, G, metal, wood }) => G(mesh(extrude([[0, 0], [1.25, 0.05], [1.4, 0.14], [1.3, 0.26], [0, 0.2]], 0.03), metal(11120048), [-0.55, 0, 0]), mesh(bx(0.45, 0.2, 0.1), wood(3877408), [-0.78, 0.1, 0.015]), ...[-0.9, -0.68].map((x) => mesh(cyl(0.025, 0.025, 0.12, 8), metal(12095802), [x, 0.1, 0.015], [Math.PI / 2, 0, 0])));
|
|
3208
3351
|
|
|
3209
3352
|
// src/models/axe.ts
|
|
3210
|
-
var axe = ({ M, mesh, cyl, bx, extrude, G, metal, wood }) => G(mesh(cyl(0.05, 0.06, 1.5, 10), wood(10122312), [0, -0.1, 0]), mesh(extrude([[0, 0], [0.42, -0.16], [0.5, 0.05], [0.48, 0.3], [0.4, 0.42], [0, 0.22]], 0.07), metal(7106677), [0.02, 0.38, -0.05]), mesh(bx(0.12, 0.26, 0.14), metal(4869456), [0, 0.5, 0]), mesh(bx(0.1, 0.2, 0.08), M(10168863, "plastic"), [0, 0.
|
|
3353
|
+
var axe = ({ M, mesh, cyl, bx, extrude, G, metal, wood }) => G(mesh(cyl(0.05, 0.06, 1.5, 10), wood(10122312), [0, -0.1, 0]), mesh(extrude([[0, 0], [0.42, -0.16], [0.5, 0.05], [0.48, 0.3], [0.4, 0.42], [0, 0.22]], 0.07), metal(7106677), [0.02, 0.38, -0.05]), mesh(bx(0.12, 0.26, 0.14), metal(4869456), [0, 0.5, 0]), mesh(bx(0.1, 0.2, 0.08), M(10168863, "plastic"), [0, 0.54, 0]));
|
|
3211
3354
|
|
|
3212
3355
|
// src/models/nail-bat.ts
|
|
3213
3356
|
var nailBat = ({ mesh, cyl, lathe, G, metal, wood }) => {
|
|
@@ -3247,7 +3390,7 @@ var houseKey = ({ mesh, bx, torus, extrude, G, metal, plastic }) => {
|
|
|
3247
3390
|
};
|
|
3248
3391
|
|
|
3249
3392
|
// src/models/survivor-diary.ts
|
|
3250
|
-
var survivorDiary = ({ mesh, bx, G, cloth: cloth2, paper: paper2 }) => G(mesh(bx(0.78, 1.02, 0.05), paper2(7028522), [0, 0, 0.1]), mesh(bx(0.78, 1.02, 0.05), paper2(7028522), [0, 0, -0.1]), mesh(bx(0.74, 0.98, 0.16), paper2(15327692), [0.01, 0, 0]), mesh(bx(0.06, 1.
|
|
3393
|
+
var survivorDiary = ({ mesh, bx, G, cloth: cloth2, paper: paper2 }) => G(mesh(bx(0.78, 1.02, 0.05), paper2(7028522), [0, 0, 0.1]), mesh(bx(0.78, 1.02, 0.05), paper2(7028522), [0, 0, -0.1]), mesh(bx(0.74, 0.98, 0.16), paper2(15327692), [0.01, 0, 0]), mesh(bx(0.06, 1.04, 0.27), paper2(5911330), [-0.38, 0, 0]), mesh(bx(0.03, 1.04, 0.27), cloth2(2237727), [0.25, 0, 0]), mesh(bx(0.18, 0.3, 0.01), paper2(14010792), [0.05, 0.2, 0.13], [0, 0, 0.08]));
|
|
3251
3394
|
|
|
3252
3395
|
// src/models/motorcycle-helmet.ts
|
|
3253
3396
|
var motorcycleHelmet = ({ T, M, mesh, cyl, bx, G, plastic }) => G(mesh(new T.SphereGeometry(0.55, 18, 12), plastic(2830138), [0, 0, 0], [0, 0, 0], [1, 0.95, 1.08]), mesh(new T.SphereGeometry(0.56, 18, 10, -0.9, 1.8, 1.05, 0.75), M(1316636, "glass", { roughness: 0.15, metalness: 0.4 }), [0, 0.02, 0.02], [0, 0, 0], [1, 0.95, 1.08]), mesh(bx(0.2, 0.12, 0.02), plastic(14710591), [0.42, 0.2, 0.22], [0, 0.95, 0]), mesh(cyl(0.5, 0.55, 0.12, 18), plastic(1908776), [0, -0.5, 0]));
|
|
@@ -3256,7 +3399,7 @@ var motorcycleHelmet = ({ T, M, mesh, cyl, bx, G, plastic }) => G(mesh(new T.Sph
|
|
|
3256
3399
|
var lpgCylinder13Kg = ({ mesh, cyl, bx, lathe, torus, G, metal }) => G(mesh(lathe([[0, -0.6], [0.38, -0.6], [0.42, -0.55], [0.45, -0.3], [0.45, 0.15], [0.4, 0.32], [0.28, 0.42], [0.12, 0.46], [0, 0.46]], 18), metal(3497862)), mesh(cyl(0.47, 0.47, 0.1, 18), metal(2705514), [0, -0.62, 0]), mesh(torus(0.24, 0.035), metal(2705514), [0, 0.58, 0], [Math.PI / 2, 0, 0]), mesh(cyl(0.07, 0.07, 0.14, 10), metal(12095802), [0, 0.5, 0]), mesh(bx(0.04, 0.2, 0.04), metal(2705514), [0.22, 0.5, 0]), mesh(bx(0.04, 0.2, 0.04), metal(2705514), [-0.22, 0.5, 0]));
|
|
3257
3400
|
|
|
3258
3401
|
// src/models/fuel-jerrycan.ts
|
|
3259
|
-
var fuelJerrycan = ({ mesh, cyl, bx, G, plastic }) => G(mesh(bx(0.85, 1, 0.42), plastic(10695210)), mesh(bx(0.6, 0.1, 0.3), plastic(8267296), [0, 0.
|
|
3402
|
+
var fuelJerrycan = ({ mesh, cyl, bx, G, plastic }) => G(mesh(bx(0.85, 1, 0.42), plastic(10695210)), mesh(bx(0.6, 0.1, 0.3), plastic(8267296), [0, 0.456, 0]), mesh(bx(0.36, 0.2, 0.1), plastic(10695210), [-0.12, 0.62, 0]), mesh(cyl(0.05, 0.07, 0.35, 10), plastic(14263361), [0.3, 0.66, 0], [0, 0, -0.6]), mesh(bx(0.6, 0.5, 0.02), plastic(9054754), [0, -0.1, 0.22]));
|
|
3260
3403
|
|
|
3261
3404
|
// src/models/walkie-talkies.ts
|
|
3262
3405
|
var walkieTalkies = ({ M, mesh, cyl, bx, G, plastic }) => G(mesh(bx(0.42, 0.9, 0.2), plastic(2764071)), mesh(bx(0.34, 0.3, 0.02), plastic(1447956), [0, -0.12, 0.11]), mesh(bx(0.24, 0.12, 0.02), M(10469258, "glass", { emissive: 3099170, emissiveIntensity: 0.7 }), [0, 0.22, 0.11]), mesh(cyl(0.035, 0.045, 0.6, 8), plastic(1776666), [0.12, 0.72, 0]), mesh(cyl(0.04, 0.04, 0.08, 10), plastic(11883039), [-0.12, 0.48, 0]), mesh(bx(0.05, 0.2, 0.1), plastic(3816757), [-0.23, 0.05, 0]));
|
|
@@ -3279,12 +3422,12 @@ var woodenPlank = ({ mesh, cyl, bx, G, metal, wood }) => {
|
|
|
3279
3422
|
|
|
3280
3423
|
// src/models/sugar.ts
|
|
3281
3424
|
var sugar = ({ mesh, bx, G, paper: paper2 }) => G(
|
|
3282
|
-
mesh(bx(1, 1.7, 0.
|
|
3425
|
+
mesh(bx(1, 1.7, 0.561), paper2(16052714), [0, -0.15, -95e-4]),
|
|
3283
3426
|
mesh(bx(1, 0.3, 0.34), paper2(14999504), [0, 0.85, 0]),
|
|
3284
|
-
mesh(bx(1, 0.05, 0.12), paper2(13222832), [0, 0.
|
|
3285
|
-
mesh(bx(0.7, 0.8, 0.
|
|
3286
|
-
mesh(bx(0.5, 0.14, 0.
|
|
3287
|
-
mesh(bx(0.5, 0.14, 0.
|
|
3427
|
+
mesh(bx(1, 0.05, 0.12), paper2(13222832), [0, 0.955, 0]),
|
|
3428
|
+
mesh(bx(0.7, 0.8, 0.08), paper2(4157332), [0, -0.1, 0.251]),
|
|
3429
|
+
mesh(bx(0.5, 0.14, 0.05), paper2(16052714), [0, 0.1, 0.286]),
|
|
3430
|
+
mesh(bx(0.5, 0.14, 0.05), paper2(16052714), [0, -0.3, 0.286])
|
|
3288
3431
|
);
|
|
3289
3432
|
|
|
3290
3433
|
// src/models/chocolate-bar.ts
|
|
@@ -3292,10 +3435,10 @@ var chocolateBar = ({ mesh, bx, G, paper: paper2, food }) => {
|
|
|
3292
3435
|
const chocolate = food(4860442);
|
|
3293
3436
|
const pieces = [-0.5, 0, 0.5].flatMap((x) => [0.18, -0.07].map((y) => mesh(bx(0.46, 0.22, 0.04), chocolate, [x, y, 0.03])));
|
|
3294
3437
|
return G(
|
|
3295
|
-
mesh(bx(1.5, 0.7, 0.
|
|
3438
|
+
mesh(bx(1.5, 0.7, 0.061), paper2(12172480), [0, 0, -0.0205]),
|
|
3296
3439
|
...pieces,
|
|
3297
|
-
mesh(bx(1.
|
|
3298
|
-
mesh(bx(0.9, 0.05, 0.
|
|
3440
|
+
mesh(bx(1.46, 0.175, 0.05), paper2(10170159), [0, -0.2375, 0]),
|
|
3441
|
+
mesh(bx(0.9, 0.05, 0.05), paper2(15260072), [0, -0.25, 0.026])
|
|
3299
3442
|
);
|
|
3300
3443
|
};
|
|
3301
3444
|
|
|
@@ -3319,7 +3462,7 @@ var biscuits = ({ mesh, bx, cyl, G, paper: paper2, food }) => {
|
|
|
3319
3462
|
const biscuit = food(13209422);
|
|
3320
3463
|
const cream = food(15127202);
|
|
3321
3464
|
return G(
|
|
3322
|
-
mesh(bx(
|
|
3465
|
+
mesh(bx(1.9, 0.215, 0.95), paper2(3104140), [0, -0.1175, 0]),
|
|
3323
3466
|
mesh(bx(0.1, 0.3, 1), paper2(2378352), [-0.95, -0.1, 0]),
|
|
3324
3467
|
mesh(bx(0.1, 0.3, 1), paper2(2378352), [0.95, -0.1, 0]),
|
|
3325
3468
|
mesh(cyl(0.38, 0.38, 0.1, 12), biscuit, [-0.45, 0.04, 0]),
|
|
@@ -3345,10 +3488,10 @@ var rawBeef = ({ T, mesh, bx, G, plastic, food }) => {
|
|
|
3345
3488
|
const ball = new T.SphereGeometry(0.5, 8, 6);
|
|
3346
3489
|
return G(
|
|
3347
3490
|
mesh(bx(2, 0.1, 1.5), plastic(15855851), [0, -0.2, 0]),
|
|
3348
|
-
mesh(bx(
|
|
3349
|
-
mesh(bx(
|
|
3350
|
-
mesh(bx(0.08, 0.16, 1.
|
|
3351
|
-
mesh(bx(0.08, 0.16, 1.
|
|
3491
|
+
mesh(bx(1.96, 0.16, 0.08), plastic(15855851), [0, -0.13, 0.69]),
|
|
3492
|
+
mesh(bx(1.96, 0.16, 0.08), plastic(15855851), [0, -0.13, -0.69]),
|
|
3493
|
+
mesh(bx(0.08, 0.16, 1.3), plastic(15855851), [0.94, -0.13, 0]),
|
|
3494
|
+
mesh(bx(0.08, 0.16, 1.3), plastic(15855851), [-0.94, -0.13, 0]),
|
|
3352
3495
|
mesh(ball, food(10692138), [0, 0, 0], [0, 0.2, 0], [1.6, 0.5, 1.05]),
|
|
3353
3496
|
mesh(ball, food(15324865), [-0.35, 0.08, 0.3], [0, 0.4, 0], [0.7, 0.3, 0.3]),
|
|
3354
3497
|
mesh(ball, food(8198944), [0.4, 0.09, -0.1], [0, 0.2, 0], [0.6, 0.3, 0.5])
|
|
@@ -3378,9 +3521,9 @@ var jerkedBeef = ({ mesh, bx, cyl, G, food, wood }) => {
|
|
|
3378
3521
|
const fat = food(12159594);
|
|
3379
3522
|
return G(
|
|
3380
3523
|
mesh(bx(2.5, 0.08, 0.4), dark, [0, -0.085, -0.55]),
|
|
3381
|
-
mesh(bx(2.2, 0.
|
|
3524
|
+
mesh(bx(2.2, 0.05, 0.4), mid, [0.1, 0.08, -0.18]),
|
|
3382
3525
|
mesh(bx(2.4, 0.08, 0.4), dark, [-0.05, -0.085, 0.2]),
|
|
3383
|
-
mesh(bx(2.1, 0.
|
|
3526
|
+
mesh(bx(2.1, 0.05, 0.4), mid, [0.15, 0.08, 0.55]),
|
|
3384
3527
|
mesh(bx(1.1, 0.012, 0.06), fat, [0.2, 0.12, -0.18]),
|
|
3385
3528
|
mesh(bx(0.9, 0.012, 0.06), fat, [-0.3, 0.12, 0.55]),
|
|
3386
3529
|
mesh(cyl(0.04, 0.04, 1.5, 6), wood(10189386), [-0.95, 0.085, 0], [Math.PI / 2, 0, 0])
|
|
@@ -3389,9 +3532,9 @@ var jerkedBeef = ({ mesh, bx, cyl, G, food, wood }) => {
|
|
|
3389
3532
|
|
|
3390
3533
|
// src/models/home-preserves.ts
|
|
3391
3534
|
var homePreserves = ({ mesh, cyl, G, glass, metal, paper: paper2, food, cloth: cloth2 }) => G(
|
|
3392
|
-
mesh(cyl(0.
|
|
3535
|
+
mesh(cyl(0.43, 0.43, 0.98, 12), glass(13625070, 0.5), [0, -0.16, 0]),
|
|
3393
3536
|
mesh(cyl(0.41, 0.41, 0.86, 12), food(9314106), [0, -0.2, 0]),
|
|
3394
|
-
mesh(cyl(0.34, 0.
|
|
3537
|
+
mesh(cyl(0.34, 0.43, 0.12, 12), glass(13625070, 0.5), [0, 0.39, 0]),
|
|
3395
3538
|
mesh(cyl(0.34, 0.34, 0.05, 12), glass(13625070, 0.5), [0, 0.475, 0]),
|
|
3396
3539
|
asLid(mesh(cyl(0.38, 0.38, 0.15, 12), metal(12163644), [0, 0.575, 0])),
|
|
3397
3540
|
mesh(cyl(0.45, 0.45, 0.4, 12), paper2(15327172), [0, -0.2, 0]),
|
|
@@ -3408,15 +3551,15 @@ var eggs = ({ T, mesh, bx, G, paper: paper2, food }) => {
|
|
|
3408
3551
|
...eggs2,
|
|
3409
3552
|
mesh(bx(0.05, 0.18, 1), carton, [-0.4, -0.06, 0]),
|
|
3410
3553
|
mesh(bx(0.05, 0.18, 1), carton, [0.4, -0.06, 0]),
|
|
3411
|
-
mesh(bx(2.
|
|
3554
|
+
mesh(bx(2.45, 0.12, 0.04), carton, [0, -0.1, 0.455])
|
|
3412
3555
|
);
|
|
3413
3556
|
};
|
|
3414
3557
|
|
|
3415
3558
|
// src/models/cassava-flour.ts
|
|
3416
3559
|
var cassavaFlour = ({ T, mesh, bx, G, paper: paper2, food }) => G(
|
|
3417
3560
|
mesh(bx(1.5, 2.2, 0.58), paper2(15854034), [0, -0.15, 0]),
|
|
3418
|
-
mesh(bx(1.5, 0.
|
|
3419
|
-
mesh(bx(1.
|
|
3561
|
+
mesh(bx(1.5, 0.26, 0.34), paper2(14471603), [0, 1.08, 0]),
|
|
3562
|
+
mesh(bx(1.46, 0.05, 0.12), paper2(12892304), [0, 1.225, 0]),
|
|
3420
3563
|
mesh(bx(1.1, 1, 0.02), paper2(13929002), [0, -0.1, 0.3]),
|
|
3421
3564
|
mesh(bx(1.1, 0.16, 0.022), paper2(5995066), [0, -0.78, 0.3]),
|
|
3422
3565
|
mesh(new T.SphereGeometry(0.5, 8, 4), food(8016432), [0, 0, 0.29], [0, 0, 0.5], [0.8, 0.28, 0.04])
|
|
@@ -3428,8 +3571,8 @@ var beans = ({ T, mesh, bx, G, cloth: cloth2, paper: paper2, food }) => {
|
|
|
3428
3571
|
const dark = food(4858904);
|
|
3429
3572
|
return G(
|
|
3430
3573
|
mesh(bx(1, 1.7, 0.58), cloth2(9067054), [0, -0.15, 0]),
|
|
3431
|
-
mesh(bx(1, 0.
|
|
3432
|
-
mesh(bx(
|
|
3574
|
+
mesh(bx(1, 0.26, 0.34), cloth2(7357983), [0, 0.83, 0]),
|
|
3575
|
+
mesh(bx(0.96, 0.05, 0.12), cloth2(5912342), [0, 0.975, 0]),
|
|
3433
3576
|
mesh(bx(0.7, 0.8, 0.02), paper2(15259568), [0, -0.1, 0.3]),
|
|
3434
3577
|
mesh(bean, dark, [-0.1, 0, 0.29], [0, 0, 0.6], [0.22, 0.14, 0.04]),
|
|
3435
3578
|
mesh(bean, dark, [0.12, -0.1, 0.29], [0, 0, -0.5], [0.22, 0.14, 0.04]),
|
|
@@ -3454,7 +3597,7 @@ var frozenChicken = ({ T, mesh, bx, cyl, G, plastic, glass, food }) => {
|
|
|
3454
3597
|
...leg(-0.45),
|
|
3455
3598
|
mesh(small, skin, [-0.55, 0.05, 0.62], [0, 0, 0], [0.8, 0.3, 0.35]),
|
|
3456
3599
|
mesh(small, skin, [-0.55, 0.05, -0.62], [0, 0, 0], [0.8, 0.3, 0.35]),
|
|
3457
|
-
mesh(bx(2.6, 0.14, 0.05), plastic(8366020), [0, 0.
|
|
3600
|
+
mesh(bx(2.6, 0.14, 0.05), plastic(8366020), [0, 0.41, 0.8])
|
|
3458
3601
|
);
|
|
3459
3602
|
};
|
|
3460
3603
|
|
|
@@ -3468,10 +3611,10 @@ var orange = ({ T, mesh, cyl, bx, G, food }) => G(
|
|
|
3468
3611
|
|
|
3469
3612
|
// src/models/condensed-milk.ts
|
|
3470
3613
|
var condensedMilk = ({ mesh, cyl, G, metal, paper: paper2 }) => G(
|
|
3471
|
-
mesh(cyl(0.
|
|
3614
|
+
mesh(cyl(0.31, 0.31, 0.96, 12), metal(12106946)),
|
|
3472
3615
|
mesh(cyl(0.365, 0.365, 0.04, 12), metal(9277590), [0, 0.48, 0]),
|
|
3473
3616
|
mesh(cyl(0.365, 0.365, 0.04, 12), metal(9277590), [0, -0.48, 0]),
|
|
3474
|
-
mesh(cyl(0.
|
|
3617
|
+
mesh(cyl(0.335, 0.335, 0.52, 12), paper2(15856108), [0, -0.02, 0]),
|
|
3475
3618
|
mesh(cyl(0.367, 0.367, 0.16, 12), paper2(3107496), [0, 0.1, 0]),
|
|
3476
3619
|
mesh(cyl(0.367, 0.367, 0.06, 12), paper2(3107496), [0, -0.2, 0]),
|
|
3477
3620
|
mesh(cyl(0.12, 0.12, 8e-3, 8), metal(9277590), [0, 0.5, 0])
|
|
@@ -3481,9 +3624,9 @@ var condensedMilk = ({ mesh, cyl, G, metal, paper: paper2 }) => G(
|
|
|
3481
3624
|
var pasta = ({ mesh, bx, G, paper: paper2, glass, food }) => {
|
|
3482
3625
|
const strand = food(15257478);
|
|
3483
3626
|
return G(
|
|
3484
|
-
mesh(bx(
|
|
3627
|
+
mesh(bx(0.96, 2.5, 0.32), paper2(11680300)),
|
|
3485
3628
|
mesh(bx(0.7, 1.7, 0.02), glass(15921902, 0.35), [0, -0.1, 0.195]),
|
|
3486
|
-
...[-0.24, -0.12, 0, 0.12, 0.24].map((x) => mesh(bx(0.05, 1.6, 0.03), strand, [x, -0.1, 0.
|
|
3629
|
+
...[-0.24, -0.12, 0, 0.12, 0.24].map((x) => mesh(bx(0.05, 1.6, 0.03), strand, [x, -0.1, 0.168])),
|
|
3487
3630
|
mesh(bx(1, 0.16, 0.4), paper2(15852472), [0, 1, 0]),
|
|
3488
3631
|
mesh(bx(1, 0.16, 0.4), paper2(15852472), [0, -1.1, 0])
|
|
3489
3632
|
);
|
|
@@ -3496,8 +3639,8 @@ var instantNoodles = ({ mesh, bx, cyl, G, plastic, paper: paper2, food }) => {
|
|
|
3496
3639
|
mesh(bx(1.2, 1.3, 0.28), wrap),
|
|
3497
3640
|
mesh(bx(1.2, 0.15, 0.1), plastic(12081690), [0, 0.725, 0]),
|
|
3498
3641
|
mesh(bx(1.2, 0.15, 0.1), plastic(12081690), [0, -0.725, 0]),
|
|
3499
|
-
mesh(cyl(0.38, 0.38, 0.02, 12), paper2(15983272), [0, 0.05, 0.
|
|
3500
|
-
mesh(cyl(0.3, 0.3, 0.
|
|
3642
|
+
mesh(cyl(0.38, 0.38, 0.02, 12), paper2(15983272), [0, 0.05, 0.144], [Math.PI / 2, 0, 0]),
|
|
3643
|
+
mesh(cyl(0.3, 0.3, 0.02, 12), food(15124582), [0, 0.1, 0.158], [Math.PI / 2, 0, 0]),
|
|
3501
3644
|
mesh(bx(0.9, 0.16, 0.02), paper2(9054746), [0, -0.5, 0.15])
|
|
3502
3645
|
);
|
|
3503
3646
|
};
|
|
@@ -3517,13 +3660,13 @@ var cassavaRoot = ({ mesh, cyl, G, food }) => {
|
|
|
3517
3660
|
|
|
3518
3661
|
// src/models/canned-corn-and-peas.ts
|
|
3519
3662
|
var cannedCornAndPeas = ({ mesh, cyl, G, metal, paper: paper2 }) => G(
|
|
3520
|
-
mesh(cyl(0.
|
|
3663
|
+
mesh(cyl(0.3, 0.3, 0.81, 12), metal(12106946)),
|
|
3521
3664
|
mesh(cyl(0.365, 0.365, 0.04, 12), metal(9277590), [0, 0.405, 0]),
|
|
3522
3665
|
mesh(cyl(0.365, 0.365, 0.04, 12), metal(9277590), [0, -0.405, 0]),
|
|
3523
|
-
mesh(cyl(0.
|
|
3666
|
+
mesh(cyl(0.325, 0.325, 0.5, 12), paper2(5212730), [0, 0, 0]),
|
|
3524
3667
|
mesh(cyl(0.367, 0.367, 0.14, 12), paper2(15320122), [0, 0.09, 0]),
|
|
3525
|
-
mesh(cyl(0.12, 0.12, 0.01, 10), paper2(15982730), [-0.13, 0, 0.
|
|
3526
|
-
mesh(cyl(0.1, 0.1, 0.01, 10), paper2(8042056), [0.12, -0.08, 0.
|
|
3668
|
+
mesh(cyl(0.12, 0.12, 0.01, 10), paper2(15982730), [-0.13, 0, 0.35], [Math.PI / 2, 0, 0]),
|
|
3669
|
+
mesh(cyl(0.1, 0.1, 0.01, 10), paper2(8042056), [0.12, -0.08, 0.35], [Math.PI / 2, 0, 0])
|
|
3527
3670
|
);
|
|
3528
3671
|
|
|
3529
3672
|
// src/models/mortadella.ts
|
|
@@ -3595,9 +3738,9 @@ var bananaBunch = ({ mesh, bx, cyl, G, food }) => {
|
|
|
3595
3738
|
|
|
3596
3739
|
// src/models/honey-jar.ts
|
|
3597
3740
|
var honeyJar = ({ mesh, cyl, G, glass, metal, paper: paper2, food }) => G(
|
|
3598
|
-
mesh(cyl(0.
|
|
3599
|
-
mesh(cyl(0.
|
|
3600
|
-
mesh(cyl(0.3, 0.
|
|
3741
|
+
mesh(cyl(0.375, 0.375, 0.68, 12), glass(14925936, 0.55), [0, -0.16, 0]),
|
|
3742
|
+
mesh(cyl(0.35, 0.35, 0.56, 12), food(14260764), [0, -0.18, 0]),
|
|
3743
|
+
mesh(cyl(0.3, 0.375, 0.14, 12), glass(14925936, 0.55), [0, 0.25, 0]),
|
|
3601
3744
|
asLid(mesh(cyl(0.3, 0.3, 0.18, 12), metal(7031324), [0, 0.41, 0])),
|
|
3602
3745
|
mesh(cyl(0.4, 0.4, 0.34, 12), paper2(15853512), [0, -0.2, 0]),
|
|
3603
3746
|
mesh(cyl(0.402, 0.402, 0.05, 12), paper2(9067028), [0, -0.1, 0]),
|
|
@@ -3630,11 +3773,11 @@ var cheese = ({ mesh, bx, cyl, G, food, extrude }) => {
|
|
|
3630
3773
|
|
|
3631
3774
|
// src/models/rapadura.ts
|
|
3632
3775
|
var rapadura = ({ mesh, bx, G, food, paper: paper2 }) => G(
|
|
3633
|
-
mesh(bx(1.9, 0.46, 0.
|
|
3634
|
-
mesh(bx(1.78, 0.04, 0.
|
|
3635
|
-
mesh(bx(1.9, 0.46, 0.
|
|
3636
|
-
mesh(bx(1.78, 0.04, 0.
|
|
3637
|
-
mesh(bx(0.
|
|
3776
|
+
mesh(bx(1.9, 0.46, 0.52), food(9067051), [0, -0.25, 0]),
|
|
3777
|
+
mesh(bx(1.78, 0.04, 0.48), food(10185270), [0, -0.01, 0]),
|
|
3778
|
+
mesh(bx(1.9, 0.46, 0.52), food(8212261), [0, 0.25, 0]),
|
|
3779
|
+
mesh(bx(1.78, 0.04, 0.48), food(10185270), [0, 0.5, 0]),
|
|
3780
|
+
mesh(bx(0.38, 0.92, 0.56), paper2(13214314), [0, 0, 0]),
|
|
3638
3781
|
mesh(bx(0.42, 0.2, 0.602), paper2(7027226), [0, 0, 0])
|
|
3639
3782
|
);
|
|
3640
3783
|
|
|
@@ -3642,22 +3785,22 @@ var rapadura = ({ mesh, bx, G, food, paper: paper2 }) => G(
|
|
|
3642
3785
|
var dogFood = ({ mesh, bx, cyl, G, paper: paper2 }) => {
|
|
3643
3786
|
const brown = paper2(7028514);
|
|
3644
3787
|
return G(
|
|
3645
|
-
mesh(bx(1.8, 2.3, 0.
|
|
3646
|
-
mesh(bx(1.8, 0.
|
|
3647
|
-
mesh(bx(1.
|
|
3648
|
-
mesh(bx(1.3, 1.3, 0.
|
|
3649
|
-
mesh(cyl(0.3, 0.3, 0.
|
|
3650
|
-
...[-0.4, -0.14, 0.14, 0.4].map((x, index) => mesh(cyl(0.09, 0.09, 0.
|
|
3651
|
-
mesh(bx(1.3, 0.2, 0.022), paper2(3104058), [0, -1, 0.
|
|
3788
|
+
mesh(bx(1.8, 2.3, 0.65), paper2(11879967), [0, -0.15, -0.02]),
|
|
3789
|
+
mesh(bx(1.8, 0.26, 0.4), paper2(10107416), [0, 1.13, 0]),
|
|
3790
|
+
mesh(bx(1.76, 0.05, 0.14), paper2(8006160), [0, 1.275, 0]),
|
|
3791
|
+
mesh(bx(1.3, 1.3, 0.05), paper2(15853512), [0, -0.05, 0.315]),
|
|
3792
|
+
mesh(cyl(0.3, 0.3, 0.04, 10), brown, [0, -0.25, 0.346], [Math.PI / 2, 0, 0]),
|
|
3793
|
+
...[-0.4, -0.14, 0.14, 0.4].map((x, index) => mesh(cyl(0.09, 0.09, 0.04, 8), brown, [x, 0.2 + (index % 3 === 0 ? 0 : 0.14), 0.346], [Math.PI / 2, 0, 0])),
|
|
3794
|
+
mesh(bx(1.3, 0.2, 0.022), paper2(3104058), [0, -1, 0.315])
|
|
3652
3795
|
);
|
|
3653
3796
|
};
|
|
3654
3797
|
|
|
3655
3798
|
// src/models/salt.ts
|
|
3656
3799
|
var salt = ({ mesh, cyl, G, paper: paper2, plastic }) => G(
|
|
3657
|
-
mesh(cyl(0.
|
|
3658
|
-
mesh(cyl(0.25, 0.
|
|
3800
|
+
mesh(cyl(0.312, 0.312, 1.28, 12), paper2(15658730), [0, -0.14, 0]),
|
|
3801
|
+
mesh(cyl(0.25, 0.312, 0.15, 12), paper2(14079696), [0, 0.575, 0]),
|
|
3659
3802
|
mesh(cyl(0.12, 0.12, 0.15, 12), plastic(3107496), [0, 0.725, 0]),
|
|
3660
|
-
mesh(cyl(0.
|
|
3803
|
+
mesh(cyl(0.332, 0.332, 0.7, 12), paper2(3107496), [0, -0.3, 0]),
|
|
3661
3804
|
mesh(cyl(0.352, 0.352, 0.3, 12), paper2(15658730), [0, -0.3, 0]),
|
|
3662
3805
|
mesh(cyl(0.35, 0.35, 0.06, 12), paper2(2378352), [0, -0.78, 0])
|
|
3663
3806
|
);
|
|
@@ -3674,47 +3817,47 @@ var snackChips = ({ T, mesh, bx, G, paper: paper2, plastic, food }) => G(
|
|
|
3674
3817
|
|
|
3675
3818
|
// src/models/canned-sausages.ts
|
|
3676
3819
|
var cannedSausages = ({ mesh, cyl, bx, G, metal, paper: paper2, food }) => G(
|
|
3677
|
-
mesh(cyl(0.
|
|
3820
|
+
mesh(cyl(0.3, 0.3, 0.81, 12), metal(12106946)),
|
|
3678
3821
|
mesh(cyl(0.365, 0.365, 0.04, 12), metal(9277590), [0, 0.405, 0]),
|
|
3679
3822
|
mesh(cyl(0.365, 0.365, 0.04, 12), metal(9277590), [0, -0.405, 0]),
|
|
3680
|
-
mesh(cyl(0.
|
|
3823
|
+
mesh(cyl(0.325, 0.325, 0.5, 12), paper2(11022890), [0, 0, 0]),
|
|
3681
3824
|
mesh(cyl(0.367, 0.367, 0.06, 12), paper2(15853512), [0, 0.2, 0]),
|
|
3682
3825
|
mesh(cyl(0.367, 0.367, 0.06, 12), paper2(15853512), [0, -0.2, 0]),
|
|
3683
|
-
mesh(bx(0.4, 0.08, 0.01), food(14262394), [0, 0.05, 0.
|
|
3684
|
-
mesh(bx(0.4, 0.08, 0.01), food(13077606), [0, -0.07, 0.
|
|
3826
|
+
mesh(bx(0.4, 0.08, 0.01), food(14262394), [0, 0.05, 0.35]),
|
|
3827
|
+
mesh(bx(0.4, 0.08, 0.01), food(13077606), [0, -0.07, 0.35])
|
|
3685
3828
|
);
|
|
3686
3829
|
|
|
3687
3830
|
// src/models/canned-sardines.ts
|
|
3688
3831
|
var cannedSardines = ({ T, mesh, bx, cyl, G, metal, paper: paper2, food }) => {
|
|
3689
3832
|
const tin = metal(12106946);
|
|
3690
3833
|
return G(
|
|
3691
|
-
mesh(bx(1.12, 0.
|
|
3692
|
-
mesh(bx(1, 0.04, 0.54), metal(10133157), [0, 0.
|
|
3693
|
-
mesh(bx(0.7, 0.
|
|
3834
|
+
mesh(bx(1.12, 0.195, 0.6), tin, [0, -75e-4, 0]),
|
|
3835
|
+
mesh(bx(1, 0.04, 0.54), metal(10133157), [0, 0.09, 0]),
|
|
3836
|
+
mesh(bx(0.7, 0.03, 0.34), paper2(3107496), [0, 0.115, 0]),
|
|
3694
3837
|
mesh(new T.SphereGeometry(0.5, 8, 4), food(13620954), [-0.05, 0.125, 0], [0, 0.2, 0], [0.45, 0.01, 0.12]),
|
|
3695
|
-
mesh(cyl(0.08, 0.08, 0.
|
|
3838
|
+
mesh(cyl(0.08, 0.08, 0.03, 8), metal(9277590), [0.42, 0.115, 0]),
|
|
3696
3839
|
mesh(bx(0.5, 0.02, 0.65), metal(9277590), [0, -0.12, 0])
|
|
3697
3840
|
);
|
|
3698
3841
|
};
|
|
3699
3842
|
|
|
3700
3843
|
// src/models/cooking-oil.ts
|
|
3701
3844
|
var cookingOil = ({ mesh, cyl, G, glass, plastic, paper: paper2 }) => G(
|
|
3702
|
-
mesh(cyl(0.
|
|
3703
|
-
mesh(cyl(0.12, 0.
|
|
3845
|
+
mesh(cyl(0.305, 0.305, 1.7, 12), glass(14923824, 0.65), [0, -0.45, 0]),
|
|
3846
|
+
mesh(cyl(0.12, 0.305, 0.5, 12), glass(14923824, 0.65), [0, 0.65, 0]),
|
|
3704
3847
|
mesh(cyl(0.12, 0.12, 0.25, 12), glass(14923824, 0.65), [0, 1.025, 0]),
|
|
3705
3848
|
asLid(mesh(cyl(0.14, 0.14, 0.15, 12), plastic(4160042), [0, 1.225, 0])),
|
|
3706
|
-
mesh(cyl(0.
|
|
3849
|
+
mesh(cyl(0.33, 0.33, 0.8, 12), paper2(15853512), [0, -0.5, 0]),
|
|
3707
3850
|
mesh(cyl(0.352, 0.352, 0.2, 12), paper2(4160042), [0, -0.5, 0])
|
|
3708
3851
|
);
|
|
3709
3852
|
|
|
3710
3853
|
// src/models/beer-can.ts
|
|
3711
3854
|
var beerCan = ({ mesh, cyl, bx, G, metal, paper: paper2 }) => {
|
|
3712
3855
|
const shell = metal(2316169);
|
|
3713
|
-
const foot = mesh(cyl(0.
|
|
3714
|
-
const body = mesh(cyl(0.
|
|
3856
|
+
const foot = mesh(cyl(0.3, 0.29, 0.12, 16), shell, [0, -0.54, 0]);
|
|
3857
|
+
const body = mesh(cyl(0.3, 0.3, 0.88, 16), shell, [0, -0.04, 0]);
|
|
3715
3858
|
const label = mesh(cyl(0.332, 0.332, 0.56, 16), paper2(13938487), [0, -0.02, 0]);
|
|
3716
3859
|
const stripe = mesh(cyl(0.332, 0.332, 0.06, 16), paper2(15921124), [0, 0.3, 0]);
|
|
3717
|
-
const neck = mesh(cyl(0.27, 0.
|
|
3860
|
+
const neck = mesh(cyl(0.27, 0.3, 0.12, 16), shell, [0, 0.46, 0]);
|
|
3718
3861
|
const lid = mesh(cyl(0.285, 0.285, 0.08, 16), metal(11581631), [0, 0.552, 0]);
|
|
3719
3862
|
const tab = mesh(bx(0.1, 8e-3, 0.18), metal(9278618), [0, 0.596, 0.04]);
|
|
3720
3863
|
return G(foot, body, label, stripe, neck, lid, tab);
|
|
@@ -3723,12 +3866,12 @@ var beerCan = ({ mesh, cyl, bx, G, metal, paper: paper2 }) => {
|
|
|
3723
3866
|
// src/models/energy-drink.ts
|
|
3724
3867
|
var energyDrink = ({ mesh, cyl, bx, G, metal, paper: paper2 }) => {
|
|
3725
3868
|
const shell = metal(1710618);
|
|
3726
|
-
const foot = mesh(cyl(0.
|
|
3727
|
-
const body = mesh(cyl(0.
|
|
3869
|
+
const foot = mesh(cyl(0.265, 0.25, 0.12, 12), shell, [0, -0.615, 0]);
|
|
3870
|
+
const body = mesh(cyl(0.265, 0.265, 1, 12), shell, [0, -0.055, 0]);
|
|
3728
3871
|
const label = mesh(cyl(0.292, 0.292, 0.8, 12), paper2(51283), [0, -0.055, 0]);
|
|
3729
3872
|
const upperBand = mesh(cyl(0.292, 0.292, 0.05, 12), paper2(15790320), [0, 0.37, 0]);
|
|
3730
3873
|
const lowerBand = mesh(cyl(0.292, 0.292, 0.05, 12), paper2(15790320), [0, -0.48, 0]);
|
|
3731
|
-
const neck = mesh(cyl(0.235, 0.
|
|
3874
|
+
const neck = mesh(cyl(0.235, 0.265, 0.12, 12), shell, [0, 0.505, 0]);
|
|
3732
3875
|
const lid = mesh(cyl(0.24, 0.24, 0.12, 12), metal(10066329), [0, 0.615, 0]);
|
|
3733
3876
|
const tab = mesh(bx(0.08, 8e-3, 0.14), metal(7829367), [0, 0.671, 0.05]);
|
|
3734
3877
|
return G(foot, body, label, upperBand, lowerBand, neck, lid, tab);
|
|
@@ -3737,21 +3880,21 @@ var energyDrink = ({ mesh, cyl, bx, G, metal, paper: paper2 }) => {
|
|
|
3737
3880
|
// src/models/water-jug-5l.ts
|
|
3738
3881
|
var waterJug5l = ({ mesh, bx, cyl, G, plastic, paper: paper2, glass }) => {
|
|
3739
3882
|
const dark = plastic(1402304);
|
|
3740
|
-
const body = mesh(bx(1.5, 2.3, 1.
|
|
3883
|
+
const body = mesh(bx(1.5, 2.3, 1.46), glass(10473710, 0.75), [0, -0.5, -0.02]);
|
|
3741
3884
|
const shoulder = mesh(bx(1.2, 0.45, 1.2), glass(10473710, 0.75), [0, 0.875, 0]);
|
|
3742
3885
|
const neck = mesh(cyl(0.34, 0.34, 0.3, 12), dark, [0, 1.25, 0]);
|
|
3743
3886
|
const cap = asLid(mesh(cyl(0.4, 0.4, 0.25, 12), dark, [0, 1.525, 0]));
|
|
3744
|
-
const grip = mesh(bx(0.
|
|
3887
|
+
const grip = mesh(bx(0.12, 0.86, 0.26), dark, [1.07, 0.6, 0]);
|
|
3745
3888
|
const upperBar = mesh(bx(0.45, 0.16, 0.3), dark, [0.925, 0.97, 0]);
|
|
3746
3889
|
const lowerBar = mesh(bx(0.45, 0.16, 0.3), dark, [0.925, 0.23, 0]);
|
|
3747
|
-
const label = mesh(bx(1, 0.9, 0.
|
|
3748
|
-
const band = mesh(bx(1, 0.2, 0.
|
|
3890
|
+
const label = mesh(bx(1, 0.9, 0.04), paper2(16054008), [0, -0.5, 0.71]);
|
|
3891
|
+
const band = mesh(bx(1, 0.2, 0.04), paper2(3113160), [0, -0.3, 0.731]);
|
|
3749
3892
|
return G(body, shoulder, neck, cap, grip, upperBar, lowerBar, label, band);
|
|
3750
3893
|
};
|
|
3751
3894
|
|
|
3752
3895
|
// src/models/sports-drink.ts
|
|
3753
3896
|
var sportsDrink = ({ mesh, cyl, lathe, G, plastic, paper: paper2 }) => {
|
|
3754
|
-
const bottle2 = mesh(lathe([[0, -0.915], [0.28, -0.915], [0.
|
|
3897
|
+
const bottle2 = mesh(lathe([[0, -0.915], [0.28, -0.915], [0.31, -0.86], [0.31, 0.28], [0.28, 0.5], [0.18, 0.64], [0.17, 0.72], [0, 0.72]], 12), plastic(2130128));
|
|
3755
3898
|
const label = mesh(cyl(0.332, 0.332, 0.7, 12), paper2(1448738), [0, -0.12, 0]);
|
|
3756
3899
|
const stripe = mesh(cyl(0.332, 0.332, 0.1, 12), paper2(15753232), [0, 0.28, 0]);
|
|
3757
3900
|
const collar = mesh(cyl(0.2, 0.2, 0.04, 12), plastic(15263976), [0, 0.705, 0]);
|
|
@@ -3762,12 +3905,12 @@ var sportsDrink = ({ mesh, cyl, lathe, G, plastic, paper: paper2 }) => {
|
|
|
3762
3905
|
// src/models/milk-carton.ts
|
|
3763
3906
|
var milkCarton = ({ mesh, bx, cyl, extrude, G, paper: paper2, plastic }) => {
|
|
3764
3907
|
const white = paper2(15987436);
|
|
3765
|
-
const body = mesh(bx(0.7, 1.3, 0.
|
|
3766
|
-
const gable = mesh(extrude([[-0.35, 0], [0.35, 0], [0.025, 0.5], [-0.025, 0.5]], 0.
|
|
3767
|
-
const fin = mesh(bx(0.05, 0.2, 0.
|
|
3768
|
-
const frontPanel = mesh(bx(0.5, 0.6, 0.
|
|
3769
|
-
const backPanel = mesh(bx(0.5, 0.6, 0.
|
|
3770
|
-
const baseStripe = mesh(bx(0.5, 0.08, 0.
|
|
3908
|
+
const body = mesh(bx(0.7, 1.3, 0.656), white, [0, -0.35, 0]);
|
|
3909
|
+
const gable = mesh(extrude([[-0.35, 0], [0.35, 0], [0.025, 0.5], [-0.025, 0.5]], 0.656, 0), white, [0, 0.3, -0.328]);
|
|
3910
|
+
const fin = mesh(bx(0.05, 0.2, 0.656), paper2(14276816), [0, 0.9, 0]);
|
|
3911
|
+
const frontPanel = mesh(bx(0.5, 0.6, 0.026), paper2(3108800), [0, -0.3, 0.3275]);
|
|
3912
|
+
const backPanel = mesh(bx(0.5, 0.6, 0.026), paper2(3108800), [0, -0.3, -0.338]);
|
|
3913
|
+
const baseStripe = mesh(bx(0.5, 0.08, 0.026), paper2(15987436), [0, -0.55, 0.34]);
|
|
3771
3914
|
const spout = mesh(cyl(0.07, 0.07, 0.04, 8), plastic(13777723), [0.2, 0.558, 0], [0, 0, -0.995]);
|
|
3772
3915
|
return G(body, gable, fin, frontPanel, backPanel, baseStripe, spout);
|
|
3773
3916
|
};
|
|
@@ -3775,10 +3918,10 @@ var milkCarton = ({ mesh, bx, cyl, extrude, G, paper: paper2, plastic }) => {
|
|
|
3775
3918
|
// src/models/soda-can.ts
|
|
3776
3919
|
var sodaCan = ({ mesh, cyl, bx, G, metal, paper: paper2 }) => {
|
|
3777
3920
|
const shell = metal(12068395);
|
|
3778
|
-
const foot = mesh(cyl(0.
|
|
3779
|
-
const body = mesh(cyl(0.
|
|
3921
|
+
const foot = mesh(cyl(0.31, 0.29, 0.12, 16), shell, [0, -0.54, 0]);
|
|
3922
|
+
const body = mesh(cyl(0.31, 0.31, 0.88, 16), shell, [0, -0.04, 0]);
|
|
3780
3923
|
const wave = mesh(cyl(0.332, 0.332, 0.22, 16), paper2(16052714), [0, 0.02, 0]);
|
|
3781
|
-
const neck = mesh(cyl(0.27, 0.
|
|
3924
|
+
const neck = mesh(cyl(0.27, 0.31, 0.12, 16), shell, [0, 0.46, 0]);
|
|
3782
3925
|
const lid = mesh(cyl(0.285, 0.285, 0.08, 16), metal(11581631), [0, 0.552, 0]);
|
|
3783
3926
|
const tab = mesh(bx(0.1, 8e-3, 0.18), metal(9278618), [0, 0.596, 0.04]);
|
|
3784
3927
|
return G(foot, body, wave, neck, lid, tab);
|
|
@@ -3786,10 +3929,10 @@ var sodaCan = ({ mesh, cyl, bx, G, metal, paper: paper2 }) => {
|
|
|
3786
3929
|
|
|
3787
3930
|
// src/models/juice-box.ts
|
|
3788
3931
|
var juiceBox = ({ mesh, bx, cyl, G, paper: paper2, plastic }) => {
|
|
3789
|
-
const body = mesh(bx(0.
|
|
3932
|
+
const body = mesh(bx(0.48, 0.88, 0.322), paper2(14715424), [0, -0.06, 0]);
|
|
3790
3933
|
const fin = mesh(bx(0.52, 0.12, 0.12), paper2(13202458), [0, 0.44, 0]);
|
|
3791
|
-
const label = mesh(bx(0.4, 0.5, 0.02), paper2(16183780), [0, -0.05, 0.
|
|
3792
|
-
const fruit2 = mesh(cyl(0.1, 0.1, 0.02, 10), paper2(14043674), [0, -0.02, 0.
|
|
3934
|
+
const label = mesh(bx(0.4, 0.5, 0.02), paper2(16183780), [0, -0.05, 0.1635]);
|
|
3935
|
+
const fruit2 = mesh(cyl(0.1, 0.1, 0.02, 10), paper2(14043674), [0, -0.02, 0.176], [Math.PI / 2, 0, 0]);
|
|
3793
3936
|
const stripe = mesh(bx(0.52, 0.08, 0.371), paper2(6989903), [0, -0.38, 0]);
|
|
3794
3937
|
const straw = mesh(cyl(0.012, 0.012, 0.3, 6), plastic(15921906), [0, 0.485, 0.06], [0, 0, Math.PI / 2]);
|
|
3795
3938
|
return G(body, fin, label, fruit2, stripe, straw);
|
|
@@ -3797,8 +3940,8 @@ var juiceBox = ({ mesh, bx, cyl, G, paper: paper2, plastic }) => {
|
|
|
3797
3940
|
|
|
3798
3941
|
// src/models/communion-wine.ts
|
|
3799
3942
|
var communionWine = ({ mesh, bx, cyl, lathe, G, glass, paper: paper2, metal }) => {
|
|
3800
|
-
const bottle2 = mesh(lathe([[0, -1.5], [0.
|
|
3801
|
-
const label = mesh(cyl(0.
|
|
3943
|
+
const bottle2 = mesh(lathe([[0, -1.5], [0.29, -1.5], [0.335, -1.42], [0.335, 0.4], [0.325, 0.55], [0.2, 0.9], [0.135, 1.05], [0.135, 1.12], [0, 1.12]], 12), glass(3805205, 0.85));
|
|
3944
|
+
const label = mesh(cyl(0.36, 0.36, 0.9, 12), paper2(14932144), [0, -0.4, 0]);
|
|
3802
3945
|
const goldBand = mesh(cyl(0.382, 0.382, 0.05, 12), metal(11896880), [0, 0.075, 0]);
|
|
3803
3946
|
const crossUpright = mesh(bx(0.06, 0.26, 0.02), paper2(8003371), [0, -0.35, 0.375]);
|
|
3804
3947
|
const crossArm = mesh(bx(0.18, 0.06, 0.02), paper2(8003371), [0, -0.3, 0.375]);
|
|
@@ -3808,7 +3951,7 @@ var communionWine = ({ mesh, bx, cyl, lathe, G, glass, paper: paper2, metal }) =
|
|
|
3808
3951
|
|
|
3809
3952
|
// src/models/coconut-water.ts
|
|
3810
3953
|
var coconutWater = ({ mesh, bx, cyl, lathe, G, plastic, paper: paper2 }) => {
|
|
3811
|
-
const bottle2 = mesh(lathe([[0, -0.85], [0.
|
|
3954
|
+
const bottle2 = mesh(lathe([[0, -0.85], [0.23, -0.85], [0.275, -0.8], [0.275, 0.3], [0.24, 0.52], [0.13, 0.66], [0.12, 0.72], [0, 0.72]], 12), plastic(15265764));
|
|
3812
3955
|
const label = mesh(cyl(0.3, 0.3, 0.7, 12), paper2(4165450), [0, -0.15, 0]);
|
|
3813
3956
|
const nut = mesh(cyl(0.11, 0.11, 0.03, 10), paper2(7031339), [0, -0.12, 0.285], [Math.PI / 2, 0, 0]);
|
|
3814
3957
|
const leafLeft = mesh(bx(0.2, 0.05, 0.01), paper2(15135448), [-0.12, 0.08, 0.292], [0, 0, 0.5]);
|
|
@@ -3819,9 +3962,9 @@ var coconutWater = ({ mesh, bx, cyl, lathe, G, plastic, paper: paper2 }) => {
|
|
|
3819
3962
|
|
|
3820
3963
|
// src/models/dirty-water.ts
|
|
3821
3964
|
var dirtyWater = ({ mesh, cyl, lathe, G, plastic, paper: paper2, glass, food }) => {
|
|
3822
|
-
const bottle2 = mesh(lathe([[0, -0.915], [0.
|
|
3823
|
-
const murk = mesh(lathe([[0, -0.89], [0.
|
|
3824
|
-
const sediment = mesh(cyl(0.
|
|
3965
|
+
const bottle2 = mesh(lathe([[0, -0.915], [0.26, -0.915], [0.3, -0.86], [0.3, 0.28], [0.28, 0.5], [0.18, 0.64], [0.17, 0.72], [0, 0.72]], 12), glass(12174520, 0.45));
|
|
3966
|
+
const murk = mesh(lathe([[0, -0.89], [0.235, -0.89], [0.275, -0.84], [0.275, 0.1], [0, 0.1]], 12), food(7035444));
|
|
3967
|
+
const sediment = mesh(cyl(0.25, 0.21, 0.12, 8), food(4865314), [0, -0.8, 0]);
|
|
3825
3968
|
const label = mesh(cyl(0.332, 0.332, 0.22, 12), paper2(13617588), [0, 0.38, 0]);
|
|
3826
3969
|
const cap = asLid(mesh(cyl(0.19, 0.19, 0.2, 8), plastic(5922920), [0, 0.815, 0]));
|
|
3827
3970
|
return G(bottle2, murk, sediment, label, cap);
|
|
@@ -3829,8 +3972,8 @@ var dirtyWater = ({ mesh, cyl, lathe, G, plastic, paper: paper2, glass, food })
|
|
|
3829
3972
|
|
|
3830
3973
|
// src/models/painkillers.ts
|
|
3831
3974
|
var painkillers = ({ mesh, bx, cyl, G, paper: paper2, metal, glass }) => {
|
|
3832
|
-
const card = mesh(bx(0.6, 0.
|
|
3833
|
-
const strip = mesh(bx(0.12, 0.
|
|
3975
|
+
const card = mesh(bx(0.6, 0.031, 0.4), metal(13684944), [0, -0.0855, 0]);
|
|
3976
|
+
const strip = mesh(bx(0.12, 0.03, 0.36), paper2(13378082), [0.22, -0.065, 0]);
|
|
3834
3977
|
const blisterShell = glass(15660021, 0.7);
|
|
3835
3978
|
const bumps = [-0.16, 0, 0.16].flatMap((x) => [-0.1, 0.1].map((z) => mesh(cyl(0.06, 0.07, 0.18, 8), blisterShell, [x - 0.06, 0.01, z])));
|
|
3836
3979
|
return G(card, strip, ...bumps);
|
|
@@ -3838,31 +3981,31 @@ var painkillers = ({ mesh, bx, cyl, G, paper: paper2, metal, glass }) => {
|
|
|
3838
3981
|
|
|
3839
3982
|
// src/models/tramadol.ts
|
|
3840
3983
|
var tramadol = ({ mesh, bx, cyl, G, paper: paper2, plastic }) => {
|
|
3841
|
-
const carton = mesh(bx(0.
|
|
3842
|
-
const band = mesh(bx(0.
|
|
3843
|
-
const label = mesh(bx(0.55, 0.24, 0.
|
|
3844
|
-
const title = mesh(bx(0.4, 0.04, 0.
|
|
3845
|
-
const pill = mesh(cyl(0.07, 0.07, 0.
|
|
3984
|
+
const carton = mesh(bx(0.91, 0.5, 0.0915), paper2(16052712), [0, 0, -925e-5]);
|
|
3985
|
+
const band = mesh(bx(0.95, 0.12, 0.152), paper2(2051983), [0, -0.169, 0]);
|
|
3986
|
+
const label = mesh(bx(0.55, 0.24, 0.03), paper2(16777215), [-0.12, 0.06, 0.0415]);
|
|
3987
|
+
const title = mesh(bx(0.4, 0.04, 0.025), paper2(2051983), [-0.12, 0.1, 0.064]);
|
|
3988
|
+
const pill = mesh(cyl(0.07, 0.07, 0.03, 10), plastic(15130832), [0.3, 0.06, 0.0415], [Math.PI / 2, 0, 0]);
|
|
3846
3989
|
return G(carton, band, label, title, pill);
|
|
3847
3990
|
};
|
|
3848
3991
|
|
|
3849
3992
|
// src/models/ibuprofen.ts
|
|
3850
3993
|
var ibuprofen = ({ mesh, bx, cyl, G, paper: paper2, plastic }) => {
|
|
3851
|
-
const carton = mesh(bx(0.95, 0.5, 0.
|
|
3852
|
-
const band = mesh(bx(0.
|
|
3853
|
-
const label = mesh(bx(0.6, 0.24, 0.
|
|
3854
|
-
const title = mesh(bx(0.44, 0.05, 0.
|
|
3855
|
-
const pill = mesh(cyl(0.07, 0.07, 0.
|
|
3994
|
+
const carton = mesh(bx(0.95, 0.5, 0.1285), paper2(15300398), [0, 0, -0.01175]);
|
|
3995
|
+
const band = mesh(bx(0.91, 0.08, 0.127), paper2(16183522), [0, 0.19, 1e-3]);
|
|
3996
|
+
const label = mesh(bx(0.6, 0.24, 0.012), paper2(16644334), [-0.1, -0.05, 0.0585]);
|
|
3997
|
+
const title = mesh(bx(0.44, 0.05, 0.012), paper2(12801050), [-0.1, -0, 0.0705]);
|
|
3998
|
+
const pill = mesh(cyl(0.07, 0.07, 0.024, 10), plastic(15980960), [0.3, -0.05, 0.0645], [Math.PI / 2, 0, 0]);
|
|
3856
3999
|
return G(carton, band, label, title, pill);
|
|
3857
4000
|
};
|
|
3858
4001
|
|
|
3859
4002
|
// src/models/antihistamine.ts
|
|
3860
4003
|
var antihistamine = ({ mesh, bx, cyl, G, paper: paper2, plastic }) => {
|
|
3861
|
-
const carton = mesh(bx(0.
|
|
3862
|
-
const band = mesh(bx(0.
|
|
3863
|
-
const label = mesh(bx(0.5, 0.26, 0.
|
|
3864
|
-
const title = mesh(bx(0.36, 0.05, 0.
|
|
3865
|
-
const pill = mesh(cyl(0.065, 0.065, 0.
|
|
4004
|
+
const carton = mesh(bx(0.75, 0.5, 0.0863), paper2(8085159), [0, 0, -685e-5]);
|
|
4005
|
+
const band = mesh(bx(0.8, 0.1, 0.152), paper2(15789814), [0, -0.178, 0]);
|
|
4006
|
+
const label = mesh(bx(0.5, 0.26, 0.03), paper2(16250107), [-0.1, 0.05, 0.0414]);
|
|
4007
|
+
const title = mesh(bx(0.36, 0.05, 0.03), paper2(8085159), [-0.1, 0.1, 0.0615]);
|
|
4008
|
+
const pill = mesh(cyl(0.065, 0.065, 0.03, 10), plastic(16119285), [0.28, 0.05, 0.0615], [Math.PI / 2, 0, 0]);
|
|
3866
4009
|
return G(carton, band, label, title, pill);
|
|
3867
4010
|
};
|
|
3868
4011
|
|
|
@@ -3880,33 +4023,33 @@ var ceftriaxone = ({ mesh, bx, cyl, G, plastic, glass, metal, paper: paper2 }) =
|
|
|
3880
4023
|
|
|
3881
4024
|
// src/models/clonazepam.ts
|
|
3882
4025
|
var clonazepam = ({ mesh, bx, cyl, G, paper: paper2, plastic }) => {
|
|
3883
|
-
const carton = mesh(bx(0.
|
|
3884
|
-
const band = mesh(bx(0.
|
|
3885
|
-
const label = mesh(bx(0.55, 0.22, 0.
|
|
3886
|
-
const title = mesh(bx(0.4, 0.04, 0.
|
|
3887
|
-
const pill = mesh(cyl(0.065, 0.065, 0.
|
|
4026
|
+
const carton = mesh(bx(0.85, 0.5, 0.0863), paper2(15921904), [0, 0, -685e-5]);
|
|
4027
|
+
const band = mesh(bx(0.9, 0.14, 0.152), paper2(2853486), [0, 0.1575, 0]);
|
|
4028
|
+
const label = mesh(bx(0.55, 0.22, 0.03), paper2(16777215), [-0.1, -0.07, 0.0414]);
|
|
4029
|
+
const title = mesh(bx(0.4, 0.04, 0.03), paper2(2853486), [-0.1, -0.02, 0.0615]);
|
|
4030
|
+
const pill = mesh(cyl(0.065, 0.065, 0.03, 10), plastic(7321320), [0.3, -0.07, 0.0615], [Math.PI / 2, 0, 0]);
|
|
3888
4031
|
return G(carton, band, label, title, pill);
|
|
3889
4032
|
};
|
|
3890
4033
|
|
|
3891
4034
|
// src/models/activated-charcoal.ts
|
|
3892
4035
|
var activatedCharcoal = ({ mesh, bx, cyl, G, plastic, paper: paper2 }) => {
|
|
3893
4036
|
const black = plastic(1842204);
|
|
3894
|
-
const body = mesh(bx(0.6, 0.65, 0.
|
|
4037
|
+
const body = mesh(bx(0.6, 0.65, 0.2), black, [0, -0.15, -0.025]);
|
|
3895
4038
|
const shoulder = mesh(bx(0.44, 0.1, 0.2), black, [0, 0.225, 0]);
|
|
3896
4039
|
const neck = mesh(cyl(0.1, 0.1, 0.1, 10), black, [0, 0.325, 0]);
|
|
3897
4040
|
const cap = mesh(cyl(0.12, 0.12, 0.1, 10), plastic(15263976), [0, 0.425, 0]);
|
|
3898
|
-
const label = mesh(bx(0.5, 0.36, 0.
|
|
3899
|
-
const title = mesh(bx(0.36, 0.06, 0.
|
|
4041
|
+
const label = mesh(bx(0.5, 0.36, 0.03), paper2(15921902), [0, -0.15, 0.0805]);
|
|
4042
|
+
const title = mesh(bx(0.36, 0.06, 0.03), paper2(1842204), [0, -0.05, 0.1115]);
|
|
3900
4043
|
return G(body, shoulder, neck, cap, label, title);
|
|
3901
4044
|
};
|
|
3902
4045
|
|
|
3903
4046
|
// src/models/adhesive-bandages.ts
|
|
3904
4047
|
var adhesiveBandages = ({ mesh, bx, G, metal, paper: paper2 }) => {
|
|
3905
|
-
const body = mesh(bx(1, 0.54, 0.
|
|
3906
|
-
const lid = mesh(bx(1, 0.06, 0.
|
|
3907
|
-
const label = mesh(bx(0.7, 0.34, 0.
|
|
3908
|
-
const crossUpright = mesh(bx(0.08, 0.24, 0.
|
|
3909
|
-
const crossArm = mesh(bx(0.24, 0.08, 0.
|
|
4048
|
+
const body = mesh(bx(1, 0.54, 0.0913), metal(14278112), [0, -0.03, -0.02885]);
|
|
4049
|
+
const lid = mesh(bx(1, 0.06, 0.0913), metal(2788054), [0, 0.27, -0.02885]);
|
|
4050
|
+
const label = mesh(bx(0.7, 0.34, 0.03), paper2(16185074), [0, -0.05, 0.0214]);
|
|
4051
|
+
const crossUpright = mesh(bx(0.08, 0.24, 0.03), paper2(13775149), [0, -0.05, 0.0415]);
|
|
4052
|
+
const crossArm = mesh(bx(0.24, 0.08, 0.03), paper2(13775149), [0, -0.05, 0.0616]);
|
|
3910
4053
|
return G(body, lid, label, crossUpright, crossArm);
|
|
3911
4054
|
};
|
|
3912
4055
|
|
|
@@ -3921,20 +4064,20 @@ var medicalTape = ({ mesh, cyl, lathe, G, cloth: cloth2, plastic }) => {
|
|
|
3921
4064
|
|
|
3922
4065
|
// src/models/sterile-gauze.ts
|
|
3923
4066
|
var sterileGauze = ({ mesh, bx, G, paper: paper2 }) => {
|
|
3924
|
-
const packet = mesh(bx(
|
|
3925
|
-
const topSeal = mesh(bx(
|
|
3926
|
-
const bottomSeal = mesh(bx(
|
|
3927
|
-
const label = mesh(bx(0.6, 0.4, 0.
|
|
3928
|
-
const crossUpright = mesh(bx(0.07, 0.26, 0.
|
|
3929
|
-
const crossArm = mesh(bx(0.26, 0.07, 0.
|
|
4067
|
+
const packet = mesh(bx(0.96, 0.96, 0.072), paper2(15660021), [0, 0, -6e-3]);
|
|
4068
|
+
const topSeal = mesh(bx(1, 0.08, 0.112), paper2(13030618), [0, 0.46, -6e-3]);
|
|
4069
|
+
const bottomSeal = mesh(bx(1, 0.08, 0.112), paper2(13030618), [0, -0.46, -6e-3]);
|
|
4070
|
+
const label = mesh(bx(0.6, 0.4, 0.04), paper2(3112897), [0, -0.05, 0.03]);
|
|
4071
|
+
const crossUpright = mesh(bx(0.07, 0.26, 0.04), paper2(16777215), [0, -0.05, 0.05]);
|
|
4072
|
+
const crossArm = mesh(bx(0.26, 0.07, 0.04), paper2(16777215), [0, -0.05, 0.0706]);
|
|
3930
4073
|
return G(packet, topSeal, bottomSeal, label, crossUpright, crossArm);
|
|
3931
4074
|
};
|
|
3932
4075
|
|
|
3933
4076
|
// src/models/povidone-iodine.ts
|
|
3934
4077
|
var povidoneIodine = ({ mesh, cyl, lathe, G, glass, plastic, paper: paper2 }) => {
|
|
3935
|
-
const bottle2 = mesh(lathe([[0, -0.55], [0.
|
|
4078
|
+
const bottle2 = mesh(lathe([[0, -0.55], [0.18, -0.55], [0.2, -0.5], [0.2, 0.15], [0.15, 0.28], [0.1, 0.33], [0.1, 0.34], [0, 0.34]], 12), glass(7027220, 0.85), [0, 0, 0], [0, 0, 0], [1, 1, 0.79]);
|
|
3936
4079
|
const label = mesh(cyl(0.2255, 0.2255, 0.4, 12), paper2(15787724), [0, -0.18, 0], [0, 0, 0], [1, 1, 0.79]);
|
|
3937
|
-
const stripe = mesh(cyl(0.2255, 0.2255, 0.07, 12), paper2(11887901), [0, 0, 0], [0, 0, 0], [1, 1, 0.79]);
|
|
4080
|
+
const stripe = mesh(cyl(0.2255, 0.2255, 0.07, 12), paper2(11887901), [0, 0.055, 0], [0, 0, 0], [1, 1, 0.79]);
|
|
3938
4081
|
const cap = mesh(cyl(0.11, 0.11, 0.16, 10), plastic(15921906), [0, 0.4, 0]);
|
|
3939
4082
|
const nozzle = mesh(cyl(0.03, 0.07, 0.07, 8), plastic(14211288), [0, 0.515, 0]);
|
|
3940
4083
|
return G(bottle2, label, stripe, cap, nozzle);
|
|
@@ -3942,26 +4085,26 @@ var povidoneIodine = ({ mesh, cyl, lathe, G, glass, plastic, paper: paper2 }) =>
|
|
|
3942
4085
|
|
|
3943
4086
|
// src/models/suture-kit.ts
|
|
3944
4087
|
var sutureKit = ({ mesh, bx, torus, G, plastic, metal, paper: paper2 }) => {
|
|
3945
|
-
const lower = mesh(bx(1.5, 0.8, 0.
|
|
3946
|
-
const lid = mesh(bx(1.5, 0.8, 0.
|
|
4088
|
+
const lower = mesh(bx(1.5, 0.8, 0.1135), plastic(2972283), [0, 0, -0.05675]);
|
|
4089
|
+
const lid = mesh(bx(1.5, 0.8, 0.1135), plastic(4029091), [0, 0, 0.05675]);
|
|
3947
4090
|
const latch = mesh(bx(0.2, 0.14, 0.304), metal(12765132), [0.62, 0, 0]);
|
|
3948
|
-
const label = mesh(bx(0.7, 0.34, 0.
|
|
4091
|
+
const label = mesh(bx(0.7, 0.34, 0.03), paper2(16053488), [-0.2, -0.1, 0.1185]);
|
|
3949
4092
|
const needle = mesh(torus(0.12, 0.018, 4.2), metal(14146528), [-0.2, 0.1, 0.135]);
|
|
3950
|
-
const thread = mesh(bx(0.5, 0.02, 0.
|
|
4093
|
+
const thread = mesh(bx(0.5, 0.02, 0.035), paper2(1842204), [-0.2, -0.1, 0.136]);
|
|
3951
4094
|
return G(lower, lid, latch, label, needle, thread);
|
|
3952
4095
|
};
|
|
3953
4096
|
|
|
3954
4097
|
// src/models/exam-gloves.ts
|
|
3955
4098
|
var examGloves = ({ mesh, bx, G, plastic, paper: paper2 }) => {
|
|
3956
4099
|
const nitrile = plastic(3829413);
|
|
3957
|
-
const cuff = mesh(bx(0.6, 0.22, 0.
|
|
4100
|
+
const cuff = mesh(bx(0.6, 0.22, 0.058), plastic(2905471), [0, -0.49, 0]);
|
|
3958
4101
|
const palm = mesh(bx(0.7, 0.5, 0.1), nitrile, [0, -0.15, 0]);
|
|
3959
4102
|
const pinky = mesh(bx(0.16, 0.34, 0.1), nitrile, [-0.2625, 0.27, 0]);
|
|
3960
4103
|
const ring = mesh(bx(0.16, 0.44, 0.1), nitrile, [-0.0875, 0.32, 0]);
|
|
3961
4104
|
const middle = mesh(bx(0.16, 0.5, 0.1), nitrile, [0.0875, 0.35, 0]);
|
|
3962
4105
|
const index = mesh(bx(0.16, 0.46, 0.1), nitrile, [0.2625, 0.33, 0]);
|
|
3963
4106
|
const thumb = mesh(bx(0.15, 0.38, 0.1), nitrile, [0.46, 0, 0], [0, 0, -1]);
|
|
3964
|
-
const tag = mesh(bx(0.4, 0.1, 0.
|
|
4107
|
+
const tag = mesh(bx(0.4, 0.1, 0.03), paper2(16053488), [0, -0.49, 0.0355]);
|
|
3965
4108
|
return G(cuff, palm, pinky, ring, middle, index, thumb, tag);
|
|
3966
4109
|
};
|
|
3967
4110
|
|
|
@@ -3981,7 +4124,7 @@ var n95Mask = ({ mesh, bx, extrude, G, cloth: cloth2, metal, paper: paper2 }) =>
|
|
|
3981
4124
|
|
|
3982
4125
|
// src/models/multivitamin.ts
|
|
3983
4126
|
var multivitamin = ({ mesh, cyl, lathe, G, plastic, paper: paper2 }) => {
|
|
3984
|
-
const bottle2 = mesh(lathe([[0, -0.45], [0.
|
|
4127
|
+
const bottle2 = mesh(lathe([[0, -0.45], [0.2, -0.45], [0.228, -0.41], [0.228, 0.15], [0.2, 0.24], [0.17, 0.26], [0, 0.26]], 12), plastic(13203738));
|
|
3985
4128
|
const label = mesh(cyl(0.25, 0.25, 0.42, 12), paper2(16183778), [0, -0.14, 0]);
|
|
3986
4129
|
const stripe = mesh(cyl(0.25, 0.25, 0.06, 12), paper2(4169301), [0, 0.11, 0]);
|
|
3987
4130
|
const collar = mesh(cyl(0.2, 0.2, 0.03, 12), plastic(15263976), [0, 0.265, 0]);
|
|
@@ -3991,7 +4134,7 @@ var multivitamin = ({ mesh, cyl, lathe, G, plastic, paper: paper2 }) => {
|
|
|
3991
4134
|
|
|
3992
4135
|
// src/models/maintenance-medication.ts
|
|
3993
4136
|
var maintenanceMedication = ({ mesh, bx, cyl, lathe, G, plastic, paper: paper2 }) => {
|
|
3994
|
-
const bottle2 = mesh(lathe([[0, -0.45], [0.
|
|
4137
|
+
const bottle2 = mesh(lathe([[0, -0.45], [0.17, -0.45], [0.19, -0.42], [0.19, 0.25], [0, 0.25]], 12), plastic(14256427));
|
|
3995
4138
|
const label = mesh(cyl(0.212, 0.212, 0.45, 12), paper2(16184558), [0, -0.1, 0]);
|
|
3996
4139
|
const stripe = mesh(cyl(0.212, 0.212, 0.07, 12), paper2(12729138), [0, 0.155, 0]);
|
|
3997
4140
|
const dosageBar = mesh(bx(0.04, 0.16, 0.01), paper2(2763306), [0, -0.1, 0.207]);
|
|
@@ -4003,13 +4146,13 @@ var maintenanceMedication = ({ mesh, bx, cyl, lathe, G, plastic, paper: paper2 }
|
|
|
4003
4146
|
// src/models/rehydration-salts.ts
|
|
4004
4147
|
var rehydrationSalts = ({ mesh, bx, cyl, G, paper: paper2, metal }) => {
|
|
4005
4148
|
const foil = metal(15134450);
|
|
4006
|
-
const lower = mesh(bx(0.9, 0.5, 0.
|
|
4007
|
-
const stripe = mesh(bx(0.9, 0.14, 0.
|
|
4008
|
-
const upper = mesh(bx(0.9, 0.32, 0.
|
|
4009
|
-
const topCrimp = mesh(bx(0.9, 0.12, 0.05), metal(13227226), [0, 0.54, 0]);
|
|
4010
|
-
const bottomCrimp = mesh(bx(0.9, 0.12, 0.05), metal(13227226), [0, -0.54, 0]);
|
|
4011
|
-
const label = mesh(bx(0.6, 0.3, 0.
|
|
4012
|
-
const drop = mesh(cyl(0.06, 0.06, 0.
|
|
4149
|
+
const lower = mesh(bx(0.9, 0.5, 0.08), foil, [0, -0.23, -0.01]);
|
|
4150
|
+
const stripe = mesh(bx(0.9, 0.14, 0.08), paper2(3121104), [0, 0.09, -0.01]);
|
|
4151
|
+
const upper = mesh(bx(0.9, 0.32, 0.08), foil, [0, 0.32, -0.01]);
|
|
4152
|
+
const topCrimp = mesh(bx(0.9, 0.12, 0.05), metal(13227226), [0, 0.54, -0.01]);
|
|
4153
|
+
const bottomCrimp = mesh(bx(0.9, 0.12, 0.05), metal(13227226), [0, -0.54, -0.01]);
|
|
4154
|
+
const label = mesh(bx(0.6, 0.3, 0.03), paper2(16777215), [0, -0.23, 0.0355]);
|
|
4155
|
+
const drop = mesh(cyl(0.06, 0.06, 0.03, 8), paper2(16777215), [0, 0.09, 0.0355], [Math.PI / 2, 0, 0]);
|
|
4013
4156
|
return G(lower, stripe, upper, topCrimp, bottomCrimp, label, drop);
|
|
4014
4157
|
};
|
|
4015
4158
|
|
|
@@ -4030,26 +4173,26 @@ var syringe = ({ mesh, bx, cyl, G, plastic, metal, glass }) => {
|
|
|
4030
4173
|
|
|
4031
4174
|
// src/models/antivenom.ts
|
|
4032
4175
|
var antivenom = ({ mesh, bx, G, plastic, metal, paper: paper2 }) => {
|
|
4033
|
-
const body = mesh(bx(1.5, 0.5, 0.
|
|
4034
|
-
const lid = mesh(bx(1.5, 0.25, 0.
|
|
4176
|
+
const body = mesh(bx(1.5, 0.5, 0.39), plastic(15265007), [0, -0.2, -5e-3]);
|
|
4177
|
+
const lid = mesh(bx(1.5, 0.25, 0.39), plastic(13120811), [0, 0.175, -5e-3]);
|
|
4035
4178
|
const postLeft = mesh(bx(0.06, 0.15, 0.08), plastic(9381408), [-0.25, 0.375, 0]);
|
|
4036
4179
|
const postRight = mesh(bx(0.06, 0.15, 0.08), plastic(9381408), [0.25, 0.375, 0]);
|
|
4037
4180
|
const handle = mesh(bx(0.56, 0.05, 0.08), plastic(9381408), [0, 0.425, 0]);
|
|
4038
4181
|
const latchLeft = mesh(bx(0.12, 0.22, 0.504), metal(12041410), [-0.5, 0.05, 0]);
|
|
4039
4182
|
const latchRight = mesh(bx(0.12, 0.22, 0.504), metal(12041410), [0.5, 0.05, 0]);
|
|
4040
|
-
const label = mesh(bx(0.34, 0.3, 0.
|
|
4041
|
-
const crossUpright = mesh(bx(0.07, 0.22, 0.
|
|
4042
|
-
const crossArm = mesh(bx(0.22, 0.07, 0.
|
|
4183
|
+
const label = mesh(bx(0.34, 0.3, 0.03), paper2(16645627), [0, -0.2, 0.1953]);
|
|
4184
|
+
const crossUpright = mesh(bx(0.07, 0.22, 0.03), paper2(13120811), [0, -0.2, 0.2154]);
|
|
4185
|
+
const crossArm = mesh(bx(0.22, 0.07, 0.03), paper2(13120811), [0, -0.2, 0.2356]);
|
|
4043
4186
|
return G(body, lid, postLeft, postRight, handle, latchLeft, latchRight, label, crossUpright, crossArm);
|
|
4044
4187
|
};
|
|
4045
4188
|
|
|
4046
4189
|
// src/models/saline-iv-bag.ts
|
|
4047
4190
|
var salineIvBag = ({ mesh, bx, cyl, extrude, G, plastic, paper: paper2, glass, metal }) => {
|
|
4048
|
-
const bag2 = mesh(extrude([[-0.58, -0.8], [-0.5, -0.98], [0.5, -0.98], [0.58, -0.8], [0.58, 0.8], [0.5, 0.98], [-0.5, 0.98], [-0.58, 0.8]], 0.
|
|
4191
|
+
const bag2 = mesh(extrude([[-0.58, -0.8], [-0.5, -0.98], [0.5, -0.98], [0.58, -0.8], [0.58, 0.8], [0.5, 0.98], [-0.5, 0.98], [-0.58, 0.8]], 0.37, 0.02), glass(14151412, 0.5), [0, 0, -0.205]);
|
|
4049
4192
|
const header = mesh(bx(1, 0.25, 0.08), plastic(15003377), [0, 1.125, 0]);
|
|
4050
|
-
const hangHole = mesh(bx(0.3, 0.1, 0.
|
|
4051
|
-
const label = mesh(bx(0.8, 0.6, 0.
|
|
4052
|
-
const band = mesh(bx(0.82, 0.12, 0.
|
|
4193
|
+
const hangHole = mesh(bx(0.3, 0.1, 0.12), plastic(3820114), [0, 1.14, 0]);
|
|
4194
|
+
const label = mesh(bx(0.8, 0.6, 0.04), paper2(16185850), [0, 0.1, 0.185]);
|
|
4195
|
+
const band = mesh(bx(0.82, 0.12, 0.04), paper2(3113160), [0, 0.25, 0.205]);
|
|
4053
4196
|
const adminPort = mesh(cyl(0.12, 0.09, 0.25, 8), plastic(3113160), [-0.25, -1.125, 0]);
|
|
4054
4197
|
const injectionPort = mesh(cyl(0.1, 0.07, 0.25, 8), metal(3815994), [0.25, -1.125, 0]);
|
|
4055
4198
|
return G(bag2, header, hangHole, label, band, adminPort, injectionPort);
|
|
@@ -4057,19 +4200,19 @@ var salineIvBag = ({ mesh, bx, cyl, extrude, G, plastic, paper: paper2, glass, m
|
|
|
4057
4200
|
|
|
4058
4201
|
// src/models/splint.ts
|
|
4059
4202
|
var splint = ({ mesh, bx, extrude, G, plastic, metal }) => {
|
|
4060
|
-
const foam = mesh(extrude([[-2.
|
|
4061
|
-
const core = mesh(bx(4.2, 0.5, 0.
|
|
4062
|
-
const strapLeft = mesh(bx(0.35, 1.1, 0.
|
|
4063
|
-
const strapRight = mesh(bx(0.35, 1.1, 0.
|
|
4203
|
+
const foam = mesh(extrude([[-2.285, -0.495], [2.285, -0.495], [2.285, 0.495], [-2.285, 0.495]], 0.01, 0.015), plastic(15623697), [0, 0, -0.015]);
|
|
4204
|
+
const core = mesh(bx(4.2, 0.5, 0.03), metal(2126e3), [0, 0, 0.0355]);
|
|
4205
|
+
const strapLeft = mesh(bx(0.35, 1.1, 0.08), plastic(3817285), [-1.4, 0, -0.01]);
|
|
4206
|
+
const strapRight = mesh(bx(0.35, 1.1, 0.08), plastic(3817285), [1.4, 0, -0.01]);
|
|
4064
4207
|
return G(foam, core, strapLeft, strapRight);
|
|
4065
4208
|
};
|
|
4066
4209
|
|
|
4067
4210
|
// src/models/thermometer.ts
|
|
4068
4211
|
var thermometer = ({ mesh, bx, cyl, G, plastic, metal, glass }) => {
|
|
4069
4212
|
const along = [0, 0, -Math.PI / 2];
|
|
4070
|
-
const body = mesh(bx(0.8, 0.
|
|
4071
|
-
const screen = mesh(bx(0.34, 0.
|
|
4072
|
-
const button = mesh(cyl(0.05, 0.05, 0.
|
|
4213
|
+
const body = mesh(bx(0.8, 0.17, 0.3), plastic(15922421), [-0.2, -0.01, 0]);
|
|
4214
|
+
const screen = mesh(bx(0.34, 0.03, 0.16), glass(10471332, 0.9), [-0.3, 0.088, 0]);
|
|
4215
|
+
const button = mesh(cyl(0.05, 0.05, 0.03, 10), plastic(2788054), [0, 0.088, 0]);
|
|
4073
4216
|
const collar = mesh(cyl(0.07, 0.07, 0.04, 10), plastic(13949404), [0.22, 0, 0], along);
|
|
4074
4217
|
const probe = mesh(cyl(0.04, 0.06, 0.36, 10), metal(12041410), [0.42, 0, 0], along);
|
|
4075
4218
|
return G(body, screen, button, collar, probe);
|
|
@@ -4078,8 +4221,8 @@ var thermometer = ({ mesh, bx, cyl, G, plastic, metal, glass }) => {
|
|
|
4078
4221
|
// src/models/alcohol-70.ts
|
|
4079
4222
|
var alcohol70 = ({ mesh, cyl, lathe, G, glass, plastic, paper: paper2 }) => {
|
|
4080
4223
|
const slim = [1, 1, 0.714];
|
|
4081
|
-
const bottle2 = mesh(lathe([[0, -1], [0.
|
|
4082
|
-
const label = mesh(cyl(0.
|
|
4224
|
+
const bottle2 = mesh(lathe([[0, -1], [0.25, -1], [0.293, -0.94], [0.293, 0.2], [0.25, 0.55], [0.12, 0.68], [0.12, 0.78], [0, 0.78]], 12), glass(15266549, 0.6), [0, 0, 0], [0, 0, 0], slim);
|
|
4225
|
+
const label = mesh(cyl(0.322, 0.322, 0.8, 12), paper2(16053488), [0, -0.35, 0], [0, 0, 0], slim);
|
|
4083
4226
|
const stripe = mesh(cyl(0.351, 0.351, 0.2, 12), paper2(12729138), [0, -0.1, 0], [0, 0, 0], slim);
|
|
4084
4227
|
const cap = mesh(cyl(0.15, 0.15, 0.14, 10), plastic(15921906), [0, 0.85, 0]);
|
|
4085
4228
|
const nozzle = mesh(cyl(0.04, 0.07, 0.08, 8), plastic(14211288), [0, 0.96, 0]);
|
|
@@ -4092,9 +4235,9 @@ var canOpener = ({ mesh, bx, cyl, G, metal, plastic }) => {
|
|
|
4092
4235
|
const grip = plastic(3104138);
|
|
4093
4236
|
const rotateAcross = [Math.PI / 2, 0, 0];
|
|
4094
4237
|
return G(
|
|
4095
|
-
mesh(bx(9,
|
|
4238
|
+
mesh(bx(9, 0.5, 2), steel, [1.5, -1.5, 0]),
|
|
4096
4239
|
mesh(bx(5, 1.6, 2.5), grip, [-4.5, -1.2, 0]),
|
|
4097
|
-
mesh(bx(
|
|
4240
|
+
mesh(bx(7.5, 0.5, 2), steel, [-2.75, 1.5, 0]),
|
|
4098
4241
|
mesh(bx(5, 1, 2.5), grip, [-4.5, 1.5, 0]),
|
|
4099
4242
|
mesh(bx(3, 2.4, 1.5), steel, [5.5, 0, 0]),
|
|
4100
4243
|
mesh(cyl(1.2, 1.2, 0.4, 8), steel, [5.5, -0.8, 0.85], rotateAcross),
|
|
@@ -4141,12 +4284,12 @@ var bucket = ({ mesh, bx, cyl, G, plastic, metal }) => {
|
|
|
4141
4284
|
const body = plastic(2908062);
|
|
4142
4285
|
const wire = metal(9080209);
|
|
4143
4286
|
return G(
|
|
4144
|
-
mesh(cyl(13.6, 11.
|
|
4287
|
+
mesh(cyl(13.6, 11.4, 22.5, 16), body, [0, -2, 0]),
|
|
4145
4288
|
mesh(cyl(14, 14, 1.6, 16), plastic(2313602), [0, 8.7, 0]),
|
|
4146
4289
|
mesh(cyl(11.8, 11.8, 1, 16), plastic(2313602), [0, -13, 0]),
|
|
4147
|
-
mesh(bx(0.6,
|
|
4148
|
-
mesh(bx(0.6,
|
|
4149
|
-
mesh(bx(
|
|
4290
|
+
mesh(bx(0.6, 3.7, 0.6), wire, [13, 11.35, 0]),
|
|
4291
|
+
mesh(bx(0.6, 3.7, 0.6), wire, [-13, 11.35, 0]),
|
|
4292
|
+
mesh(bx(27.2, 0.5, 1.1), wire, [0, 13.25, 0])
|
|
4150
4293
|
);
|
|
4151
4294
|
};
|
|
4152
4295
|
|
|
@@ -4158,8 +4301,8 @@ var binoculars = ({ mesh, bx, cyl, G, M, plastic, metal }) => {
|
|
|
4158
4301
|
const barrel = (x) => [
|
|
4159
4302
|
mesh(cyl(3.8, 3.8, 8, 12), shell, [x, -0.5, 0]),
|
|
4160
4303
|
mesh(cyl(3, 3, 3.5, 12), trim, [x, -5.75, 0]),
|
|
4161
|
-
mesh(cyl(6, 4.6,
|
|
4162
|
-
mesh(cyl(5.4, 5.4, 0.
|
|
4304
|
+
mesh(cyl(6, 4.6, 3.7, 12), shell, [x + Math.sign(x) * 0.6, 5.35, 0], [0, 0, 0], [0.7, 1, 1]),
|
|
4305
|
+
mesh(cyl(5.4, 5.4, 0.5, 8), lens, [x + Math.sign(x) * 0.6, 7.25, 0], [0, 0, 0], [0.7, 1, 1])
|
|
4163
4306
|
];
|
|
4164
4307
|
return G(...barrel(-4.2), ...barrel(4.2), mesh(bx(2.4, 6, 3), trim), mesh(cyl(1.3, 1.3, 3, 8), metal(3948355), [0, 0.5, 0]));
|
|
4165
4308
|
};
|
|
@@ -4168,11 +4311,11 @@ var binoculars = ({ mesh, bx, cyl, G, M, plastic, metal }) => {
|
|
|
4168
4311
|
var matches = ({ mesh, bx, cyl, G, paper: paper2, wood, food }) => {
|
|
4169
4312
|
const stick = wood(14269316);
|
|
4170
4313
|
const head = food(11549226);
|
|
4171
|
-
const matchAt = (x) => [mesh(cyl(0.12, 0.12, 3.2, 6), stick, [x, 0.
|
|
4314
|
+
const matchAt = (x) => [mesh(cyl(0.12, 0.12, 3.2, 6), stick, [x, 0.35, 0], [Math.PI / 2, 0, 0]), mesh(bx(0.3, 0.3, 0.4), head, [x, 0.35, 1.5])];
|
|
4172
4315
|
return G(
|
|
4173
|
-
mesh(bx(5,
|
|
4174
|
-
mesh(bx(2.
|
|
4175
|
-
mesh(bx(2.
|
|
4316
|
+
mesh(bx(5, 0.9, 3.1), paper2(13480058), [0, -0.1, 0]),
|
|
4317
|
+
mesh(bx(2.6, 1.3, 3.5), paper2(10238766), [1, -0.1, 0]),
|
|
4318
|
+
mesh(bx(2.2, 0.2, 1.2), paper2(4865848), [1, 0.65, 0]),
|
|
4176
4319
|
...matchAt(-2.1),
|
|
4177
4320
|
...matchAt(-1.7),
|
|
4178
4321
|
...matchAt(-1.3)
|
|
@@ -4183,9 +4326,9 @@ var matches = ({ mesh, bx, cyl, G, paper: paper2, wood, food }) => {
|
|
|
4183
4326
|
var pocketKnife = ({ mesh, bx, cyl, G, metal, plastic }) => {
|
|
4184
4327
|
const steel = metal(11909566);
|
|
4185
4328
|
return G(
|
|
4186
|
-
mesh(bx(7.
|
|
4187
|
-
mesh(bx(0.5,
|
|
4188
|
-
mesh(bx(0.5,
|
|
4329
|
+
mesh(bx(7.1, 2.2, 3.2), plastic(11545122), [-1.75, 0, 0]),
|
|
4330
|
+
mesh(bx(0.5, 1.8, 2.8), steel, [1.75, 0, 0]),
|
|
4331
|
+
mesh(bx(0.5, 1.8, 2.8), steel, [-5.25, 0, 0]),
|
|
4189
4332
|
mesh(cyl(0.45, 0.45, 3.2, 8), metal(7040884), [1.2, 0, 0], [Math.PI / 2, 0, 0]),
|
|
4190
4333
|
mesh(bx(3.6, 0.3, 1.5), steel, [3.7, 0, 0]),
|
|
4191
4334
|
mesh(bx(3.6, 0.15, 0.4), metal(9212054), [3.7, 0.2, -0.55])
|
|
@@ -4226,9 +4369,9 @@ var hoe = ({ mesh, bx, cyl, G, metal, wood }) => {
|
|
|
4226
4369
|
return G(
|
|
4227
4370
|
mesh(cyl(1.3, 1.3, 122, 8), wood(10122312), [-6.5, 1.7, 0], [0, 0, Math.PI / 2]),
|
|
4228
4371
|
mesh(bx(8, 2.6, 3), steel, [58.5, 1.7, 0]),
|
|
4229
|
-
mesh(bx(
|
|
4372
|
+
mesh(bx(4.6, 2.2, 2.6), steel, [64.8, 0.4, 0]),
|
|
4230
4373
|
mesh(bx(0.8, 6, 17), steel, [67.1, 0, 0]),
|
|
4231
|
-
mesh(bx(1.6, 1,
|
|
4374
|
+
mesh(bx(1.6, 1, 16.6), metal(10791085), [66.5, -2.3, 0]),
|
|
4232
4375
|
mesh(bx(1.6, 1, 10), metal(6119782), [65.9, 0.5, 0])
|
|
4233
4376
|
);
|
|
4234
4377
|
};
|
|
@@ -4239,10 +4382,10 @@ var fireExtinguisher = ({ mesh, bx, cyl, G, M, metal, plastic, paper: paper2 })
|
|
|
4239
4382
|
const brass = metal(10127946);
|
|
4240
4383
|
const hose = plastic(2039842);
|
|
4241
4384
|
return G(
|
|
4242
|
-
mesh(cyl(
|
|
4385
|
+
mesh(cyl(6.9, 6.9, 33.8, 12), red, [0, -6.9, 0]),
|
|
4243
4386
|
mesh(cyl(8, 8, 2, 12), hose, [0, -23, 0]),
|
|
4244
4387
|
mesh(cyl(7.1, 7.1, 10, 12), paper2(15262936), [0, -8, 0]),
|
|
4245
|
-
mesh(cyl(2.8,
|
|
4388
|
+
mesh(cyl(2.8, 6.9, 5, 12), red, [0, 12.5, 0]),
|
|
4246
4389
|
mesh(cyl(2.2, 2.2, 4, 8), brass, [0, 17, 0]),
|
|
4247
4390
|
mesh(bx(6, 4, 4), brass, [0, 21, 0]),
|
|
4248
4391
|
mesh(bx(8, 1, 2.4), red, [0, 23.5, 0]),
|
|
@@ -4286,7 +4429,7 @@ var campStove = ({ mesh, bx, cyl, G, metal, plastic }) => {
|
|
|
4286
4429
|
|
|
4287
4430
|
// src/models/lighter.ts
|
|
4288
4431
|
var lighter = ({ mesh, bx, cyl, G, metal, plastic }) => G(
|
|
4289
|
-
mesh(bx(2.46, 5.4,
|
|
4432
|
+
mesh(bx(2.46, 5.4, 0.88), plastic(3108686), [0, -1.3, 0]),
|
|
4290
4433
|
mesh(bx(2.5, 1.4, 1.2), plastic(15130832), [0, -2.5, 0]),
|
|
4291
4434
|
mesh(bx(2.4, 2.2, 1.1), metal(11580601), [0, 2.5, 0]),
|
|
4292
4435
|
mesh(cyl(0.6, 0.6, 0.9, 8), metal(5593437), [-0.5, 3.3, 0], [Math.PI / 2, 0, 0]),
|
|
@@ -4298,7 +4441,7 @@ var lockpickKit = ({ mesh, bx, cyl, G, metal, cloth: cloth2 }) => {
|
|
|
4298
4441
|
const leather = cloth2(5979432);
|
|
4299
4442
|
const pick = metal(11449015);
|
|
4300
4443
|
return G(
|
|
4301
|
-
mesh(bx(
|
|
4444
|
+
mesh(bx(9.6, 5.6, 1.7), leather, [0, -0.7, 0]),
|
|
4302
4445
|
mesh(bx(10, 3.2, 2), cloth2(7030832), [0, 0.9, 0]),
|
|
4303
4446
|
mesh(cyl(0.45, 0.45, 0.2, 8), metal(11569724), [0, -0.7, 0.9], [Math.PI / 2, 0, 0]),
|
|
4304
4447
|
mesh(bx(0.3, 2.2, 0.3), pick, [-2.5, 2.4, 0]),
|
|
@@ -4311,8 +4454,8 @@ var lockpickKit = ({ mesh, bx, cyl, G, metal, cloth: cloth2 }) => {
|
|
|
4311
4454
|
var sewingKit = ({ mesh, bx, cyl, G, plastic, cloth: cloth2, wood }) => {
|
|
4312
4455
|
const spool = (x, color) => [mesh(cyl(0.75, 0.75, 3, 8), cloth2(color), [x, 1, 0.4]), mesh(cyl(0.95, 0.95, 0.3, 8), wood(13214826), [x, 2.35, 0.4])];
|
|
4313
4456
|
return G(
|
|
4314
|
-
mesh(bx(
|
|
4315
|
-
mesh(bx(8
|
|
4457
|
+
mesh(bx(8.6, 1.8, 2.8), plastic(3824248), [0, -1.4, 0.1]),
|
|
4458
|
+
mesh(bx(8, 0.3, 2.4), cloth2(11024954), [0, -0.4, 0.1]),
|
|
4316
4459
|
mesh(bx(9, 5, 0.4), plastic(3099235), [0, 0, -1.3]),
|
|
4317
4460
|
...spool(-3, 13187642),
|
|
4318
4461
|
...spool(0, 3829705),
|
|
@@ -4341,11 +4484,11 @@ var carJack = ({ mesh, bx, cyl, G, metal }) => {
|
|
|
4341
4484
|
var mechanicToolbox = ({ mesh, bx, G, metal, plastic }) => {
|
|
4342
4485
|
const red = metal(11020319);
|
|
4343
4486
|
const steel = metal(9277846);
|
|
4344
|
-
const latch = (x) => mesh(bx(2.6, 6, 0.
|
|
4487
|
+
const latch = (x) => mesh(bx(2.6, 6, 0.5), steel, [x, 2, 9.75]);
|
|
4345
4488
|
return G(
|
|
4346
|
-
mesh(bx(
|
|
4489
|
+
mesh(bx(39.6, 11.8, 19), red, [0, -3.9, 0]),
|
|
4347
4490
|
mesh(bx(40, 1.2, 19.6), metal(2895408), [0, -9.4, 0]),
|
|
4348
|
-
mesh(bx(
|
|
4491
|
+
mesh(bx(39.6, 5, 19), red, [0, 4.5, 0]),
|
|
4349
4492
|
mesh(bx(40, 0.5, 19.6), metal(2895408), [0, 2, 0]),
|
|
4350
4493
|
mesh(bx(1.2, 2, 1.8), plastic(2039842), [-7.5, 8, 0]),
|
|
4351
4494
|
mesh(bx(1.2, 2, 1.8), plastic(2039842), [7.5, 8, 0]),
|
|
@@ -4360,7 +4503,7 @@ var gasTorch = ({ mesh, cyl, G, metal, plastic }) => {
|
|
|
4360
4503
|
const brass = metal(11045436);
|
|
4361
4504
|
const alongX = [0, 0, Math.PI / 2];
|
|
4362
4505
|
return G(
|
|
4363
|
-
mesh(cyl(5, 5,
|
|
4506
|
+
mesh(cyl(5, 5, 21.8, 12), metal(14923818), [0, -9.9, 0]),
|
|
4364
4507
|
mesh(cyl(7.5, 7.5, 1.5, 16), metal(3948355), [0, -20.25, 0]),
|
|
4365
4508
|
mesh(cyl(2.2, 5, 2.5, 12), metal(14923818), [0, 2.25, 0]),
|
|
4366
4509
|
mesh(cyl(2.4, 2.4, 3, 8), brass, [0, 5, 0]),
|
|
@@ -4376,8 +4519,8 @@ var inverterWelder = ({ mesh, bx, cyl, G, M, metal, plastic }) => {
|
|
|
4376
4519
|
const front = [Math.PI / 2, 0, 0];
|
|
4377
4520
|
const dark = plastic(2039842);
|
|
4378
4521
|
return G(
|
|
4379
|
-
mesh(bx(30, 19, 12.
|
|
4380
|
-
mesh(bx(27, 15, 0.15), dark, [0, -1.5, 6.
|
|
4522
|
+
mesh(bx(30, 19, 12.6), metal(12736028), [0, -1.5, -0.1]),
|
|
4523
|
+
mesh(bx(27, 15, 0.15), dark, [0, -1.5, 6.275]),
|
|
4381
4524
|
mesh(bx(1.8, 2, 1.8), dark, [-8, 9, 0]),
|
|
4382
4525
|
mesh(bx(1.8, 2, 1.8), dark, [8, 9, 0]),
|
|
4383
4526
|
mesh(bx(18, 1, 1.8), dark, [0, 10.5, 0]),
|
|
@@ -4393,7 +4536,7 @@ var inverterWelder = ({ mesh, bx, cyl, G, M, metal, plastic }) => {
|
|
|
4393
4536
|
var pot = ({ mesh, bx, cyl, G, metal, plastic }) => {
|
|
4394
4537
|
const steel = metal(10462120);
|
|
4395
4538
|
return G(
|
|
4396
|
-
mesh(cyl(12.2, 11.4, 12.
|
|
4539
|
+
mesh(cyl(12.2, 11.4, 12.3, 16), steel, [0, -1.35, 0]),
|
|
4397
4540
|
mesh(cyl(12.5, 12.5, 0.8, 16), metal(9080467), [0, 4.6, 0]),
|
|
4398
4541
|
mesh(cyl(12.2, 12.2, 0.7, 16), steel, [0, 5.35, 0]),
|
|
4399
4542
|
mesh(cyl(4, 11, 1.1, 16), metal(9080467), [0, 6.25, 0]),
|
|
@@ -4447,9 +4590,9 @@ var shovel = ({ mesh, bx, cyl, G, metal, wood }) => {
|
|
|
4447
4590
|
return G(
|
|
4448
4591
|
mesh(cyl(1.7, 1.7, 86, 8), wood(10122312), [-12, 1.8, 0], [0, 0, Math.PI / 2]),
|
|
4449
4592
|
mesh(cyl(1.5, 1.5, 12, 8), wood(9069628), [-53.8, 1.8, 0], [Math.PI / 2, 0, 0]),
|
|
4450
|
-
mesh(bx(10, 3.6, 3.
|
|
4451
|
-
mesh(bx(
|
|
4452
|
-
mesh(bx(
|
|
4593
|
+
mesh(bx(10, 3.6, 3.2), steel, [30, -0.6, 0]),
|
|
4594
|
+
mesh(bx(31.8, 1.1, 3.6), steel, [38.9, -2.45, 0]),
|
|
4595
|
+
mesh(bx(26.6, 0.4, 21.6), steel, [41.3, -3.1, 0]),
|
|
4453
4596
|
mesh(bx(3, 0.8, 22), metal(10791085), [53.5, -3.1, 0])
|
|
4454
4597
|
);
|
|
4455
4598
|
};
|
|
@@ -4461,7 +4604,7 @@ var hacksaw = ({ mesh, bx, cyl, G, metal, plastic }) => {
|
|
|
4461
4604
|
mesh(bx(10, 3, 4), plastic(12866075), [-16, 0, 0]),
|
|
4462
4605
|
mesh(bx(1.2, 1.4, 12), frame, [-11.4, 0, 0]),
|
|
4463
4606
|
mesh(bx(1.2, 1.4, 12), frame, [19.8, 0, 0]),
|
|
4464
|
-
mesh(bx(33, 1
|
|
4607
|
+
mesh(bx(33, 1, 1.2), frame, [4.5, 0, 5.4]),
|
|
4465
4608
|
mesh(bx(31, 0.4, 0.8), metal(11909566), [4.5, 0, -5.4]),
|
|
4466
4609
|
mesh(cyl(0.8, 0.8, 1.8, 8), metal(9277846), [20.1, 0, 0], [0, 0, Math.PI / 2])
|
|
4467
4610
|
);
|
|
@@ -4471,8 +4614,8 @@ var hacksaw = ({ mesh, bx, cyl, G, metal, plastic }) => {
|
|
|
4471
4614
|
var handsaw = ({ mesh, bx, extrude, G, metal, wood }) => {
|
|
4472
4615
|
const grip = wood(8015660);
|
|
4473
4616
|
return G(
|
|
4474
|
-
mesh(bx(
|
|
4475
|
-
mesh(bx(
|
|
4617
|
+
mesh(bx(10.6, 3.1, 2), grip, [-19.5, 0, 5.3]),
|
|
4618
|
+
mesh(bx(10.6, 3.1, 2), grip, [-19.5, 0, -5.3]),
|
|
4476
4619
|
mesh(bx(2.2, 3.5, 13), grip, [-23.9, 0, 0]),
|
|
4477
4620
|
mesh(bx(2.4, 3.5, 13), grip, [-15.2, 0, 0]),
|
|
4478
4621
|
mesh(extrude([[-14, 6.5], [25, 6.5], [25, 2], [-14, -6.5]], 0.3, 0.01), metal(11449015), [0, 0.15, 0], [Math.PI / 2, 0, 0])
|
|
@@ -4523,7 +4666,7 @@ var crossbow = ({ mesh, bx, G, wood, metal, cloth: cloth2 }) => {
|
|
|
4523
4666
|
const prod = metal(3093046);
|
|
4524
4667
|
const stringMaterial = cloth2(14933448);
|
|
4525
4668
|
return G(
|
|
4526
|
-
mesh(bx(7, 0.
|
|
4669
|
+
mesh(bx(6.7, 0.45, 0.45), stock, [0.15, -0.325, 0]),
|
|
4527
4670
|
mesh(bx(1.4, 0.9, 0.5), stock, [-2.8, -0.15, 0]),
|
|
4528
4671
|
mesh(bx(5.4, 0.16, 0.3), wood(6110498), [0.3, -0.02, 0]),
|
|
4529
4672
|
mesh(bx(0.8, 0.7, 0.6), metal(3816768), [2.9, 0, 0]),
|
|
@@ -4542,7 +4685,7 @@ var ironPipe = ({ mesh, cyl, G, metal }) => {
|
|
|
4542
4685
|
const collar = metal(4869715);
|
|
4543
4686
|
const bore = metal(1842463);
|
|
4544
4687
|
return G(
|
|
4545
|
-
mesh(cyl(0.
|
|
4688
|
+
mesh(cyl(0.14, 0.14, 7.4, 8), metal(5988454), [0, 0, 0], [0, 0, R]),
|
|
4546
4689
|
mesh(cyl(0.177, 0.177, 0.6, 8), collar, [3.7, 0, 0], [0, 0, R]),
|
|
4547
4690
|
mesh(cyl(0.177, 0.177, 0.6, 8), collar, [-3.7, 0, 0], [0, 0, R]),
|
|
4548
4691
|
mesh(cyl(0.165, 0.165, 0.35, 8), rust, [-1.1, 0, 0], [0, 0, R]),
|
|
@@ -4557,12 +4700,12 @@ var meatCleaver = ({ mesh, bx, cyl, G, metal, wood }) => {
|
|
|
4557
4700
|
const steel = metal(11120048);
|
|
4558
4701
|
const rivet = metal(12095802);
|
|
4559
4702
|
return G(
|
|
4560
|
-
mesh(bx(2.15, 0.07, 1.
|
|
4703
|
+
mesh(bx(2.15, 0.07, 1.16), steel, [-0.575, 0, 0]),
|
|
4561
4704
|
mesh(bx(2.15, 0.14, 0.2), metal(9212052), [-0.575, 0, -0.5]),
|
|
4562
4705
|
mesh(bx(2.15, 0.03, 0.14), metal(13948890), [-0.575, 0, 0.53]),
|
|
4563
4706
|
mesh(cyl(0.1, 0.1, 0.08, 8), metal(2763822), [-1.25, 0, -0.1]),
|
|
4564
4707
|
mesh(bx(1.2, 0.3, 0.28), wood(3877408), [1.05, 0, -0.3]),
|
|
4565
|
-
mesh(bx(0.12, 0.2, 0.4), metal(7304055), [0.
|
|
4708
|
+
mesh(bx(0.12, 0.2, 0.4), metal(7304055), [0.48, 0, -0.3]),
|
|
4566
4709
|
mesh(cyl(0.04, 0.04, 0.3, 8), rivet, [0.8, 0, -0.3]),
|
|
4567
4710
|
mesh(cyl(0.04, 0.04, 0.3, 8), rivet, [1.3, 0, -0.3])
|
|
4568
4711
|
);
|
|
@@ -4638,9 +4781,9 @@ var sickle = ({ mesh, bx, cyl, G, metal, wood, cloth: cloth2 }) => {
|
|
|
4638
4781
|
const steel = metal(10856877);
|
|
4639
4782
|
const blade2 = (x1, z1, x2, z2, width) => mesh(bx(Math.hypot(x2 - x1, z2 - z1), 0.06, width), steel, [(x1 + x2) / 2, 0, (z1 + z2) / 2], [0, Math.atan2(-(z2 - z1), x2 - x1), 0]);
|
|
4640
4783
|
return G(
|
|
4641
|
-
mesh(cyl(0.
|
|
4784
|
+
mesh(cyl(0.14, 0.15, 1.5, 8), wood(8018488), [-1.25, 0, -1.575], [0, 0, R]),
|
|
4642
4785
|
mesh(cyl(0.176, 0.176, 0.5, 8), cloth2(3877408), [-1.7, 0, -1.575], [0, 0, R]),
|
|
4643
|
-
mesh(cyl(0.176, 0.176, 0.2, 8), metal(7304055), [-0.
|
|
4786
|
+
mesh(cyl(0.176, 0.176, 0.2, 8), metal(7304055), [-0.55, 0, -1.575], [0, 0, R]),
|
|
4644
4787
|
blade2(-0.5, -1.575, 0.3, -1.5, 0.18),
|
|
4645
4788
|
blade2(0.3, -1.5, 1.2, -1.1, 0.24),
|
|
4646
4789
|
blade2(1.2, -1.1, 1.75, -0.35, 0.28),
|
|
@@ -4657,7 +4800,7 @@ var castIronSkillet = ({ mesh, lathe, cyl, G, metal }) => {
|
|
|
4657
4800
|
const pan = lathe([[0, -0.25], [0.95, -0.25], [1.25, 0.25], [1.1, 0.25], [0.92, -0.1], [0, -0.1]], 16);
|
|
4658
4801
|
return G(
|
|
4659
4802
|
mesh(pan, iron, [-0.9, 0, 0]),
|
|
4660
|
-
mesh(cyl(0.9, 0.9, 0.01, 16), metal(1842463), [-0.9, -0.
|
|
4803
|
+
mesh(cyl(0.9, 0.9, 0.01, 16), metal(1842463), [-0.9, -0.08, 0]),
|
|
4661
4804
|
mesh(cyl(0.14, 0.1, 1.95, 8), iron, [1.175, 0.1, 0], [0, 0, R]),
|
|
4662
4805
|
mesh(cyl(0.06, 0.06, 0.22, 8), metal(1118739), [2, 0.1, 0]),
|
|
4663
4806
|
mesh(cyl(0.1, 0.1, 0.16, 8), iron, [-2, 0.12, 0], [0, 0, R])
|
|
@@ -4682,14 +4825,14 @@ var improvisedSpear = ({ T, mesh, cyl, G, metal, wood, cloth: cloth2 }) => {
|
|
|
4682
4825
|
var hatchet = ({ mesh, cyl, bx, extrude, G, metal, wood, cloth: cloth2 }) => {
|
|
4683
4826
|
const R = Math.PI / 2;
|
|
4684
4827
|
const head = metal(6053989);
|
|
4685
|
-
const blade2 = extrude([[0.7, -0.25], [1.
|
|
4828
|
+
const blade2 = extrude([[0.7, -0.25], [1.73, -0.65], [1.73, 0.65], [0.7, 0.25]], 0.28, 2e-3);
|
|
4686
4829
|
return G(
|
|
4687
4830
|
mesh(cyl(0.14, 0.09, 3, 8), wood(9069628), [-0.25, 0, 0], [0, 0, R]),
|
|
4688
4831
|
mesh(cyl(0.16, 0.16, 0.2, 8), wood(7294766), [-1.65, 0, 0], [0, 0, R]),
|
|
4689
4832
|
mesh(cyl(0.145, 0.145, 1, 8), cloth2(2829099), [-1.15, 0, 0], [0, 0, R]),
|
|
4690
4833
|
mesh(bx(0.5, 0.5, 0.45), head, [1, 0, 0]),
|
|
4691
4834
|
mesh(blade2, head, [0, 0.14, 0], [R, 0, 0]),
|
|
4692
|
-
mesh(bx(0.08, 0.12, 1.3), metal(12896459), [1.
|
|
4835
|
+
mesh(bx(0.08, 0.12, 1.3), metal(12896459), [1.712, 0, 0])
|
|
4693
4836
|
);
|
|
4694
4837
|
};
|
|
4695
4838
|
|
|
@@ -4698,9 +4841,9 @@ var sledgehammer = ({ mesh, cyl, bx, G, metal, wood, cloth: cloth2 }) => {
|
|
|
4698
4841
|
const R = Math.PI / 2;
|
|
4699
4842
|
const steel = metal(5593437);
|
|
4700
4843
|
return G(
|
|
4701
|
-
mesh(cyl(0.2, 0.13, 8.
|
|
4702
|
-
mesh(cyl(0.
|
|
4703
|
-
mesh(cyl(0.
|
|
4844
|
+
mesh(cyl(0.2, 0.13, 8.6, 8), wood(9069628), [-0.1, 0, 0], [0, 0, R]),
|
|
4845
|
+
mesh(cyl(0.23, 0.23, 2, 8), cloth2(2237727), [-3.2, 0, 0], [0, 0, R]),
|
|
4846
|
+
mesh(cyl(0.23, 0.23, 0.3, 8), wood(7294766), [-4.35, 0, 0], [0, 0, R]),
|
|
4704
4847
|
mesh(bx(0.9, 1.2, 1.4), steel, [4, 0, 0]),
|
|
4705
4848
|
mesh(cyl(0.5, 0.5, 0.56, 8), metal(3816768), [4, 0, 0.97], [R, 0, 0]),
|
|
4706
4849
|
mesh(cyl(0.5, 0.5, 0.56, 8), metal(3816768), [4, 0, -0.97], [R, 0, 0])
|
|
@@ -4720,7 +4863,7 @@ var chainsaw = ({ mesh, bx, cyl, G, metal, plastic }) => {
|
|
|
4720
4863
|
mesh(bx(0.2, 0.45, 2.3), dark, [-0.1, 0.45, 0]),
|
|
4721
4864
|
mesh(cyl(0.38, 0.38, 0.12, 8), dark, [-1.2, 0.26, 0]),
|
|
4722
4865
|
mesh(bx(0.8, 0.5, 0.3), metal(7304055), [-1.5, -0.35, 0.9]),
|
|
4723
|
-
mesh(bx(
|
|
4866
|
+
mesh(bx(1.95, 0.46, 0.14), metal(11120048), [1.125, -0.45, 0]),
|
|
4724
4867
|
mesh(bx(2.35, 0.6, 0.2), metal(2763822), [1.075, -0.45, 0])
|
|
4725
4868
|
);
|
|
4726
4869
|
};
|
|
@@ -4734,8 +4877,8 @@ var pickaxe = ({ T, mesh, cyl, bx, G, metal, wood, cloth: cloth2 }) => {
|
|
|
4734
4877
|
mesh(new T.ConeGeometry(0.13, 0.7, 8), metal(6975090), [4.08, 0, side * 1.4], [side * R, 0, 0.18])
|
|
4735
4878
|
];
|
|
4736
4879
|
return G(
|
|
4737
|
-
mesh(cyl(0.17, 0.15, 8.
|
|
4738
|
-
mesh(cyl(0.19, 0.19,
|
|
4880
|
+
mesh(cyl(0.17, 0.15, 8.5, 8), wood(9069628), [-0.15, 0, 0], [0, 0, R]),
|
|
4881
|
+
mesh(cyl(0.19, 0.19, 1.8, 8), cloth2(2829099), [-3.3, 0, 0], [0, 0, R]),
|
|
4739
4882
|
mesh(cyl(0.2, 0.2, 0.3, 8), wood(7294766), [-4.35, 0, 0], [0, 0, R]),
|
|
4740
4883
|
mesh(bx(0.8, 0.4, 0.5), iron, [4.1, 0, 0]),
|
|
4741
4884
|
mesh(cyl(0.2, 0.2, 0.3, 8), metal(3816768), [3.45, 0, 0], [0, 0, R]),
|
|
@@ -4762,14 +4905,14 @@ var policeBaton = ({ mesh, cyl, G, plastic, metal }) => {
|
|
|
4762
4905
|
const R = Math.PI / 2;
|
|
4763
4906
|
const black = plastic(1776669);
|
|
4764
4907
|
return G(
|
|
4765
|
-
mesh(cyl(0.
|
|
4908
|
+
mesh(cyl(0.2, 0.2, 4.8, 8), black, [0, 0, 0], [0, 0, R]),
|
|
4766
4909
|
mesh(cyl(0.225, 0.225, 0.3, 8), metal(3816768), [2.35, 0, 0], [0, 0, R]),
|
|
4767
4910
|
mesh(cyl(0.225, 0.225, 0.3, 8), metal(3816768), [-2.35, 0, 0], [0, 0, R]),
|
|
4768
4911
|
mesh(cyl(0.12, 0.12, 0.6, 8), black, [-1.35, -0.36, 0]),
|
|
4769
4912
|
mesh(cyl(0.16, 0.16, 0.115, 8), plastic(2763822), [-1.35, -0.7175, 0]),
|
|
4770
|
-
mesh(cyl(0.
|
|
4771
|
-
mesh(cyl(0.
|
|
4772
|
-
mesh(cyl(0.
|
|
4913
|
+
mesh(cyl(0.145, 0.145, 0.06, 8), plastic(3816768), [-1.35, -0.2, 0]),
|
|
4914
|
+
mesh(cyl(0.145, 0.145, 0.06, 8), plastic(3816768), [-1.35, -0.32, 0]),
|
|
4915
|
+
mesh(cyl(0.145, 0.145, 0.06, 8), plastic(3816768), [-1.35, -0.44, 0])
|
|
4773
4916
|
);
|
|
4774
4917
|
};
|
|
4775
4918
|
|
|
@@ -4812,7 +4955,7 @@ var glassShards = ({ T, mesh, extrude, G, glass }) => {
|
|
|
4812
4955
|
const chip = extrude([[0, 0], [0.25, 0.05], [0.1, 0.22]], 0.03, 2e-3);
|
|
4813
4956
|
return G(
|
|
4814
4957
|
mesh(base, pane, [0, 0, 0], [R, 0, 0]),
|
|
4815
|
-
mesh(chip, deep, [0.2, 0, -0.35], [R, 0, 0.4]),
|
|
4958
|
+
mesh(chip, deep, [0.2, 0.03, -0.35], [R, 0, 0.4]),
|
|
4816
4959
|
mesh(new T.ConeGeometry(0.14, 0.46, 3), pane, [-0.2, 0.23, 0.1], [0, 0.3, 0.12]),
|
|
4817
4960
|
mesh(new T.ConeGeometry(0.1, 0.34, 3), deep, [0.25, 0.17, -0.1], [0.15, 0, -0.2]),
|
|
4818
4961
|
mesh(new T.ConeGeometry(0.08, 0.26, 3), pane, [0.05, 0.13, 0.3], [-0.2, 0.5, 0.15])
|
|
@@ -4839,12 +4982,12 @@ var sheetMetal = ({ mesh, bx, cyl, G, metal }) => {
|
|
|
4839
4982
|
// src/models/cement-bag.ts
|
|
4840
4983
|
var cementBag = ({ mesh, bx, G, paper: paper2, cloth: cloth2 }) => {
|
|
4841
4984
|
return G(
|
|
4842
|
-
mesh(bx(
|
|
4843
|
-
mesh(bx(4
|
|
4844
|
-
mesh(bx(2.4, 0.
|
|
4845
|
-
mesh(bx(2.4, 0.
|
|
4846
|
-
mesh(bx(0.
|
|
4847
|
-
mesh(bx(0.
|
|
4985
|
+
mesh(bx(4.6, 0.6, 3), paper2(12170403)),
|
|
4986
|
+
mesh(bx(4, 0.9155, 2.5), paper2(13223091), [0, -0.04775, 0]),
|
|
4987
|
+
mesh(bx(2.4, 0.1, 0.85), paper2(15262416), [0, 0.4555, 0.575]),
|
|
4988
|
+
mesh(bx(2.4, 0.1, 0.25), paper2(3104138), [0, 0.4555, 0]),
|
|
4989
|
+
mesh(bx(0.32, 0.3, 2.8), cloth2(9209458), [2.34, 0, 0]),
|
|
4990
|
+
mesh(bx(0.32, 0.3, 2.8), cloth2(9209458), [-2.34, 0, 0])
|
|
4848
4991
|
);
|
|
4849
4992
|
};
|
|
4850
4993
|
|
|
@@ -4875,9 +5018,9 @@ var electronicComponents = ({ mesh, bx, cyl, G, plastic, metal }) => {
|
|
|
4875
5018
|
const silver = metal(11843771);
|
|
4876
5019
|
return G(
|
|
4877
5020
|
mesh(bx(1, 0.04, 0.8), plastic(2911034), [0, -0.08, 0]),
|
|
4878
|
-
mesh(bx(0.22, 0.06, 0.14), chip, [-0.1, -0.
|
|
5021
|
+
mesh(bx(0.22, 0.06, 0.14), chip, [-0.1, -0.01, -0.1]),
|
|
4879
5022
|
mesh(bx(0.2, 0.02, 0.19), silver, [-0.1, -0.05, -0.1]),
|
|
4880
|
-
mesh(bx(0.3, 0.06, 0.18), chip, [0.2, -0.
|
|
5023
|
+
mesh(bx(0.3, 0.06, 0.18), chip, [0.2, -0.01, 0.2]),
|
|
4881
5024
|
mesh(bx(0.28, 0.02, 0.27), silver, [0.2, -0.05, 0.2]),
|
|
4882
5025
|
mesh(cyl(0.05, 0.05, 0.16, 8), plastic(3100559), [0.35, 0.02, -0.25]),
|
|
4883
5026
|
mesh(cyl(0.04, 0.04, 0.14, 8), plastic(9386543), [0.2, 0.01, -0.3]),
|
|
@@ -4919,7 +5062,7 @@ var copperWire = ({ mesh, lathe, cyl, G, metal, plastic }) => {
|
|
|
4919
5062
|
|
|
4920
5063
|
// src/models/pet-bottle.ts
|
|
4921
5064
|
var petBottle = ({ M, mesh, lathe, cyl, G, plastic, paper: paper2 }) => {
|
|
4922
|
-
const body = lathe([[0, -1.65], [0.46, -1.65], [0.
|
|
5065
|
+
const body = lathe([[0, -1.65], [0.46, -1.65], [0.507, -1.5], [0.507, 0.55], [0.45, 0.85], [0.2, 1.2], [0.19, 1.37]], 12);
|
|
4923
5066
|
return G(
|
|
4924
5067
|
mesh(body, M(13626098, "plastic", { roughness: 0.3, transparent: true, opacity: 0.65 })),
|
|
4925
5068
|
mesh(cyl(0.53, 0.53, 1.2, 12), paper2(13378082), [0, -0.5, 0]),
|
|
@@ -4930,7 +5073,7 @@ var petBottle = ({ M, mesh, lathe, cyl, G, plastic, paper: paper2 }) => {
|
|
|
4930
5073
|
|
|
4931
5074
|
// src/models/glass-bottle.ts
|
|
4932
5075
|
var glassBottle = ({ mesh, lathe, cyl, G, glass, paper: paper2, metal }) => {
|
|
4933
|
-
const body = lathe([[0, -1.3], [0.
|
|
5076
|
+
const body = lathe([[0, -1.3], [0.28, -1.3], [0.35, -1.2], [0.35, 0.1], [0.33, 0.45], [0.15, 0.8], [0.12, 1.1], [0.13, 1.25]], 12);
|
|
4934
5077
|
return G(
|
|
4935
5078
|
mesh(body, glass(3107647, 0.8)),
|
|
4936
5079
|
mesh(cyl(0.375, 0.375, 0.8, 12), paper2(14932408), [0, -0.5, 0]),
|
|
@@ -4941,7 +5084,7 @@ var glassBottle = ({ mesh, lathe, cyl, G, glass, paper: paper2, metal }) => {
|
|
|
4941
5084
|
|
|
4942
5085
|
// src/models/empty-can.ts
|
|
4943
5086
|
var emptyCan = ({ mesh, lathe, cyl, bx, G, metal, paper: paper2 }) => {
|
|
4944
|
-
const body = lathe([[0, -0.6], [0.
|
|
5087
|
+
const body = lathe([[0, -0.6], [0.245, -0.6], [0.275, -0.55], [0.305, -0.45], [0.305, 0.42], [0.29, 0.55], [0.285, 0.6]], 12);
|
|
4945
5088
|
return G(
|
|
4946
5089
|
mesh(body, metal(13225168)),
|
|
4947
5090
|
mesh(cyl(0.332, 0.332, 0.5, 12), paper2(11875370), [0, -0.05, 0]),
|
|
@@ -4954,9 +5097,9 @@ var emptyCan = ({ mesh, lathe, cyl, bx, G, metal, paper: paper2 }) => {
|
|
|
4954
5097
|
var firewood = ({ mesh, cyl, G, wood }) => {
|
|
4955
5098
|
const R = Math.PI / 2;
|
|
4956
5099
|
const log = (radius, y, z, bark) => [
|
|
4957
|
-
mesh(cyl(radius, radius, 3.
|
|
4958
|
-
mesh(cyl(radius * 0.92, radius * 0.92, 0.
|
|
4959
|
-
mesh(cyl(radius * 0.92, radius * 0.92, 0.
|
|
5100
|
+
mesh(cyl(radius, radius, 3.94, 8), wood(bark), [0, y, z], [0, 0, R]),
|
|
5101
|
+
mesh(cyl(radius * 0.92, radius * 0.92, 0.06, 8), wood(13807738), [1.97, y, z], [0, 0, R]),
|
|
5102
|
+
mesh(cyl(radius * 0.92, radius * 0.92, 0.06, 8), wood(13807738), [-1.97, y, z], [0, 0, R])
|
|
4960
5103
|
];
|
|
4961
5104
|
return G(...log(0.4, -0.2, 0.4, 5913892), ...log(0.4, -0.2, -0.4, 7031340), ...log(0.3, 0.3, 0, 5190944));
|
|
4962
5105
|
};
|
|
@@ -4968,13 +5111,13 @@ var tarp = ({ mesh, bx, cyl, G, cloth: cloth2, metal }) => {
|
|
|
4968
5111
|
const rope2 = cloth2(13351306);
|
|
4969
5112
|
const corners = [[1.55, 1.05], [-1.55, 1.05], [1.55, -1.05], [-1.55, -1.05]];
|
|
4970
5113
|
return G(
|
|
4971
|
-
mesh(bx(3.5, 0.
|
|
5114
|
+
mesh(bx(3.5, 0.22, 2.46), blue, [0, -0.37, 0]),
|
|
4972
5115
|
mesh(bx(3.4, 0.25, 2.44), deep, [0, -0.135, 0]),
|
|
4973
5116
|
mesh(bx(3.46, 0.25, 2.4), blue, [0, 0.115, 0]),
|
|
4974
|
-
mesh(bx(3.38, 0.
|
|
5117
|
+
mesh(bx(3.38, 0.22, 2.46), deep, [0, 0.36, 0]),
|
|
4975
5118
|
mesh(bx(0.12, 1.002, 2.502), rope2, [0.9, 0, 0]),
|
|
4976
5119
|
mesh(bx(0.12, 1.002, 2.502), rope2, [-0.9, 0, 0]),
|
|
4977
|
-
...corners.map(([x, z]) => mesh(cyl(0.09, 0.09, 0.02, 8), metal(11843771), [x, 0.
|
|
5120
|
+
...corners.map(([x, z]) => mesh(cyl(0.09, 0.09, 0.02, 8), metal(11843771), [x, 0.48, z]))
|
|
4978
5121
|
);
|
|
4979
5122
|
};
|
|
4980
5123
|
|
|
@@ -5008,7 +5151,7 @@ var nails = ({ T, mesh, cyl, G, metal }) => {
|
|
|
5008
5151
|
// src/models/raffia-sack.ts
|
|
5009
5152
|
var raffiaSack = ({ mesh, bx, G, cloth: cloth2 }) => {
|
|
5010
5153
|
return G(
|
|
5011
|
-
mesh(bx(3.
|
|
5154
|
+
mesh(bx(3.9, 0.14, 2.9), cloth2(14274472)),
|
|
5012
5155
|
mesh(bx(4, 0.2, 0.14), cloth2(12103044), [0, 0, 1.43]),
|
|
5013
5156
|
mesh(bx(4, 0.2, 0.14), cloth2(12103044), [0, 0, -1.43]),
|
|
5014
5157
|
mesh(bx(0.12, 0.2, 2.7), cloth2(3894949), [1, 0, 0]),
|
|
@@ -5049,10 +5192,10 @@ var rag = ({ mesh, bx, G, cloth: cloth2 }) => {
|
|
|
5049
5192
|
return G(
|
|
5050
5193
|
mesh(bx(2, 0.1, 1.8), base, [0, -0.076, 0]),
|
|
5051
5194
|
mesh(bx(1.7, 0.09, 1.5), cloth2(10108723), [0.1, 0.02, 0], [0, 0.1, 0]),
|
|
5052
|
-
mesh(bx(1.5, 0.
|
|
5195
|
+
mesh(bx(1.5, 0.036, 1.2), cloth2(11818826), [0, 0.083, 0]),
|
|
5053
5196
|
mesh(bx(0.2, 0.02, 1.7), fringe, [1, -0.076, 0]),
|
|
5054
5197
|
mesh(bx(0.2, 0.02, 1.7), fringe, [-1, -0.076, 0]),
|
|
5055
|
-
mesh(bx(0.3,
|
|
5198
|
+
mesh(bx(0.3, 0.03, 1.1), cloth2(7023138), [0, 0.111, 0])
|
|
5056
5199
|
);
|
|
5057
5200
|
};
|
|
5058
5201
|
|
|
@@ -5123,7 +5266,7 @@ var rebar = ({ mesh, lathe, cyl, bx, G, metal }) => {
|
|
|
5123
5266
|
|
|
5124
5267
|
// src/models/lubricant-spray.ts
|
|
5125
5268
|
var lubricantSpray = ({ mesh, lathe, cyl, bx, G, metal, plastic, paper: paper2 }) => {
|
|
5126
|
-
const body = lathe([[0, -0.85], [0.
|
|
5269
|
+
const body = lathe([[0, -0.85], [0.2, -0.85], [0.23, -0.8], [0.23, 0.35], [0.2, 0.55], [0.12, 0.65]], 12);
|
|
5127
5270
|
const black = plastic(1776669);
|
|
5128
5271
|
return G(
|
|
5129
5272
|
mesh(body, metal(11843771)),
|
|
@@ -5144,17 +5287,17 @@ var armyCamouflageUniform = ({ mesh, bx, G, cloth: cloth2 }) => {
|
|
|
5144
5287
|
mesh(bx(0.24, 0.08, 0.32), base, [0, 0.04, 0]),
|
|
5145
5288
|
mesh(bx(0.08, 0.07, 0.2), base, [-0.16, 0.035, -0.06]),
|
|
5146
5289
|
mesh(bx(0.08, 0.07, 0.2), base, [0.16, 0.035, -0.06]),
|
|
5147
|
-
mesh(bx(0.08, 0.074, 0.024), dark, [-0.16, 0.037, 0.
|
|
5148
|
-
mesh(bx(0.08, 0.074, 0.024), dark, [0.16, 0.037, 0.
|
|
5290
|
+
mesh(bx(0.08, 0.074, 0.024), dark, [-0.16, 0.037, 0.052]),
|
|
5291
|
+
mesh(bx(0.08, 0.074, 0.024), dark, [0.16, 0.037, 0.052]),
|
|
5149
5292
|
mesh(bx(0.08, 0.01, 0.045), dark, [-0.04, 0.09, -0.135]),
|
|
5150
5293
|
mesh(bx(0.08, 0.01, 0.045), dark, [0.04, 0.09, -0.135]),
|
|
5151
|
-
mesh(bx(0.09, 0.
|
|
5152
|
-
mesh(bx(0.
|
|
5153
|
-
mesh(bx(0.07, 0.
|
|
5154
|
-
mesh(bx(0.1, 0.
|
|
5155
|
-
mesh(bx(0.06, 0.
|
|
5156
|
-
mesh(bx(0.05, 0.
|
|
5157
|
-
mesh(bx(0.05, 0.
|
|
5294
|
+
mesh(bx(0.09, 0.08, 0.09), dark, [-0.06, 0.042, -0.03]),
|
|
5295
|
+
mesh(bx(0.098, 0.08, 0.07), tan, [0.069, 0.042, 0.05]),
|
|
5296
|
+
mesh(bx(0.07, 0.08, 0.08), dark, [0.04, 0.042, -0.09]),
|
|
5297
|
+
mesh(bx(0.1, 0.08, 0.06), tan, [-0.05, 0.042, 0.11]),
|
|
5298
|
+
mesh(bx(0.06, 0.096, 0.06), tan, [-0.07, 0.052, -0.1]),
|
|
5299
|
+
mesh(bx(0.05, 0.096, 0.07), dark, [0.08, 0.052, -0.12]),
|
|
5300
|
+
mesh(bx(0.05, 0.081, 0.05), tan, [0, 0.0445, 0.13])
|
|
5158
5301
|
);
|
|
5159
5302
|
};
|
|
5160
5303
|
|
|
@@ -5195,8 +5338,8 @@ var ballisticVest = ({ mesh, bx, G, cloth: cloth2, metal, plastic }) => {
|
|
|
5195
5338
|
|
|
5196
5339
|
// src/models/battery-9v.ts
|
|
5197
5340
|
var battery9V = ({ mesh, cyl, bx, G, metal, plastic }) => G(
|
|
5198
|
-
mesh(bx(0.
|
|
5199
|
-
mesh(bx(0.0262, 0.
|
|
5341
|
+
mesh(bx(0.022, 0.043, 0.014), plastic(2040100), [0, 0.0215, 0]),
|
|
5342
|
+
mesh(bx(0.0262, 0.014, 0.0182), metal(11843514), [0, 0.038, 0]),
|
|
5200
5343
|
mesh(cyl(45e-4, 45e-4, 6e-3, 8), metal(13159116), [6e-3, 0.046, 0]),
|
|
5201
5344
|
mesh(cyl(35e-4, 35e-4, 6e-3, 8), metal(13159116), [-6e-3, 0.046, 0])
|
|
5202
5345
|
);
|
|
@@ -5207,8 +5350,8 @@ var beanSeeds = ({ mesh, bx, G, paper: paper2 }) => {
|
|
|
5207
5350
|
const height = 0.15;
|
|
5208
5351
|
const depth = 0.02;
|
|
5209
5352
|
const group = G();
|
|
5210
|
-
group.add(mesh(bx(width, height, depth * 0.5), paper2(15261640)));
|
|
5211
|
-
group.add(mesh(bx(width * 0.9, height * 0.85, depth * 0.
|
|
5353
|
+
group.add(mesh(bx(width * 0.96, height * 0.97, depth * 0.5), paper2(15261640), [0, -height * 0.015, 0]));
|
|
5354
|
+
group.add(mesh(bx(width * 0.9, height * 0.85, depth * 0.7), paper2(15722451), [0, -height * 0.03, 0]));
|
|
5212
5355
|
group.add(mesh(bx(width, height * 0.08, depth * 0.3), paper2(13616296), [0, height * 0.46, 0]));
|
|
5213
5356
|
[1, -1].forEach((side) => group.add(mesh(bx(width * 0.7, height * 0.4, depth * 0.1), paper2(9067066), [0, -height * 0.05, side * depth * 0.45])));
|
|
5214
5357
|
return group;
|
|
@@ -5221,24 +5364,24 @@ var beekeeperSuit = ({ mesh, bx, cyl, G, cloth: cloth2, metal }) => {
|
|
|
5221
5364
|
const straw = cloth2(13218426);
|
|
5222
5365
|
const veil = cloth2(3026732);
|
|
5223
5366
|
return G(
|
|
5224
|
-
mesh(bx(0.
|
|
5225
|
-
mesh(bx(0.
|
|
5226
|
-
mesh(bx(0.
|
|
5367
|
+
mesh(bx(0.196, 0.07, 0.33), white, [0, 0.035, 0]),
|
|
5368
|
+
mesh(bx(0.104, 0.058, 0.216), white, [-0.148, 0.031, -0.053]),
|
|
5369
|
+
mesh(bx(0.104, 0.058, 0.216), white, [0.148, 0.031, -0.053]),
|
|
5227
5370
|
mesh(bx(0.1, 0.064, 0.025), grey, [-0.15, 0.032, 0.0675]),
|
|
5228
5371
|
mesh(bx(0.1, 0.064, 0.025), grey, [0.15, 0.032, 0.0675]),
|
|
5229
|
-
mesh(bx(0.2, 0.
|
|
5230
|
-
mesh(bx(0.2, 0.
|
|
5231
|
-
mesh(bx(0.012, 0.
|
|
5372
|
+
mesh(bx(0.2, 0.07, 0.02), grey, [0, 0.037, 0.04]),
|
|
5373
|
+
mesh(bx(0.2, 0.07, 0.021), grey, [0, 0.037, 0.1505]),
|
|
5374
|
+
mesh(bx(0.012, 0.07, 0.29), metal(10132896), [0, 0.039, 5e-3]),
|
|
5232
5375
|
mesh(cyl(0.078, 0.078, 0.01, 14), straw, [0, 0.075, -0.085]),
|
|
5233
5376
|
mesh(cyl(0.04, 0.045, 0.02, 12), straw, [0, 0.09, -0.085]),
|
|
5234
|
-
mesh(cyl(0.062, 0.062, 6e-3, 12), veil, [0, 0.
|
|
5377
|
+
mesh(cyl(0.062, 0.062, 6e-3, 12), veil, [0, 0.069, -0.085])
|
|
5235
5378
|
);
|
|
5236
5379
|
};
|
|
5237
5380
|
|
|
5238
5381
|
// src/models/candles.ts
|
|
5239
5382
|
var candles = ({ mesh, cyl, G, cloth: cloth2, plastic }) => G(
|
|
5240
5383
|
mesh(cyl(0.03, 0.03, 0.11, 16), plastic(15327948), [0, 0.055, 0]),
|
|
5241
|
-
mesh(cyl(0.023, 0.023, 2e-3, 16), plastic(13617069), [0, 0.
|
|
5384
|
+
mesh(cyl(0.023, 0.023, 2e-3, 16), plastic(13617069), [0, 0.111, 0]),
|
|
5242
5385
|
mesh(cyl(15e-4, 15e-4, 0.011, 4), cloth2(2761760), [0, 0.1145, 0])
|
|
5243
5386
|
);
|
|
5244
5387
|
|
|
@@ -5345,7 +5488,7 @@ var charcoalBag = ({ mesh, bx, G, paper: paper2, plastic }) => {
|
|
|
5345
5488
|
mesh(bx(0.3, 0.1, 0.34), sack, [0, 0.05, 0]),
|
|
5346
5489
|
mesh(bx(0.26, 0.12, 0.03), sack, [0, 0.06, 0.185]),
|
|
5347
5490
|
mesh(bx(0.26, 0.12, 0.03), sack, [0, 0.06, -0.185]),
|
|
5348
|
-
mesh(bx(0.24, 0.
|
|
5491
|
+
mesh(bx(0.24, 0.016, 0.3), sack, [0, 0.108, 0]),
|
|
5349
5492
|
mesh(bx(0.2, 4e-3, 0.16), plastic(2369066), [0, 0.118, 0])
|
|
5350
5493
|
);
|
|
5351
5494
|
};
|
|
@@ -5377,9 +5520,9 @@ var combatBoots = ({ mesh, bx, cyl, G, cloth: cloth2, plastic }) => {
|
|
|
5377
5520
|
const boot = (z) => [
|
|
5378
5521
|
mesh(bx(0.3, 0.02, 0.105), sole, [0, 0.01, z]),
|
|
5379
5522
|
mesh(bx(0.07, 0.016, 0.105), sole, [-0.105, 0.028, z]),
|
|
5380
|
-
mesh(bx(0.2, 0.
|
|
5381
|
-
mesh(cyl(0.0475, 0.0475, 0.
|
|
5382
|
-
mesh(cyl(0.045, 0.05, 0.
|
|
5523
|
+
mesh(bx(0.2, 0.062, 0.095), leather, [0.04, 0.049, z]),
|
|
5524
|
+
mesh(cyl(0.0475, 0.0475, 0.066, 8), leather, [0.1025, 0.049, z]),
|
|
5525
|
+
mesh(cyl(0.045, 0.05, 0.186, 8), leather, [-0.085, 0.107, z]),
|
|
5383
5526
|
mesh(bx(0.012, 4e-3, 0.07), lace, [0, 0.082, z]),
|
|
5384
5527
|
mesh(bx(0.012, 4e-3, 0.07), lace, [0.035, 0.082, z])
|
|
5385
5528
|
];
|
|
@@ -5391,11 +5534,11 @@ var coolerBox = ({ mesh, bx, G, plastic }) => {
|
|
|
5391
5534
|
const body = plastic(3104138);
|
|
5392
5535
|
const lid = plastic(15132384);
|
|
5393
5536
|
return G(
|
|
5394
|
-
mesh(bx(0.32, 0.19, 0.
|
|
5395
|
-
mesh(bx(0.32, 0.05, 0.
|
|
5537
|
+
mesh(bx(0.32, 0.19, 0.21), body, [0, 0.095, -0.01]),
|
|
5538
|
+
mesh(bx(0.32, 0.05, 0.21), lid, [0, 0.215, -0.01]),
|
|
5396
5539
|
mesh(bx(0.14, 0.01, 0.04), lid, [0, 0.245, 0]),
|
|
5397
|
-
mesh(bx(0.06, 0.05, 0.
|
|
5398
|
-
mesh(bx(0.06, 0.05, 0.
|
|
5540
|
+
mesh(bx(0.06, 0.05, 0.02), lid, [-0.1, 0.18, 0.105]),
|
|
5541
|
+
mesh(bx(0.06, 0.05, 0.02), lid, [0.1, 0.18, 0.105])
|
|
5399
5542
|
);
|
|
5400
5543
|
};
|
|
5401
5544
|
|
|
@@ -5405,8 +5548,8 @@ var cornSeeds = ({ mesh, bx, G, paper: paper2 }) => {
|
|
|
5405
5548
|
const height = 0.15;
|
|
5406
5549
|
const depth = 0.02;
|
|
5407
5550
|
const group = G();
|
|
5408
|
-
group.add(mesh(bx(width, height, depth * 0.5), paper2(15261640)));
|
|
5409
|
-
group.add(mesh(bx(width * 0.9, height * 0.85, depth * 0.
|
|
5551
|
+
group.add(mesh(bx(width * 0.96, height * 0.97, depth * 0.5), paper2(15261640), [0, -height * 0.015, 0]));
|
|
5552
|
+
group.add(mesh(bx(width * 0.9, height * 0.85, depth * 0.7), paper2(15722451), [0, -height * 0.03, 0]));
|
|
5410
5553
|
group.add(mesh(bx(width, height * 0.08, depth * 0.3), paper2(13616296), [0, height * 0.46, 0]));
|
|
5411
5554
|
[1, -1].forEach((side) => group.add(mesh(bx(width * 0.7, height * 0.4, depth * 0.1), paper2(14727216), [0, -height * 0.05, side * depth * 0.45])));
|
|
5412
5555
|
return group;
|
|
@@ -5418,11 +5561,11 @@ var crossbodyBag = ({ mesh, bx, G, cloth: cloth2, metal }) => {
|
|
|
5418
5561
|
const strap = cloth2(2434859);
|
|
5419
5562
|
return G(
|
|
5420
5563
|
mesh(bx(0.25, 0.17, 0.07), body, [0, 0.085, -5e-3]),
|
|
5421
|
-
mesh(bx(0.25, 0.1,
|
|
5422
|
-
mesh(bx(0.03, 0.03,
|
|
5564
|
+
mesh(bx(0.25, 0.1, 6e-3), strap, [0, 0.12, 0.033]),
|
|
5565
|
+
mesh(bx(0.03, 0.03, 75e-4), metal(11580085), [0, 0.085, 0.03625]),
|
|
5423
5566
|
mesh(bx(0.012, 0.03, 0.012), strap, [-0.11, 0.185, 0]),
|
|
5424
5567
|
mesh(bx(0.012, 0.03, 0.012), strap, [0.11, 0.185, 0]),
|
|
5425
|
-
mesh(bx(0.22, 0.012,
|
|
5568
|
+
mesh(bx(0.22, 0.012, 8e-3), strap, [0, 0.192, 0])
|
|
5426
5569
|
);
|
|
5427
5570
|
};
|
|
5428
5571
|
|
|
@@ -5431,7 +5574,7 @@ var deliveryBag = ({ mesh, bx, G, cloth: cloth2, plastic }) => {
|
|
|
5431
5574
|
const shell = cloth2(9386794);
|
|
5432
5575
|
const trim = cloth2(2829101);
|
|
5433
5576
|
return G(
|
|
5434
|
-
mesh(bx(0.48, 0.
|
|
5577
|
+
mesh(bx(0.48, 0.376, 0.396), shell, [0, 0.19, -0.01]),
|
|
5435
5578
|
mesh(bx(0.48, 0.04, 0.4), trim, [0, 0.4, -0.01]),
|
|
5436
5579
|
mesh(bx(0.36, 0.2, 0.02), trim, [0, 0.14, 0.2]),
|
|
5437
5580
|
mesh(bx(0.24, 0.03, 0.06), trim, [0, 0.435, -0.01]),
|
|
@@ -5455,12 +5598,12 @@ var denimJacket = ({ mesh, bx, G, cloth: cloth2, metal }) => {
|
|
|
5455
5598
|
mesh(bx(0.07, 0.066, 0.02), denim, [0.165, 0.033, 0.04]),
|
|
5456
5599
|
mesh(bx(0.075, 0.01, 0.045), dark, [-0.04, 0.075, -0.13]),
|
|
5457
5600
|
mesh(bx(0.075, 0.01, 0.045), dark, [0.04, 0.075, -0.13]),
|
|
5458
|
-
mesh(bx(0.012, 0.
|
|
5601
|
+
mesh(bx(0.012, 0.07, 0.256), stitch, [0, 0.037, 0.018]),
|
|
5459
5602
|
mesh(bx(0.05, 5e-3, 0.045), dark, [-0.075, 0.0725, -0.04]),
|
|
5460
5603
|
mesh(bx(0.05, 5e-3, 0.045), dark, [0.075, 0.0725, -0.04]),
|
|
5461
|
-
mesh(bx(8e-3, 0.
|
|
5462
|
-
mesh(bx(8e-3, 0.
|
|
5463
|
-
mesh(bx(8e-3, 0.
|
|
5604
|
+
mesh(bx(8e-3, 0.077, 8e-3), button, [0, 0.0405, -0.04]),
|
|
5605
|
+
mesh(bx(8e-3, 0.077, 8e-3), button, [0, 0.0405, 0.03]),
|
|
5606
|
+
mesh(bx(8e-3, 0.077, 8e-3), button, [0, 0.0405, 0.1])
|
|
5464
5607
|
);
|
|
5465
5608
|
};
|
|
5466
5609
|
|
|
@@ -5469,9 +5612,9 @@ var diesel = ({ mesh, cyl, G, plastic, paper: paper2 }) => {
|
|
|
5469
5612
|
const bottle2 = plastic(12098108);
|
|
5470
5613
|
const cap = plastic(1842463);
|
|
5471
5614
|
return G(
|
|
5472
|
-
mesh(cyl(0.
|
|
5615
|
+
mesh(cyl(0.0425, 0.0425, 0.19, 12), bottle2, [0, 0.095, 0]),
|
|
5473
5616
|
mesh(cyl(0.0455, 0.0455, 0.07, 12), paper2(14275780), [0, 0.095, 0]),
|
|
5474
|
-
mesh(cyl(0.014, 0.
|
|
5617
|
+
mesh(cyl(0.014, 0.0425, 0.04, 12), bottle2, [0, 0.21, 0]),
|
|
5475
5618
|
mesh(cyl(0.014, 0.014, 0.01, 8), bottle2, [0, 0.235, 0]),
|
|
5476
5619
|
mesh(cyl(0.018, 0.018, 0.02, 8), cap, [0, 0.25, 0])
|
|
5477
5620
|
);
|
|
@@ -5479,13 +5622,13 @@ var diesel = ({ mesh, cyl, G, plastic, paper: paper2 }) => {
|
|
|
5479
5622
|
|
|
5480
5623
|
// src/models/diy-magazine.ts
|
|
5481
5624
|
var diyMagazine = ({ mesh, bx, G, paper: paper2 }) => G(
|
|
5482
|
-
mesh(bx(0.21, 0.28,
|
|
5483
|
-
mesh(bx(0.21, 0.28, 1e-4), paper2(14263361), [0, 0.14,
|
|
5484
|
-
mesh(bx(0.21, 0.28, 1e-4), paper2(14263361), [0, 0.14, -
|
|
5485
|
-
mesh(bx(0.19, 0.04, 2e-4), paper2(3096402), [0, 0.255,
|
|
5486
|
-
mesh(bx(0.15, 0.13, 2e-4), paper2(9071173), [0, 0.13,
|
|
5487
|
-
mesh(bx(0.19, 0.012, 2e-4), paper2(10695210), [0, 0.04,
|
|
5488
|
-
mesh(bx(3e-3, 0.
|
|
5625
|
+
mesh(bx(0.21, 0.28, 44e-4), paper2(15328988), [0, 0.14, -3e-4]),
|
|
5626
|
+
mesh(bx(0.21, 0.28, 1e-4), paper2(14263361), [0, 0.14, 3e-3]),
|
|
5627
|
+
mesh(bx(0.21, 0.28, 1e-4), paper2(14263361), [0, 0.14, -36e-4]),
|
|
5628
|
+
mesh(bx(0.19, 0.04, 2e-4), paper2(3096402), [0, 0.255, 44e-4]),
|
|
5629
|
+
mesh(bx(0.15, 0.13, 2e-4), paper2(9071173), [0, 0.13, 44e-4]),
|
|
5630
|
+
mesh(bx(0.19, 0.012, 2e-4), paper2(10695210), [0, 0.04, 44e-4]),
|
|
5631
|
+
mesh(bx(3e-3, 0.276, 8e-4), paper2(2040100), [-0.0975, 0.14, 0])
|
|
5489
5632
|
);
|
|
5490
5633
|
|
|
5491
5634
|
// src/models/dog-tag.ts
|
|
@@ -5506,8 +5649,8 @@ var electricFenceEnergizer = ({ M, mesh, cyl, bx, G, metal, plastic }) => {
|
|
|
5506
5649
|
const dark = plastic(2040865);
|
|
5507
5650
|
return G(
|
|
5508
5651
|
mesh(bx(0.25, 0.17, 0.146), shell, [0, 0.1, 0]),
|
|
5509
|
-
mesh(bx(0.09, 0.06, 4e-3), dark, [-0.04, 0.11, 0.
|
|
5510
|
-
mesh(bx(0.06, 0.03, 4e-3), M(10473867, "glass", { emissive: 3103274, emissiveIntensity: 0.5 }), [-0.04, 0.12, 0.
|
|
5652
|
+
mesh(bx(0.09, 0.06, 4e-3), dark, [-0.04, 0.11, 0.073]),
|
|
5653
|
+
mesh(bx(0.06, 0.03, 4e-3), M(10473867, "glass", { emissive: 3103274, emissiveIntensity: 0.5 }), [-0.04, 0.12, 0.075]),
|
|
5511
5654
|
mesh(cyl(0.016, 0.016, 4e-3, 12), dark, [0.07, 0.115, 0.075], [quarter, 0, 0]),
|
|
5512
5655
|
mesh(cyl(6e-3, 6e-3, 4e-3, 8), M(11740702, "plastic", { emissive: 5902092, emissiveIntensity: 0.6 }), [0.07, 0.07, 0.075], [quarter, 0, 0]),
|
|
5513
5656
|
mesh(bx(0.13, 0.01, 0.016), metal(7172211), [0, 0.195, 0]),
|
|
@@ -5549,12 +5692,12 @@ var fannyPack = ({ mesh, bx, G, cloth: cloth2, plastic }) => {
|
|
|
5549
5692
|
var farmersAlmanac = ({ mesh, bx, G, paper: paper2 }) => {
|
|
5550
5693
|
const cover = paper2(4151866);
|
|
5551
5694
|
return G(
|
|
5552
|
-
mesh(bx(0.1445, 0.206,
|
|
5553
|
-
mesh(bx(0.
|
|
5554
|
-
mesh(bx(0.
|
|
5555
|
-
mesh(bx(
|
|
5556
|
-
mesh(bx(0.09, 0.04,
|
|
5557
|
-
mesh(bx(0.1, 4e-3,
|
|
5695
|
+
mesh(bx(0.1445, 0.206, 96e-4), paper2(14998726), [25e-5, 0.105, 0]),
|
|
5696
|
+
mesh(bx(0.146, 0.21, 14e-4), cover, [2e-3, 0.105, 55e-4]),
|
|
5697
|
+
mesh(bx(0.146, 0.21, 14e-4), cover, [2e-3, 0.105, -55e-4]),
|
|
5698
|
+
mesh(bx(4e-3, 0.21, 0.015), cover, [-0.073, 0.105, 0]),
|
|
5699
|
+
mesh(bx(0.09, 0.04, 14e-4), paper2(14998726), [5e-3, 0.16, 69e-4]),
|
|
5700
|
+
mesh(bx(0.1, 4e-3, 14e-4), paper2(13218666), [5e-3, 0.1, 69e-4])
|
|
5558
5701
|
);
|
|
5559
5702
|
};
|
|
5560
5703
|
|
|
@@ -5562,7 +5705,7 @@ var farmersAlmanac = ({ mesh, bx, G, paper: paper2 }) => {
|
|
|
5562
5705
|
var fertilizerBag = ({ mesh, bx, G, cloth: cloth2, paper: paper2 }) => {
|
|
5563
5706
|
const sack = cloth2(11904122);
|
|
5564
5707
|
const group = G();
|
|
5565
|
-
group.add(mesh(bx(0.
|
|
5708
|
+
group.add(mesh(bx(0.414, 0.106, 0.296), sack, [0, 0.055, 0]));
|
|
5566
5709
|
group.add(mesh(bx(0.4, 0.01, 0.26), sack, [0, 0.115, 0]));
|
|
5567
5710
|
group.add(mesh(bx(0.018, 0.11, 0.3), cloth2(9404769), [-0.216, 0.055, 0]));
|
|
5568
5711
|
group.add(mesh(bx(0.018, 0.11, 0.3), cloth2(9404769), [0.216, 0.055, 0]));
|
|
@@ -5578,21 +5721,21 @@ var firefighterSuit = ({ mesh, bx, G, cloth: cloth2, plastic }) => {
|
|
|
5578
5721
|
return G(
|
|
5579
5722
|
mesh(bx(0.26, 0.09, 0.4), shell, [-0.14, 0.045, 0]),
|
|
5580
5723
|
mesh(bx(0.26, 0.09, 0.4), shell, [0.14, 0.045, 0]),
|
|
5581
|
-
mesh(bx(0.24, 0.092, 0.03), reflective, [-0.14, 0.
|
|
5582
|
-
mesh(bx(0.24, 0.092, 0.03), reflective, [0.14, 0.
|
|
5583
|
-
mesh(bx(0.1, 0.092, 0.1), dark, [-0.14, 0.
|
|
5584
|
-
mesh(bx(0.1, 0.092, 0.1), dark, [0.14, 0.
|
|
5724
|
+
mesh(bx(0.24, 0.092, 0.03), reflective, [-0.14, 0.048, 0.12]),
|
|
5725
|
+
mesh(bx(0.24, 0.092, 0.03), reflective, [0.14, 0.048, 0.12]),
|
|
5726
|
+
mesh(bx(0.1, 0.092, 0.1), dark, [-0.14, 0.048, -0.04]),
|
|
5727
|
+
mesh(bx(0.1, 0.092, 0.1), dark, [0.14, 0.048, -0.04]),
|
|
5585
5728
|
mesh(bx(0.34, 0.09, 0.38), shell, [0, 0.135, 0]),
|
|
5586
|
-
mesh(bx(0.1, 0.08, 0.
|
|
5587
|
-
mesh(bx(0.1, 0.08, 0.
|
|
5588
|
-
mesh(bx(0.
|
|
5589
|
-
mesh(bx(0.
|
|
5590
|
-
mesh(bx(0.
|
|
5591
|
-
mesh(bx(0.
|
|
5592
|
-
mesh(bx(0.
|
|
5593
|
-
mesh(bx(0.
|
|
5594
|
-
mesh(bx(0.1, 0.02, 0.05), dark, [-0.
|
|
5595
|
-
mesh(bx(0.1, 0.02, 0.05), dark, [0.
|
|
5729
|
+
mesh(bx(0.1, 0.08, 0.298), shell, [-0.225, 0.13, -0.041]),
|
|
5730
|
+
mesh(bx(0.1, 0.08, 0.298), shell, [0.225, 0.13, -0.041]),
|
|
5731
|
+
mesh(bx(0.096, 0.084, 0.03), dark, [-0.225, 0.13, 0.095]),
|
|
5732
|
+
mesh(bx(0.096, 0.084, 0.03), dark, [0.225, 0.13, 0.095]),
|
|
5733
|
+
mesh(bx(0.344, 0.092, 0.03), reflective, [0, 0.14, 0.12]),
|
|
5734
|
+
mesh(bx(0.344, 0.092, 0.03), reflective, [0, 0.14, 0.04]),
|
|
5735
|
+
mesh(bx(0.096, 0.084, 0.03), reflective, [-0.225, 0.13, 0.03]),
|
|
5736
|
+
mesh(bx(0.096, 0.084, 0.03), reflective, [0.225, 0.13, 0.03]),
|
|
5737
|
+
mesh(bx(0.1, 0.02, 0.05), dark, [-0.06, 0.19, -0.16]),
|
|
5738
|
+
mesh(bx(0.1, 0.02, 0.05), dark, [0.06, 0.19, -0.16])
|
|
5596
5739
|
);
|
|
5597
5740
|
};
|
|
5598
5741
|
|
|
@@ -5623,8 +5766,8 @@ var fishingRod = ({ mesh, cyl, bx, G, plastic, wood, metal }) => {
|
|
|
5623
5766
|
// src/models/fishing-tackle-box.ts
|
|
5624
5767
|
var fishingTackleBox = ({ mesh, bx, G, plastic, metal }) => {
|
|
5625
5768
|
const group = G();
|
|
5626
|
-
group.add(mesh(bx(0.3, 0.07, 0.
|
|
5627
|
-
group.add(mesh(bx(0.3, 0.025, 0.
|
|
5769
|
+
group.add(mesh(bx(0.3, 0.07, 0.176), plastic(4156234), [0, 0.035, -2e-3]));
|
|
5770
|
+
group.add(mesh(bx(0.3, 0.025, 0.176), plastic(5078874), [0, 0.0825, -2e-3]));
|
|
5628
5771
|
group.add(mesh(bx(0.12, 5e-3, 0.02), plastic(2894892), [0, 0.0975, 0]));
|
|
5629
5772
|
group.add(mesh(bx(0.03, 0.04, 4e-3), metal(10132898), [-0.08, 0.07, 0.088]));
|
|
5630
5773
|
group.add(mesh(bx(0.03, 0.04, 4e-3), metal(10132898), [0.08, 0.07, 0.088]));
|
|
@@ -5637,8 +5780,8 @@ var flipFlops = ({ mesh, bx, cyl, G, plastic }) => {
|
|
|
5637
5780
|
const strap = plastic(2040614);
|
|
5638
5781
|
const sandal = (z) => [
|
|
5639
5782
|
mesh(cyl(0.5, 0.5, 0.02, 12), sole, [0.06, 0.01, z], [0, 0, 0], [0.17, 1, 0.105]),
|
|
5640
|
-
mesh(cyl(0.5, 0.5, 0.
|
|
5641
|
-
mesh(bx(0.06, 0.
|
|
5783
|
+
mesh(cyl(0.5, 0.5, 0.017, 12), sole, [-0.075, 0.01, z], [0, 0, 0], [0.14, 1, 0.09]),
|
|
5784
|
+
mesh(bx(0.06, 0.014, 0.07), sole, [-0.01, 0.01, z]),
|
|
5642
5785
|
mesh(cyl(6e-3, 6e-3, 0.02, 6), strap, [0.1, 0.02, z]),
|
|
5643
5786
|
mesh(bx(0.1, 8e-3, 0.012), strap, [0.055, 0.024, z + 0.0225], [0, 0.4636, 0]),
|
|
5644
5787
|
mesh(bx(0.1, 8e-3, 0.012), strap, [0.055, 0.024, z - 0.0225], [0, -0.4636, 0])
|
|
@@ -5650,11 +5793,11 @@ var flipFlops = ({ mesh, bx, cyl, G, plastic }) => {
|
|
|
5650
5793
|
var foldingSolarPanel = ({ mesh, cyl, bx, G, cloth: cloth2, glass, metal, plastic }) => {
|
|
5651
5794
|
const group = G(
|
|
5652
5795
|
mesh(bx(0.396, 0.296, 0.04), cloth2(3159098), [0, 0.15, 0]),
|
|
5653
|
-
mesh(bx(0.38, 0.28,
|
|
5796
|
+
mesh(bx(0.38, 0.28, 48e-4), glass(1914199, 0.95), [0, 0.15, 0.022]),
|
|
5654
5797
|
mesh(bx(0.15, 0.1, 0.01), cloth2(2435631), [0, 0.12, -0.02]),
|
|
5655
|
-
mesh(bx(2e-3, 0.28,
|
|
5656
|
-
mesh(bx(2e-3, 0.28,
|
|
5657
|
-
mesh(bx(2e-3, 0.28,
|
|
5798
|
+
mesh(bx(2e-3, 0.28, 12e-4), plastic(9280168), [0, 0.15, 0.025]),
|
|
5799
|
+
mesh(bx(2e-3, 0.28, 12e-4), plastic(9280168), [-0.095, 0.15, 0.025]),
|
|
5800
|
+
mesh(bx(2e-3, 0.28, 12e-4), plastic(9280168), [0.095, 0.15, 0.025])
|
|
5658
5801
|
);
|
|
5659
5802
|
for (const [x, y] of [[-0.18, 0.03], [0.18, 0.03], [-0.18, 0.27], [0.18, 0.27]]) group.add(mesh(cyl(8e-3, 8e-3, 2e-3, 6), metal(11843514), [x, y, 0.024], [Math.PI / 2, 0, 0]));
|
|
5660
5803
|
return group;
|
|
@@ -5664,9 +5807,9 @@ var foldingSolarPanel = ({ mesh, cyl, bx, G, cloth: cloth2, glass, metal, plasti
|
|
|
5664
5807
|
var gasCartridge = ({ mesh, cyl, G, metal, paper: paper2 }) => {
|
|
5665
5808
|
const can2 = metal(3891082);
|
|
5666
5809
|
return G(
|
|
5667
|
-
mesh(cyl(0.
|
|
5810
|
+
mesh(cyl(0.0535, 0.0535, 0.12, 12), can2, [0, 0.06, 0]),
|
|
5668
5811
|
mesh(cyl(0.0555, 0.0555, 0.04, 12), paper2(14209728), [0, 0.06, 0]),
|
|
5669
|
-
mesh(cyl(0.025, 0.
|
|
5812
|
+
mesh(cyl(0.025, 0.0535, 0.03, 12), can2, [0, 0.135, 0]),
|
|
5670
5813
|
mesh(cyl(0.02, 0.02, 0.015, 8), metal(9277590), [0, 0.1575, 0])
|
|
5671
5814
|
);
|
|
5672
5815
|
};
|
|
@@ -5676,9 +5819,9 @@ var gasoline = ({ mesh, cyl, G, plastic, paper: paper2 }) => {
|
|
|
5676
5819
|
const bottle2 = plastic(13223608);
|
|
5677
5820
|
const cap = plastic(10695210);
|
|
5678
5821
|
return G(
|
|
5679
|
-
mesh(cyl(0.
|
|
5822
|
+
mesh(cyl(0.0435, 0.0435, 0.19, 12), bottle2, [0, 0.095, 0]),
|
|
5680
5823
|
mesh(cyl(0.0455, 0.0455, 0.07, 12), paper2(10695210), [0, 0.095, 0]),
|
|
5681
|
-
mesh(cyl(0.014, 0.
|
|
5824
|
+
mesh(cyl(0.014, 0.0435, 0.04, 12), bottle2, [0, 0.21, 0]),
|
|
5682
5825
|
mesh(cyl(0.014, 0.014, 0.01, 8), bottle2, [0, 0.235, 0]),
|
|
5683
5826
|
mesh(cyl(0.018, 0.018, 0.02, 8), cap, [0, 0.25, 0])
|
|
5684
5827
|
);
|
|
@@ -5711,11 +5854,11 @@ var hardHat = ({ mesh, bx, cyl, lathe, G, plastic, cloth: cloth2 }) => {
|
|
|
5711
5854
|
const shell = plastic(15906565);
|
|
5712
5855
|
const strap = cloth2(2829099);
|
|
5713
5856
|
return G(
|
|
5714
|
-
mesh(lathe([[0, 0], [0.
|
|
5857
|
+
mesh(lathe([[0, 0], [0.108, 0], [0.108, 0.04], [0.1, 0.085], [0.087, 0.12], [0.041, 0.138], [0, 0.14]], 14), shell, [0, 2e-3, -0.022]),
|
|
5715
5858
|
mesh(cyl(0.128, 0.128, 0.012, 14), shell, [0, 6e-3, -0.022]),
|
|
5716
|
-
mesh(bx(0.22, 0.012, 0.062), shell, [0,
|
|
5859
|
+
mesh(bx(0.22, 0.012, 0.062), shell, [0, 0.0105, 0.119]),
|
|
5717
5860
|
mesh(bx(0.032, 0.012, 0.19), shell, [0, 0.144, -0.022]),
|
|
5718
|
-
mesh(bx(0.08, 0.03, 0.02), strap, [0, 0.
|
|
5861
|
+
mesh(bx(0.08, 0.03, 0.02), strap, [0, 0.017, -0.14])
|
|
5719
5862
|
);
|
|
5720
5863
|
};
|
|
5721
5864
|
|
|
@@ -5740,12 +5883,12 @@ var hoodie = ({ mesh, bx, cyl, G, cloth: cloth2 }) => {
|
|
|
5740
5883
|
const rib = cloth2(4738131);
|
|
5741
5884
|
const cord = cloth2(14211280);
|
|
5742
5885
|
return G(
|
|
5743
|
-
mesh(bx(0.25, 0.
|
|
5886
|
+
mesh(bx(0.25, 0.058, 0.276), fabric, [0, 0.031, 0]),
|
|
5744
5887
|
mesh(bx(0.065, 0.05, 0.19), fabric, [-0.1575, 0.025, -0.045]),
|
|
5745
5888
|
mesh(bx(0.065, 0.05, 0.19), fabric, [0.1575, 0.025, -0.045]),
|
|
5746
5889
|
mesh(bx(0.06, 0.054, 0.025), rib, [-0.1575, 0.027, 0.0675]),
|
|
5747
5890
|
mesh(bx(0.06, 0.054, 0.025), rib, [0.1575, 0.027, 0.0675]),
|
|
5748
|
-
mesh(bx(0.
|
|
5891
|
+
mesh(bx(0.246, 0.062, 0.03), rib, [0, 0.031, 0.125]),
|
|
5749
5892
|
mesh(cyl(0.062, 0.062, 0.02, 12), fabric, [0, 0.07, -0.075]),
|
|
5750
5893
|
mesh(bx(0.15, 0.02, 0.055), rib, [0, 0.07, 0.06]),
|
|
5751
5894
|
mesh(bx(6e-3, 0.02, 0.05), cord, [-0.02, 0.07, -0.01]),
|
|
@@ -5807,10 +5950,10 @@ var kaleAndLettuceSeeds = ({ mesh, bx, G, paper: paper2 }) => {
|
|
|
5807
5950
|
const height = 0.13;
|
|
5808
5951
|
const depth = 0.015;
|
|
5809
5952
|
const group = G();
|
|
5810
|
-
group.add(mesh(bx(width, height, depth * 0.5), paper2(15261640)));
|
|
5811
|
-
group.add(mesh(bx(width * 0.9, height * 0.85, depth * 0.
|
|
5953
|
+
group.add(mesh(bx(width, height * 0.97, depth * 0.5), paper2(15261640), [0, -height * 0.015, 0]));
|
|
5954
|
+
group.add(mesh(bx(width * 0.9, height * 0.85, depth * 0.7), paper2(15722451), [0, -height * 0.03, 0]));
|
|
5812
5955
|
group.add(mesh(bx(width, height * 0.08, depth * 0.3), paper2(13616296), [0, height * 0.46, 0]));
|
|
5813
|
-
[1, -1].forEach((side) => group.add(mesh(bx(width * 0.7, height * 0.4, depth * 0.
|
|
5956
|
+
[1, -1].forEach((side) => group.add(mesh(bx(width * 0.7, height * 0.4, depth * 0.23), paper2(6265418), [0, -height * 0.05, side * depth * 0.383])));
|
|
5814
5957
|
return group;
|
|
5815
5958
|
};
|
|
5816
5959
|
|
|
@@ -5819,9 +5962,9 @@ var kerosene = ({ mesh, cyl, G, plastic, paper: paper2 }) => {
|
|
|
5819
5962
|
const bottle2 = plastic(13223608);
|
|
5820
5963
|
const cap = plastic(3104138);
|
|
5821
5964
|
return G(
|
|
5822
|
-
mesh(cyl(0.
|
|
5965
|
+
mesh(cyl(0.0435, 0.0435, 0.19, 12), bottle2, [0, 0.095, 0]),
|
|
5823
5966
|
mesh(cyl(0.0455, 0.0455, 0.07, 12), paper2(3104138), [0, 0.095, 0]),
|
|
5824
|
-
mesh(cyl(0.014, 0.
|
|
5967
|
+
mesh(cyl(0.014, 0.0435, 0.04, 12), bottle2, [0, 0.21, 0]),
|
|
5825
5968
|
mesh(cyl(0.014, 0.014, 0.01, 8), bottle2, [0, 0.235, 0]),
|
|
5826
5969
|
mesh(cyl(0.018, 0.018, 0.02, 8), cap, [0, 0.25, 0])
|
|
5827
5970
|
);
|
|
@@ -5830,9 +5973,9 @@ var kerosene = ({ mesh, cyl, G, plastic, paper: paper2 }) => {
|
|
|
5830
5973
|
// src/models/laptop.ts
|
|
5831
5974
|
var laptop = ({ mesh, cyl, bx, G, metal, plastic }) => G(
|
|
5832
5975
|
mesh(bx(0.36, 0.012, 0.25), metal(9277588), [0, 6e-3, 0]),
|
|
5833
|
-
mesh(bx(0.358, 0.012, 0.248), metal(2895667), [0, 0.
|
|
5976
|
+
mesh(bx(0.358, 0.012, 0.248), metal(2895667), [0, 0.017, 0]),
|
|
5834
5977
|
mesh(cyl(6e-3, 6e-3, 0.2, 8), plastic(1842204), [0, 0.0125, -0.12], [0, 0, Math.PI / 2]),
|
|
5835
|
-
mesh(bx(0.05,
|
|
5978
|
+
mesh(bx(0.05, 42e-4, 0.03), metal(11843514), [0, 0.0231, 0])
|
|
5836
5979
|
);
|
|
5837
5980
|
|
|
5838
5981
|
// src/models/leather-motorcycle-jacket.ts
|
|
@@ -5845,16 +5988,16 @@ var leatherMotorcycleJacket = ({ mesh, bx, G, cloth: cloth2, metal }) => {
|
|
|
5845
5988
|
mesh(bx(0.29, 0.08, 0.35), leather, [0, 0.04, 0]),
|
|
5846
5989
|
mesh(bx(0.08, 0.07, 0.24), leather, [-0.185, 0.035, -0.055]),
|
|
5847
5990
|
mesh(bx(0.08, 0.07, 0.24), leather, [0.185, 0.035, -0.055]),
|
|
5848
|
-
mesh(bx(0.
|
|
5849
|
-
mesh(bx(0.
|
|
5850
|
-
mesh(bx(0.
|
|
5851
|
-
mesh(bx(0.
|
|
5991
|
+
mesh(bx(0.076, 0.072, 0.03), worn, [-0.185, 0.038, 0.075]),
|
|
5992
|
+
mesh(bx(0.076, 0.072, 0.03), worn, [0.185, 0.038, 0.075]),
|
|
5993
|
+
mesh(bx(0.076, 0.088, 0.07), pad, [-0.185, 0.046, -0.12]),
|
|
5994
|
+
mesh(bx(0.076, 0.088, 0.07), pad, [0.185, 0.046, -0.12]),
|
|
5852
5995
|
mesh(bx(0.09, 0.012, 0.06), worn, [-0.05, 0.086, -0.15]),
|
|
5853
5996
|
mesh(bx(0.09, 0.012, 0.06), worn, [0.05, 0.086, -0.15]),
|
|
5854
|
-
mesh(bx(0.012, 0.
|
|
5997
|
+
mesh(bx(0.012, 0.08, 0.288), zip, [0.015, 0.042, 0.019]),
|
|
5855
5998
|
mesh(bx(0.06, 6e-3, 0.01), zip, [-0.07, 0.083, 0]),
|
|
5856
5999
|
mesh(bx(0.06, 6e-3, 0.01), zip, [0.07, 0.083, 0]),
|
|
5857
|
-
mesh(bx(0.1, 0.
|
|
6000
|
+
mesh(bx(0.1, 0.096, 0.026), worn, [0, 0.052, 0.158])
|
|
5858
6001
|
);
|
|
5859
6002
|
};
|
|
5860
6003
|
|
|
@@ -5870,8 +6013,8 @@ var leatherMotorcyclePants = ({ mesh, bx, G, cloth: cloth2, metal }) => {
|
|
|
5870
6013
|
mesh(bx(0.07, 0.01, 0.1), pad, [0, 0.085, -0.0775]),
|
|
5871
6014
|
mesh(bx(0.07, 0.01, 0.1), pad, [0, 0.085, 0.0775]),
|
|
5872
6015
|
mesh(bx(0.012, 0.0902, 0.012), zip, [-0.18, 0.0451, 0]),
|
|
5873
|
-
mesh(bx(0.04, 0.
|
|
5874
|
-
mesh(bx(0.04, 0.
|
|
6016
|
+
mesh(bx(0.04, 0.08, 0.14), pad, [0.17, 0.042, -0.0775]),
|
|
6017
|
+
mesh(bx(0.04, 0.08, 0.14), pad, [0.17, 0.042, 0.0775]),
|
|
5875
6018
|
mesh(bx(0.2, 0.0825, 4e-3), zip, [0.07, 0.04125, -35e-4])
|
|
5876
6019
|
);
|
|
5877
6020
|
};
|
|
@@ -5888,8 +6031,8 @@ var leatherWorkGloves = ({ mesh, bx, G, cloth: cloth2 }) => {
|
|
|
5888
6031
|
finger(0.03, 0.095, -0.013),
|
|
5889
6032
|
finger(0.03, 0.09, 0.013),
|
|
5890
6033
|
finger(0.03, 0.075, 0.039),
|
|
5891
|
-
mesh(bx(0.05, 0.
|
|
5892
|
-
mesh(bx(0.03, 0.024, 0.
|
|
6034
|
+
mesh(bx(0.05, 0.018, 0.026), leather, [-0.01, 0.011, 0.036], [0, -0.5, 0]),
|
|
6035
|
+
mesh(bx(0.03, 0.024, 0.104), cuff, [-0.0575, 0.014, 0])
|
|
5893
6036
|
);
|
|
5894
6037
|
};
|
|
5895
6038
|
|
|
@@ -5927,12 +6070,12 @@ var magazineArmGuard = ({ mesh, bx, G, paper: paper2, cloth: cloth2 }) => {
|
|
|
5927
6070
|
|
|
5928
6071
|
// src/models/magazines-and-comics.ts
|
|
5929
6072
|
var magazinesAndComics = ({ mesh, bx, G, paper: paper2 }) => G(
|
|
5930
|
-
mesh(bx(0.17, 0.26,
|
|
5931
|
-
mesh(bx(0.17, 0.26,
|
|
5932
|
-
mesh(bx(0.17, 0.26,
|
|
5933
|
-
mesh(bx(0.15, 0.04,
|
|
5934
|
-
mesh(bx(0.14, 0.14,
|
|
5935
|
-
mesh(bx(0.07, 0.07,
|
|
6073
|
+
mesh(bx(0.17, 0.26, 53e-4), paper2(14998726), [0, 0.13, -105e-5]),
|
|
6074
|
+
mesh(bx(0.17, 0.26, 12e-4), paper2(11680302), [0, 0.13, 22e-4]),
|
|
6075
|
+
mesh(bx(0.17, 0.26, 12e-4), paper2(11680302), [0, 0.13, -43e-4]),
|
|
6076
|
+
mesh(bx(0.15, 0.04, 12e-4), paper2(15782762), [0, 0.235, 34e-4]),
|
|
6077
|
+
mesh(bx(0.14, 0.14, 12e-4), paper2(3894944), [0, 0.12, 34e-4]),
|
|
6078
|
+
mesh(bx(0.07, 0.07, 12e-4), paper2(15782762), [-0.03, 0.12, 46e-4])
|
|
5936
6079
|
);
|
|
5937
6080
|
|
|
5938
6081
|
// src/models/master-key.ts
|
|
@@ -5957,19 +6100,19 @@ var mechanicCoveralls = ({ mesh, bx, G, cloth: cloth2, metal }) => {
|
|
|
5957
6100
|
const dark = cloth2(3098464);
|
|
5958
6101
|
const zip = metal(10132896);
|
|
5959
6102
|
return G(
|
|
5960
|
-
mesh(bx(0.18, 0.07, 0.
|
|
5961
|
-
mesh(bx(0.09, 0.07, 0.
|
|
5962
|
-
mesh(bx(0.09, 0.07, 0.
|
|
6103
|
+
mesh(bx(0.18, 0.07, 0.136), fabric, [0, 0.035, -0.078]),
|
|
6104
|
+
mesh(bx(0.09, 0.07, 0.148), fabric, [-0.0465, 0.035, 0.074]),
|
|
6105
|
+
mesh(bx(0.09, 0.07, 0.148), fabric, [0.0465, 0.035, 0.074]),
|
|
5963
6106
|
mesh(bx(0.11, 0.06, 0.1), fabric, [-0.145, 0.03, -0.1]),
|
|
5964
6107
|
mesh(bx(0.11, 0.06, 0.1), fabric, [0.145, 0.03, -0.1]),
|
|
5965
|
-
mesh(bx(0.
|
|
5966
|
-
mesh(bx(0.
|
|
5967
|
-
mesh(bx(0.18, 0.
|
|
5968
|
-
mesh(bx(0.07, 0.
|
|
5969
|
-
mesh(bx(0.012, 0.
|
|
5970
|
-
mesh(bx(0.05, 0.
|
|
5971
|
-
mesh(bx(0.05, 0.
|
|
5972
|
-
mesh(bx(0.14, 0.
|
|
6108
|
+
mesh(bx(0.028, 0.062, 0.096), dark, [-0.184, 0.033, -0.1]),
|
|
6109
|
+
mesh(bx(0.028, 0.062, 0.096), dark, [0.184, 0.033, -0.1]),
|
|
6110
|
+
mesh(bx(0.18, 0.072, 0.025), dark, [0, 0.038, 0.1375]),
|
|
6111
|
+
mesh(bx(0.07, 0.078, 0.04), dark, [0, 0.041, -0.13]),
|
|
6112
|
+
mesh(bx(0.012, 0.08, 0.198), zip, [0, 0.044, -0.049]),
|
|
6113
|
+
mesh(bx(0.05, 0.078, 0.04), dark, [-0.05, 0.041, -0.07]),
|
|
6114
|
+
mesh(bx(0.05, 0.088, 0.03), dark, [0.05, 0.046, -0.02]),
|
|
6115
|
+
mesh(bx(0.14, 0.072, 0.012), dark, [0, 0.038, 0])
|
|
5973
6116
|
);
|
|
5974
6117
|
};
|
|
5975
6118
|
|
|
@@ -6010,9 +6153,9 @@ var militaryRadio = ({ M, mesh, cyl, bx, G, metal, plastic }) => {
|
|
|
6010
6153
|
|
|
6011
6154
|
// src/models/mobile-phone.ts
|
|
6012
6155
|
var mobilePhone = ({ M, mesh, bx, G, plastic, glass }) => G(
|
|
6013
|
-
mesh(bx(0.077, 0.16,
|
|
6014
|
-
mesh(bx(0.07, 0.15,
|
|
6015
|
-
mesh(bx(0.026, 0.026,
|
|
6156
|
+
mesh(bx(0.077, 0.16, 42e-4), plastic(2303531), [0, 0.08, 0]),
|
|
6157
|
+
mesh(bx(0.07, 0.15, 24e-4), glass(790808, 0.95), [0, 0.08, 33e-4]),
|
|
6158
|
+
mesh(bx(0.026, 0.026, 24e-4), plastic(1382170), [-0.02, 0.14, -33e-4]),
|
|
6016
6159
|
mesh(bx(0.016, 2e-3, 4e-4), M(3883080, "plastic"), [0, 0.153, 43e-4])
|
|
6017
6160
|
);
|
|
6018
6161
|
|
|
@@ -6039,8 +6182,8 @@ var nightVisionGoggles = ({ M, mesh, cyl, bx, G, metal, plastic }) => {
|
|
|
6039
6182
|
mesh(bx(0.04, 0.016, 0.05), metal(2763822), [0, 0.092, -5e-3])
|
|
6040
6183
|
);
|
|
6041
6184
|
for (const x of [-0.039, 0.039]) {
|
|
6042
|
-
group.add(mesh(cyl(0.036, 0.036, 0.
|
|
6043
|
-
group.add(mesh(cyl(0.028, 0.028,
|
|
6185
|
+
group.add(mesh(cyl(0.036, 0.036, 0.046, 12), shell, [x, 0.05, 0.028], [quarter, 0, 0]));
|
|
6186
|
+
group.add(mesh(cyl(0.028, 0.028, 6e-3, 10), lens, [x, 0.05, 0.052], [quarter, 0, 0]));
|
|
6044
6187
|
group.add(mesh(cyl(0.03, 0.03, 0.03, 10), plastic(1382170), [x, 0.05, -0.04], [quarter, 0, 0]));
|
|
6045
6188
|
}
|
|
6046
6189
|
return group;
|
|
@@ -6049,8 +6192,8 @@ var nightVisionGoggles = ({ M, mesh, cyl, bx, G, metal, plastic }) => {
|
|
|
6049
6192
|
// src/models/note.ts
|
|
6050
6193
|
var note = ({ mesh, bx, G, paper: paper2 }) => {
|
|
6051
6194
|
const group = G();
|
|
6052
|
-
group.add(mesh(bx(0.15,
|
|
6053
|
-
group.add(mesh(bx(0.14,
|
|
6195
|
+
group.add(mesh(bx(0.15, 8e-4, 0.1), paper2(15327951), [0, 4e-4, 0]));
|
|
6196
|
+
group.add(mesh(bx(0.14, 8e-4, 0.09), paper2(15986397), [0, 16e-4, 2e-3]));
|
|
6054
6197
|
return group;
|
|
6055
6198
|
};
|
|
6056
6199
|
|
|
@@ -6063,10 +6206,10 @@ var paddedCoat = ({ mesh, bx, cyl, G, cloth: cloth2, metal }) => {
|
|
|
6063
6206
|
mesh(bx(0.3, 0.12, 0.35), shell, [0, 0.06, 0]),
|
|
6064
6207
|
mesh(bx(0.075, 0.1, 0.24), shell, [-0.1875, 0.05, -0.055]),
|
|
6065
6208
|
mesh(bx(0.075, 0.1, 0.24), shell, [0.1875, 0.05, -0.055]),
|
|
6066
|
-
mesh(bx(0.
|
|
6067
|
-
mesh(bx(0.
|
|
6068
|
-
mesh(cyl(0.07, 0.07, 0.
|
|
6069
|
-
mesh(bx(0.012, 0.
|
|
6209
|
+
mesh(bx(0.071, 0.102, 0.03), rib, [-0.1875, 0.053, 0.075]),
|
|
6210
|
+
mesh(bx(0.071, 0.102, 0.03), rib, [0.1875, 0.053, 0.075]),
|
|
6211
|
+
mesh(cyl(0.07, 0.07, 0.038, 12), shell, [0, 0.129, -0.1]),
|
|
6212
|
+
mesh(bx(0.012, 0.122, 0.336), zip, [0, 0.063, 3e-3])
|
|
6070
6213
|
];
|
|
6071
6214
|
for (const z of [-0.12, -0.04, 0.04, 0.12]) parts.push(mesh(bx(0.29, 0.03, 0.014), rib, [0, 0.135, z]));
|
|
6072
6215
|
return G(...parts);
|
|
@@ -6078,8 +6221,8 @@ var padlockKey = ({ mesh, bx, G, metal }) => {
|
|
|
6078
6221
|
const shackle = metal(12633030);
|
|
6079
6222
|
const slot = metal(2039842);
|
|
6080
6223
|
const parts = [
|
|
6081
|
-
mesh(bx(0.05, 0.05, 0.
|
|
6082
|
-
mesh(bx(0.
|
|
6224
|
+
mesh(bx(0.05, 0.05, 0.02), body, [0, 0.025, 0]),
|
|
6225
|
+
mesh(bx(0.046, 6e-3, 0.016), body, [0, 5e-3, 0]),
|
|
6083
6226
|
mesh(bx(6e-3, 0.014, 0.025), slot, [0, 0.022, 0]),
|
|
6084
6227
|
mesh(bx(6e-3, 0.026, 8e-3), shackle, [-0.014, 0.063, 0]),
|
|
6085
6228
|
mesh(bx(6e-3, 0.026, 8e-3), shackle, [0.014, 0.063, 0])
|
|
@@ -6096,7 +6239,7 @@ var padlockKey = ({ mesh, bx, G, metal }) => {
|
|
|
6096
6239
|
var photo = ({ mesh, bx, G, paper: paper2 }) => {
|
|
6097
6240
|
const group = G();
|
|
6098
6241
|
group.add(mesh(bx(0.102, 1e-3, 0.152), paper2(15855332), [0, 5e-4, 0]));
|
|
6099
|
-
group.add(mesh(bx(0.088,
|
|
6242
|
+
group.add(mesh(bx(0.088, 1015e-6, 0.115), paper2(8030860), [0, 15275e-7, -0.01]));
|
|
6100
6243
|
return group;
|
|
6101
6244
|
};
|
|
6102
6245
|
|
|
@@ -6107,12 +6250,12 @@ var portableGenerator = ({ M, mesh, cyl, bx, G, metal, plastic }) => {
|
|
|
6107
6250
|
const group = G(
|
|
6108
6251
|
mesh(bx(0.5, 0.02, 0.02), frame, [0, 0.01, 0.205]),
|
|
6109
6252
|
mesh(bx(0.5, 0.02, 0.02), frame, [0, 0.01, -0.205]),
|
|
6110
|
-
mesh(bx(0.
|
|
6111
|
-
mesh(bx(0.
|
|
6253
|
+
mesh(bx(0.016, 0.016, 0.426), frame, [0.24, 0.01, 0]),
|
|
6254
|
+
mesh(bx(0.016, 0.016, 0.426), frame, [-0.24, 0.01, 0]),
|
|
6112
6255
|
mesh(bx(0.5, 0.02, 0.02), frame, [0, 0.41, 0.205]),
|
|
6113
6256
|
mesh(bx(0.5, 0.02, 0.02), frame, [0, 0.41, -0.205]),
|
|
6114
|
-
mesh(bx(0.
|
|
6115
|
-
mesh(bx(0.
|
|
6257
|
+
mesh(bx(0.016, 0.016, 0.426), frame, [0.24, 0.41, 0]),
|
|
6258
|
+
mesh(bx(0.016, 0.016, 0.426), frame, [-0.24, 0.41, 0]),
|
|
6116
6259
|
mesh(bx(0.2, 0.2, 0.26), metal(7238003), [-0.12, 0.13, 0]),
|
|
6117
6260
|
mesh(cyl(0.11, 0.11, 0.18, 14), metal(4151923), [0.14, 0.15, 0], [0, 0, quarter]),
|
|
6118
6261
|
mesh(bx(0.34, 0.1, 0.28), plastic(10235683), [0, 0.35, 0]),
|
|
@@ -6122,7 +6265,7 @@ var portableGenerator = ({ M, mesh, cyl, bx, G, metal, plastic }) => {
|
|
|
6122
6265
|
mesh(bx(0.04, 0.04, 45e-4), M(7830141, "plastic"), [0.17, 0.2, 0.2162]),
|
|
6123
6266
|
mesh(cyl(0.035, 0.035, 0.16, 10), metal(5982780), [-0.12, 0.1, -0.17], [0, 0, quarter])
|
|
6124
6267
|
);
|
|
6125
|
-
for (const [x, z] of [[-0.24, -0.205], [0.24, -0.205], [-0.24, 0.205], [0.24, 0.205]]) group.add(mesh(bx(0.
|
|
6268
|
+
for (const [x, z] of [[-0.24, -0.205], [0.24, -0.205], [-0.24, 0.205], [0.24, 0.205]]) group.add(mesh(bx(0.012, 0.4, 0.012), frame, [x, 0.21, z]));
|
|
6126
6269
|
return group;
|
|
6127
6270
|
};
|
|
6128
6271
|
|
|
@@ -6130,12 +6273,12 @@ var portableGenerator = ({ M, mesh, cyl, bx, G, metal, plastic }) => {
|
|
|
6130
6273
|
var powerBank = ({ M, mesh, bx, G, plastic }) => {
|
|
6131
6274
|
const led = M(9167776, "plastic", { emissive: 3111493, emissiveIntensity: 0.6 });
|
|
6132
6275
|
return G(
|
|
6133
|
-
mesh(bx(0.15, 0.07, 0.
|
|
6134
|
-
mesh(bx(0.07, 0.024,
|
|
6135
|
-
mesh(bx(0.02, 8e-3,
|
|
6136
|
-
mesh(bx(0.012, 4e-3,
|
|
6137
|
-
mesh(bx(0.012, 4e-3,
|
|
6138
|
-
mesh(bx(0.012, 4e-3,
|
|
6276
|
+
mesh(bx(0.15, 0.07, 0.0143), plastic(2961720), [0, 0.035, -35e-5]),
|
|
6277
|
+
mesh(bx(0.07, 0.024, 3e-3), plastic(4870232), [-0.025, 0.035, 71e-4]),
|
|
6278
|
+
mesh(bx(0.02, 8e-3, 3e-3), plastic(987154), [0.058, 0.058, 71e-4]),
|
|
6279
|
+
mesh(bx(0.012, 4e-3, 3e-3), led, [0.028, 0.02, 71e-4]),
|
|
6280
|
+
mesh(bx(0.012, 4e-3, 3e-3), led, [0.044, 0.02, 71e-4]),
|
|
6281
|
+
mesh(bx(0.012, 4e-3, 3e-3), led, [0.06, 0.02, 71e-4])
|
|
6139
6282
|
);
|
|
6140
6283
|
};
|
|
6141
6284
|
|
|
@@ -6146,9 +6289,9 @@ var pumpkinSeeds = ({ mesh, bx, G, paper: paper2 }) => {
|
|
|
6146
6289
|
const depth = 0.015;
|
|
6147
6290
|
const group = G();
|
|
6148
6291
|
group.add(mesh(bx(width, height, depth * 0.5), paper2(15261640)));
|
|
6149
|
-
group.add(mesh(bx(width * 0.9, height * 0.85, depth * 0.
|
|
6150
|
-
group.add(mesh(bx(width, height * 0.08, depth * 0.3), paper2(13616296), [0, height * 0.
|
|
6151
|
-
[1, -1].forEach((side) => group.add(mesh(bx(width * 0.7, height * 0.4, depth * 0.
|
|
6292
|
+
group.add(mesh(bx(width * 0.9, height * 0.85, depth * 0.667), paper2(15722451), [0, -height * 0.03, 0]));
|
|
6293
|
+
group.add(mesh(bx(width * 0.95, height * 0.08, depth * 0.3), paper2(13616296), [0, height * 0.445, 0]));
|
|
6294
|
+
[1, -1].forEach((side) => group.add(mesh(bx(width * 0.7, height * 0.4, depth * 0.3), paper2(14254635), [0, -height * 0.05, side * depth * 0.35])));
|
|
6152
6295
|
return group;
|
|
6153
6296
|
};
|
|
6154
6297
|
|
|
@@ -6163,7 +6306,7 @@ var raincoat = ({ mesh, bx, cyl, G, plastic, metal }) => {
|
|
|
6163
6306
|
mesh(bx(0.05, 0.03, 0.012), trim, [-0.125, 0.015, 0.05]),
|
|
6164
6307
|
mesh(bx(0.05, 0.03, 0.012), trim, [0.125, 0.015, 0.05]),
|
|
6165
6308
|
mesh(cyl(0.055, 0.055, 0.01, 12), trim, [0, 0.035, -0.07]),
|
|
6166
|
-
mesh(bx(0.014, 0.
|
|
6309
|
+
mesh(bx(0.014, 0.0113, 0.17), trim, [0, 0.03215, 0.04]),
|
|
6167
6310
|
mesh(cyl(6e-3, 6e-3, 0.012, 6), metal(9080208), [0, 0.034, 0]),
|
|
6168
6311
|
mesh(cyl(6e-3, 6e-3, 0.012, 6), metal(9080208), [0, 0.034, 0.06])
|
|
6169
6312
|
);
|
|
@@ -6184,7 +6327,7 @@ var rollingSuitcase = ({ mesh, cyl, bx, G, plastic }) => {
|
|
|
6184
6327
|
const shell = plastic(4016732);
|
|
6185
6328
|
const trim = plastic(2040358);
|
|
6186
6329
|
const parts = [
|
|
6187
|
-
mesh(bx(0.4, 0.55, 0.
|
|
6330
|
+
mesh(bx(0.4, 0.55, 0.236), shell, [0, 0.325, 0]),
|
|
6188
6331
|
mesh(bx(0.012, 0.5, 0.25), trim, [-0.1, 0.325, 0]),
|
|
6189
6332
|
mesh(bx(0.012, 0.5, 0.25), trim, [0.1, 0.325, 0]),
|
|
6190
6333
|
mesh(bx(0.012, 0.04, 0.012), trim, [-0.06, 0.62, 0]),
|
|
@@ -6205,8 +6348,8 @@ var rubberBoots = ({ mesh, bx, cyl, G, plastic }) => {
|
|
|
6205
6348
|
mesh(bx(0.3, 0.025, 0.105), sole, [0, 0.0125, z]),
|
|
6206
6349
|
mesh(bx(0.07, 0.03, 0.105), sole, [-0.115, 0.04, z]),
|
|
6207
6350
|
mesh(bx(0.2, 0.06, 0.1), rubber, [0.04, 0.055, z]),
|
|
6208
|
-
mesh(cyl(0.
|
|
6209
|
-
mesh(cyl(0.
|
|
6351
|
+
mesh(cyl(0.046, 0.046, 0.06, 8), rubber, [0.1, 0.06, z]),
|
|
6352
|
+
mesh(cyl(0.048, 0.0495, 0.3175, 10), rubber, [-0.085, 0.18625, z]),
|
|
6210
6353
|
mesh(cyl(0.054, 0.054, 0.015, 10), rim, [-0.085, 0.3425, z])
|
|
6211
6354
|
];
|
|
6212
6355
|
return G(...boot(-0.0575), ...boot(0.0575));
|
|
@@ -6259,8 +6402,8 @@ var sheetMetalForearmGuard = ({ mesh, bx, G, metal, cloth: cloth2 }) => {
|
|
|
6259
6402
|
const rivet = metal(11909307);
|
|
6260
6403
|
const parts = [];
|
|
6261
6404
|
const count = 7;
|
|
6262
|
-
const radiusZ = 0.
|
|
6263
|
-
const radiusY = 0.
|
|
6405
|
+
const radiusZ = 0.0524;
|
|
6406
|
+
const radiusY = 0.0955;
|
|
6264
6407
|
const phiMax = 1.3;
|
|
6265
6408
|
for (let index = 0; index < count; index++) {
|
|
6266
6409
|
const phi = -phiMax + 2 * phiMax * index / (count - 1);
|
|
@@ -6270,7 +6413,7 @@ var sheetMetalForearmGuard = ({ mesh, bx, G, metal, cloth: cloth2 }) => {
|
|
|
6270
6413
|
const angle = Math.atan2(radiusY * Math.sin(phi), radiusZ * Math.cos(phi));
|
|
6271
6414
|
const length = speed * (2 * phiMax) / (count - 1) * 1.1;
|
|
6272
6415
|
parts.push(mesh(bx(0.3, 6e-3, length), sheet, [0, y, z], [angle, 0, 0]));
|
|
6273
|
-
for (const x of [-0.09, 0.09]) parts.push(mesh(bx(0.03, 6e-3, length), strap, [x, y +
|
|
6416
|
+
for (const x of [-0.09, 0.09]) parts.push(mesh(bx(0.03, 6e-3, length), strap, [x, y + 3e-3 * Math.cos(angle), z + 3e-3 * Math.sin(angle)], [angle, 0, 0]));
|
|
6274
6417
|
}
|
|
6275
6418
|
parts.push(mesh(bx(0.012, 0.012, 0.012), rivet, [0.09, 0.0985, 0]), mesh(bx(0.012, 0.012, 0.012), rivet, [-0.09, 0.0985, 0]));
|
|
6276
6419
|
return G(...parts);
|
|
@@ -6297,14 +6440,14 @@ var shoppingCart = ({ mesh, cyl, bx, G, metal, plastic }) => {
|
|
|
6297
6440
|
add(mesh(bx(0.5, 0.012, 0.8), wire, [0, 0.38, 0]), mesh(bx(0.55, 0.03, 0.03), grip, [0, 0.965, -0.46]));
|
|
6298
6441
|
for (const side of [-1, 1]) {
|
|
6299
6442
|
add(mesh(bx(0.012, 0.012, 0.8), wire, [side * 0.25, 0.75, 0]), mesh(bx(0.012, 0.012, 0.8), wire, [side * 0.25, 0.56, 0]));
|
|
6300
|
-
add(mesh(bx(0.012, 0.012, 0.95), wire, [side * 0.22, 0.14, 0]), mesh(bx(0.02, 0.
|
|
6443
|
+
add(mesh(bx(0.012, 0.012, 0.95), wire, [side * 0.22, 0.14, 0]), mesh(bx(0.02, 0.6, 0.02), wire, [side * 0.26, 0.66, -0.46]));
|
|
6301
6444
|
for (const z of [-0.4, 0.4]) add(mesh(bx(0.012, 0.37, 0.012), wire, [side * 0.25, 0.565, z]));
|
|
6302
|
-
add(mesh(bx(
|
|
6445
|
+
add(mesh(bx(8e-3, 0.25, 8e-3), wire, [side * 0.22, 0.265, -0.3]), mesh(bx(8e-3, 0.25, 8e-3), wire, [side * 0.22, 0.265, 0.3]));
|
|
6303
6446
|
for (const z of [-0.3, 0.4]) add(mesh(cyl(0.06, 0.06, 0.03, 8), grip, [side * 0.25, 0.06, z], [0, 0, Math.PI / 2]));
|
|
6304
6447
|
}
|
|
6305
6448
|
add(mesh(bx(0.5, 0.012, 0.012), wire, [0, 0.75, 0.4]), mesh(bx(0.5, 0.012, 0.012), wire, [0, 0.56, 0.4]));
|
|
6306
6449
|
add(mesh(bx(0.5, 0.012, 0.012), wire, [0, 0.75, -0.4]), mesh(bx(0.5, 0.012, 0.012), wire, [0, 0.56, -0.4]));
|
|
6307
|
-
for (const x of [-0.125, 0.125]) add(mesh(bx(0.012, 0.
|
|
6450
|
+
for (const x of [-0.125, 0.125]) add(mesh(bx(0.012, 0.016, 0.8), wire, [x, 0.38, 0]));
|
|
6308
6451
|
add(mesh(bx(0.44, 0.012, 0.012), wire, [0, 0.14, -0.3]), mesh(bx(0.44, 0.012, 0.012), wire, [0, 0.14, 0.3]));
|
|
6309
6452
|
return group;
|
|
6310
6453
|
};
|
|
@@ -6315,13 +6458,13 @@ var skillBook = ({ mesh, bx, G, paper: paper2, cloth: cloth2 }) => {
|
|
|
6315
6458
|
const trim = paper2(13214810);
|
|
6316
6459
|
return G(
|
|
6317
6460
|
mesh(bx(0.154, 0.224, 0.033), paper2(14998726), [5e-4, 0.115, 0]),
|
|
6318
|
-
mesh(bx(0.
|
|
6319
|
-
mesh(bx(0.
|
|
6461
|
+
mesh(bx(0.154, 0.23, 34e-4), cover, [3e-3, 0.115, 0.0158]),
|
|
6462
|
+
mesh(bx(0.154, 0.23, 34e-4), cover, [3e-3, 0.115, -0.0158]),
|
|
6320
6463
|
mesh(bx(6e-3, 0.23, 0.04), cover, [-0.077, 0.115, 0]),
|
|
6321
|
-
mesh(bx(
|
|
6322
|
-
mesh(bx(
|
|
6323
|
-
mesh(bx(0.09, 0.05,
|
|
6324
|
-
mesh(bx(0.06, 6e-3,
|
|
6464
|
+
mesh(bx(6e-3, 0.01, 0.036), trim, [-0.0785, 0.2, 0]),
|
|
6465
|
+
mesh(bx(6e-3, 0.01, 0.036), trim, [-0.0785, 0.03, 0]),
|
|
6466
|
+
mesh(bx(0.09, 0.05, 32e-4), trim, [5e-3, 0.17, 0.0181]),
|
|
6467
|
+
mesh(bx(0.06, 6e-3, 32e-4), trim, [5e-3, 0.06, 0.0181])
|
|
6325
6468
|
);
|
|
6326
6469
|
};
|
|
6327
6470
|
|
|
@@ -6343,13 +6486,13 @@ var sneakers = ({ mesh, bx, cyl, G, cloth: cloth2, plastic }) => {
|
|
|
6343
6486
|
const lace = cloth2(15790314);
|
|
6344
6487
|
return G(
|
|
6345
6488
|
mesh(bx(0.25, 0.022, 0.12), sole, [-0.025, 0.011, 0]),
|
|
6346
|
-
mesh(cyl(0.06, 0.06, 0.
|
|
6489
|
+
mesh(cyl(0.06, 0.06, 0.018, 10), sole, [0.09, 0.011, 0]),
|
|
6347
6490
|
mesh(bx(0.11, 0.09, 0.11), upper, [-0.095, 0.067, 0]),
|
|
6348
|
-
mesh(bx(0.12, 0.
|
|
6349
|
-
mesh(cyl(0.055, 0.055, 0.
|
|
6491
|
+
mesh(bx(0.12, 0.052, 0.106), upper, [0, 0.046, 0]),
|
|
6492
|
+
mesh(cyl(0.055, 0.055, 0.046, 10), upper, [0.095, 0.041, 0]),
|
|
6350
6493
|
mesh(bx(0.03, 0.05, 0.08), accent, [-0.03, 0.095, 0]),
|
|
6351
|
-
mesh(bx(0.1, 0.03,
|
|
6352
|
-
mesh(bx(0.1, 0.03,
|
|
6494
|
+
mesh(bx(0.1, 0.03, 6e-3), accent, [-0.05, 0.05, 0.056]),
|
|
6495
|
+
mesh(bx(0.1, 0.03, 6e-3), accent, [-0.05, 0.05, -0.056]),
|
|
6353
6496
|
mesh(bx(8e-3, 4e-3, 0.09), lace, [0, 0.074, 0]),
|
|
6354
6497
|
mesh(bx(8e-3, 4e-3, 0.09), lace, [0.03, 0.074, 0]),
|
|
6355
6498
|
mesh(bx(8e-3, 4e-3, 0.08), lace, [0.06, 0.066, 0])
|
|
@@ -6379,13 +6522,13 @@ var technicalManual = ({ mesh, bx, G, paper: paper2, plastic }) => {
|
|
|
6379
6522
|
const binder = plastic(3096402);
|
|
6380
6523
|
const label = paper2(14998726);
|
|
6381
6524
|
return G(
|
|
6382
|
-
mesh(bx(0.
|
|
6383
|
-
mesh(bx(0.
|
|
6384
|
-
mesh(bx(0.
|
|
6385
|
-
mesh(bx(0.012, 0.3, 0.
|
|
6386
|
-
mesh(bx(6e-3, 0.18,
|
|
6387
|
-
mesh(bx(0.12, 0.05, 4e-
|
|
6388
|
-
mesh(bx(0.12, 4e-3, 4e-
|
|
6525
|
+
mesh(bx(0.196, 0.292, 0.029), paper2(14998726), [2e-3, 0.15, 0]),
|
|
6526
|
+
mesh(bx(0.198, 0.3, 3e-3), binder, [6e-3, 0.15, 0.016]),
|
|
6527
|
+
mesh(bx(0.198, 0.3, 3e-3), binder, [6e-3, 0.15, -0.016]),
|
|
6528
|
+
mesh(bx(0.012, 0.3, 0.0385), binder, [-0.099, 0.15, -75e-5]),
|
|
6529
|
+
mesh(bx(6e-3, 0.18, 3e-3), label, [-0.0995, 0.15, 0.019]),
|
|
6530
|
+
mesh(bx(0.12, 0.05, 4e-3), label, [0.01, 0.23, 0.0185]),
|
|
6531
|
+
mesh(bx(0.12, 4e-3, 4e-3), plastic(11843514), [0.01, 0.17, 0.0185])
|
|
6389
6532
|
);
|
|
6390
6533
|
};
|
|
6391
6534
|
|
|
@@ -6394,10 +6537,10 @@ var toolBelt = ({ mesh, bx, G, cloth: cloth2, metal }) => {
|
|
|
6394
6537
|
const leather = cloth2(7031343);
|
|
6395
6538
|
const pouch = cloth2(5191714);
|
|
6396
6539
|
return G(
|
|
6397
|
-
mesh(bx(0.35, 0.04, 0.02), leather, [0, 0.05, 0.
|
|
6540
|
+
mesh(bx(0.35, 0.04, 0.02), leather, [0, 0.05, 0.105]),
|
|
6398
6541
|
mesh(bx(0.35, 0.04, 0.02), leather, [0, 0.05, -0.115]),
|
|
6399
|
-
mesh(bx(0.
|
|
6400
|
-
mesh(bx(0.
|
|
6542
|
+
mesh(bx(0.016, 0.036, 0.218), leather, [-0.165, 0.05, -6e-3]),
|
|
6543
|
+
mesh(bx(0.016, 0.036, 0.218), leather, [0.165, 0.05, -6e-3]),
|
|
6401
6544
|
mesh(bx(0.08, 0.1, 0.04), pouch, [-0.1, 0.05, 0.105]),
|
|
6402
6545
|
mesh(bx(0.08, 0.08, 0.04), pouch, [0.1, 0.04, 0.105]),
|
|
6403
6546
|
mesh(bx(0.04, 0.09, 0.08), pouch, [-0.155, 0.045, -0.02]),
|
|
@@ -6413,7 +6556,7 @@ var trashBag = ({ mesh, bx, G, plastic }) => {
|
|
|
6413
6556
|
mesh(bx(0.2, 0.02, 0.2), film, [-0.025, 0.01, 0]),
|
|
6414
6557
|
mesh(bx(0.2, 5e-3, 0.02), film, [-0.025, 0.0225, 0]),
|
|
6415
6558
|
mesh(bx(0.05, 0.012, 0.08), film, [0.1, 6e-3, 0]),
|
|
6416
|
-
mesh(bx(0.
|
|
6559
|
+
mesh(bx(0.028, 0.023, 0.04), film, [0.109, 0.0135, 0])
|
|
6417
6560
|
);
|
|
6418
6561
|
};
|
|
6419
6562
|
|
|
@@ -6425,11 +6568,11 @@ var trekkingBackpack70L = ({ mesh, bx, G, cloth: cloth2, plastic }) => {
|
|
|
6425
6568
|
mesh(bx(0.34, 0.2, 0.2), dark, [0, 0.1, -0.03]),
|
|
6426
6569
|
mesh(bx(0.36, 0.49, 0.2), main, [0, 0.445, -0.03]),
|
|
6427
6570
|
mesh(bx(0.38, 0.06, 0.26), dark, [0, 0.72, -0.02]),
|
|
6428
|
-
mesh(bx(0.28, 0.3, 0.
|
|
6571
|
+
mesh(bx(0.28, 0.3, 0.0765), main, [0, 0.35, 0.10825]),
|
|
6429
6572
|
mesh(bx(0.06, 0.45, 0.02), dark, [-0.1, 0.45, -0.14]),
|
|
6430
6573
|
mesh(bx(0.06, 0.45, 0.02), dark, [0.1, 0.45, -0.14]),
|
|
6431
|
-
mesh(bx(0.38, 0.03, 0.
|
|
6432
|
-
mesh(bx(0.05, 0.
|
|
6574
|
+
mesh(bx(0.38, 0.03, 0.0185), dark, [0, 0.3, 0.13925]),
|
|
6575
|
+
mesh(bx(0.05, 0.026, 0.0155), plastic(1842463), [0, 0.3, 0.14275])
|
|
6433
6576
|
);
|
|
6434
6577
|
};
|
|
6435
6578
|
|
|
@@ -6439,13 +6582,13 @@ var tshirt = ({ mesh, bx, G, cloth: cloth2 }) => {
|
|
|
6439
6582
|
const rib = cloth2(7304056);
|
|
6440
6583
|
const inside = cloth2(2829616);
|
|
6441
6584
|
return G(
|
|
6442
|
-
mesh(bx(0.21, 0.
|
|
6585
|
+
mesh(bx(0.21, 0.0352, 0.22), fabric, [0, 0.0176, 0]),
|
|
6443
6586
|
mesh(bx(0.045, 0.03, 0.08), fabric, [-0.1275, 0.015, -0.07]),
|
|
6444
6587
|
mesh(bx(0.045, 0.03, 0.08), fabric, [0.1275, 0.015, -0.07]),
|
|
6445
6588
|
mesh(bx(0.045, 0.034, 0.012), rib, [-0.1275, 0.017, -0.024]),
|
|
6446
6589
|
mesh(bx(0.045, 0.034, 0.012), rib, [0.1275, 0.017, -0.024]),
|
|
6447
|
-
mesh(bx(0.07, 0.
|
|
6448
|
-
mesh(bx(0.09, 0.
|
|
6590
|
+
mesh(bx(0.07, 0.0356, 0.022), inside, [0, 0.0198, -0.097]),
|
|
6591
|
+
mesh(bx(0.09, 0.0358, 0.012), rib, [0, 0.0219, -0.1])
|
|
6449
6592
|
);
|
|
6450
6593
|
};
|
|
6451
6594
|
|
|
@@ -6475,8 +6618,8 @@ var wheelbarrow = ({ mesh, cyl, bx, G, metal, plastic }) => {
|
|
|
6475
6618
|
mesh(bx(0.02, 0.29, 0.62), tub, [0.255, 0.515, 0.2], [0, 0, -tilt]),
|
|
6476
6619
|
mesh(bx(0.5, 0.29, 0.02), tub, [0, 0.515, 0.5], [0.5, 0, 0]),
|
|
6477
6620
|
mesh(bx(0.5, 0.29, 0.02), tub, [0, 0.515, -0.1], [-0.5, 0, 0]),
|
|
6478
|
-
mesh(bx(0.03, 0.03, 1.
|
|
6479
|
-
mesh(bx(0.03, 0.03, 1.
|
|
6621
|
+
mesh(bx(0.03, 0.03, 1.28), frame, [-0.2, 0.33, -0.09]),
|
|
6622
|
+
mesh(bx(0.03, 0.03, 1.28), frame, [0.2, 0.33, -0.09]),
|
|
6480
6623
|
mesh(cyl(0.02, 0.02, 0.3, 6), plastic(7031343), [-0.2, 0.33, -0.6], [Math.PI / 2, 0, 0]),
|
|
6481
6624
|
mesh(cyl(0.02, 0.02, 0.3, 6), plastic(7031343), [0.2, 0.33, -0.6], [Math.PI / 2, 0, 0]),
|
|
6482
6625
|
mesh(bx(0.03, 0.31, 0.03), frame, [-0.2, 0.155, -0.35]),
|
|
@@ -6636,6 +6779,9 @@ var BUILDERS = {
|
|
|
6636
6779
|
slingshot,
|
|
6637
6780
|
knife,
|
|
6638
6781
|
tactical_knife: tacticalKnife,
|
|
6782
|
+
kabar,
|
|
6783
|
+
katana,
|
|
6784
|
+
brass_knuckles: brassKnuckles,
|
|
6639
6785
|
arrows_and_bolts: arrowsAndBolts,
|
|
6640
6786
|
sickle,
|
|
6641
6787
|
cast_iron_skillet: castIronSkillet,
|
|
@@ -6822,6 +6968,7 @@ function shade(color, factor) {
|
|
|
6822
6968
|
const channel = (shift) => Math.max(0, Math.min(255, Math.round((color >> shift & 255) * factor)));
|
|
6823
6969
|
return channel(16) << 16 | channel(8) << 8 | channel(0);
|
|
6824
6970
|
}
|
|
6971
|
+
var PROUD = 2e-3;
|
|
6825
6972
|
var seg = (c, n) => Math.max(5, Math.round(n * c.detail));
|
|
6826
6973
|
function canonicalFrame(size) {
|
|
6827
6974
|
const [w, h, d] = size;
|
|
@@ -6847,7 +6994,8 @@ var across = (c, group) => {
|
|
|
6847
6994
|
var can = (c) => {
|
|
6848
6995
|
const { k, h } = c;
|
|
6849
6996
|
const body = k.metal(9277590);
|
|
6850
|
-
|
|
6997
|
+
const r = 0.5 - PROUD / Math.min(c.w, c.d);
|
|
6998
|
+
return across(c, k.G(k.mesh(k.cyl(r, r, h * 0.94, seg(c, 14)), body), k.mesh(k.cyl(0.5, 0.5, h * 0.5, seg(c, 14)), k.food(c.color)), k.mesh(k.cyl(0.5, 0.5, h * 0.03, seg(c, 14)), body, [0, h * 0.485, 0]), k.mesh(k.cyl(0.5, 0.5, h * 0.03, seg(c, 14)), body, [0, -h * 0.485, 0])));
|
|
6851
6999
|
};
|
|
6852
7000
|
var bottle = (c) => {
|
|
6853
7001
|
const { k, h } = c;
|
|
@@ -6861,11 +7009,11 @@ var jar = (c) => {
|
|
|
6861
7009
|
};
|
|
6862
7010
|
var bag = (c) => {
|
|
6863
7011
|
const { k, w, h, d } = c;
|
|
6864
|
-
return k.G(k.mesh(k.bx(w, h * 0.88, d), k.paper(c.color), [0, -h * 0.06, 0]), k.mesh(k.bx(w * 1, h * 0.12, d * 0.5), k.paper(shade(c.color, 0.85)), [0, h * 0.44, 0]), k.mesh(k.bx(w * 0.7, h * 0.3, d
|
|
7012
|
+
return k.G(k.mesh(k.bx(w, h * 0.88, d - 2 * PROUD), k.paper(c.color), [0, -h * 0.06, 0]), k.mesh(k.bx(w * 1, h * 0.12, d * 0.5), k.paper(shade(c.color, 0.85)), [0, h * 0.44, 0]), k.mesh(k.bx(w * 0.7, h * 0.3, d), k.paper(shade(c.color, 1.2)), [0, 0, 0]));
|
|
6865
7013
|
};
|
|
6866
7014
|
var box = (c) => {
|
|
6867
7015
|
const { k, w, h, d } = c;
|
|
6868
|
-
return k.G(k.mesh(k.bx(w, h, d), k.paper(c.color)), k.mesh(k.bx(w, h * 0.12, d), k.paper(shade(c.color, 0.8)), [0, h * 0.44, 0]), k.mesh(k.bx(w * 0.62, h * 0.4, d), k.paper(shade(c.color, 1.25)), [0, -h * 0.02, 0]));
|
|
7016
|
+
return k.G(k.mesh(k.bx(w - 2 * PROUD, h - PROUD, d - 2 * PROUD), k.paper(c.color), [0, -PROUD / 2, 0]), k.mesh(k.bx(w, h * 0.12, d), k.paper(shade(c.color, 0.8)), [0, h * 0.44, 0]), k.mesh(k.bx(w * 0.62, h * 0.4, d), k.paper(shade(c.color, 1.25)), [0, -h * 0.02, 0]));
|
|
6869
7017
|
};
|
|
6870
7018
|
var cloth = (c) => {
|
|
6871
7019
|
const { k, w, h, d } = c;
|
|
@@ -6957,14 +7105,14 @@ var tank = (c) => {
|
|
|
6957
7105
|
var book = (c) => {
|
|
6958
7106
|
const { k, w, h, d } = c;
|
|
6959
7107
|
const cover = k.paper(c.color);
|
|
6960
|
-
return k.G(k.mesh(k.bx(w, h, d * 0.14), cover, [
|
|
7108
|
+
return k.G(k.mesh(k.bx(w - PROUD, h - 2 * PROUD, d * 0.14), cover, [PROUD / 2, 0, d * 0.43 - PROUD]), k.mesh(k.bx(w - PROUD, h - 2 * PROUD, d * 0.14), cover, [PROUD / 2, 0, -d * 0.43 + PROUD]), k.mesh(k.bx(w * 0.94, h * 0.96, d * 0.72), k.paper(15327692), [w * 0.02, 0, 0]), k.mesh(k.bx(w * 0.08, h, d), k.paper(shade(c.color, 0.8)), [-w * 0.46, 0, 0]));
|
|
6961
7109
|
};
|
|
6962
7110
|
var key = alongLong((c, L, a, b) => {
|
|
6963
7111
|
const { k } = c;
|
|
6964
7112
|
const metal = k.metal(12095802);
|
|
6965
7113
|
const ring = a * 0.5;
|
|
6966
7114
|
const tube2 = Math.min(b * 0.4, ring * 0.2);
|
|
6967
|
-
return k.G(k.mesh(new c.k.T.TorusGeometry(ring * 0.8, tube2, 5, seg(c, 10)), k.metal(10132896), [-L / 2 + ring * 0.8 + tube2, 0, 0]), k.mesh(k.bx(L * 0.62, a * 0.28, b), metal, [L * 0.12, 0, 0]), k.mesh(k.bx(L * 0.08, a * 0.
|
|
7115
|
+
return k.G(k.mesh(new c.k.T.TorusGeometry(ring * 0.8, tube2, 5, seg(c, 10)), k.metal(10132896), [-L / 2 + ring * 0.8 + tube2, 0, 0]), k.mesh(k.bx(L * 0.62, a * 0.28, b), metal, [L * 0.12, 0, 0]), k.mesh(k.bx(L * 0.08, a * 0.17, b), metal, [L * 0.36, -a * 0.225, 0]), k.mesh(k.bx(L * 0.06, a * 0.17, b), metal, [L * 0.2, -a * 0.225, 0]));
|
|
6968
7116
|
});
|
|
6969
7117
|
var battery = alongLong((c, L, a, b) => {
|
|
6970
7118
|
const { k } = c;
|
|
@@ -7469,12 +7617,21 @@ function createItemsTestModule(options) {
|
|
|
7469
7617
|
const eaten = def.category === "food" && fluid.fluid ? { fluid: { ...fluid.fluid, uses: ["eat", "pour_out"] } } : fluid;
|
|
7470
7618
|
return { ...eaten, seal };
|
|
7471
7619
|
};
|
|
7620
|
+
const makeupSpecOf = (model) => {
|
|
7621
|
+
const spec = model === void 0 || !itemMakeup(model) ? void 0 : makeupSpec(model);
|
|
7622
|
+
return spec ? { spec: () => structuredClone(spec) } : {};
|
|
7623
|
+
};
|
|
7472
7624
|
const itemOf = (def) => ({
|
|
7473
7625
|
id: `${ITEM_PREFIX}${def.id}`,
|
|
7474
7626
|
name: nameOf(def),
|
|
7475
7627
|
movable: true,
|
|
7476
7628
|
thumbnail: itemThumbnailSvg(drawable(def)),
|
|
7477
7629
|
...sealOf(def, fluidOf({ ...def.model === void 0 ? {} : { model: def.model }, size: def.size, weight: def.weight })),
|
|
7630
|
+
// an item with a make-up (a shovel: ash handle riveted to a steel blade) is that spec, not the parts guessed from its meshes
|
|
7631
|
+
...makeupSpecOf(def.model),
|
|
7632
|
+
// an item that is also a tool of the arsenal (a shovel) is picked up as that tool
|
|
7633
|
+
...def.weapon ? { weapon: def.weapon } : {},
|
|
7634
|
+
physical: { weightKg: def.weight, size: def.size, ...def.volume === void 0 ? {} : { litres: def.volume } },
|
|
7478
7635
|
build: (THREE) => {
|
|
7479
7636
|
const T = THREE;
|
|
7480
7637
|
latestTHREE = T;
|
|
@@ -7970,6 +8127,9 @@ export {
|
|
|
7970
8127
|
isShape,
|
|
7971
8128
|
shapeOf,
|
|
7972
8129
|
drawShape,
|
|
8130
|
+
itemMakeup,
|
|
8131
|
+
makeupSpec,
|
|
8132
|
+
tagMakeupParts,
|
|
7973
8133
|
DESTRUCTION_MATERIAL_BY_TAG,
|
|
7974
8134
|
shapeDestruction,
|
|
7975
8135
|
itemFamily,
|
|
@@ -8022,4 +8182,4 @@ export {
|
|
|
8022
8182
|
HUMAN_HEIGHT,
|
|
8023
8183
|
createItemsTestModule
|
|
8024
8184
|
};
|
|
8025
|
-
//# sourceMappingURL=chunk-
|
|
8185
|
+
//# sourceMappingURL=chunk-35IYUYZP.js.map
|