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

92 lines
2.8 KiB
Plaintext

0 ~Slope Brick 45 2 x 2 without Front Face
0 Name: s\3039s01.dat
0 Author: Willy Tschager [Holly-Wood]
0 !LDRAW_ORG Subpart UPDATE 2024-02
0 !LICENSE Licensed under CC BY 4.0 : see CAreadme.txt
0 BFC CERTIFY CCW
0 !HISTORY 1999-12-31 [PTadmin] Official Update 1999-06
0 !HISTORY 2003-07-02 [Steffen] BFCed; change in part name: "w/o" --> "without"
0 !HISTORY 2003-12-19 [PTadmin] Official Update 2003-03
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-14 [Holly-Wood] Complete re-write, original by jvan
0 !HISTORY 2024-03-24 [OrionP] Official Update 2024-02
1 16 0 0 0 1 0 0 0 1 0 0 0 1 stug-1x2.dat
1 16 0 12 -10 -1 0 0 0 -3 0 0 0 1 stud4a.dat
0 BFC INVERTNEXT
1 16 0 4 -10 6 0 0 0 8 0 0 0 6 2-4cyli.dat
0 BFC INVERTNEXT
1 16 0 10 -10 6 0 0 0 2 0 0 0 -6 2-4cyli.dat
0 BFC INVERTNEXT
1 16 0 10 -10 0 0 6 0 -6 0 -6 0 0 1-4cyls.dat
0 BFC INVERTNEXT
1 16 0 10 -10 0 0 -6 0 -6 0 -6 0 0 1-4cyls.dat
1 16 0 4 -10 8 0 0 0 8 0 0 0 8 2-4cyli.dat
1 16 0 12 -10 0 0 8 0 -8 0 -8 0 0 1-4cyls.dat
1 16 0 12 -10 0 0 -8 0 -8 0 -8 0 0 1-4cyls.dat
1 16 0 4 -10 6 0 0 0 1 0 0 0 6 2-4edge.dat
1 16 0 4 -10 6 0 0 0 1 6 0 0 -6 2-4edge.dat
1 16 0 4 -10 8 0 0 0 1 0 0 0 8 2-4edge.dat
1 16 0 4 -10 8 0 0 0 1 8 0 0 -8 2-4edge.dat
1 16 0 4 -10 6 0 0 0 -1 0 0 0 6 2-4chrd.dat
1 16 0 4 -10 8 0 0 0 -1 0 0 0 8 2-4ndis.dat
1 16 0 4 -10 6 0 0 0 -1 6 0 0 -6 2-4chrd.dat
1 16 0 4 -10 8 0 0 0 -1 8 0 0 -8 2-4ndis.dat
0 BFC INVERTNEXT
1 16 0 14 -10 0 0 16 10 0 0 0 16 0 box3u4a.dat
4 16 -8 4 -2 -8 4 -10 -16 4 -10 -16 4 6
4 16 8 4 -10 8 4 -2 16 4 6 16 4 -10
4 16 16 4 6 8 4 -2 0 4 -2 -16 4 6
3 16 -8 4 -2 -16 4 6 0 4 -2
1 16 0 22 -26 0 0 16 -2 0 0 0 -1 0 rect.dat
4 16 8 12 -18 8 4 -10 16 4 -10 16 20 -26
4 16 0 12 -18 8 12 -18 16 20 -26 -16 20 -26
3 16 0 12 -18 -16 20 -26 -8 12 -18
4 16 -16 20 -26 -16 4 -10 -8 4 -10 -8 12 -18
4 16 16 4 -10 16 24 -10 16 24 -26 16 20 -26
4 16 -16 24 -26 -16 24 -10 -16 4 -10 -16 20 -26
2 24 -16 4 -10 -8 4 -10
2 24 8 4 -10 16 4 -10
2 24 -6 4 -10 6 4 -10
2 24 -16 24 -10 -16 24 -26
2 24 -16 4 -10 -16 20 -26
2 24 16 24 -10 16 24 -26
2 24 16 4 -10 16 20 -26
1 16 0 24 0 20 0 0 0 -24 0 0 0 10 box4-4a.dat
1 16 0 22 -30 0 0 -20 -2 0 0 0 1 0 rect.dat
4 16 20 24 -10 20 0 -10 20 20 -30 20 24 -30
4 16 -20 20 -30 -20 0 -10 -20 24 -10 -20 24 -30
2 24 -20 24 -10 -20 24 -30
2 24 20 24 -10 20 24 -30
2 24 -20 0 -10 -20 20 -30
2 24 20 0 -10 20 20 -30
2 24 -20 0 -10 20 0 -10
4 16 -20 24 -30 -16 24 -26 16 24 -26 20 24 -30
4 16 20 24 -30 16 24 -26 16 24 -10 20 24 -10
4 16 20 24 -10 16 24 -10 16 24 6 20 24 10
4 16 -20 24 -10 -16 24 -10 -16 24 -26 -20 24 -30
4 16 -16 24 6 -16 24 -10 -20 24 -10 -20 24 10
4 16 16 24 6 -16 24 6 -20 24 10 20 24 10