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

49 lines
1.9 KiB
Plaintext

0 Technic Axle Hole Closed
0 Name: axlehole.dat
0 Author: James Jessiman
0 !LDRAW_ORG Primitive UPDATE 2022-02
0 !LICENSE Licensed under CC BY 4.0 : see CAreadme.txt
0 BFC CERTIFY CCW
0 !HISTORY 2000-04-23 [sbliss] Added conditional edges along outermost diameters
0 !HISTORY 2000-05-07 [PTadmin] Official Update 2000-01
0 !HISTORY 2002-05-08 [OrionP] Made BFC compliant
0 !HISTORY 2002-08-18 [PTadmin] Official Update 2002-04
0 !HISTORY 2002-11-08 [OrionP] Adjusted fit and precision
0 !HISTORY 2003-03-12 [PTadmin] Official Update 2003-01
0 !HISTORY 2005-05-15 [guyvivan] Use 1-8chrd.dat primitive and made BFC'ed CCW
0 !HISTORY 2005-12-28 [PTadmin] Official Update 2005-01
0 !HISTORY 2007-06-24 [PTadmin] Header formatted for Contributor Agreement
0 !HISTORY 2008-07-01 [PTadmin] Official Update 2008-01
0 !HISTORY 2021-03-25 [Sirio] Added adapter rings and rounded to four decimals
0 !HISTORY 2021-12-20 [MagFors] Reshaped the hole
0 !HISTORY 2022-03-06 [PTadmin] Official Update 2022-02
1 16 0 0 0 1 0 0 0 1 0 0 0 1 axl5hol9.dat
1 16 0 1 0 1 0 0 0 1 0 0 0 1 axl5hol9.dat
1 16 0 0 0 1 0 0 0 1 0 0 0 1 axl5ho10.dat
1 16 0 1 0 1 0 0 0 -1 0 0 0 -1 axl5ho10.dat
1 16 0 0 0 1 0 0 0 1 0 0 0 1 axl5hol8.dat
0 // Adapter rings
1 16 0 0 0 6 0 0 0 1 0 0 0 6 1-16chrd.dat
1 16 0 0 0 0 0 6 0 1 0 6 0 0 1-16chrd.dat
1 16 0 0 0 0 0 -6 0 1 0 6 0 0 1-16chrd.dat
1 16 0 0 0 -6 0 0 0 1 0 0 0 6 1-16chrd.dat
1 16 0 0 0 -6 0 0 0 1 0 0 0 -6 1-16chrd.dat
1 16 0 0 0 0 0 -6 0 1 0 -6 0 0 1-16chrd.dat
1 16 0 0 0 0 0 6 0 1 0 -6 0 0 1-16chrd.dat
1 16 0 0 0 6 0 0 0 1 0 0 0 -6 1-16chrd.dat
1 16 0 1 0 6 0 0 0 -1 0 0 0 6 1-16chrd.dat
1 16 0 1 0 0 0 6 0 -1 0 6 0 0 1-16chrd.dat
1 16 0 1 0 0 0 -6 0 -1 0 6 0 0 1-16chrd.dat
1 16 0 1 0 -6 0 0 0 -1 0 0 0 6 1-16chrd.dat
1 16 0 1 0 -6 0 0 0 -1 0 0 0 -6 1-16chrd.dat
1 16 0 1 0 0 0 -6 0 -1 0 -6 0 0 1-16chrd.dat
1 16 0 1 0 0 0 6 0 -1 0 -6 0 0 1-16chrd.dat
1 16 0 1 0 6 0 0 0 -1 0 0 0 -6 1-16chrd.dat