Files
lego-builder/public/ldraw/parts/s/3068bs01.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

38 lines
1.3 KiB
Plaintext

0 ~Tile 2 x 2 with Groove without Face
0 Name: s\3068bs01.dat
0 Author: Willy Tschager [Holly-Wood]
0 !LDRAW_ORG Subpart UPDATE 2024-03
0 !LICENSE Licensed under CC BY 4.0 : see CAreadme.txt
0 BFC CERTIFY CCW
0 !HISTORY 2002-04-02 [sbliss] Modified for BFC compliance
0 !HISTORY 2002-04-25 [PTadmin] Official Update 2002-02
0 !HISTORY 2007-08-30 [PTadmin] Header formatted for Contributor Agreement
0 !HISTORY 2008-07-01 [PTadmin] Official Update 2008-01
0 !HISTORY 2024-03-07 [Holly-Wood] Complete re-write, original by BrickCaster
0 !HISTORY 2024-04-28 [OrionP] Official Update 2024-03
1 16 0 0 0 20 0 0 0 7 0 0 0 20 box4.dat
1 16 0 7 0 19 0 0 0 1 0 0 0 19 box4.dat
0 BFC INVERTNEXT
1 16 0 4 0 16 0 0 0 4 0 0 0 16 box4.dat
1 16 0 4 0 1 0 0 0 -1 0 0 0 1 stud4.dat
1 16 0 4 0 6 0 0 0 -1 0 0 0 6 4-4disc.dat
1 16 0 4 0 8 0 0 0 -1 0 0 0 8 4-4ndis.dat
4 16 -19 7 -19 19 7 -19 20 7 -20 -20 7 -20
4 16 20 7 -20 19 7 -19 19 7 19 20 7 20
4 16 20 7 20 19 7 19 -19 7 19 -20 7 20
4 16 -20 7 20 -19 7 19 -19 7 -19 -20 7 -20
4 16 -16 8 -16 16 8 -16 19 8 -19 -19 8 -19
4 16 19 8 -19 16 8 -16 16 8 16 19 8 19
4 16 19 8 19 16 8 16 -16 8 16 -19 8 19
4 16 -19 8 19 -16 8 16 -16 8 -16 -19 8 -19
4 16 -8 4 -8 8 4 -8 16 4 -16 -16 4 -16
4 16 16 4 -16 8 4 -8 8 4 8 16 4 16
4 16 16 4 16 8 4 8 -8 4 8 -16 4 16
4 16 -16 4 16 -8 4 8 -8 4 -8 -16 4 -16