529e74c1a6
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.
25 lines
920 B
Plaintext
25 lines
920 B
Plaintext
0 Brick 1 x 1 Round with Hollow Stud
|
|
0 Name: 3062b.dat
|
|
0 Author: James Jessiman
|
|
0 !LDRAW_ORG Part UPDATE 2022-02
|
|
0 !LICENSE Licensed under CC BY 4.0 : see CAreadme.txt
|
|
|
|
0 BFC CERTIFY CCW
|
|
|
|
0 !KEYWORDS BrickLink 3062
|
|
|
|
0 !HISTORY 1998-06-20 [PTadmin] Official Update 1998-06
|
|
0 !HISTORY 2003-08-02 [OrionP] Made some primitive subs
|
|
0 !HISTORY 2003-08-04 [Steffen] replaced peghole.dat by stud4a.dat
|
|
0 !HISTORY 2003-12-19 [PTadmin] Official Update 2003-03
|
|
0 !HISTORY 2007-06-10 [PTadmin] Header formatted for Contributor Agreement
|
|
0 !HISTORY 2008-07-01 [PTadmin] Official Update 2008-01
|
|
0 !HISTORY 2009-03-19 [tchang] Add missing <CR>
|
|
0 !HISTORY 2009-09-03 [PTadmin] Official Update 2009-02
|
|
0 !HISTORY 2020-12-12 [RainbowDolphin] Subparted for patterns
|
|
0 !HISTORY 2022-03-06 [PTadmin] Official Update 2022-02
|
|
|
|
|
|
1 16 0 0 0 1 0 0 0 1 0 0 0 1 s\3062bs01.dat
|
|
1 16 0 0 0 10 0 0 0 19 0 0 0 10 4-4cyli.dat
|