Files
lego-builder/public/ldraw/parts/axl5hol8.dat
T
L'électron rare 529e74c1a6 feat: ldraw lego parts in builder
Add the real LDraw LEGO parts (LeoCAD-style) as the posable objects.

- Vendor the curated 15-part LDraw closure under public/ldraw so it is
  served at /blocs-pro/ldraw/ after build (CC BY 4.0, credits kept).
- src/utils/ldraw.js loads each part via three's LDrawLoader, caches the
  geometry per type, applies the LDU->world scale and Y flip to match the
  existing grid, and tints surfaces with the active colour.
- A LeoCAD-style PartsBar (colour row + category tabs + part grid) picks
  the active part; Create mode places it at the grid cell and stores a
  JSON-only brick { uID, type, color, position/dimensions, rotation } so
  the piece syncs to peers like any other brick.
- Brick.jsx renders the cached LDraw clone for typed bricks and keeps the
  parametric box as a fallback. Edit-mode tooling (select / move / colour
  / delete) walks up to the brick group so it works on multi-mesh pieces;
  selection is shown with an emissive tint instead of the stud wireframe.
2026-06-13 18:43:44 +02:00

62 lines
2.2 KiB
Plaintext

0 Technic Axle Hole Rounded Perimeter
0 Name: axl5hol8.dat
0 Author: Magnus Forsberg [MagFors]
0 !LDRAW_ORG Primitive UPDATE 2022-01
0 !LICENSE Licensed under CC BY 4.0 : see CAreadme.txt
0 BFC CERTIFY CCW
0 !HISTORY 2022-01-14 [PTadmin] Official Update 2022-01
4 16 6 1 0 6 0 0 5.6023 0 2 5.6023 1 2
4 16 4 1 2 5.6023 1 2 5.6023 0 2 4 0 2
4 16 4 1 2 4 0 2 2.5 0 2.5 2.5 1 2.5
4 16 2.5 1 2.5 2.5 0 2.5 2 0 4 2 1 4
4 16 2 1 4 2 0 4 2 0 5.6023 2 1 5.6023
4 16 2 0 5.6023 0 0 6 0 1 6 2 1 5.6023
4 16 0 1 6 0 0 6 -2 0 5.6023 -2 1 5.6023
4 16 -2 1 4 -2 1 5.6023 -2 0 5.6023 -2 0 4
4 16 -2 1 4 -2 0 4 -2.5 0 2.5 -2.5 1 2.5
4 16 -2.5 1 2.5 -2.5 0 2.5 -4 0 2 -4 1 2
4 16 -4 1 2 -4 0 2 -5.6023 0 2 -5.6023 1 2
4 16 -5.6023 1 2 -5.6023 0 2 -6 0 0 -6 1 0
4 16 -6 1 0 -6 0 0 -5.6023 0 -2 -5.6023 1 -2
4 16 -5.6023 1 -2 -5.6023 0 -2 -4 0 -2 -4 1 -2
4 16 -4 1 -2 -4 0 -2 -2.5 0 -2.5 -2.5 1 -2.5
4 16 -2.5 1 -2.5 -2.5 0 -2.5 -2 0 -4 -2 1 -4
4 16 -2 1 -4 -2 0 -4 -2 0 -5.6023 -2 1 -5.6023
4 16 -2 0 -5.6023 0 0 -6 0 1 -6 -2 1 -5.6023
4 16 0 1 -6 0 0 -6 2 0 -5.6023 2 1 -5.6023
4 16 2 1 -5.6023 2 0 -5.6023 2 0 -4 2 1 -4
4 16 2 1 -4 2 0 -4 2.5 0 -2.5 2.5 1 -2.5
4 16 2.5 1 -2.5 2.5 0 -2.5 4 0 -2 4 1 -2
4 16 4 1 -2 4 0 -2 5.6023 0 -2 5.6023 1 -2
4 16 5.6023 1 -2 5.6023 0 -2 6 0 0 6 1 0
2 24 5.6023 1 2 5.6023 0 2
2 24 2 1 5.6023 2 0 5.6023
2 24 -2 1 5.6023 -2 0 5.6023
2 24 -5.6023 1 2 -5.6023 0 2
2 24 -5.6023 1 -2 -5.6023 0 -2
2 24 -2 1 -5.6023 -2 0 -5.6023
2 24 2 1 -5.6023 2 0 -5.6023
2 24 5.6023 1 -2 5.6023 0 -2
5 24 6 1 0 6 0 0 5.6023 1 2 5.6023 1 -2
5 24 4 1 2 4 0 2 5.6023 1 2 2.5 1 2.5
5 24 2.5 1 2.5 2.5 0 2.5 2 1 4 4 1 2
5 24 2 1 4 2 0 4 2.5 1 2.5 2 1 5.6023
5 24 0 1 6 0 0 6 2 1 5.6023 -2 1 5.6023
5 24 -2 1 4 -2 0 4 -2 1 5.6023 -2.5 1 2.5
5 24 -2.5 1 2.5 -2.5 0 2.5 -2 1 4 -4 1 2
5 24 -4 1 2 -4 0 2 -2.5 1 2.5 -5.6023 1 2
5 24 -6 1 0 -6 0 0 -5.6023 1 2 -5.6023 1 -2
5 24 -4 1 -2 -4 0 -2 -5.6023 1 -2 -2.5 1 -2.5
5 24 -2.5 1 -2.5 -2.5 0 -2.5 -4 1 -2 -2 1 -4
5 24 -2 1 -4 -2 0 -4 -2.5 1 -2.5 -2 1 -5.6023
5 24 0 1 -6 0 0 -6 -2 1 -5.6023 2 1 -5.6023
5 24 2 1 -4 2 0 -4 2 1 -5.6023 2.5 1 -2.5
5 24 2.5 1 -2.5 2.5 0 -2.5 4 1 -2 2 1 -4
5 24 4 1 -2 4 0 -2 5.6023 1 -2 2.5 1 -2.5