Primitives Reference: Difference between revisions
Holly-Wood (talk | contribs) No edit summary |
Holly-Wood (talk | contribs) |
||
(255 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
'''LDraw Primitives Reference''' | '''LDraw Primitives Reference''' | ||
Latest Update: 16.11.2024, added the LDraw 2024-09 primitives. | |||
This page is a source of reference for the LDraw primitives in the \LDraw\p directory. Primitives are defined as highly re-usable components of LEGO parts modelled for LDraw. | This page is a source of reference for the LDraw primitives in the \LDraw\p directory. Primitives are defined as highly re-usable components of LEGO parts modelled for LDraw. | ||
They serve several purposes : | They serve several purposes : | ||
* To speed up parts authoring by providing a library of components which can be incorporated into several parts | |||
* To allow rendering software to make substitutions of curved components | |||
Within this reference material the available primitives are categorised into: | |||
<div class="noautonum">__TOC__</div> | |||
Each section contains an overview of the characteristics common to all primitives within that category. Primitives are grouped into classes within each category - one class of primitive serving a similar purpose at different sizes or resolutions. For each class of primitive, a brief description of the purpose of the primitive is provided, with notes on its co-ordinate origin, default size and rules for scaling. A list of the available primitives is shown.<br> | |||
[[File:XYZaxes.png|200px|middle|alt=Axes]]An understanding of the orientation of the co-ordinate axes is essential for authoring a part for LDraw. For reference within this page the axes and their direction is shown in this diagram.<br clear=all> | |||
==Rectilinear primitives== | |||
<div class="mw-collapsible"> | |||
'''Nomenclature''' | |||
Boxes are named boxF, with F representing the number of faces a box has. The suffix E represents the number of edges removed. | |||
F and E are may followed by an additional letter. The hyphen is removed if F is accompanied by a modifier. | |||
''' | Face modifiers: | ||
* o - faces are opposite to each other | |||
* t - faces are all touching each other (usually, it's implied, but box4t.dat is a thing) | |||
* u - missing faces form a U-shape | |||
Edge letters: | |||
* p - groups of edges are parallel to each other | |||
* a - some missing faces have no adjacent edges | |||
'''Scaling and orientation''' | |||
These rectilinear elements may be scaled in the {x}, {y} and {z} dimensions to make elements of any size. For example | These rectilinear elements may be scaled in the {x}, {y} and {z} dimensions to make elements of any size. For example | ||
Line 29: | Line 54: | ||
''1 16 0 0 0 40 0 0 0 0 20 0 1 0 rect.dat'' | ''1 16 0 0 0 40 0 0 0 0 20 0 1 0 rect.dat'' | ||
would generate a 80LDu x 40LDu rectangle in the {x,y} plane. | would generate a 80LDu x 40LDu rectangle in the {x,y} plane.<br> | ||
'''Do NOT rotate rect primitives outside of right angles: 90°, 180 ... on all axes.''' | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
=== Two dimensional === | |||
|- | |||
| '''triangle.dat''' || '''Triangle with all edges''' | |||
|- | |||
|style="width: 200px;"|[[File:triangle.png|200px|alt=Triangle]] | |||
|| This primitive represents a isosceles right triangle in the {x,z} plane and the three edges that bound it. Its origin is at the tip of the right angle and by default has a size of 1LDu in each of the {x} and {z} dimensions. To avoid matrix arithmetic problems in some renderers, the third dimension ({y} in the default orientation) must be given a non-zero scaling factor. | |||
1 16 0 0 0 5 0 0 0 1 0 0 0 20 triangle.dat | |||
|- | |||
|- | |||
| '''rect.dat''' || '''Rectangle with all edges''' | |||
|- | |||
| [[File:rect.png|200px|alt=Rect]] | |||
|| This primitive represents a rectangle in the {x,z} plane and the four edges that bound it. Its origin is at its centre and by default has a size of 2LDu in each of the {x} and {z} dimensions. | |||
|- | |||
| '''rect3.dat''' || '''Rectangle with 3 edges''' | |||
|- | |||
| [[File:rect3.png|200px|alt=Rect3]] | |||
|| This primitive represents a rectangle in the {x,z} plane but excludes one edge {-z}. Its origin is at its centre and by default has a size of 2LDu in each of the {x} and {z} dimensions. | |||
|- | |||
| '''rect2p.dat''' || '''Rectangle with 2 parallel edges''' | |||
|- | |||
| [[File:rect2p.png|200px|alt=Rect2p]] | |||
|| This primitive represents a rectangle in the {x,z} plane but excludes two parallel edges ({+x} and {-x}). Its origin is at its centre and by default has a size of 2LDu in each of the {x} and {z} dimensions. | |||
|- | |||
| '''rect2a.dat''' || '''Rectangle with 2 adjacent edges''' | |||
|- | |||
| [[File:rect2a.png|200px|alt=Rect2a]] | |||
|| This primitive represents a rectangle in the {x,z} plane but excludes two adjacent edges ({-x} and {-z}). Its origin is at its centre and by default has a size of 2LDu in each of the {x} and {z} dimensions. | |||
|- | |||
| '''rect1.dat''' || '''Rectangle with 1 edge''' | |||
|- | |||
| [[File:rect1.png|200px|alt=Rect1]] | |||
|| This primitive represents a rectangle in the {x,z} plane but include only the one {+x} edge. Its origin is at its centre and by default has a size of 2LDu in each of the {x} and {z} dimensions. | |||
|- | |||
| '''recte3.dat''' || '''Empty rectangle with three edges''' | |||
|- | |||
| [[File:recte3.png|200px|alt=Recte3]] | |||
|| This primitive represents three edges of a rectangle in the {x,z} plane. Its origin is at its centre and by default has a size of 2LDu in each of the {x} and {z} dimensions. | |||
|- | |||
| '''recte4.dat''' || '''Empty rectangle with all edges''' | |||
|- | |||
| [[File:recte4.png|200px|alt=Recte4]] | |||
|| This primitive represents the four edges of a rectangle in the {x,z} plane. Its origin is at its centre and by default has a size of 2LDu in each of the {x} and {z} dimensions. | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
=== Three dimensional === | |||
|- | |||
| '''box.dat''' || '''Cuboid with all faces and edges''' | |||
|- | |||
|style="width: 200px;"|[[File:box.png|200px|alt=Box]] | |||
|| This primitive is used to define a cuboid. Its origin is the centre of the cuboid and by default has a size of 2LDu in each of the three dimensions. | |||
|- | |||
| '''box0.dat''' || '''Cuboid with no faces and edges''' | |||
|- | |||
| [[File:box0.png|200px|alt=Box0]] | |||
|| This primitive is used to define the frame a cuboid. Its origin is the centre of the cuboid and by default has a size of 2LDu in each of the three dimensions. | |||
|- | |||
| '''box5.dat''' || '''Cuboid with 5 faces and all edges''' | |||
|- | |||
| [[File:box5.png|200px|alt=Box5]] | |||
|| This primitive represents a cuboid missing the top {-y} face. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box5-1.dat''' || '''Cuboid with 5 faces without 1 edge''' | |||
|- | |||
| [[File:box5-1.png|200px|alt=Box5-1]] | |||
|| This primitive represents a cuboid missing the top {-y} face and one edge {-z} of that. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box5-2p.dat''' || '''Cuboid with 5 faces without 2 parallel edges''' | |||
|- | |||
| [[File:box5-2p.png|200px|alt=Box5-2p]] | |||
|| This primitive represents a cuboid missing the top {-y} face and two of the four edges surrounding that. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box5-4a.dat''' || '''Cuboid with 5 faces without top edges''' | |||
|- | |||
| [[File:box5-4a.png|200px|alt=Box5-4a]] | |||
|| This primitive represents a cuboid missing the top {-y} face and the four edges surrounding that. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box5-12.dat''' || '''Cuboid with 5 faces missing all edges''' | |||
|- | |||
| [[File:box5-12.png|200px|alt=Box5-12]] | |||
|| This primitive represents a cuboid missing the top {-y} face and all edges. Its primary use is for sticker parts. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
! colspan="2" | Box4 overview | |||
|- | |||
| colspan="2" | [[File:Box4_Overview.PNG|600px|left|alt=Box4 Overview]] | |||
|- | |||
| '''box4.dat''' || '''Cuboid with 4 parallel faces and all edges''' | |||
|- | |||
| [[File:box4.png|200px|alt=Box4]] | |||
|| This primitive represents a cuboid missing the top {-y} and bottom {+y} faces. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box4o4a.dat''' || '''Cuboid with 4 parallel faces without bottom edges''' | |||
|- | |||
| [[File:box4o4a.png|200px|alt=Box4o4a]] | |||
||This primitive represents a cuboid missing the top {-y} and bottom {+y} faces, and missing the edges of the bottom face. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box4o8a.dat''' || '''Cuboid with 4 parallel faces without top and bottom edges''' | |||
|- | |||
| [[File:box4o8a.png|200px|alt=Box4o8a]] | |||
|| This primitive represents a cuboid missing the top {-y} and bottom {+y} faces, and missing the edges of the top and bottom face. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box4t.dat''' || '''Cuboid with 4 adjacent and all edges''' | |||
|- | |||
| [[File:box4t.png|200px|alt=Box4t]] | |||
|| This primitive represents a cuboid missing the top {-y} and front {-z} faces, but with all its edges. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box4-1.dat''' || '''Cuboid with 4 adjacent faces missing 1 edge''' | |||
|- | |||
| [[File:box4-1.png|200px|alt=Box4-1]] | |||
||This primitive represents a cuboid missing the top {-y} and front {-z} faces and the edge between those faces. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box4-2p.dat''' || '''Cuboid with 4 faces without two opposite top edges''' | |||
|- | |||
| [[File:box4-2p.png|200px|alt=Box4-2p]] | |||
|| This primitive represents a cuboid missing the top {-y} and bottom {+y} faces, and missing two edges of the top face - the intersection of the two missing faces and the opposite edge. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box4-3p.dat''' || '''Cuboid with 4 faces without three parallel edges''' | |||
|- | |||
| [[File:box4-3p.png|200px|alt=Box4-3p]] | |||
|| This primitive represents a cuboid missing the top {-y} and bottom {+y} faces and missing three edges of the missing faces. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box4-4a.dat''' || '''Cuboid with 4 adjacent faces missing 4 edges''' | |||
|- | |||
| [[File:box4-4a.png|200px|alt=Box4-4a]] | |||
||This primitive represents a cuboid missing the top {-y} and front {-z} faces and all the edges of the missing front face. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box4-5a.dat''' || '''Cuboid with 4 adjacent faces missing 5 edges''' | |||
|- | |||
| [[File:box4-5a.png|200px|alt=Box4-5a]] | |||
||This primitive represents a cuboid missing the top {-y} and front {-z} faces and all the edges at the top and the bottom of the missing front face. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box4-7a.dat''' || '''Cuboid with 4 adjacent faces missing 7 edges''' | |||
|- | |||
| [[File:box4-7a.png|200px|alt=Box4-7a]] | |||
||This primitive represents a cuboid missing the top {-y} and front {-z} faces and all the edges of both missing faces. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box4-12.dat''' || '''Cuboid with 4 adjacent faces missing all edges''' | |||
|- | |||
| [[File:box4-12.png|200px|alt=Box4-12]] | |||
||This primitive represents a cuboid missing the top {-y} and front {-z} faces and excludes all the edges. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box3-3.dat''' || '''Cuboid with 3 adjacent faces missing 3 edges''' | |||
|- | |||
| [[File:box3-3.png|200px|alt=Box3-3]] | |||
|| This primitive represents a cuboid missing the top {-y} and bottom {+y} faces, and missing three edges of the missing faces. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box3-5a.dat''' || '''Cuboid with 4 adjacent faces missing 4 edges''' | |||
|- | |||
| [[File:box3-5a.png|200px|alt=Box3-5a]] | |||
|| This primitive represents a cuboid missing the top {-y}, front {-z} and left {-x} faces and includes the three internal edges and the outer edges except those on the left {-z}. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x}, {y} and {z} dimensions. | |||
|- | |||
| '''box3-7a.dat''' || '''Cuboid with 3 adjacent faces missing 7 adjacent edges''' | |||
|- | |||
| [[File:box3-7a.png|200px|alt=Box3-7a]] | |||
|| This primitive represents a cuboid missing the top {-y}, front {-z} and left {-x} faces and includes the three internal edges but only the outer edges at the top (-y). Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x}, {y} and {z} dimensions. | |||
|- | |||
| '''box3-9a.dat''' || '''Cuboid with 3 adjacent faces missing 9 adjacent edges''' | |||
|- | |||
| [[File:box3-9a.png|200px|alt=Box3-9a]] | |||
|| This primitive represents a cuboid missing the top {-y}, front {-z} and left {-x} faces and includes only the three internal edges. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x}, {y} and {z} dimensions. | |||
|- | |||
| '''box3-12.dat''' || '''Cuboid with 3 adjacent faces missing all edges''' | |||
|- | |||
| [[File:box3-12.png|200px|alt=Box3-12]] | |||
|| This primitive represents a cuboid missing the top {-y}, front {-z} and left {-x} faces but excludes all edges. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x}, {y} and {z} dimensions. | |||
|- | |||
! colspan="2" | Box3u overview | |||
|- | |||
| colspan="2" | [[File:Box3u_Overview.PNG|600px|left|alt=Box3u Overview]] | |||
|- | |||
| '''box3u2p.dat''' || '''Cuboid with 3 faces missing 2 edges''' | |||
|- | |||
| [[File:box3u2p.png|200px|alt=Box3u2p]] | |||
|| This primitive represents a cuboid missing the top {-y} and left {-x} and right {+x} faces and excludes the top edges of the left {-x} and right {+x} faces. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box3u4p.dat''' || '''Cuboid with 3 faces missing 4 parallel edges''' | |||
|- | |||
| [[File:box3u4p.png|200px|alt=Box3u4p]] | |||
|| This primitive represents a cuboid missing the top {-y} and left {-x} and right {+x} faces and excludes the topand bottom edges of the left {-x} and right {+x} faces. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box3u4a.dat''' || '''Cuboid with 3 adjacent faces missing all edges''' | |||
|- | |||
| [[File:box3u4a.png|200px|alt=Box3u4a]] | |||
|| This primitive represents a cuboid missing the top {-y} and left {-x} and right {+x} faces and excludes the edges of the missing top face. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box3u5p.dat''' || '''Cuboid with 3 faces missing 5 edges''' | |||
|- | |||
| [[File:box3u5p.png|200px|alt=Box3u5p]] | |||
|| This primitive represents a cuboid missing the top {-y} and left {-x} and right {+x} faces and excludes the top edge of the left {-x} face and all edges of the right {+x} face. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box3u6.dat''' || '''Cuboid with 3 faces missing 6 edges''' | |||
|- | |||
| [[File:box3u6.png|200px|alt=Box3u6]] | |||
|| This primitive represents a cuboid missing the top {-y} and left {-x} and right {+x} faces and excludes the top and bottom edges of the right {+x} face and all edges of the left {-x} face. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box3u6a.dat''' || '''Cuboid with 3 faces missing 4 adjacent and 2 parallel edges''' | |||
|- | |||
| [[File:box3u6a.png|200px|alt=Box3u6a]] | |||
|| This primitive represents a cuboid missing the top {-y} and left {-x} and right {+x} faces and excludes all the top edges and the bottom edges of the missing faces. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box3u7a.dat''' || '''Cuboid with 3 faces missing 7 adjacent edges''' | |||
|- | |||
| [[File:box3u7a.png|200px|alt=Box3u7a]] | |||
|| This primitive represents a cuboid missing the top {-y} and left {-x} and right {+x} faces and excludes the edges of the missing top (-y) and right (+x) faces. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box3u8p.dat''' || '''Cuboid with 3 faces missing 8 edges (in two parallel groups)''' | |||
|- | |||
| [[File:box3u8p.png|200px|alt=Box3u8p]] | |||
|| This primitive represents a cuboid missing the top {-y} and left {-x} and right {+x} faces and excludes all the edges of the left {-x} and right {+x} faces. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box3u10p.dat''' || '''Cuboid with 3 faces in a 'U' shape, missing 10 edges (all except those between the faces)''' | |||
|- | |||
| [[File:box3u10p.png|200px|alt=Box3u10p]] | |||
|| This primitive represents a cuboid missing the top {-y} and left {-x} and right {+x} faces and excludes all the edges except the two betweenthe faces. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''box3u12.dat''' || '''Cuboid with 3 parallel faces missing all edges''' | |||
|- | |||
| [[File:box3u12.png|200px|alt=Box3u12]] | |||
|| This primitive represents a cuboid missing the top {-y} and left {-x} and right {+x} faces and excludes all the edges. Its origin is the centre of the (missing) top face and by default has a size of 2LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''boxjcyl4.dat''' || '''Box truncated by cylinder''' | |||
|- | |||
| [[File:boxjcyl4.png|x200px|alt=Boxjcyl4]] | |||
|| This suite of primitives are used to model the intersection between a box and cylinders of different radii. The box has a fixed width of 2LDu and the cylinder radius is denoted by the r in the filename. | |||
Currently available primitives : | |||
Regular resolution (boxjcylr) : 4 | |||
|- | |||
| '''box2-5.dat''' || '''Cuboid with 2 adjacent faces missing 5 edges''' | |||
|- | |||
| [[File:box2-5.png|x200px|alt=Box2-5]] | |||
|| This primitive represents a cuboid missing the top {-y}, front {-z}, left {-x} and right {+x} faces and excludes all the edges which do not bound the included faces. Its origin is the centre of the cuboid and by default has a size of 2LDu in each of the {x}, {y} and {z} dimensions. | |||
|- | |||
| '''box2-7.dat''' || '''Cuboid with 2 adjacent faces missing 7 edges''' | |||
|- | |||
| [[File:box2-7.png|x200px|alt=Box2-7]] | |||
|| This primitive represents a cuboid missing the top {-y}, front {-z}, left {-x} and right {+x} faces and excludes all the edges except that at the join between the two faces and those along the left {-x} and right {+x} sides. Its origin is the centre of the cuboid and by default has a size of 2LDu in each of the {x}, {y} and {z} dimensions. | |||
|- | |||
| '''box2-9.dat''' || '''Cuboid with 2 adjacent faces missing 9 edges (all except those connected to the {+x}, {+y}, {+z} vertex)''' | |||
|- | |||
| [[File:box2-9.png|x200px|alt=Box2-9]] | |||
|| This primitive represents a cuboid missing the top {-y}, front {-z}, left {-x} and right {+x} faces and excludes all the edges except that at the join between the two faces and those along the right {+x} sides. Its origin is the centre of the cuboid and by default has a size of 2LDu in each of the {x}, {y} and {z} dimensions. | |||
|- | |||
| '''box2-9p.dat''' || '''Cuboid with 2 adjacent faces missing 9 edges (all except three parallel edges)''' | |||
|- | |||
| [[File:box2-9p.png|x200px|alt=Box2-9p]] | |||
|| This primitive represents a cuboid missing the top {-y}, front {-z}, left {-x} and right {+x} faces and excludes all the edges except that at the join between the two faces and those parallel to that. Its origin is the centre of the cuboid and by default has a size of 2LDu in each of the {x}, {y} and {z} dimensions. | |||
|- | |||
| '''box2-11.dat''' || '''Cuboid with 2 adjacent faces missing 11 edges''' | |||
|- | |||
| [[File:box2-11.png|x200px|alt=Box2-11]] | |||
|| This primitive represents a cuboid missing the top {-y}, front {-z}, left {-x} and right {+x} faces and excludes all the edges except that at the join between the two faces. Its origin is the centre of the cuboid and by default has a size of 2LDu in each of the {x}, {y} and {z} dimensions. | |||
|- | |||
| '''tri3.dat''' || '''Right-angled triangular prism with 3 faces''' | |||
|- | |||
| [[File:tri3.png|x200px|alt=Tri3]] | |||
|| This primitive represents a triangular prism missing the top {-y} and bottom {+y} faces but including all edges. The left {-x} and front {-z} faces are perpendicular. Its origin is the right-angle corner of the (missing) top face and by default has a size of 1LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''tri3-1.dat''' || '''Right-angled triangular prism with 3 faces''' | |||
|- | |||
| [[File:tri3-1.png|x200px|alt=Tri3-1]] | |||
|| This primitive represents a triangular prism missing the top {-y} and bottom {+y} faces and excludes the top edge of the hypotenuse. Its origin is the right-angle corner of the (missing) top face and by default has a size of 1LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''tri3-3.dat''' || '''Right-angled triangular prism missing 3 faces''' | |||
|- | |||
| [[File:tri3-3.png|x200px|alt=Tri3-3]] | |||
|| This primitive represents a triangular prism missing the top {-y} and bottom {+y} faces and excludes all top edges. Its origin is the right-angle corner of the (missing) top face and by default has a size of 1LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''tri3a1.dat''' || '''Right-angled triangular prism with 3 adjacent faces missing 1 edge''' | |||
|- | |||
| [[File:tri3a1.png|x200px|alt=Tri3a1]] | |||
|| This primitive represents a triangular prism missing the top {-y} face, the face at the hypotenuse as well as the top edge at the hypotenuse. Its origin is the right-angle corner of the (missing) top face and by default has a size of 1LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''tri3a3.dat''' || '''Right-angled triangular prism with 3 adjacent faces missing 3 edge''' | |||
|- | |||
| [[File:tri3a3.png|x200px|alt=Tri3a3]] | |||
|| This primitive represents a triangular prism missing the top {-y} face, the face at the hypotenuse and excludes all top edges. Its origin is the right-angle corner of the (missing) top face and by default has a size of 1LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''tri3a4''' || '''Right-angled triangular prism with 3 adjacent faces missing 4 adjacent edges''' | |||
|- | |||
| [[File:tri3a4.png|x200px|alt=Tri3a4]] | |||
|| This primitive represents a triangular prism missing the top {-y} face, the face at the hypotenuse and excludes all edges at the hypotenuse. Its origin is the right-angle corner of the (missing) top face and by default has a size of 1LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''tri3u1.dat''' || '''Right-angled triangular prism with 3 faces missing 1 edge''' | |||
|- | |||
| [[File:tri3u1.png|x200px|alt=Tri3u1]] | |||
|| This primitive represents a triangular prism missing the left {-x} and front {-z} faces. Its origin is the right-angle corner of the top face and by default has a size of 1LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''tri3u3.dat''' || '''Right-angled triangular prism with 3 faces missing 3 edges''' | |||
|- | |||
| [[File:tri3u3.png|x200px|alt=Tri3u3]] | |||
|| This primitive represents a triangular prism missing the left {-x} and front {-z} faces, the edge where they would join and one edge of each of the triangles. Its origin is the right-angle corner of the top face and by default has a size of 1LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''tri4.dat''' || '''Right-angled triangular prism with 2 square faces and 2 triangular faces''' | |||
|- | |||
| [[File:tri4.png|x200px|alt=Tri4]] | |||
|| This primitive represents a triangular prism missing the face at the hypotenuse. Its origin is the right-angle corner of the top face and by default has a size of 1LDu in each of the {x} and {z} dimensions and 1LDu in the {y} dimension. | |||
|- | |||
| '''ribt45.dat''' || '''Rib T-Shaped for 45 Degree Plate Edges''' | |||
|- | |||
| [[File:Ribt45.png|200px|alt=Ribt45]] | |||
|| | |||
|} | |||
</div> | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
==Curved primitives== | |||
<div class="mw-collapsible"> | |||
LDraw represents curved surfaces as polygons. For circular components two series of primitives are provided. | |||
All the circular primitives are orientated in the {x,z} plane with their origin at the centre of the circle and a default radius of 1 LDu. Primitives are provided for complete circles and for commonly used fractions of a complete circle. Where the naming convention includes a prefix of the form n-f this indicates the fraction (n/f) of the circle drawn by the primitive. Where this fraction is less than an entire circle, the primitive starts at {+x,0} and progresses in a conterclockwise direction when viewed from above {-y}. | |||
To avoid rounding errors, it is preferable to use existing fractional circular primitives, or create a new primitive, rather than rotate an existing primitive by anything other than 90 or 180 degrees. For example, use 3-16XXXX.dat rather than combining 1-8XXXX.dat with 1-16XXXX.dat rotated by 22.5 degreees. | |||
<gallery widths=200px mode="nolines"> | |||
XZaxes.png | |||
1-8disc.png | |||
1-4disc.png | |||
2-4disc.png | |||
3-4disc.png | |||
4-4disc.png | |||
</gallery> | |||
To avoid matrix arithmetic problems in some renderers, the third dimension ({y} in the default orientation) of two-dimensional primitives must be given a non-zero scaling factor. | |||
LDraw circles are normally formed of 16-sided polygons (hexdecagons) - the regular resolution. For larger elements, where scaling-up of hexadecagons would give too angular an appearance, a series of high resolution primitives based on a 48-sided polygon are available. These may also be used for parts not well suited to a 16-fold symmetry. | |||
These circular elements may be scaled by the same factor in both the {x} and {z} dimensions to make circular elements of greater or less than 1LDu radius. For example | |||
1 16 0 0 0 3 0 0 0 1 0 0 0 3 4-4edge.dat | |||
would generate a circle in the {x,z} plane with a radius of 3LDu. | |||
They may also be scaled asymmetrically in the x and z dimension to make ellipses. | |||
Although the default orientation is in the {x,z} plane the LDraw language allows for these to be transformed | |||
1 16 0 0 0 0 1 0 3 0 0 0 0 3 4-4edge.dat would generate a circle in the {y,z} plane | |||
1 16 0 0 0 3 0 0 0 0 3 0 1 0 4-4edge.dat would generate a circle in the {x,y} plane | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ Two dimensional | |+ | ||
===Two dimensional=== | |||
|- | |||
! colspan="2" | Circular 2D Overview | |||
|- | |||
| colspan="2" | [[File:Circular_2D_Overview.PNG|600px|left|alt=Circular 2D Overview]] | |||
|- | |||
| '''n-fedge.dat''' || '''Circular line segment''' | |||
|- | |||
|style="width: 200px;"|[[File:4-4edge.png|200px|alt=4-4Edge]] | |||
|| This suite of primitives are used for edges which comprise an entire or part circle. | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 1-16, 1-8, 3-16, 1-4, 5-16, 3-8, 7-16, 2-4, 9-16, 5-8, 11-16, 3-4, 13-16, 7-8, 4-4<br> | |||
High resolution (n-f): 1-48, 1-24, 1-16, 1-12, 5-48, 1-8, 7-48, 1-6, 3-16, 5-24, 11-48, 1-4, 7-24, 5-16, 1-3, 3-8, 19-48, 5-12, 7-16, 11-24, 2-4, 5-8, 2-3, 3-4, 4-4<br> | |||
Low resolution (n-f): 1-4, 2-4, 3-8, 4-4 | |||
|- | |||
| '''n-fdisc.dat''' || '''Circular disc sector''' | |||
|- | |||
| [[File:4-4disc.png|200px|alt=4-4disc]] | |||
|| This suite of primitives are used for surfaces which comprise an entire or part circle. | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 1-16, 1-8, 3-16, 1-4, 5-16, 3-8, 7-16, 2-4, 5-8, 11-16, 3-4, 7-8, 4-4<br> | |||
High resolution (n-f): 1-24, 1-12, 5-48, 1-8, 7-48, 1-6, 3-16, 5-24, 1-4, 1-3, 2-4, 4-4<br> | |||
Low resolution (n-f): 1-4, 2-4, 3-4, 4-4 | |||
|- | |||
| '''n-fchrd.dat''' || '''Circular disc segment''' | |||
|- | |||
| [[File:1-4chrd.png|200px|alt=1-4chrd]] | |||
|| This suite of primitives are used for surfaces which comprise part of a circle enclosed by the arc of its circumference and its chord. Note that the bounding circle in the image is for context only - only the grey segment is generated by the 1-4chrd primitive. | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 1-16 (see note), 1-8, 3-16, 1-4, 5-16, 3-8, 7-16, 2-4, 5-8, 3-4, 13-16, 7-8<br> | |||
High resolution (n-f): 1-48 (see note) 1-24, 1-16, 1-12, 5-48, 1-8, 7-48, 1-6, 3-16, 5-24, 11-48, 1-4, 7-24, 5-16, 1-3, 3-8, 19-48, 5-12, 7-16, 11-24, 2-4<br> | |||
Low resolution (n-f): 1-4, 3-8, 2-4 | |||
Note: The regular resolution 1-16chrd.dat and high resolution 1-48chrd are special cases, see Primitive Substitution Adapters below for more information | |||
|- | |||
| '''n-fndis.dat''' || '''Inverse of circular disc sector''' | |||
|- | |||
| [[File:4-4ndis.png|200px|alt=4-4ndisc]] | |||
|| This suite of primitives pad their matching n-fdisc.dat primitives out to the bounding square. They are used to integrate circular elements into rectilinear elements. | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 1-16, 1-8, 3-16, 1-4, 5-16, 3-8, 7-16, 2-4, 3-4, 7-8, 4-4<br> | |||
High resolution (n-f): 1-24, 1-16, 1-12, 5-48, 1-8, 7-48, 1-6, 3-16, 5-24, 11-48, 1-4, 1-3, 7-16, 2-4, 4-4<br> | |||
Low resolution (n-f): 1-4, 3-4, 2-4, 3-4, 4-4 | |||
|- | |||
| '''n-ftang.dat''' || '''Tangential ring segment''' | |||
|- | |||
| [[File:1-4tang.png|200px|alt=1-4tang]] | |||
|| This suite of primitives are used to pad a 16-sided polygon to a circumscribing 16-sided polygon whose edges are tangential to the inner polygon. Note that the bounding circle in the image is for context only - only the black segment is generated by the 1-4tang primitive. | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 1-16, 1-8, 3-16, 1-4<br> | |||
Low resolution (n-f): 3-16, 3-8 | |||
|- | |||
| '''n-ftndis.dat''' || '''Disc negative truncated''' | |||
|- | |||
| [[File:1-8tndis.png|200px|alt=1-8tndis]] | |||
|| [[File:Tndis-example.png|200px|right|alt=Tndis-example]] | |||
This suite of primitives are used to used to integrate circular elements into rectilinear elements. These pad their matching n-fdisc.dat primitives out to the bounding rectangle, spanning from x = 1 to the minimal x value of the matching primitive. Note that the bounding circle in the image is for context only - only the black segment is generated by the 1-8tndis primitive. The image on the right showes the difference between tang, tndis and ndis. | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 1-16, 1-8, 3-16<br> | |||
High resolution (n-f): 5-48, 1-24, 1-16, 1-8 | |||
|- | |||
| '''n-faring.dat''' || '''Circular adaptor ring segment''' | |||
|- | |||
| [[File:2-4aring.png|200px|alt=2-4aring]] | |||
||This suite of primitives are used to interface between high resolution (48-segment) circular primitives and normal resolution (16-segment) circluar primitives. Note that the bounding circle in the image is for context only - only the black segment is generated by the 2-4aring primitive. | |||
''Currently available primitives:''<br> | |||
High resolution (n-f): 1-8, 1-4, 3-16, 2-4, 4-4<br> | |||
|- | |||
| '''1-16chrd.dat'''<br>'''1-48chrd.dat'''<br>'''n-fering.dat''' || '''Primitive Substitution Adapters''' | |||
|- | |||
| [[File:4-4edge.png|200px|alt=4-4edge]] | |||
|| This suite of primitives are used correct for gaps that form between curved primitives and normal geometry in editors that utilize primitive substitution. This is a special case used on the inside of a curved primitive where it joins geometry that cannot make use of a curved primitive. The chrd files themselves are simply a reference to empty.dat, which under normal circumstances does not draw anything. However, in tools that support primitive substitution, the curved primitive it is attached to would normally in this case create a gap when rendered using more than 16 points to form a circle. In that case, the substituted version of these normally empty primitives would fill in the gap between the curve and the other geometry. | |||
To "see" these primitives, the editor in use must utilize primitive substitution. Then one of the following can be done: | |||
* set the curve quality to a level high enough to see the gaps reappear | |||
* For LDView 4.4 or later, in the Model Tree dialog, you can search for them (for example, "ering"), and if you have it set to highlight, then when you select one, it will be highlighted in the 3D view. | |||
* Manually recolor the primitive in question to a color that contrasts with the colors that surround it | |||
Note that the bounding circle in the image is for context only - there are no actual geometry producing lines contained in these files. | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 1-16chrd, 1-4ering, 1-8ering, 3-16ering, 2-4ering, 4-4ering<br> | |||
High resolution (n-f): 1-48chrd | |||
|- | |||
| '''n-fringr.dat'''<br>'''n-frinrr.dat'''<br>'''n-ffrinr.dat'''<br>'''n-ffrirr.dat'''<br>'''nn-ffrir.dat'''<br>ringr.dat (deprecated name)<br>ringrr.dat (deprecated name) || '''Circular ring segment''' | |||
|- | |||
| [[File:4-4ring1.png|200px|alt=1-4ring1]] | |||
|| This suite of primitives are used to generate circular rings or part rings. The numeric suffix r in the filename indicates the inner radius of the ring - the outer radius is 1LDu greater. For example a n-f4-4ring4 primitive would create a ring with an inner radius of 4LDu and an outer radius of 5LDu. | |||
Note: The correct nomenclature is to use the full word "ring". All newly created ring primitives must use "ring". Official files using "rin" have been obsoleted. All files using "ri" or "rin" have been moved, to use "ring". | |||
''Currently available primitives:''<br> | |||
Regular resolution:<br> | |||
r=1: 1-16ring1, 1-8ring1, 3-16ring1, 1-4ring1, 5-16ring1, 3-8ring1, 7-16ring1, 2-4ring1, 9-16ring1, 5-8ring1, 3-4ring1, 7-8ring1, 4-4ring1<br> | |||
r=2: 1-16ring2, 1-8ring2, 3-16ring2, 1-4ring2, 5-16ring2, 3-8ring2, 7-16ring2, 2-4ring2, 5-8ring2, 3-4ring2, 7-8ring2, 4-4ring2<br> | |||
r=3: 1-16ring3, 1-8ring3, 3-16ring3, 1-4ring3, 5-16ring3, 3-8ring3, 7-16ring3, 2-4ring3, 5-8ring3, 3-4ring3, 7-8ring3, 4-4ring3<br> | |||
r=4: 1-16ring4, 1-8ring4, 3-16ring4, 1-4ring4, 5-16ring4, 3-8ring4, 7-16ring4, 2-4ring4, 5-8ring4, 3-4ring4, 4-4ring4<br> | |||
r=5: 1-8ring5, 3-16ring5, 1-4ring5, 5-16ring5, 3-8ring5, 2-4ring5, 3-4ring5, 4-4ring5<br> | |||
r=6: 1-16ring6, 1-8ring6, 3-16ring6, 1-4ring6, 3-8ring6, 7-16ring6, 2-4ring6, 5-8ring6, 3-4ring6, 4-4ring6<br> | |||
r=7: 1-8ring7, 3-16ring7, 1-4ring7, 5-16ring7, 3-8ring7, 7-16ring7, 2-4ring7, 3-4ring7, 4-4ring7<br> | |||
r=8: 1-16ring8, 1-8ring8, 3-16ring8, 1-4ring8, 5-16ring8, 3-8ring8, 7-16ring8, 2-4ring8, 3-4ring8, 7-8ring8, 4-4ring8<br> | |||
r=9: 1-16ring9, 1-8ring9, 3-16ring9, 1-4ring9, 5-16ring9, 3-8ring9, 7-16ring9, 2-4ring9, 3-4ring9, 7-8ring9, 4-4ring9<br> | |||
r=10: 1-8ring10, 3-16ring10, 1-4ring10, 3-8ring10, 2-4ring10, 5-8ring10, 3-4ring10, 4-4ring10<br> | |||
r=11: 1-16ring11, 1-8ring11, 3-16ring11, 1-4ring11, 7-16ring11, 2-4ring11, 4-4ring11<br> | |||
r=12: 1-8ring12, 3-16ring12, 1-4ring12, 5-16ring12, 3-8ring12, 2-4ring12, 7-8ring12, 4-4ring12<br> | |||
r=13: 1-8ring13, 3-16ring13, 1-4ring13, 5-16ring13, 3-8ring13, 2-4ring13, 4-4ring13<br> | |||
r=14: 3-16ring14, 1-4ring14, 2-4ring14, 3-4ring14, 4-4ring14<br> | |||
r=15: 1-8ring15, 3-16ring15, 1-4ring15, 3-8ring15, 2-4ring15, 7-8ring15, 4-4ring15<br> | |||
r=16: 1-8ring16, 1-4ring16, 3-8ring16, 2-4ring16, 3-4ring16, 7-8ring16, 4-4ring16<br> | |||
r=17: 1-8ring17, 1-4ring17, 5-16ring17, 3-8ring17, 7-16ring17, 2-4ring17, 4-4ring17<br> | |||
r=18: 1-16ring18, 1-8ring18, 1-4ring18, 3-8ring18, 2-4ring18, 4-4ring18<br> | |||
r=19: 1-16ring19, 1-8ring19, 3-16ring19, 1-4ring19, 3-8ring19, 2-4ring19, 3-4ring19, 4-4ring19<br> | |||
r=20: 1-4ring20, 2-4ring20, 4-4ring20<br> | |||
r=21: 1-4ring21, 3-8ring21, 4-4ring21<br> | |||
r=22: 1-16ring22, 3-16ring22, 2-4ring22, 3-4ring22, 4-4ring22<br> | |||
r=23: 1-16ring23, 1-8ring23, 1-4ring23, 2-4ring23, 4-4ring23<br> | |||
r=24: 1-16ring24, 3-16ring24, 1-4ring24, 3-8ring24, 2-4ring24, 4-4ring24<br> | |||
r=25: 1-4ring25, 2-4ring25, 4-4ring25<br> | |||
r=26: 1-4ring26, 2-4ring26, 4-4ring26<br> | |||
r=27: 1-8ring27, 4-4ring27<br> | |||
r=28: 1-8ring28, 1-4ring28, 2-4ring28, 4-4ring28<br> | |||
r=29: 1-4ring29, 3-8ring29, 2-4ring29, 3-4ring29, 4-4ring29<br> | |||
r=30: 1-24ring30, 1-16ring30, 2-4ring30, 4-4ring30<br> | |||
r=31: 2-4ring31, 4-4ring31<br> | |||
r=32: 1-8ring32, 2-4ring32, 4-4ring32<br> | |||
r=33: 1-8ring33, 1-4ring33, 4-4ring33<br> | |||
r=34: 1-8ring34, 1-4ring34, 4-4ring34<br> | |||
r=35: 1-24ring35, 1-16ring35, 1-8ring35, 4-4ring35<br> | |||
r=36: 1-4ring36, 4-4ring36<br> | |||
r=37: 3-8ring37, 2-4ring37, 4-4ring37<br> | |||
r=38: 1-4ring38, 4-4ring38<br> | |||
r=39: 1-16ring39, 1-8ring39, 3-16ring39, 1-4ring39, 7-8ring39, 4-4ring39<br> | |||
r=40: 1-4ring40, 7-8ring40, 4-4ring40<br> | |||
r=41: 4-4ring41<br> | |||
r=42: 2-4ring42<br> | |||
r=43: 2-4ring43, 4-4ring43<br> | |||
r=44: 2-4ring44, 4-4ring44<br> | |||
r=45: 2-4ring45, 4-4ring45<br> | |||
r=46: 2-4ring46, 4-4ring46<br> | |||
r=47: 4-4ring47<br> | |||
r=48: 1-4ring48, 4-4ring48<br> | |||
r=49: 1-4ring49, 4-4ring49<br> | |||
r=50: 1-4ring50, 4-4ring50<br> | |||
r=51: 4-4ring51<br> | |||
r=52: 2-4ring52, 4-4ring52<br> | |||
r=53: 3-16ring53<br> | |||
r=55: 2-4ring55<br> | |||
r=57: 1-16ring57, 1-4ring57, 4-4ring57<br> | |||
r=61: 4-4ring61<br> | |||
r=66: 1-4ring66, 4-4ring66<br> | |||
r=67: 1-4ring67<br> | |||
r=68: 4-4ring68<br> | |||
r=70: 1-16ring70, 1-8ring70, 3-16ring70, 2-4ring70, 4-4ring70<br> | |||
r=71: 4-4ring71<br> | |||
r=77: 4-4ring77<br> | |||
r=78: 4-4ring78<br> | |||
r=79: 1-4ring79, 4-4ring79<br> | |||
r=80: 3-16ring80<br> | |||
r=81: 4-4ring81<br> | |||
r=85: 4-4ring85<br> | |||
r=88: 4-4ring88<br> | |||
r=95: 4-4ring95<br> | |||
r=97: 4-4ring97<br> | |||
r=101: 4-4ring101<br> | |||
<br> | |||
High resolution:<br> | |||
r=1: 1-24ring1, 1-12ring1, 1-8ring1, 1-6ring1, 3-16ring1, 11-48ring1, 1-4ring1, 5-16ring1, 7-16ring1, 2-4ring1, 4-4ring1.dat<br> | |||
r=2: 1-24ring2, 1-16ring2, 1-12ring2, 5-48ring2, 1-8ring2, 1-6ring2, 3-16ring2, 5-24ring2, 1-4ring2, 1-3ring2, 3-8ring2, 7-16ring2, 2-4ring2, 19-24ring2, 7-8ring2, 4-4ring2<br> | |||
r=3: 1-24ring3, 1-16ring3, 1-12ring3, 1-8ring3, 7-48ring3, 1-6ring3, 5-24ring3, 1-4ring3, 1-3ring3, 7-16ring3, 2-4ring3, 4-4ring3<br> | |||
r=4: 1-24ring4, 1-12ring4, 5-48ring4, 1-8ring4, 7-48ring4, 5-24ring4, 1-4ring4, 7-24ring4, 2-4ring4, 4-4ring4<br> | |||
r=5: 1-24ring5, 1-12ring5, 5-48ring5, 1-8ring5, 7-48ring5, 1-6ring5, 5-24ring5, 1-4ring5, 2-4ring5, 4-4ring5<br> | |||
r=6: 1-48ring6, 1-24ring6, 1-16ring6, 1-12ring6, 1-8ring6, 1-6ring6, 5-24ring6, 1-4ring6, 2-4ring6, 5-6ring6, 4-4ring6<br> | |||
r=7: 1-24ring7, 1-16ring7, 1-8ring7, 7-48ring7, 1-6ring7, 3-16ring7, 5-24ring7, 1-4ring7, 2-3ring7, 3-4ring7, 4-4ring7<br> | |||
r=8: 1-16ring8, 1-12ring8, 1-8ring8, 7-48ring8, 1-6ring8, 3-16ring8, 5-24ring8, 1-4ring8, 11-24ring8, 4-4ring8<br> | |||
r=9: 1-48ring9, 1-24ring9, 1-12ring9, 5-48ring9, 1-8ring9, 5-24ring9, 11-48ring9, 1-6ring9, 1-4ring9, 1-3ring9, 2-4ring9, 4-4ring9<br> | |||
r=10: 1-24ring10, 1-16ring10, 1-12ring10, 5-48ring10, 1-8ring10, 7-48ring10, 1-6ring10, 5-24ring10, 1-4ring10, 2-4ring10, 4-4ring10<br> | |||
r=11: 1-24ring11, 1-16ring11, 1-8ring11, 7-48ring11, 3-16ring11, 1-4ring11, 7-16ring11, 2-4ring11, 4-4ring11<br> | |||
r=12: 1-12ring12, 1-8ring12, 1-4ring12, 1-6ring12, 2-4ring12, 4-4ring12<br> | |||
r=13: 1-16ring13, 1-12ring13, 1-8ring13, 1-6ring13, 5-24ring13, 1-4ring13, 5-12ring13, 11-24ring13, 3-4ring13, 4-4ring13<br> | |||
r=14: 1-24ring14, 1-16ring14, 1-12ring14, 1-8ring14, 1-6ring14, 3-16ring14, 1-4ring14, 3-8ring14, 5-12ring14, 3-4ring14, 4-4ring14<br> | |||
r=15: 1-48ring15, 1-24ring15, 1-16ring15, 1-12ring15, 1-8ring15, 1-6ring15, 3-16ring15, 5-24ring15, 1-4ring15, 2-4ring15, 4-4ring15<br> | |||
r=16: 1-16ring16, 1-8ring16, 7-48ring16, 1-6ring16, 1-4ring16, 7-16ring16, 2-4ring16, 3-4ring16, 5-6ring16, 4-4ring16<br> | |||
r=17: 1-16ring17, 1-12ring17, 1-6ring17, 5-24ring17, 1-4ring17, 1-3ring17, 2-4ring17, 4-4ring17<br> | |||
r=18: 1-16ring18, 7-48ring18, 1-6ring18, 5-24ring18, 1-4ring18, 4-4ring18<br> | |||
r=19: 1-24ring19, 1-16ring19, 1-12ring19, 5-48ring19, 1-8ring19, 1-6ring19, 11-48ring19, 1-4ring19, 2-4ring19, 4-4ring19<br> | |||
r=20: 1-12ring20, 1-8ring20, 5-24ring20, 11-48ring20, 1-4ring20, 4-4ring20<br> | |||
r=21: 1-16ring21, 11-48ring21, 1-4ring21, 4-4ring21<br> | |||
r=22: 1-12ring22, 11-48ring22, 1-4ring22, 4-4ring22<br> | |||
r=23: 1-4ring23<br> | |||
r=24: 1-24ring24, 1-12ring24, 5-24ring24, 1-4ring24, 4-4ring24<br> | |||
r=25: 3-16ring25, 1-4ring25, 4-4ring25<br> | |||
r=26: 1-4ring26, 4-4ring26<br> | |||
r=27: 1-4ring27, 4-4ring27<br> | |||
r=28: 1-12ring28, 1-8ring28, 5-24ring28, 11-48ring28, 1-4ring28, 4-4ring28<br> | |||
r=29: 1-24ring29, 1-16ring29, 1-12ring29, 5-48ring29, 7-48ring29, 1-6ring29, 3-16ring29, 11-48ring29, 1-4ring29, 5-24ring29, 4-4ring29<br> | |||
r=30: 1-24ring30, 1-16ring30, 1-4ring30, 3-8ring30, 4-4ring30<br> | |||
r=31: 1-4ring31, 2-4ring31<br> | |||
r=32: 5-48ring32, 1-4ring32, 2-4ring32<br> | |||
r=33: 5-24ring33, 1-4ring33, 4-4ring33<br> | |||
r=34: 7-48ring34, 5-24ring34, 11-48ring34, 1-4ring34, 2-4ring34, 4-4ring34<br> | |||
r=35: 1-24ring35, 1-16ring35, 1-8ring35, 5-24ring35, 1-4ring35, 4-4ring35<br> | |||
r=36: 1-8ring36, 1-4ring36, 1-3ring36, 4-4ring36<br> | |||
r=37: 1-8ring37, 1-4ring37, 2-4ring37, 4-4ring37<br> | |||
r=38: 1-12ring38, 1-6ring38, 1-4ring38, 4-4ring38<br> | |||
r=39: 1-24ring39, 1-16ring39, 1-12ring39, 5-48ring39, 1-8ring39, 7-48ring39, 1-6ring39, 3-16ring39, 1-4ring39, 2-4ring39, 4-4ring39<br> | |||
r=40: 1-4ring40, 11-48ring40, 2-4ring40<br> | |||
r=41: 1-8ring41, 1-4ring41, 4-4ring41<br> | |||
r=42: 1-12ring42, 1-6ring42, 4-4ring42<br> | |||
r=43: 1-48ring43, 1-16ring43, 1-12ring43, 1-6ring43, 4-4ring43<br> | |||
r=44: 4-4ring44<br> | |||
r=45: 1-4ring45, 4-4ring45<br> | |||
r=46: 1-4ring46<br> | |||
r=47: 1-6ring47, 1-4ring47, 4-4ring47<br> | |||
r=48: 7-48ring48, 1-4ring48, 2-4ring48<br> | |||
r=49: 1-24ring49, 1-16ring49, 1-4ring49, 4-4ring49<br> | |||
r=50: 1-6ring50, 3-16ring50, 4-4ring50<br> | |||
r=51: 1-4ring51<br> | |||
r=52: 11-24ring52, 4-4ring52<br> | |||
r=53: 1-8ring53, 3-16ring53, 4-4ring53<br> | |||
r=54: 4-4ring54<br> | |||
r=55: 2-4ring55<br> | |||
r=56: 1-12ring56, 1-8ring56<br> | |||
r=57: 1-4ring57, 4-4ring57<br> | |||
r=59: 1-24ring59, 1-16ring59, 1-12ring59<br> | |||
r=60: 1-24ring60, 1-16ring60<br> | |||
r=63: 1-4ring63<br> | |||
r=64: 1-4ring64<br> | |||
r=65: 1-4ring65<br> | |||
r=69: 5-24ring69<br> | |||
r=70: 1-4ring70<br> | |||
r=71: 1-4ring71, 4-4ring71<br> | |||
r=77: 4-4ring77<br> | |||
r=78: 1-12ring78<br> | |||
r=79: 1-4ring79<br> | |||
r=80: 7-48ring80, 1-6ring80<br> | |||
r=81: 4-4ring81<br> | |||
r=82: 1-4ring82<br> | |||
r=83: 1-4ring83<br> | |||
r=84: 1-8ring84<br> | |||
r=85: 4-4ring85<br> | |||
r=88: 4-4ring88<br> | |||
r=90: 11-48ring90<br> | |||
r=95: 2-4ring95<br> | |||
r=96: 1-4ring96<br> | |||
r=97: 4-4ring97<br> | |||
r=99: 1-6ring99, 4-4ring99<br> | |||
r=100: 1-24ring100, 4-4ring100<br> | |||
r=130: 4-4ring130<br> | |||
r=160: 2-4ring160<br> | |||
r=179: 1-4ring179<br> | |||
r=240: 2-4ring240<br> | |||
<br> | |||
Low resolution:<br> | |||
r=2 : 2-4ring2, 4-4ring2<br> | |||
r=3 : 1-4ring3, 4-4ring3<br> | |||
r=6 : 4-4ring6<br> | |||
r=7 : 4-4ring7<br> | |||
r=11 : 4-4ring11<br> | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" | |||
|+ | |||
=== Three dimensional === | |||
|- | |||
| '''n-fcyli.dat'''<br>'''n-fcyli2.dat''' || '''Circular cylinder''' | |||
|- | |||
|style="width: 200px;"|[[File:4-4cyli.png |200px|alt=4-4cyli]] | |||
||This suite of primitives are used to generate cylinders or part cylinders. These are provided in two forms - with conditional lines (n-fcyli) or without conditional lines (n-fcyli2). In almost all circumstances the "cyli" version should be used. The "cyli2" versions are for very special cases and their use for the rounded corners of stickers is no longer appropriate. | |||
''Currently available primitives - with conditional lines (n-fcyli):''<br> | |||
Regular resolution (n-f): 1-16, 1-8, 3-16, 1-4, 5-16, 3-8, 7-16, 2-4, 9-16, 5-8, 11-16, 3-4, 13-16, 7-8, 4-4<br> | |||
High resolution (n-f): 1-48, 1-24, 1-16, 1-12, 5-48, 1-8, 7-48, 1-6, 3-16, 5-24, 11-48, 1-4, 7-24, 5-16, 1-3, 3-8, 5-12, 7-16, 11-24, 2-4, 5-8, 2-3, 3-4, 7-8, 4-4<br> | |||
Low resolution (n-f): 1-4, 3-8, 2-4, 4-4 | |||
''Currently available primitives - without conditional lines (n-fcyli2):''<br> | |||
Regular resolution (n-f): 1-8, 3-16, 1-4, 5-16, 2-4, 3-8, 4-4<br> | |||
High resolution (n-f): 1-8, 3-16, 1-4, 3-8, 2-4, 4-4<br> | |||
Low resolution (n-f): None | |||
|- | |||
| '''n-fcylo.dat''' || '''Circular cylinder with Open End''' | |||
|- | |||
| [[File:4-4cylo.png |200px|alt=4-4cylo]] | |||
||This suite of primitives are used to generate cylinders or part cylinders with edges around the lower and upper surfaces. | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 1-16, 1-8, 3-16, 1-4, 5-16, 3-8, 7-16, 2-4, 9-16, 5-8, 3-4, 7-8, 4-4<br> | |||
High resolution (n-f): 1-48, 1-24, 1-16, 1-12, 5-48, 1-8, 7-48, 1-6, 3-16, 5-24, 11-48, 1-4, 1-3, 3-8, 2-4, 4-4<br> | |||
Low resolution (n-f): 1-4, 3-8, 2-4, 4-4 | |||
|- | |||
| '''n-fcylc.dat''' <br> '''n-fcylc2.dat''' <br> '''n-fcylc3.dat''' || '''Circular cylinder with Closed End''' | |||
|- | |||
| [[File:4-4cylc.png |200px|alt=4-4cylc]] | |||
||This suite of primitives are used to generate cylinders or part cylinders with the upper surface closed. | |||
''Currently available primitives - with conditional lines and top edge line (n-fcylc):''<br> | |||
Regular resolution (n-f): 1-16, 1-4, 3-8, 2-4, 3-4, 4-4<br> | |||
High resolution (n-f): 2-4, 4-4<br> | |||
Low resolution (n-f): None<br> | |||
''Currently available primitives - without conditional lines or top or bottom edge line (n-fcylc2):''<br> | |||
Regular resolution (n-f): 1-4, 4-4<br> | |||
High resolution (n-f): 4-4<br> | |||
Low resolution (n-f): None<br> | |||
''Currently available primitives - with conditional lines, but without top and bottom edge lines (n-fcylc3):''<br> | |||
Regular resolution (n-f): 1-4, 4-4<br> | |||
High resolution (n-f): 4-4<br> | |||
Low resolution (n-f): None | |||
|- | |||
| '''n-fcyls.dat''' <br> '''n-fcyls2.dat''' || '''Circular cylinder truncated by an angled plane''' | |||
|- | |||
| [[File:2-4cyls.png |200px|alt=2-4cyls]] | |||
[[File:3-8cyls.png |200px|alt=3-8cyls]] | |||
||These primitives are used to generate cylinders or part cylinders which are truncated by a plane which is not perpendicular to the axis of the cylinder. The default angle of the plane is 45 degress. | |||
These primitives are notoriously difficult to describe and the user is encouraged to experiment in order to gain a full understanding of their geometry. One technique is to open the primitive in LDPE and choose random colours. Selecting Show Axes also helps. | |||
The 2-4cyls.dat primitive is orientated with the perpendicular bounding plane at the top {-y} and the angled bounding plane at the bottom {+y}. In common with the other 2-4xxxx.dat primitives, the {+z} semicircle is represented. By default the truncation plane is y=x-1. The 1-4cyls.dat and 3-8cyls.dat primitives are sub-sections of 2-4cyls.dat | |||
The 1-4cyls2.dat primitive is orientated with the perpendicular bounding plane at the top {-y} and the angled bounding plane at the bottom {+y}. Unlike the other 1-4xxxx.dat primitives, the {-x,+z} quadrant is represented. The truncation plane is y=x. | |||
The following observations may help : | |||
1-4cyls and 1-4cyls2 are complements. If you put them together correctly they make a 1-4cyli. | |||
1 16 0 0 0 1 0 0 0 1 0 0 0 1 1-4cyls.dat | |||
1 16 0 1 0 -1 0 0 0 -1 0 0 0 1 1-4cyls2.dat | |||
1-4cyls2 is actually hidden in 2-4cyls, which could be constructed like | |||
1 16 0 0 0 1 0 0 0 1 0 0 0 1 1-4cyls.dat | |||
1 16 0 0 0 0 0 -1 0 1 0 1 0 0 1-4cyli.dat | |||
1 16 0 1 0 1 0 0 0 1 0 0 0 1 1-4cyls2.dat | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 1-8cyls, 3-16cyls, 1-4cyls, 3-8cyls, 2-4cyls, 4-4cyls, 1-16cyls2, 1-8cyls2, 3-16cyls2, 1-4cyls2<br> | |||
High resolution (n-f): 1-4cyls, 1-4cyls2 | |||
|- | |||
| '''n-fcylse.dat''' || '''Circular cylinder truncated by an angled plane with angled edge included''' | |||
|- | |||
| [[File:4-4cylse.png |200px|alt=4-4cylse]] | |||
||This suite of primitives are similar to the n-fcyls primitive, but with the edge along the angled plane included. | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 4-4 | |||
|- | |||
| '''1-4cylj2_1x2.dat''' || '''Cylinder Joint 1 to 2 Inverted 0.25''' | |||
|- | |||
| [[File:1-4cylj2_1x2.png |x200px|alt=1-4cylj2_1x2]] | |||
|| | |||
|- | |||
| '''2-4cylj1x1.dat''' || '''Cylinder 0.5 Junction''' | |||
|- | |||
| [[File:2-4cylj1x1.png |200px|alt=2-4cylj1x1]] | |||
|| | |||
|- | |||
| '''2-4cylj1x1e.dat''' || '''Cylinder 0.5 Junction with Edge Lines''' | |||
|- | |||
| [[File:2-4cylj1x1e.png |200px|alt=2-4cylj1x1e]] | |||
|| | |||
|- | |||
| '''4-4cylj1x1e.dat''' || '''Cylinder Junction 1 to 1 with Intersection Lines 1.0''' | |||
|- | |||
| [[File:4-4cylj1x1e.png |200px|alt=4-4cylj1x1e]] | |||
|| | |||
|- | |||
| '''1-8tric.dat''' || '''Tri-Cylinder Intersection 0.125''' | |||
|- | |||
| [[File:1-8tric.png |200px|alt=1-8tric]] | |||
|| | |||
|- | |||
| '''cyljrxs.dat''' || '''Circular cylinder truncated by another cylinder''' | |||
|- | |||
| [[File:Cylj4x8.png |200px|alt=cylj4x8]] | |||
||This suite of primitives are used to model the intersection between two cylinders of different radii. | |||
'''Currently available primitives:'''<br> | |||
Regular resolution (rxs): 3x5, 4x5, 4x6, 4x7, 4x8, 4x9, 4x10, 5x9 | |||
|- | |||
| '''n-fcylrsphs.dat''' || '''Circular cylinder truncated by a sphere''' | |||
|- | |||
| [[File:4-4cyl1sph2.png |200px|alt=4-4cyl1sph2]] | |||
||This suite of primitives are used to model the intersection between a cylinder and a sphere of a different radius. | |||
'''Currently available primitives:'''<br> | |||
Regular resolution 1:2 (n-f): 4-4cyl1sph2 | |||
|- | |||
| '''n-fconr.dat''' <br> '''n-fconrr.dat''' || '''Circular cone''' | |||
|- | |||
| [[File:4-4con1.png |200px|alt=4-4con1]] | |||
||This suite of primitives are used to generate circular cones or part cones. The numeric suffix r in the filename indicates the inner radius of the cone - the outer radius is 1LDu greater. By default the cone is 1LDu high in the {+y} dimension with the origin at the centre of the outer diameter. For example a n-fcone4 primitive would create a cone with an inner radius of 4LDu and an outer radius of 5LDu. | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f)(r):<br> | |||
r=0: 1-8con0, 3-16con0, 1-4con0, 2-4con0, 4-4con0<br> | |||
r=1: 1-16con1, 1-8con1, 3-16con1, 1-4con1, 2-4con1, 4-4con1<br> | |||
r=2: 1-8con2, 3-16con2, 3-8con2, 1-4con2, 5-16con2, 2-4con2, 4-4con2<br> | |||
r=3: 1-16con3, 1-8con3, 3-16con3, 3-8con3, 1-4con3, 2-4con3, 7-8con3, 4-4con3<br> | |||
r=4: 1-8con4, 3-16con4, 1-4con4, 3-8con4, 2-4con4, 4-4con4<br> | |||
r=5: 1-8con5, 3-16con5, 1-4con5, 3-8con5, 5-16con5, 2-4con5, 4-4con5<br> | |||
r=6: 1-8con6, 3-16con6, 1-4con6, 3-8con6, 2-4con6, 4-4con6<br> | |||
r=7: 1-4con7, 3-8con7, 2-4con7, 4-4con7<br> | |||
r=8: 1-8con8, 1-4con8, 2-4con8, 4-4con8<br> | |||
r=9: 3-16con9, 1-4con9, 3-8con9, 2-4con9, 4-4con9<br> | |||
r=10: 1-8con10, 3-8con10, 1-4con10, 2-4con10, 4-4con10<br> | |||
r=11: 1-4con11, 5-16con11, 2-4con11, 4-4con11<br> | |||
r=12: 1-8con12, 3-16con12, 1-4con12, 5-16con12, 3-8con12, 2-4con12, 4-4con12<br> | |||
r=13: 1-4con13, 2-4con13, 4-4con13<br> | |||
r=14: 3-16con14, 1-4con14, 4-4con14<br> | |||
r=15: 3-16con15, 1-4con15, 2-4con15, 4-4con15<br> | |||
r=16: 1-16con16, 1-4con16, 4-4con16<br> | |||
r=17: 1-4con17, 4-4con17<br> | |||
r=18: 1-4con18, 4-4con18<br> | |||
r=19: 1-8con19, 3-8con19, 1-4con19, 2-4con19, 4-4con19<br> | |||
r=20: 1-8con20, 3-8con20, 4-4con20<br> | |||
r=21: 4-4con21<br> | |||
r=22: 4-4con22<br> | |||
r=23: 1-4con23<br> | |||
r=24: 1-4con24, 4-4con24<br> | |||
r=25: 1-8con25, 3-16con25, 1-4con25, 4-4con25<br> | |||
r=27: 1-8con27, 1-4con27<br> | |||
r=28: 1-8con28, 1-4con28, 4-4con28<br> | |||
r=29: 1-4con29, 2-4con29, 4-4con29<br> | |||
r=30: 4-4con30<br> | |||
r=31: 1-4con31<br> | |||
r=32: 4-4con32<br> | |||
r=33: 4-4con33<br> | |||
r=34: 3-8con34<br> | |||
r=35: 1-4con35, 4-4con35<br> | |||
r=36: 4-4con36<br> | |||
r=39: 3-16con39<br> | |||
r=40: 1-4con40<br> | |||
r=41: 4-4con41<br> | |||
r=42: 4-4con42<br> | |||
r=43: 4-4con43<br> | |||
r=46: 4-4con46<br> | |||
r=47: 4-4con47<br> | |||
r=48: 4-4con48<br> | |||
r=49: 4-4con49<br> | |||
r=61: 4-4con61<br> | |||
r=80: 4-4con80<br> | |||
r=81: 4-4con81<br> | |||
r=95: 4-4con95<br> | |||
High resolution (n-f)(r):<br> | |||
r=0: 1-4con0, 4-4con0<br> | |||
r=1: 1-16con1, 3-16con1, 1-6con1, 1-4con1, 4-4con1<br> | |||
r=2: 1-16con2, 1-6con2, 11-48con2, 5-24con2, 1-4con2, 5-12con2, 4-4con2<br> | |||
r=3: 11-48con3, 1-8con3, 1-4con3, 5-24con3, 4-4con3<br> | |||
r=4: 1-12con4, 1-8con4, 1-6con4, 1-4con4, 4-4con4<br> | |||
r=5: 1-12con5, 1-8con5, 1-6con5, 1-4con5, 4-4con5<br> | |||
r=6: 5-48con6, 1-8con6, 1-4con6, 4-4con6<br> | |||
r=7: 1-24con7, 1-12con7, 1-6con7, 1-4con7, 4-4con7<br> | |||
r=8: 3-16con8, 1-6con8, 1-4con8, 4-4con8<br> | |||
r=9: 5-48con9, 1-8con9, 5-24con9, 1-4con9, 4-4con9<br> | |||
r=10: 1-24con10, 5-24con10, 3-16con10, 1-4con10, 4-4con10<br> | |||
r=11: 1-16con11, 1-8con11, 1-4con11, 4-4con11<br> | |||
r=12: 1-24con12, 5-48con12, 1-8con12, 5-24con12, 1-4con12, 4-4con12<br> | |||
r=13: 1-6con13, 1-4con13, 4-4con13<br> | |||
r=14: 1-24con14, 5-24con14, 1-8con14, 1-4con14, 3-8con14<br> | |||
r=15: 1-24con15, 1-16con15, 1-8con15, 1-4con15, 4-4con15<br> | |||
r=16: 1-24con16, 1-6con16, 5-24con16, 1-4con16, 3-8con16, 4-4con16<br> | |||
r=17: 1-6con17, 4-4con17<br> | |||
r=18: 1-4con18, 4-4con18<br> | |||
r=19: 1-16con19, 3-16con19, 1-4con19, 4-4con19<br> | |||
r=20: 1-16con20, 1-4con20, 4-4con20<br> | |||
r=21: 1-4con21, 4-4con21<br> | |||
r=22: 4-4con22<br> | |||
r=23: 1-4con23, 4-4con23<br> | |||
r=24: 1-24con24, 1-16con24, 1-12con24, 1-4con24, 4-4con24<br> | |||
r=25: 1-4con25, 2-4con25, 4-4con25<br> | |||
r=27: 1-8con27, 1-4con27, 4-4con27<br> | |||
r=28: 11-48con28, 1-4con28<br> | |||
r=29: 5-48con29, 11-48con29, 1-4con29, 4-4con29<br> | |||
r=30: 1-8con30, 5-24con30, 1-4con30, 4-4con30<br> | |||
r=32: 1-24con32, 1-4con32<br> | |||
r=31: 1-6con31, 4-4con31<br> | |||
r=32: 1-4con32<br> | |||
r=34: 4-4con34<br> | |||
r=35: 4-4con35<br> | |||
r=36: 1-4con36, 19-24con36, 4-4con36<br> | |||
r=37: 19-24con37<br> | |||
r=38: 1-4con38<br> | |||
r=39: 1-4con39, 4-4con39<br> | |||
r=40: 1-4con40<br> | |||
r=41: 1-4con41, 4-4con41<br> | |||
r=44: 1-4con44<br> | |||
r=45: 1-6con45<br> | |||
r=46: 1-6con46<br> | |||
r=48: 11-48con48, 1-4con48<br> | |||
r=49: 1-4con49<br> | |||
r=52: 1-4con52, 4-4con52<br> | |||
r=53: 1-4con53<br> | |||
r=54: 4-4con54<br> | |||
r=64: 4-4con64<br> | |||
r=69: 1-4con69<br> | |||
r=70: 1-8con70, 1-4con70, 4-4con70<br> | |||
r=75: 4-4con75<br> | |||
r=80: 4-4con80<br> | |||
r=88: 4-4con88<br> | |||
r=95: 1-4con95<br> | |||
r=97: 1-4con97<br> | |||
r=108: 4-4con108<br> | |||
r=109: 1-4con109<br> | |||
r=152: 4-4con152<br> | |||
|- | |||
| '''tffirrrr.dat'''<br> '''tfforrrr.dat'''<br> '''tffqrrrr.dat'''<br> <br> '''rfforrrr.dat'''<br> '''rfforrrrr.dat''' || '''Circular torus''' | |||
|- | |||
| [[File:T02i2000.png |200px|alt=T02i2000.png]] | |||
[[File:T02o2000.png |200px|alt=T02o2000.png]] | |||
[[File:T02q1765.png |200px|alt=T02q1765.png]] | |||
||This suite of primitives are used to generate circular torus sections. By default all these primitives produce a torus with a major radius of 1LDu, so typically need to be scaled up in the {x} and {z} dimensions. The first character denotes whether the minor radius is smaller than (tff primitives) or larger than the major radius (rff primitives). The latter are termed reverse ratio tori. The second and third characters of the filename ff denotes the sweep of torus, as an inverse fraction (01=1/1, 02=1/2, 04=1/4, 08=1/8, 16=1/16, 32=1/32, 48=1/48). The fourth character denotes the section of a torus (i=inner, o=outer, q=tube - the combination of 2 inner and 2 outer sections). Inner sections are not possible for reverse ratio tori. | |||
For regular tori, the last four characters of the file name rrrr denote the torus minor radius in LDu (1333=0.1333, 3333=0.3333), with the special designation 'unit' unsed to indicate a radius of 1.0000. | |||
For reverse ratio tori named like rfforrrr.dat, the last four characters of the file name rrrr represent torus minor radius with an implied decimal point after the first digit (1500=1.5, 4600=4.6). For reverse ratio tori named like rfforrrrr.dat, the last five characters of the file name rrrrr represent torus minor radius with an implied decimal point after the first two digits (11000=11.0). | |||
These diagrams (based on an idea of Paul Easter's) illustrate the relationship of the torus primitives to the major and minor radii. | |||
<gallery mode=nolines widths="200px"> | |||
torusi.png|Regular inner torus | |||
toruso.png|Regular outer torus | |||
torusro.png| Reverse ratio outer torus | |||
</gallery> | |||
''Currently available regular torus primitives:''<br> | |||
Regular resolution (ff)(rrrr):<br> | |||
Inner:<br> | |||
::t01i0702, t01i0714, t01i0769, t01i1250, t01i1579, t01i1667, t01i2000, t01i3261, t01i3333, t01i3600, t01i5556, t01i6000<br> | |||
::t02i1111, t02i2000, t02i2258, t02i3333, t02i4000<br> | |||
::t04i0462, t04i0625, t04i6381, t04i0857, t04i0909, t04i1111, t04i1304, t04i1333, t04i1429, t04i1538, t04i1765, t04i1786, t04i2000, t04i2258, t04i2500, t04i2667, t04i3077, t04i3333, t04i4000, t04i4167, t04i5000, t04i5455, t04i6381<br> | |||
::t08i0909, t08i2000, t08i4167, t08i4235, t08i4588, t08i4643<br> | |||
::t16i0909, t16i1429, t16i2000, t16i3333, t16i4643<br> | |||
<br> | |||
Outer:<br> | |||
::t01o0556, t01o0625, t01o0667, t01o0714, t01o1000, t01o1154, t01o1250, t01o1429, t01o1579, t01o2222, t01o2500, t01o3333, t01o3571, t01o3750, t01o3810, t01o3889, t01o4000, t01o4286<br> | |||
::t02o0417, t02o0526, t02o1111, t02o1176, t02o2000, t02o2308, t02o3333, t02o4000, t02o4286<br> | |||
::t04o0222, t04o0462, t04o0625, t04o0833, t04o0857, t04o0909, t04o1111, t04o1250, t04o1304, t04o1333, t04o1429, t04o1538, t04o1667, t04o1765, t04o1786, t04o1905, t04o2000, t04o2500, t04o2667, t04o3077, t04o3333, t04o3750, t04o4167, t04o5000, t04o6250, t04o6667, ::t04o7000, t04o7500, t04o8750, t04o8889<br> | |||
::t08o0727, t08o0909, t08o2000, t08o3333, t08o4235, t08o4588, t08o5000, t08o6250<br> | |||
::t16o0909, t16o1429, t16o2000, t16o6250<br> | |||
<br> | |||
Tube:<br> | |||
::t01q0702, t01q1429<br> | |||
::t02q1304, t02q1765, t02q3333, t02q5455<br> | |||
::t04q0625, t04q1000, t04q1316, t04q1538, t04q2500, t04q2857, t04q3030, t04q3333, t04q3529, t04q3750, t04q4000, t04q4444, t04q5000, t04q5455, t04q7143, t04q7500, t04q8000, t04q9231<br> | |||
::t08q3333, t08q4000, t08q4444, t08q5000, t08q7500<br> | |||
::t16q4000, t16q5000, t16q7500<br> | |||
<br> | |||
<br> | |||
Mixed-Mode (ff)(rrrr):<br> | |||
Inner:<br> | |||
::tm04i1000, tm04i1750, tm04i2308 | |||
::tm06i1750, tm06i3063, tm06i8000 | |||
::tm08i0588, tm08i1333, tm08i1818 | |||
::tm16i1914, tm16i5000 | |||
::tm24i3063, tm24i8000 | |||
<br> | |||
Outer:<br> | |||
::tm01o0200, tm01o0882 | |||
::tm04o0360, tm04o0833, tm04o0870, tm04o1750, tm04o2500, tm04o2727, tm04o3750, tm04o4000, tm04o5000 ::tm06o1750, tm06o3063, tm06o8000 | |||
::tm08o0100, tm08o0900, tm08o1333, tm08o2000, tm08o2500 | |||
::tm12o0349 | |||
::tm16o1914, tm16o5000 | |||
::tm24o3063, tm24o8000 | |||
<br> | |||
Tube:<br> | |||
::tm08q0435, tm08q0667, tm08q2111, tm08q2639, tm08q5000 | |||
::tm12q0435 | |||
::tm16q0667 | |||
::tm24q0667 | |||
::tm48q5000 | |||
<br> | |||
<br> | |||
High resolution (ff)(rrrr):<br> | |||
Inner:<br> | |||
::t04i0455, t04i4000, t04i4500<br> | |||
::t12i8333<br> | |||
<br> | |||
Outer:<br> | |||
::t01o2000<br> | |||
::t04o0455, t04o2000, t04o4000, t04o4500<br> | |||
::t08o0625, t08o2500<br> | |||
::t12i8333, t12o0349, t12o0625<br> | |||
<br> | |||
Tube:<br> | |||
::t06q5000<br> | |||
<br> | |||
''Currently available reverse ratio torus primitives:''<br> | |||
Regular resolution:<br> | |||
Inner:<br> | |||
::r04i1000<br> | |||
Outer:<br> | |||
::r04o1000, r04o1333, r04o1375, r04o1500, r04o2000, r04o2250, r04o3000, r04o3500, r04o4600<br> | |||
::r08o1000, r08o1800<br> | |||
Tube:<br> | |||
::r04q1000, r08q1000 | |||
<br> | |||
High resolution:<br> | |||
::r04o1000, r04o1800<br> | |||
::r08o2000, r08o3000, r08o11000<br> | |||
|- | |||
| '''<s>1-4ccyli.dat</s>''' || '''<s>Circular torus</s> (obsolete)''' | |||
|- | |||
| [[File:T04q4000.png |200px|alt=T04q4000]] | |||
||<s>This single primitive pre-dates the creation of the tffirrrr and tfforrrr suite of primitives and will not be augmented. It produces a quarter torus with a major radius of 2.5Ldu and a tube radius of 1LDu.</s> | |||
It is superceded by t04q4000.dat. | |||
|- | |||
| '''n-fsphe.dat''' || '''Sphere section''' | |||
|- | |||
| [[File:8-8sphe.png |200px|alt=8-8sphe]] | |||
|| This primitive represents a sphere, centered at the origin {0,0,0} of radius 1 LDu. | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 1-8, 2-8, 4-8, 8-8<br> | |||
High resolution (n-f): 2-8, 4-8, 8-8 | |||
|- | |||
| '''1-8sphc.dat''' || '''Spherical corner''' | |||
|- | |||
| [[File:1-8sphc.png |200px|alt=1-8sphc]] | |||
||This primitive represents one octant (eighth) of a sphere, centered at the origin {0,0,0} of radius 1.414, truncated by the sides of a cube with a vertex at {1,1,1}. The boundaries of the resulting surface are circular and fit with 1-4edge.dat. | |||
|- | |||
| '''n-fedgh.dat''' || '''Cylinder Helical Edge''' | |||
|- | |||
| [[File:edgh.png |200px|alt=edgh]] | |||
||This primitive represents ... | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 3-16, 1-8, 1-4<br> | |||
|- | |||
| '''n-fcylh.dat''' || '''Cylinder Helical''' | |||
|- | |||
| [[File:cyhl.png |200px|alt=cyhl]] | |||
||This primitive represents ... | |||
''Currently available primitives:''<br> | |||
Regular resolution (n-f): 3-16, 1-8, 1-4<br> | |||
|} | |||
</div> | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
==Technic primitives== | |||
<div class="mw-collapsible"> | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Technic axle primitives=== | |||
|- | |||
|colspan="2"| | |||
These primitives represent various components of the technic axle. They are orientated in the {x,z} plane. Except where noted below, and in the {y} dimension only, these primitives must not be scaled. | |||
|- | |||
| '''axle.dat''' || '''Technic Axle Section''' | |||
|- | |||
|style="width: 200px;"| [[File:Axle.png|200px|alt=Axle]] | |||
||This primitive comprises a 1LDu long section of technic axle, including its ends. It may be scaled in the {y} dimension to produce an axle of any length. | |||
|- | |||
| '''axlehol8.dat''' || '''Technic Axle Perimeter''' | |||
|- | |||
| [[File:Axlehol8.png|200px|alt=Axlehol8]] | |||
||This primitive is exclusively used for axles never for axle holes. | |||
|- | |||
| '''axlehol9.dat''' || '''Technic Axle Inner Edges''' | |||
|- | |||
| [[File:Axlehol9.png|200px|alt=Axlehol9]] | |||
||This primitive is exclusively used for axles never for axle holes. | |||
|- | |||
| '''axleho10.dat''' || '''Technic Axle Base Surface''' | |||
|- | |||
| [[File:Axleho10.png|200px|alt=Axleho10]] | |||
||This primitive is exclusively used for axles never for axle holes. | |||
|- | |||
| '''axleend.dat''' || '''Technic Axle End''' | |||
|- | |||
| [[File:axleend.png|200px|alt=Axleend]] | |||
||This primitive is used to produce the "plus-shaped" cross section of a technic axle. | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Technic axle hole primitives=== | |||
|- | |||
|colspan="2"| | |||
These primitives represent various components of the technic axle hole. They are orientated in the {x,z} plane. Except where noted below, and in the {y} dimension only, these primitives must not be scaled. | |||
|- | |||
| '''axlehole.dat''' || '''Technic axle hole - closed''' | |||
|- | |||
| [[File:Axlehole.png|200px|alt=Axlehole]] | |||
||This primitive produces a technic axle hole with the disc ends and all sides. It may be scaled in the {y} dimension as necessary. | |||
|- | |||
| '''axlehol2.dat''' || '''Technic axle hole - side edges''' | |||
|- | |||
| [[File:Axlehol2.png|200px|alt=Axlehol2]] | |||
||This primitive produces the edges at the ends of the "plus-shaped" technic axle. | |||
|- | |||
| '''axlehol3.dat''' || '''Technic axle hole - tooth outer edges''' | |||
|- | |||
| [[File:Axlehol3.png|200px|alt=Axlehol3]] | |||
||This primitive produces the outer edges of the teeth of a technic axle hole. | |||
|- | |||
| '''axl5hol8.dat''' || '''Technic Axle Hole Rounded Perimeter''' | |||
|- | |||
| [[File:Axl5hol8.png|200px|alt=Axl5hol8]] | |||
|| | |||
|- | |||
| '''axl5hol9.dat''' || '''Technic Axle Hole Rounded Tooth Outer Edges''' | |||
|- | |||
| [[File:Axl5hol9.png|200px|alt=Axl5hol9]] | |||
|| | |||
|- | |||
| '''axl5ho10.dat''' || '''Technic Axle Hole Rounded Tooth Surface''' | |||
|- | |||
| [[File:Axl5ho10.png|200px|alt=Axl5ho10]] | |||
|| | |||
|- | |||
| '''axl5end.dat''' || '''Technic Axle Hole Rounded End Surface''' | |||
|- | |||
| [[File:Axl5end.png|200px|alt=Axl5end]] | |||
|| | |||
|- | |||
| '''axlehol4.dat''' || '''Technic axle hole - open one side''' | |||
|- | |||
| [[File:Axlehol4.png|200px|alt=Axlehol4]] | |||
||This primitive produces a technic axle hole with one side omitted. It may be scaled in the {y} dimension as necessary. | |||
|- | |||
| '''axlehol5.dat''' || '''Technic axle hole - open two opposite sides''' | |||
|- | |||
| [[File:Axlehol5.png|200px|alt=Axlehol5]] | |||
||This primitive produces a technic axle hole with two opposite sides omitted. It may be scaled in the {y} dimension as necessary. | |||
|- | |||
| '''axlehol6.dat''' || '''Technic axle hole tooth''' | |||
|- | |||
| [[File:Axlehol6.png|200px|alt=Axlehol6]] | |||
||This primitive represents one tooth of a technic axle hole. It may be scaled in the {y} dimension as necessary. | |||
|- | |||
| '''axlehol7.dat''' || '''Technic axle hole - sides''' | |||
|- | |||
| [[File:Axlehol7.png|200px|alt=Axlehol7]] | |||
||This primitive comprises a 1LDu long section of outer sides of a technic axle. It may be scaled in the {y} dimension. | |||
|- | |||
| '''Axlehol0.dat''' || '''Technic Axle Hole Hint''' | |||
|- | |||
| [[File:Axlehol0.png|200px|alt=Axlehol0]] | |||
||This file is an invisible "axlehole" that can be used to hint irregular axleholes that cannot be modeled with conventional axlehole primitives. To use: add an axle.dat in your part, apply position and scaling so that it fills the axlehole, and substitute it with this primitive.<br> | |||
Note that the bounding axle sction in the image is for context only - there are no actual geometry producing lines contained in these files. | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Technic axle hole reduced=== | |||
|- | |||
| '''axl2hole.dat''' || '''Technic axle hole reduced''' | |||
|- | |||
|style="width: 200px;"| [[File:Axl2hole.png|200px|alt=Axl2hole]] | |||
||This primitive produces a technic axle hole with reduced teeth including the disc ends and all edges. It may be scaled in the {y} dimension as necessary. | |||
|- | |||
| '''axl2hol2.dat''' || '''Technic axle hole reduced - side edges''' | |||
|- | |||
| [[File:Axl2hol2.png|200px|alt=Axl2hol2]] | |||
||This primitive produces the edges at the ends of the "plus-shaped" reduced technic axle. | |||
|- | |||
| '''axl2hol3.dat''' || '''Technic axle hole reduced - tooth outer edges''' | |||
|- | |||
| [[File:Axl2hol3.png|200px|alt=Axl2hol3]] | |||
||This primitive produces the outer edges of the teeth of a reduced technic axle hole. | |||
|- | |||
| '''axl2hol8.dat''' || '''Technic axle hole reduced - perimeter''' | |||
|- | |||
| [[File:Axl2hol8.png|200px|alt=Axl2hol8]] | |||
||This primitive comprises a 1LDu long section of reduced technic axle, without any ends. It may be scaled in the {y} dimension as necessary. | |||
|- | |||
| '''axl2hol9.dat''' || '''Technic axle hole reduced - tooth inner edges''' | |||
|- | |||
| [[File:Axl2hol9.png|200px|alt=Axl2hol9]] | |||
||This primitive produces the inner edges of the reduced "plus-shaped" technic axle. | |||
|- | |||
| '''axl2ho10.dat''' || '''Technic axle hole reduced - tooth surface''' | |||
|- | |||
| [[File:Axl2ho10.png|200px|alt=Axl2ho10]] | |||
||This primitive used to produce the fill the "plus-shaped" cross section of a reduced technic axle to the bounding circle. | |||
|- | |||
| '''axl2end.dat''' || '''Technic axle hole reduced - end surface''' | |||
|- | |||
| [[File:Axl2end.png|200px|alt=Axl2end]] | |||
||This primitive is used to produce the "plus-shaped" cross section of a technic axle hole reduced. | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Technic axle hole semi-reduced=== | |||
|- | |||
| '''axl3hole.dat''' || '''Technic axle hole semi-reduced''' | |||
|- | |||
|style="width: 200px;"|[[File:Axl3hole.png|200px|alt=Axl3hole]] | |||
||This primitive produces a technic axle hole with semi-reduced teeth including the disc ends and all edges. It may be scaled in the {y} dimension as necessary. | |||
|- | |||
| '''axl3hol2.dat''' || ''' Technic axle hole semi-reduced - side edges''' | |||
|- | |||
| [[File:Axl3hol2.png|200px|alt=Axl3hol2]] | |||
||This primitive produces the edges at the ends of the "plus-shaped" semi-reduced technic axle. | |||
|- | |||
| '''axl3hol3.dat''' || '''Technic axle hole semi-reduced - tooth outer edges''' | |||
|- | |||
| [[File:Axl3hol3.png|200px|alt=Axl3hol3]] | |||
||This primitive produces the outer edges of the teeth of a semi-reduced technic axle hole. | |||
|- | |||
| '''axl3hol6.dat''' || '''Technic axle hole semi-reduced tooth''' | |||
|- | |||
| [[File:Axl3hol6.png|200px|alt=Axl3hol6]] | |||
||This primitive represents the teeth of a semi-reduced technic axle hole. It may be scaled in the {y} dimension as necessary. | |||
|- | |||
| '''axl3hol8.dat''' || '''Technic axle hole semi-reduced - perimeter''' | |||
|- | |||
| [[File:Axl3hol8.png|200px|alt=Axl3hol8]] | |||
||This primitive comprises a 1LDu long section of semi-reduced technic axle, without any ends. It may be scaled in the {y} dimension as necessary. | |||
|- | |||
| '''axl3hol9.dat''' || '''Technic axle hole semi-reduced - tooth inner edges''' | |||
|- | |||
| [[File:Axl3hol9.png|200px|alt=Axl3hol9]] | |||
||This primitive produces the inner edges of the semi-reduced "plus-shaped" technic axle. | |||
|- | |||
| '''axl3ho10.dat''' || ''' Technic axle hole semi-reduced - tooth surface''' | |||
|- | |||
| [[File:Axl3ho10.png|200px|alt=Axl3ho10]] | |||
|| This primitive used to produce the fill the "plus-shaped" cross section of a semi-reduced technic axle to the bounding circle. | |||
|- | |||
| '''axl3end.dat''' || '''Technic axle hole semi-reduced - end surface''' | |||
|- | |||
| [[File:Axl3end.png|200px|alt=Axl3end]] | |||
||This primitive is used to produce the "plus-shaped" cross section of a technic axle hole semi-reduced. | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Technic axle hole Two-toothed=== | |||
|- | |||
|style="width: 200px;"|'''axl4hole.dat'''|| '''Technic Axle Hole Two-toothed Sliding''' | |||
|- | |||
| [[File:Axl4hole.png|200px|alt=Axl4hole]] | |||
|| | |||
|- | |||
|'''axl4hol2.dat''' || '''Technic Axle Hole Two-toothed Sliding Side Edges''' | |||
|- | |||
| [[File:Axl4hol2.png|200px|alt=Axl4hol2]] | |||
|| | |||
|- | |||
|'''axl4hol3.dat''' || '''Technic Axle Hole Two-toothed Sliding Tooth Outer Edges''' | |||
|- | |||
| [[File:Axl4hol3.png|200px|alt=Axl4hol3]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Special Technic axle primitive=== | |||
|- | |||
| '''axlebeam.dat''' || '''Technic Axle Truncated to fit Technic Beam End Surface''' | |||
|- | |||
|style="width: 200px;"|[[File:Axlebeam.png|200px|alt=Axlebeam]] | |||
||This primitive produces the tip of an axle to be used between a cylinder of 9 LDu radius and an axle primitive. | |||
Usage example:<br> | |||
1 16 0 0 -10 9 0 0 0 0 -9 0 20 0 2-4cyli.dat<br> | |||
1 16 0 0 0 1 0 0 0 1 0 0 0 1 axlebeam.dat<br> | |||
1 16 0 -20 0 1 0 0 0 10 0 0 0 1 axlehol8.dat | |||
|- | |||
| '''axlesphe.dat''' || '''Technic axle - truncated to fit ball joint''' | |||
|- | |||
| [[File:Axlesphe.png|200px|alt=Axlesphe]] | |||
||This primitive produces the tip of an axle, truncated to fit a 12.81 LDu radius sphere. | |||
Usage example:<br> | |||
1 16 0 0 0 12.81 0 0 0 0 12.81 0 -12.81 0 8-8sphe.dat<br> | |||
1 16 0 0 0 1 0 0 0 1 0 0 0 1 axlesphe.dat<br> | |||
1 16 0 -20 0 1 0 0 0 7.19 0 0 0 1 axlehol8.dat | |||
|- | |||
| '''axles.dat''' || '''Axle Sloped''' | |||
|- | |||
| [[File:Axles.png|200px|alt=Axles]] | |||
||This primitive produces the tip of an axle, truncated by a slope with the height of 1 LDu. It may be scaled in the {y} dimension as necessary. | |||
|- | |||
| '''axlecap.dat''' || '''Axle Endcap''' | |||
|- | |||
| [[File:Axlecap.png|200px|alt=Axlecap]] | |||
||This primitive produces the beveled tip of an axle. | |||
|- | |||
| '''axlecaph.dat''' || '''Axle Endcap with Hole 4D''' | |||
|- | |||
| [[File:Axlecaph.png|200px|alt=Axlecaph]] | |||
||This primitive produces the beveled tip of an axle with a center hole of 2 LDu radius. | |||
|- | |||
| '''axlecaph2.dat''' || '''Axle Endcap with Hole 5D''' | |||
|- | |||
| [[File:Axlecaph2.png|200px|alt=Axlecaph2]] | |||
||This primitive produces the beveled tip of an axle with a center hole of 2.5 LDu radius. | |||
|- | |||
| '''axleconnect.dat''' || '''Technic Axle to Connector Hole Perpendicular Joint 0.5''' | |||
|- | |||
| [[File:Axleconnect.png|200px|alt=Axleconnect]] | |||
||This primitive produces a right angle connection between an axle and a Technic connector hole. | |||
Usage example:<br> | |||
1 16 0 0 0 1 0 0 0 1 0 0 0 1 axleconnect.dat<br> | |||
1 16 0 0 0 -1 0 0 0 1 0 0 0 1 axleconnect.dat<br> | |||
1 16 0 0 0 1 0 0 0 1 0 0 0 1 connhole.dat<br> | |||
1 16 0 0 -30 0 0 -1 -1 0 0 0 20 0 axle.dat | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Technic castellated bush primitives=== | |||
|- | |||
|colspan="2"| | |||
These primitives are various representations of the castellated technic bush. They are orientated with the technic axle hole along the {y} axis and must not be scaled. | |||
|- | |||
| '''bushlock.dat''' || '''Technic 16-tooth castellation - long teeth''' | |||
|- | |||
|style="width: 200px;"|[[File:Bushlock.png|200px|alt=Bushlock]] | |||
|| | |||
|- | |- | ||
| ''' | |||
| '''bushloc2.dat''' || '''Technic 16-tooth castellation - regular teeth''' | |||
|- | |||
| [[File:Bushloc2.png|200px|alt=Bushloc2]] | |||
|| | |||
|- | |||
| '''bushloc3.dat''' || '''Technic 16-tooth castellation - regular teeth indented''' | |||
|- | |||
| [[File:Bushloc3.png|200px|alt=Bushloc3]] | |||
||This primitive differs from bushloc2.dat in that the teeth are indented in four places to allow it to fit between four adjacent studs. | |||
|- | |||
| '''bushloc4.dat''' || '''Technic 16-tooth castellation - short teeth''' | |||
|- | |||
| [[File:Bushloc4.png|200px|alt=Bushloc4]] | |||
|| | |||
|- | |||
| '''steerend.dat''' || '''Curved end to technic 1xn plate with 16-tooth castellation on underside''' | |||
|- | |||
| [[File:Steerend.png|200px|alt=Steerend]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Technic bush primtives=== | |||
|- | |||
|colspan="2"| | |||
These primitives are usd to construct technic bush parts. | |||
|- | |||
| '''bush.dat''' || '''Technic bush with collar at one end''' | |||
|- | |||
|style="width: 200px;" |[[File:Bush.png|200px|alt=Bush]] | |||
|| | |||
|- | |||
| '''bush0.dat''' || '''Technic bush without end collars''' | |||
|- | |||
| [[File:Bush0.png|200px|alt=Bush0]] | |||
|| | |||
|- | |||
| '''bush1.dat''' || '''Technic bush collar quarter''' | |||
|- | |||
| [[File:Bush1.png|200px|alt=Bush1]] | |||
|| | |||
|- | |||
| '''bush2.dat''' || '''Technic Bush End 0.25''' | |||
|- | |||
| [[File:Bush2.png|200px|alt=Bush2]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Technic connector primitives=== | |||
|- | |||
|colspan="2"| | |||
These primitives are used to contruct technic connector pegs. They are orientated with the technic axle hole along the {y} axis and must not be scaled. | |||
|- | |||
| '''connect.dat''' || '''Technic connector - long with collar''' | |||
|- | |||
|style="width: 200px;" |[[File:Connect.png|200px|alt=Connect]] | |||
|| | |||
|- | |||
| '''connect2.dat''' || '''Technic connector - long without collar''' | |||
|- | |||
| [[File:Connect2.png|200px|alt=Connect2]] | |||
|| | |||
|- | |||
| '''connect3.dat''' || '''Technic connector - short with collar''' | |||
|- | |||
| [[File:Connect3.png|200px|alt=Connect3]] | |||
|| | |||
|- | |||
| '''connect4.dat''' || '''Technic connector - short without collar''' | |||
|- | |||
| [[File:Connect4.png|200px|alt=Connect4]] | |||
|| | |||
|- | |||
| '''connect5.dat''' || '''Technic connector - long with collar and slot''' | |||
|- | |||
| [[File:Connect5.png|200px|alt=Connect5]] | |||
|| | |||
|- | |||
| '''connect6.dat''' || '''Technic connector - long with collar and notches''' | |||
|- | |||
| [[File:Connect6.png|200px|alt=Connect6]] | |||
|| | |||
|- | |||
| '''connect7.dat''' || '''Technic connector - long with rectangular centre hole and thin (frictionless) ribs''' | |||
|- | |||
| [[File:Connect7.png|200px|alt=Connect7]] | |||
|| | |||
|- | |||
| '''connect8.dat''' || '''Technic connector - long with collar and blind hole''' | |||
|- | |||
| [[File:Connect8.png|200px|alt=Connect8]] | |||
|| | |||
|- | |||
| '''connect10.dat''' || '''Technic Pin 1.0 without Base Collar and Rectangular Centre Hole''' | |||
|- | |||
| [[File:Connect10.png|200px|alt=Connect10]] | |||
|| | |||
|- | |||
| '''connectcollar1.dat''' || '''Technic Pin Collar Half with Rectangular Hole and Short Slit''' | |||
|- | |||
| [[File:Connectcollar1.png|200px|alt=Connectcollar1]] | |||
|| | |||
|- | |||
| '''connectcollar2.dat''' || '''Technic Pin Collar Half with Small Rectangular Hole and Short Slit''' | |||
|- | |||
| [[File:Connectcollar2.png|200px|alt=Connectcollar2]] | |||
|| | |||
|- | |||
| '''connectcollar3.dat''' || '''Technic Pin Collar Half with Rectangular Hole and Long Slit''' | |||
|- | |||
| [[File:Connectcollar3.png|200px|alt=Connectcollar3]] | |||
|| | |||
|- | |||
| '''connectcollar4.dat''' || '''Technic Pin Collar Half with Small Rectangular Hole and Long Slit''' | |||
|- | |||
| [[File:Connectcollar4.png|200px|alt=Connectcollar4]] | |||
|| | |||
|- | |||
| '''connectcollar5.dat''' || '''Technic Pin Collar Half with Round Hole and Short Slit''' | |||
|- | |||
| [[File:Connectcollar5.png|200px|alt=Connectcollar5]] | |||
|| | |||
|- | |||
| '''connectslit1.dat''' || '''Technic Pin Long Middle Slit Half with Rectangular Hole''' | |||
|- | |||
|[[File:Connectslit1.png|x200px|alt=Connectslit1]] | |||
|| | |||
|- | |||
| '''connectslit2.dat''' || '''Technic Pin Long Middle Slit Half with Small Rectangular Hole''' | |||
|- | |||
| [[File:Connectslit2.png|x200px|alt=Connectslit2]] | |||
|| | |||
|- | |||
| '''confric.dat''' || '''Technic connector with friction - long with collar''' | |||
|- | |||
| [[File:Confric.png|200px|alt=Confric]] | |||
|| | |||
|- | |||
| '''confric2.dat''' || '''Technic connector with friction - long without collar''' | |||
|- | |||
| [[File:Confric2.png|200px|alt=Confric2]] | |||
|| | |||
|- | |||
| '''confric3.dat''' || '''Technic connector with friction - long with rectangular centre hole and collar''' | |||
|- | |||
| [[File:Confric3.png|200px|alt=Confric3]] | |||
|| | |||
|- | |||
| '''confric4.dat''' || '''Technic connector with friction - long with collar and blind hole''' | |||
|- | |||
| [[File:Confric4.png|200px|alt=Confric4]] | |||
|| | |||
|- | |||
| '''confric5.dat''' || '''Technic connector with friction - long with collar and slot''' | |||
|- | |||
| [[File:Confric5.png|200px|alt=Confric5]] | |||
|| | |||
|- | |||
| '''confric6.dat''' || '''Technic connector with friction - long without collar with slot''' | |||
|- | |||
| [[File:Confric6.png|200px|alt=Confric6]] | |||
|| | |||
|- | |||
| '''confric8.dat''' || '''Technic connector with friction - middle section with collar and slot''' | |||
|- | |||
| [[File:Confric8.png|200px|alt=Confric8]] | |||
|| | |||
|- | |||
| '''confric9.dat''' || '''Technic connector with friction - middle section slotted with unsplit base collar''' | |||
|- | |||
| [[File:Confric9.png|200px|alt=Confric9]] | |||
|| | |||
|- | |||
| '''fric.dat''' || '''Technic Pin Friction Rib Short with Rounded End''' | |||
|- | |||
|[[File:Fric.png|x200px|alt=Fric]] | |||
|| | |||
|- | |||
| '''confricrib1.dat''' || '''Technic Friction Pin Rib''' | |||
|- | |||
| [[File:Confricrib1.png|x200px|alt=Confricrib1]] | |||
|| | |||
|- | |||
| '''confricrib2''' || '''Technic Friction Pin 3 Ribs 120 Degrees''' | |||
|- | |||
| [[File:Confricrib2.png|x200px|alt=Confricrib2]] | |||
|| | |||
|- | |||
| '''confricrib3.dat''' || '''Technic Friction Pin Long Rib''' | |||
|- | |||
| [[File:Confricrib3.png|x200px|alt=Confricrib3]] | |||
|| | |||
|- | |||
| '''confricrib4.dat''' || '''Technic Friction Pin Long Stop Ring''' | |||
|- | |||
| [[File:Confricrib4.png|x200px|alt=Confricrib4]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Technic connector hole primitives=== | |||
|- | |||
|colspan="2"| | |||
These primitives are used to contruct technic connector peg holes. They are orientated with the technic axle hole along the {y} axis. They must not be scaled in the {x} or {z} dimensions, but the peghole and npeghol families of primitives may be scaled in the {y} dimension. | |||
|- | |||
| '''connhole.dat''' || '''Technic beam hole long''' | |||
|- | |||
|style="width: 200px;"|[[File:Connhole.png|200px|alt=Connhole]] | |||
||This primitive is used for Technic connector peg holes in 20LDu wide Technic beams. | |||
|- | |||
| '''connhol2.dat''' || '''Technic beam hole long with extended end''' | |||
|- | |||
| [[File:Connhol2.png|200px|alt=Connhol2]] | |||
||This primitive is used for Technic connector peg holes in 20LDu wide Technic parts with an extended indentation. | |||
|- | |||
| '''connhol3.dat''' || '''Technic beam hole long with only one end''' | |||
|- | |||
| [[File:Connhol3.png|200px|alt=Connhol3]] | |||
||This primitive is used for Technic connector peg holes for use in Technic parts with a narrow beam section. | |||
|- | |||
| '''beamhole.dat''' || '''Technic beam hole long with extension to adjacent hole''' | |||
|- | |||
|[[File:Beamhole.png|200px|alt=Beamhole]] | |||
||This primitive is used for Technic connector peg holes at the end of 20LDu wide Technic beams. | |||
|- | |||
| '''beamhol2.dat''' || '''Technic beam hole short with extension to adjacent hole''' | |||
|- | |||
| [[File:Beamhol2.png|200px|alt=Beamhol2]] | |||
||This primitive is used for Technic connector peg holes at the end of 10LDu wide Technic beams. | |||
|- | |||
| '''peghole.dat''' || '''Technic connector hole''' | |||
|- | |||
|[[File:Peghole.png|200px|alt=Peghole]] | |||
|| | |||
|- | |||
| '''peghole2.dat''' || '''Technic connector hole - 180 degrees - long''' | |||
|- | |||
|[[File:Peghole2.png|200px|alt=Peghole2]] | |||
|| | |||
|- | |||
| '''peghole3.dat''' || '''Technic connector hole - 90 degrees''' | |||
|- | |||
|[[File:Peghole3.png|200px|alt=Peghole3]] | |||
|| | |||
|- | |||
| '''peghole4.dat''' || '''Technic connector hole - 180 degrees - short''' | |||
|- | |||
|[[File:Peghole4.png|200px|alt=Peghole4]] | |||
|| | |||
|- | |||
| '''peghole5.dat''' || '''Technic connector hole - 180 degrees - medium''' | |||
|- | |||
|[[File:Peghole5.png|200px|alt=Peghole5]] | |||
|| | |||
|- | |||
| '''peghole6.dat''' || '''Technic connector hole - end extended''' | |||
|- | |||
|[[File:Peghole6.png|200px|alt=Peghole6]] | |||
|| | |||
|- | |||
| '''npeghole.dat''' || '''Technic connector hole negative without top surface extensions''' | |||
|- | |||
|[[File:Npeghole.png|200px|alt=Npeghole]] | |||
|| | |||
|- | |||
| '''npeghol2.dat''' || '''Technic connector hole negative with top surface extensions''' | |||
|- | |||
|[[File:Npeghol2.png|200px|alt=Npeghol2]] | |||
|| | |||
|- | |||
| '''npeghol3.dat''' || '''Technic peg hole to connector hole negative without top surface extensions''' | |||
|- | |||
|[[File:Npeghol3.png|200px|alt=Npeghol3]] | |||
||This primitive is designed to fill the gap between an axlehol4 or axlehol5 primitive and a Technic peg hole. | |||
|- | |||
| '''npeghol3.dat''' || '''Technic peg hole to connector hole negative without top surface extensions''' | |||
|- | |||
|[[File:Npeghol3.png|200px|alt=Npeghol3]] | |||
||This primitive is designed to fill the gap between an axlehol4 or axlehol5 primitive and a Technic peg hole. | |||
|- | |||
| '''npeghol3a.dat''' || '''Technic Peg Hole / Axle Hole Negative without Top Surface Extensions without One Edge''' | |||
|- | |||
|[[File:Npeghol3a.png|200px|alt=Npeghol3a]] | |||
|| | |||
|- | |||
| '''npeghol4.dat''' || '''Technic peg hole to connector hole negative with top surface extensions''' | |||
|- | |||
|[[File:Npeghol4.png|200px|alt=Npeghol4]] | |||
|| | |||
|- | |||
| '''npeghol5.dat''' || '''Technic peg hole to axle hole negative with top surface extensions''' | |||
|- | |||
|[[File:Npeghol5.png|200px|alt=Npeghol5]] | |||
|| | |||
|- | |||
| '''npeghol6.dat''' || '''Technic peg hole to axle hole negative quarter for beams''' | |||
|- | |||
|[[File:Npeghol6.png|x200px|alt=Npeghol6]] | |||
|| | |||
|- | |||
| '''npeghol6a.dat''' || '''Technic Peg Hole Negative 0.25''' | |||
|- | |||
|[[File:Npeghol6a.png|200px|alt=Npeghol6a]] | |||
|| | |||
|- | |||
| '''npeghol6b.dat''' || '''Technic Peg Hole Negative 0.25 with Middle Tab''' | |||
|- | |||
|[[File:Npeghol6b.png|200px|alt=Npeghol6b]] | |||
|| | |||
|- | |||
| '''npeghol6c.dat''' || '''Technic Peg Hole Negative 0.25 without One Edge''' | |||
|- | |||
|[[File:Npeghol6c.png|200px|alt=Npeghol6c]] | |||
|| | |||
|- | |||
| '''npeghol6d.dat''' || '''Technic Peg Hole Negative 0.25 without Extension''' | |||
|- | |||
|[[File:Npeghol6d.png|200px|alt=Npeghol6d]] | |||
|| | |||
|- | |||
| '''npeghol6e.dat''' || '''Technic Peg Hole Negative 0.25 Walls Only''' | |||
|- | |||
|[[File:Npeghol6e.png|200px|alt=Npeghol6e]] | |||
|| | |||
|- | |||
| '''npeghol6f.dat''' || '''Technic Peg Hole Negative 0.25 Padding Small (6.3639 LDU)''' | |||
|- | |||
|[[File:Npeghol6f.png|200px|alt=Npeghol6f]] | |||
|| | |||
|- | |||
| '''npeghol6g.dat''' || '''Technic Peg Hole Negative 0.25 Padding Large (9 LDU)''' | |||
|- | |||
|[[File:Npeghol6g.png|200px|alt=Npeghol6g]] | |||
|| | |||
|- | |||
| '''npeghol7.dat''' || '''Technic Peg Hole Negative 0.5 without Top Surface Extensions''' | |||
|- | |||
|[[File:Npeghol7.png|200px|alt=Npeghol7]] | |||
|| | |||
|- | |||
| '''npeghol7a.dat''' || '''Technic Peg Hole Negative 0.5 with Top Surface Extensions''' | |||
|- | |||
|[[File:Npeghol7a.png|200px|alt=Npeghol7a]] | |||
|| | |||
|- | |||
| '''npeghol8.dat''' || '''Technic Peg Hole Negative for Alternate Beam Type 1 Half without Extensions''' | |||
|- | |||
|[[File:Npeghol8.png|200px|alt=Npeghol8]] | |||
|| | |||
|- | |||
| '''npeghol9.dat''' || '''Technic Peg Hole Negative for Alternate Beam Type 2 with Extensions''' | |||
|- | |||
|[[File:Npeghol9.png|200px|alt=Npeghol9]] | |||
|| | |||
|- | |||
| '''npeghol10.dat''' || '''Technic Peg Hole Negative for Alternate Beam Type 2 without Extensions''' | |||
|- | |||
|[[File:Npeghol10.png|200px|alt=Npeghol10]] | |||
|| | |||
|- | |||
| '''npeghol11.dat''' || '''Technic Peg Hole Negative for Alternate Beam Type 3''' | |||
|- | |||
|[[File:Npeghol11.png|x200px|alt=Npeghol11]] | |||
|| | |||
|- | |||
| '''npeghol12.dat''' || '''Technic Peg Hole with Extended Perimeter (One Side) and Surface''' | |||
|- | |||
|[[File:Npeghol12.png|200px|alt=Npeghol12]] | |||
|| | |||
|- | |||
| '''npeghol13.dat''' || '''Technic Peg Hole with Extended Perimeter (Two Sides) and Surface''' | |||
|- | |||
|[[File:Npeghol13.png|200px|alt=Npeghol13]] | |||
|| | |||
|- | |||
| <s>'''npeghol15.dat'''</s> || <s>'''~Technic Peg Hole Corner 0.25 (Obsolete)'''</s> | |||
|- | |||
|[[File:Npeghol15.png|200px|alt=Npeghol15]] | |||
|| | |||
|- | |||
| '''npeghol15b.dat''' || '''Technic Peg Hole Corner with Wide Tabs on 1 Side 0.125''' | |||
|- | |||
|[[File:Npeghol15b.png|200px|alt=Npeghol15b]] | |||
|| | |||
|- | |||
| <s>'''npeghol16.dat'''</s> || <s>'''~Technic Peg Hole Corner 0.125 (Obsolete)'''</s> | |||
|- | |||
|[[File:Npeghol16.png|200px|alt=Npeghol16]] | |||
|| | |||
|- | |||
| <s>'''npeghol17.dat'''</s> || <s>'''~Technic Peg Hole Negative with Cut Corners (Obsolete)'''</s> | |||
|- | |||
|[[File:Npeghol17.png|200px|alt=Npeghol17]] | |||
|| | |||
|- | |||
| '''npeghol18.dat''' || '''Technic Peg Hole Corner 0.125 Without Lower Faces''' | |||
|- | |||
|[[File:Npeghol18.png|200px|alt=Npeghol18]] | |||
|| | |||
|- | |||
| '''npeghol18a.dat''' || '''Technic Peg Hole Corner 0.125 without Faces''' | |||
|- | |||
|[[File:Npeghol18a.png|200px|alt=Npeghol18a]] | |||
|| | |||
|- | |||
| '''npeghol19.dat''' || '''Technic Peg Hole Negative for Alternate Beam Type 3 Top Half without Extensions''' | |||
|- | |||
|[[File:Npeghol19.png|200px|alt=Npeghol19]] | |||
|| | |||
|- | |||
| '''npeghol20.dat''' || '''Technic Peg Hole Negative for Alternate Beam Type 4 without Extensions''' | |||
|- | |||
|[[File:Npeghol20.png|200px|alt=Npeghol20]] | |||
|| | |||
|- | |||
| '''npeghol21.dat''' || '''Technic Peg Hole Negative for Alternate Beam Type 4 Half with Recessed Side''' | |||
|- | |||
|[[File:Npeghol21.png|200px|alt=Npeghol21]] | |||
|| | |||
|- | |||
| '''npeghol22.dat''' || '''Technic Peg Hole Negative for Alternate Beam Type 4 Half with Recessed Top Surface''' | |||
|- | |||
|[[File:Npeghol22.png|200px|alt=Npeghol21]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Technic gear tooth primitives=== | |||
|- | |||
|colspan="2"| | |||
These primitives are used to contruct technic gears and racks. Gear teeth are shaped differently depending on the diameter of the gear wheel. These primitives must not be scaled. | |||
|- | |||
| '''tooth8.dat''' || '''Tooth for 8-tooth Technic gears''' | |||
|- | |||
|style="width: 200px;"|[[File:Tooth8.png|200px|alt=Tooth8]] | |||
|| | |||
|- | |||
| '''tooth8a.dat''' || '''Single Tooth for Technic Gear 8 Tooth Reinforced''' | |||
|- | |||
| [[File:Tooth8a.png|200px|alt=Tooth8a]] | |||
|| | |||
|- | |||
| '''tooth16.dat''' || '''Tooth for 16-tooth Technic gears''' | |||
|- | |||
| [[File:Tooth16.png|200px|alt=Tooth16]] | |||
|| | |||
|- | |||
| '''tooth24.dat''' || '''Tooth for 24-tooth Technic gears''' | |||
|- | |||
| [[File:Tooth24.png|200px|alt=Tooth24]] | |||
|| | |||
|- | |||
| '''tooth24a.dat''' || '''Tooth for 24-tooth Technic Crown Gear Type 2''' | |||
|- | |||
| [[File:Tooth24a.png|200px|alt=Tooth24a]] | |||
|| | |||
|- | |||
| '''tooth24b.dat''' || '''Tooth for 24-tooth Technic Crown Gear Type 3''' | |||
|- | |||
| [[File:Tooth24b.png|200px|alt=Tooth24b]] | |||
|| | |||
|- | |||
| '''tooth24c.dat''' || '''Tooth for 24-tooth Technic Crown Gear Type 1''' | |||
|- | |||
| [[File:Tooth24c.png|200px|alt=Tooth24c]] | |||
|| | |||
|- | |||
| '''tooth40.dat''' || '''Tooth for 40-tooth Technic gears''' | |||
|- | |||
| [[File:Tooth40.png|200px|alt=Tooth40]] | |||
|| | |||
|- | |||
| '''toothb12.dat''' || '''Tooth for 12-tooth Technic bevel gears''' | |||
|- | |||
| [[File:Toothb12.png|200px|alt=Toothb12]] | |||
|| | |||
|- | |||
| '''toothb14.dat''' || '''Tooth for 14-tooth Technic bevel gears''' | |||
|- | |||
| [[File:Toothb14.png|x200px|alt=Toothb14]] | |||
|| | |||
|- | |||
| '''toothb20.dat''' || '''Tooth for 20-tooth Technic bevel gears''' | |||
|- | |||
| [[File:Toothb20.png|200px|alt=Toothb20]] | |||
|| | |||
|- | |||
| '''tootb28.dat''' || '''Full size tooth for 28-tooth Technic bevel gears''' | |||
|- | |||
| [[File:Tootb28.png|x200px|alt=Tootb28]] | |||
|| | |||
|- | |||
| '''tootb28s.dat''' || '''Short tooth for 28-tooth Technic bevel gears''' | |||
|- | |||
| [[File:Tootb28s.png|x200px|alt=Tootb28s]] | |||
|| | |||
|- | |||
| '''toothb28d.dat''' || '''Single Tooth for Technic Double Bevel Gear 28 Tooth''' | |||
|- | |||
| [[File:Toothb28d.png|x200px|alt=Toothb28d]] | |||
|| | |||
|- | |||
| '''toothd28.dat''' || '''Tooth for 28-tooth Technic Differential''' | |||
|- | |||
| [[File:Toothd28.png|x200px|alt=Toothd28]] | |||
|| | |||
|- | |||
| '''toothr.dat''' || '''Tooth for Technic Gear Racks''' | |||
|- | |||
| [[File:Toothr.png|200px|alt=Toothr]] | |||
|| | |||
|- | |||
| '''toothl.dat''' || '''Tooth for Large Technic Gears''' | |||
|- | |||
| [[File:Toothl.png|200px|alt=Toothl]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Technic Duplo primitives=== | |||
|- | |||
|colspan="2"| | |||
These primitives represent various components of the Duplo-scale technic parts. | |||
|- | |||
| '''dhingesocket.dat''' || '''Duplo Hinge Socket''' | |||
|- | |||
|[[File:Dhingesocket.png|200px|alt=Dhingesocket]] | |||
|- | |||
| '''dhingepin2.dat''' || '''Duplo Hinge Pin with Deep Recess and Reinforcements''' | |||
|- | |||
|[[File:Dhingepin2.png|200px|alt=Dhingepin2]] | |||
|- | |||
| '''daxle.dat''' || '''Duplo technic axle section''' | |||
|- | |||
|style="width: 200px;"|[[File:Daxle.png|200px|alt=Daxle]] | |||
||This primitive is comprises a 1LDu long section of duplo technic axle, including its ends. It may be scaled in the {y} dimension to produce an axle of any length. | |||
|- | |||
| '''daxlehole.dat''' || '''Duplo technic axle hole - closed''' | |||
|- | |||
| [[File:Daxlehole.png|200px|alt=Daxlehole]] | |||
||This primitive produces a 1LDu long section of duplo technic axle hole structure. It may be scaled in the {y} dimension as necessary. | |||
|- | |||
| '''daxlehub.dat''' || '''Duplo technic axle hub''' | |||
|- | |||
| [[File:Daxlehub.png|200px|alt=Daxlehub]] | |||
||This primitive produces a 1LDu long section of th eouter hub for a duplo technic axle hole. It may be scaled in the {y} dimension as necessary. | |||
|- | |||
| '''dconnhole.dat''' || '''Duplo technic connector hole''' | |||
|- | |||
| [[File:Dconnhole.png|200px|alt=Dconnhole]] | |||
|| | |||
|- | |||
| '''dnpeghole.dat''' || '''Duplo technic peg hole negative''' | |||
|- | |||
| [[File:Dnpeghole.png|200px|alt=Dnpeghole]] | |||
|| | |||
|- | |||
| '''dtooth8.dat''' || '''Tooth for 8-tooth Duplo Technic gears''' | |||
|- | |||
| [[File:Dtooth8.png|200px|alt=Dtooth8]] | |||
|| | |||
|- | |||
| '''dtoothc.dat''' || '''Tooth for 24-tooth Duplo Technic crown gears''' | |||
|- | |||
| [[File:Dtoothc.png|200px|alt=Dtoothc]] | |||
|| | |||
|- | |||
| '''dtooth.dat''' || '''Tooth for Duplo Gears 24 and 40 Tooth''' | |||
|- | |||
| [[File:Dtooth.png|200px|alt=Dtooth]] | |||
|| | |||
|} | |||
</div> | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
==Stud primitives== | |||
<div class="mw-collapsible"> | |||
Each studxxx primitive described below has a matching low resolution stu2xxx primitive, used by the fast-draw mode of renderers - these stu2xxx primitive must never be used in part files. An additional primitive (studline.dat) is used to substitute a single line for studs by the super fast-draw mode of LDraw. | |||
All stud primitives are modelled with the solid disc uppermost, even if designed for the underside of parts (stud3, stud4, stud8, stud11). The origin is at the base of the stud and they extend for 4LDU in the {-y} dimension. To use for the underside, the primitives need to be inverted in the {y} dimension, viz. | |||
1 16 x y z 1 0 0 0 -1 0 0 0 1 stud3.dat | |||
These primitives must not be scaled in the {x} or {z} dimensions. Ideally they should not be scaled in the {y} dimension either, to allow the accurate substitution of chamfered studs by high-quality renderers [but this rule is flouted in the regular brick files, where stud4 is scaled by 5 to generate the underside tube]. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Studs without Logo=== | |||
|- | |||
| '''stud.dat''' || '''Regular stud''' | |||
|- | |||
|style="width: 200px;"|[[File:Stud.png|200px|alt=Stud]] | |||
|| | |||
|- | |||
| '''studa.dat''' || '''Regular stud without edge around base''' | |||
|- | |||
| [[File:Studa.png|200px|alt=Studa]] | |||
|| | |||
|- | |||
| '''stud26.dat''' || '''Stud without Logo''' | |||
|- | |||
| [[File:Stud26.png|200px|alt=Stud26]] | |||
||Regular stud, but without LEGO logo (eg. for third party products and LEGO parts where special studs exceptionally carry no logo) | |||
|- | |||
| '''studp01.dat''' || '''Regular stud with white dot''' | |||
|- | |||
| [[File:Studp01.png|200px|alt=Studp01]] | |||
|| | |||
|- | |||
| '''studel.dat''' || '''Regular electric stud''' | |||
|- | |||
| [[File:Studel.png|200px|alt=Studel]] | |||
||The electric contact is on the {-x} {-z} corner | |||
|- | |||
| '''stud10.dat''' || '''Truncated solid stud''' | |||
|- | |||
| [[File:Stud10.png|200px|alt=Stud10]] | |||
||For use on 2x2 round parts where the stud does not hang over the edge of the part. | |||
|- | |||
| '''stud15.dat''' || '''Moderately truncated solid stud''' | |||
|- | |||
| [[File:Stud15.png|200px|alt=Stud15]] | |||
||For use on 2x2 round parts where the stud does not hang over the edge of the part. | |||
|- | |||
| '''stud13.dat''' || '''Very truncated solid stud''' | |||
|- | |||
| [[File:Stud13.png|200px|alt=Stud13]] | |||
||For use on the 2x2 Light&Sound siren part where the stud does not extend over the edge of the part. | |||
|- | |||
| '''stud2.dat''' || '''Hollow stud''' | |||
|- | |||
| [[File:Stud2.png|200px|alt=Stud2]] | |||
|| | |||
|- | |||
| '''stud2a.dat''' || '''Hollow stud without edge around base''' | |||
|- | |||
| [[File:Stud2a.png|200px|alt=Stud2a]] | |||
|| | |||
|- | |||
| '''stud2s.dat''' || '''Hollow stud sloped''' | |||
|- | |||
| [[File:Stud2s.png|200px|alt=Stud2s]] | |||
|| | |||
|- | |||
| '''stud2s2.dat''' || '''Stud Tube Open Sliced for Open Stud with Inner Stopper Ring''' | |||
|- | |||
| [[File:Stud2s2.png|200px|alt=Stud2s2]] | |||
|| | |||
|- | |||
| '''stud2s2e.dat''' || '''Open Stud Extension with 0.5 LDU Inner Stopper Ring''' | |||
|- | |||
| [[File:Stud2s2e.png|200px|alt=Stud2s2e]] | |||
|| | |||
|- | |||
| '''stud17a.dat''' || '''Truncated hollow stud without edge around base''' | |||
|- | |||
| [[File:Stud17a.png|200px|alt=Stud17a]] | |||
||For use on 2x2 octagonal parts where the stud does not hang over the edge of the part. | |||
|- | |||
| '''stud9.dat''' || '''Hollow stud with small hole''' | |||
|- | |||
| [[File:Stud9.png|200px|alt=Stud9]] | |||
|| | |||
|- | |||
| '''stud6.dat''' || '''Truncated hollow stud''' | |||
|- | |||
| [[File:Stud6.png|200px|alt=Stud6]] | |||
||For use on 2x2 round parts where the stud does not extend over the edge of the part. | |||
|- | |||
| '''stud6a.dat''' || '''Truncated hollow stud without edge around base''' | |||
|- | |||
| [[File:Stud6a.png|200px|alt=Stud6a]] | |||
||For use on 2x2 round parts where the stud does not hang over the edge of the part. | |||
|- | |||
| '''stud3.dat''' || '''Small underside stud''' | |||
|- | |||
| [[File:Stud3.png|200px|alt=Stud3]] | |||
||For use on the underside of parts (usually plates) between the gaps for studs. This is modelled with the solid disc uppermost. To use for the underside of plates, it is necessary to invert in the {y} dimension, like | |||
1 16 x y z 1 0 0 0 -1 0 0 0 1 stud3.dat | |||
In real life, more recent parts use a hollow version of this underside stud. Since this serves no functional purpose and many parts exist with both varients, this feature is not modelled in LDraw parts and the solid version is always used. | |||
|- | |||
| '''stud3a.dat''' || '''Small underside stud without edge around base''' | |||
|- | |||
| [[File:Stud3a.png|200px|alt=Stud3a]] | |||
||See note for stud3. | |||
|- | |||
| '''studx.dat''' || '''Cross-shaped underside stud''' | |||
|- | |||
| [[File:Studx.png|200px|alt=Studx]] | |||
|| | |||
|- | |||
| '''stud12.dat''' || '''Cross-shaped underside stud for Minitalia parts''' | |||
|- | |||
| [[File:Stud12.png|200px|alt=Stud12]] | |||
|| | |||
|- | |||
| '''stud17.dat''' || '''Stud Open For Octagonal Parts''' | |||
|- | |||
| [[File:Stud17.png|200px|alt=Stud17]] | |||
|| | |||
|- | |||
| '''stud4.dat''' || '''Ring underside stud''' | |||
|- | |||
| [[File:Stud4.png|200px|alt=Stud4]] | |||
||See note for stud3. | |||
A semi-circular version of this is also available as: 5-16stud4, 2-4stud4.dat, 3-4stud4.dat. | |||
|- | |||
| '''stud4a.dat''' || '''Ring underside stud without edge around base''' | |||
|- | |||
| [[File:Stud4a.png|200px|alt=Stud4a]] | |||
||See note for stud3. | |||
|- | |||
| '''stud4s.dat''' || '''Ring underside stud with sloped end''' | |||
|- | |||
| [[File:Stud4s.png|200px|alt=Stud4s]] | |||
||See note for stud3. For use between a stud4a and a sloped surface. It is enough to know the Y-coordinates of the centre and of the outside circle. The difference of both coordinates is the height of the primitive to be applied. Finally, this primitive can be used with all sloped parts using a STUD4A. H = Y center sloped - Y common border. | |||
|- | |||
| '''stud4s2.dat''' || '''Ring underside stud with half sloped end''' | |||
|- | |||
| [[File:Stud4s2.png|200px|alt=Stud4s2]] | |||
||For use on the underside of sloping parts where the slope starts midway across the stud. See note for stud3. | |||
|- | |||
| '''stud4o.dat''' || '''Ring underside stud without outer cylinder''' | |||
|- | |||
| [[File:Stud4o.png|200px|alt=Stud4o]] | |||
|| | |||
|- | |||
| '''stud4od.dat''' || '''Ring underside stud without outer cylinder and top surface''' | |||
|- | |||
| [[File:Stud4od.png|200px|alt=Stud4od]] | |||
|| | |||
|- | |||
| '''stud4h.dat''' || '''Ring underside stud with extended hole''' | |||
|- | |||
| [[File:Stud4h.png|200px|alt=Stud4h]] | |||
||For use on the underside of plate thickness parts where the hole extends to the top surface of the plate. | |||
|- | |||
| '''1-16stud4.dat''' || '''Stud Tube Open 0.0625''' | |||
|- | |||
| [[File:1-16stud4.png|x200px|alt=1-16stud4]] | |||
|| | |||
|- | |||
| '''1-8stud4.dat''' || '''Stud Tube Open 0.125''' | |||
|- | |||
| [[File:1-8stud4.png|x200px|alt=1-8stud4]] | |||
|| | |||
|- | |||
| '''3-16stud4.dat''' || '''Stud Tube Open 0.1875''' | |||
|- | |||
| [[File:3-16stud4.png|x200px|alt=3-16stud4]] | |||
|| | |||
|- | |||
| '''1-4stud4.dat''' || '''Stud Tube Open 0.25''' | |||
|- | |||
| [[File:1-4stud4.png|x200px|alt=1-4stud4]] | |||
|| | |||
|- | |||
| '''2-4stud4.dat''' || '''Stud Tube Open 0.5''' | |||
|- | |||
| [[File:2-4stud4.png|200px|alt=2-4stud4]] | |||
|| | |||
|- | |||
| '''2-4stud4a.dat''' || '''Stud Tube Open 0.5 without Base Edges''' | |||
|- | |||
| [[File:2-4stud4a.png|200px|alt=2-4stud4a]] | |||
|| | |||
|- | |||
| '''3-4stud4.dat''' || '''Stud Tube Open 0.75''' | |||
|- | |||
| [[File:3-4stud4.png|200px|alt=3-4stud4]] | |||
|| | |||
|- | |||
| '''stud4f''n''s.dat''' || '''Ring underside stud with fillet stubs''' | |||
|- | |||
| [[File:Stud4f4s.png|200px|alt=Stud4fns]] | |||
||For use on the underside of parts where a strengthening fillet joins the stud. The | |||
number of fillets is indicated by n: 1=one fillet, 2=two opposite fillets, 3=three | |||
fillets, 4=four fillets, 5=two adjacent fillets. The fillet width is indicated by s: | |||
n=narrow (2LDu), s=standard (3LDu), w=wide (4LDu) | |||
''Currently available primitives:'' | |||
One fillet: stud4f1n, stud4f1s, stud4f1w<br> | |||
Two opposite fillets: stud4f2n, stud4f2s, stud4f2w<br> | |||
Three fillets: stud4f3s<br> | |||
Four fillets: stud4f4n, stud4f4s<br> | |||
Two adjacent fillets: stud4f5n<br> | |||
|- | |||
| '''st4jfil2.dat''' || '''Stud Tube Open to Fillet Narrow (2LDu) Joint''' | |||
|- | |||
| [[File:St4jfil2.png|x200px|alt=St4jfil2]] | |||
|| | |||
|- | |||
| '''st4jfil2oc.dat''' || '''Stud Tube Open to Fillet Narrow (2LDu) Joint Off Centre''' | |||
|- | |||
| [[File:St4jfil2oc.png|x200px|alt=St4jfil2oc]] | |||
|| | |||
|- | |||
| '''st4jfil3.dat''' || '''Stud Tube Open to Fillet Standard (3LDu) Joint''' | |||
|- | |||
| [[File:St4jfil3.png|x200px|alt=St4jfil3]] | |||
|| | |||
|- | |||
| '''st4jfil4.dat''' || '''Stud Tube Open to Fillet Wide (4LDu) Joint''' | |||
|- | |||
| [[File:St4jfil4.png|x200px|alt=St4jfil4]] | |||
|| | |||
|- | |||
| '''stud16.dat''' || '''Ring underside stud ‐ split''' | |||
|- | |||
| [[File:Stud16.png|200px|alt=Stud16]] | |||
||A divided underside stud, as typically used in minifig headwear. See also note for stud3. | |||
|- | |||
| '''stud16a.dat''' || '''Stud Tube Open Split without Edge Lines''' | |||
|- | |||
| [[File:Stud16a.png|200px|alt=Stud16a]] | |||
||A divided underside stud without edge lines, as typically used in minifig headwear. See also note for stud3. | |||
|- | |||
| '''stud16od.dat''' || '''Stud Tube Open Split without Edge Lines and Outside Surface''' | |||
|- | |||
| [[File:Stud16od.png|200px|alt=Stud16od]] | |||
||A divided underside stud without edge lines and outside surface, as typically used in minifig headwear. See also note for stud3. | |||
|- | |||
| '''stud21a.dat''' || '''Ring underside stud - split with single wide slot''' | |||
|- | |||
| [[File:Stud21a.png|200px|alt=Stud21a]] | |||
||A partially divided underside stud, used on pull-back motors. See also note for stud3. | |||
|- | |||
| '''stud22a.dat''' || '''Ring underside stud - split with double wide slot''' | |||
|- | |||
| [[File:Stud22a.png|200px|alt=Stud22a]] | |||
||A divided underside stud, used on pull-back motors. See also note for stud3. | |||
|- | |||
| '''stud18a.dat''' || '''Stud Tube Open Snap''' | |||
|- | |||
| [[File:Stud18a.png|200px|alt=Stud18a]] | |||
|| | |||
|- | |||
| '''filstud2.dat''' || '''Stud Filler with 2 Holes on Sides''' | |||
|- | |||
| [[File:Filstud2.png|200px|alt=Filstud2]] | |||
|| | |||
|- | |||
| '''filstud3.dat''' || '''Stud Filler with 3 Ribs for Hollow Studs''' | |||
|- | |||
| [[File:Filstud3.png|200px|alt=Filstud3]] | |||
|| | |||
|- | |||
| '''stud23.dat''' || '''Square underside stud hole''' | |||
|- | |||
| [[File:Stud23.png|200px|alt=Stud23]] | |||
|| | |||
|- | |||
| '''stud23d.dat''' || '''Stud Tube Open Square without Bottom Face and Edges''' | |||
|- | |||
| [[File:Stud23d.png|200px|alt=Stud23d]] | |||
|| | |||
|- | |||
| '''stud5.dat''' || '''Scala stud''' | |||
|- | |||
| [[File:Stud5.png|200px|alt=Stud5]] | |||
|| | |||
|- | |||
| '''stud24.dat''' || '''Stud Scala Hollow''' | |||
|- | |||
| [[File:Stud24.png|200px|alt=Stud24]] | |||
|| | |||
|- | |||
| '''stud20.dat''' || '''Duplo Stud''' | |||
|- | |||
| [[File:Stud20.png|200px|alt=Stud20]] | |||
|| | |||
|- | |||
| '''stud7.dat''' || '''Duplo hollow top stud''' | |||
|- | |||
| [[File:Stud7.png|200px|alt=Stud7]] | |||
|| | |||
|- | |||
| '''stud7a.dat''' || '''Duplo hollow top stud without edge around base''' | |||
|- | |||
| [[File:Stud7a.png|200px|alt=Stud7a]] | |||
|| | |||
|- | |||
| '''stud8.dat''' || '''Duplo hollow underside stud''' | |||
|- | |||
| [[File:Stud8.png|200px|alt=Stud8]] | |||
|| | |||
|- | |||
| '''stud8a.dat''' || '''Stud Duplo Tube without Base Edge''' | |||
|- | |||
| [[File:Stud8a.png|200px|alt=Stud8a]] | |||
|| | |||
|- | |||
| '''stud11.dat''' || '''Large Duplo hollow underside stud''' | |||
|- | |||
| [[File:Stud11.png|200px|alt=Stud11]] | |||
|| | |||
|- | |||
| '''stud27.dat''' || '''Duplo Hollow Middle Stud''' | |||
|- | |||
| [[File:Stud27.png|200px|alt=Stud27]] | |||
|| | |||
|- | |||
| '''stud27a.dat''' || '''Duplo Hollow Middle Stud without Edge around Base''' | |||
|- | |||
| [[File:Stud27a.png|200px|alt=Stud27a]] | |||
|| | |||
|- | |||
| '''stud28.dat''' || '''Duplo Tube and Stud Top''' | |||
|- | |||
| [[File:Stud28.png|200px|alt=Stud28]] | |||
|| | |||
|- | |||
| '''stud28a.dat''' || '''Duplo Tube and Stud Top without Base Edge''' | |||
|- | |||
| [[File:Stud28a.png|200px|alt=Stud28a]] | |||
|| | |||
|- | |||
| '''stud14.dat''' || '''Quatro stud''' | |||
|- | |||
| [[File:Stud14.png|200px|alt=Stud14]] | |||
|| | |||
|- | |||
| '''stud25.dat''' || '''Quatro underside stud''' | |||
|- | |||
| [[File:Stud25.png|200px|alt=Stud25]] | |||
|| | |||
|- | |||
| '''primotop.dat''' || '''Duplo Primo Stud''' | |||
|- | |||
| [[File:Primotop.png|200px|alt=Primotop]] | |||
|| | |||
|- | |||
| '''primobot.dat''' || '''Duplo Primo Underside Stud Socket''' | |||
|- | |||
| [[File:Primobot.png|200px|alt=Primobot]] | |||
|| | |||
|- | |||
| '''zstud.dat''' || '''Znap connector stud''' | |||
|- | |||
| [[File:Zstud.png|200px|alt=Zstud]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Studs with Logo=== | |||
|- | |||
| '''stud-logo.dat''' || '''Stud with LEGO Logo - Non-3D Thin Lines''' | |||
|- | |||
|style="width: 200px;"|[[File:Stud-logo(logo).png|200px|alt=Stud-logo]] | |||
|| | |||
|- | |||
| '''stud-logo2.dat''' || '''Stud with LEGO Logo - Non-3D Outlined''' | |||
|- | |||
| [[File:Stud-logo2(logo).png|200px|alt=Stud-logo2]] | |||
|| | |||
|- | |||
| '''stud-logo3.dat''' || '''Stud with LEGO Logo - 3D with Sharp Top''' | |||
|- | |||
| [[File:Stud-logo3(logo).png|200px|alt=Stud-logo3]] | |||
|| | |||
|- | |||
| '''stud-logo4.dat''' || '''Stud with LEGO Logo - 3D with Rounded Top''' | |||
|- | |||
| [[File:Stud-logo4(logo).png|200px|alt=Stud-logo4]] | |||
|| | |||
|- | |||
| '''stud-logo5.dat''' || '''Stud with LEGO Logo - 3D Flattened''' | |||
|- | |||
| [[File:Stud-logo5(logo).png|200px|alt=Stud-logo5]] | |||
|| | |||
|- | |||
| '''stud2-logo.dat''' || '''Stud Open with LEGO Logo - Non-3D Thin Lines''' | |||
|- | |||
| [[File:Stud2-logo.png|200px|alt=Stud2-logo]] | |||
|| | |||
|- | |||
| '''stud2-logo2''' || '''Stud Open with LEGO Logo - Non-3D Outlined''' | |||
|- | |||
| [[File:Stud2-logo2.png|200px|alt=Stud2-logo2]] | |||
|| | |||
|- | |||
| '''stud2-logo3''' || '''Stud Open with LEGO Logo - 3D with Sharp Top''' | |||
|- | |||
| [[File:Stud2-logo3.png|200px|alt=Stud2-logo3]] | |||
|| | |||
|- | |||
| '''stud2-logo4''' || '''Stud Open with LEGO Logo - 3D with Rounded Top''' | |||
|- | |||
| [[File:Stud2-logo4.png|200px|alt=Stud2-logo4]] | |||
|| | |||
|- | |||
| '''stud2-logo5''' || '''Stud Open with LEGO Logo - 3D Flattened''' | |||
|- | |||
| [[File:Stud2-logo5.png|200px|alt=Stud2-logo5]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Stud Holder Ridge primitives=== | |||
|- | |||
| '''ridge.dat''' || '''Underside Stud Holder Ridge''' | |||
|- | |||
|style="width: 200px;"|[[File:Ridge.png|200px|alt=Ridge]] | |||
|| | |||
|- | |||
| '''ridgea.dat''' || '''Underside Stud Holder Ridge without Base Edges''' | |||
|- | |||
| [[File:Ridgea.png|200px|alt=Ridgea]] | |||
|| | |||
|- | |||
| '''ridgee.dat''' || '''Underside Stud Holder Ridge Edge''' | |||
|- | |||
| [[File:Ridgee.png|200px|alt=Ridgee]] | |||
|| | |||
|- | |||
| '''ridges.dat''' || '''Underside Stud Holder Ridge Slope''' | |||
|- | |||
| [[File:Ridges.png|200px|alt=Ridges]] | |||
|| | |||
|} | |||
</div> | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
==Stud group primitives== | |||
<div class="mw-collapsible"> | |||
Stud groups are provided to reduce the size of part files with many regularly spaced studs. The naming convention is stug'''N'''-'''X'''x'''Z'''.dat, where: | |||
* '''N''' = type of stud (regular stud, hollow stud, underside stud, etc.) | |||
* '''X''' = number of studs on the x axis | |||
* '''Z''' = number of studs on the z axis | |||
To prevent an overload of the library with excessive combinations, the numbers on the x and z axis are limited to: | |||
* '''1xZ''' stugs | |||
* '''Xx1''' stugs (Due to stud orientation you cannot rotate a 1xZ stud group by 90 degrees to get a Xx1 stud group) | |||
* '''XxZ''' stugs where X = Z | |||
These primitives must not be scaled. | |||
{| class="wikitable" style="width: 100%;" | |||
| '''stug-mxn.dat''' || '''Regular stud''' | |||
|- | |||
|style="width: 200px;"|[[File:Stug-3x3.png|200px|alt=Stugmxn.dat]] | |||
||''Currently available primitives:'' | |||
1x2, 1x3, 1x4, 1x5, 1x6, 1x7, 1x8, 1x9, 1x10, 1x11, 1x12<br> | |||
2x1, 2x2<br> | |||
3x1, 3x3<br> | |||
4x1, 4x4<br> | |||
5x1, 5x5<br> | |||
6x1, 6x6<br> | |||
7x1, 7x7<br> | |||
8x1, 8x8<br> | |||
9x1, 9x9<br> | |||
10x1<br> | |||
11x1, 11x11<br> | |||
12x1, 12x12<br> | |||
16x16<br> | |||
|- | |||
| '''stug10-mxn''' || '''Stud Group Truncated Laterally Curved 40D''' | |||
|- | |||
|[[File:Stug10-2x2.png|200px|alt=Stug10-mxn]] | |||
||''Currently available primitives:'' | |||
2x2<br> | |||
|- | |||
| '''stug15-mxn''' || '''Stud Group Truncated Laterally Straight 40D''' | |||
|- | |||
|[[File:Stug15-2x2.png|200px|alt=Stug15-mxn]] | |||
||''Currently available primitives:'' | |||
2x2<br> | |||
|- | |||
| '''stugp01-mxn''' || '''Stud with Dot Pattern Group''' | |||
|- | |||
|[[File:Stugp01-1x3.png|200px|alt=Stugp01-mxn]] | |||
||''Currently available primitives:'' | |||
1x3, 1x4, 1x6, 1x10<br> | |||
|- | |||
| '''stug2-mxn''' || '''Hollow stud''' | |||
|- | |||
|[[File:Stug2-1x3.png|200px|alt=Stug2-mxn]] | |||
||''Currently available primitives:'' | |||
1x2, 1x3, 1x4, 1x6, 1x8, 1x10, 1x11, 1x12<br> | |||
2x1, 2x2<br> | |||
3x1<br> | |||
4x1, 4x4<br> | |||
5x1<br> | |||
6x1<br> | |||
8x1<br> | |||
10x1<br> | |||
12x1<br> | |||
|- | |||
| '''stug3-mxn''' || '''Underside solid stud''' | |||
|- | |||
|[[File:Stug3-1x3.png|200px|alt=Stug3-mxn]] | |||
||''Currently available primitives:'' | |||
1x2, 1x3, 1x4, 1x5, 1x6, 1x7, 1x8, 1x11<br> | |||
|- | |||
| '''stug4-mxn''' || '''Underside hollow stud''' | |||
|- | |||
|[[File:Stug4-3x3.png|200px|alt=Stug4-mxn]] | |||
||''Currently available primitives:'' | |||
1x2, 1x3, 1x4, 1x5, 1x6, 1x7, 1x8, 1x9, 1x10, 1x11<br> | |||
2x2<br> | |||
3x3<br> | |||
4x4<br> | |||
5x5<br> | |||
6x6<br> | |||
7x7<br> | |||
|- | |||
| '''stug7-mxn''' || '''Open Duplo stud''' | |||
|- | |||
|[[File:Stug7-3x3.png|200px|alt=Stug7-mxn]] | |||
||''Currently available primitives:'' | |||
1x2, 1x3, 1x4, 1x6, 1x8, | |||
2x2<br> | |||
3x3<br> | |||
4x4<br> | |||
6x6<br> | |||
|- | |||
| '''stug8-mxn''' || '''Underside Duplo stud''' | |||
|- | |||
|[[File:Stug8-1x3.png|200px|alt=Stug8-mxn]] | |||
||''Currently available primitives:'' | |||
1x3, 1x5<br> | |||
|- | |||
| '''stug20-mxn''' || '''Solid Duplo stud''' | |||
|- | |||
|[[File:Stug20-3x3.png|200px|alt=Stug20-mxn]] | |||
||''Currently available primitives:'' | |||
1x4, 1x5, 1x6, 1x7, 1x8<br> | |||
2x2<br> | |||
3x3<br> | |||
4x4<br> | |||
5x1<br> | |||
5x5<br> | |||
6x1<br> | |||
7x1, 7x7<br> | |||
8x8<br> | |||
|- | |||
| '''stug19-mxn''' || '''Scala Stud for Baseplates Group''' | |||
|- | |||
|[[File:Stug19-1x11.png|200px|alt=Stug19-mxn]] | |||
||''Currently available primitives:'' | |||
1x11<br> | |||
|- | |||
| '''stugel-mxn''' || '''Stud with Electric Contact Group''' | |||
|- | |||
|[[File:Stugel-2x2.png|200px|alt=Stugel-mxn]] | |||
||''Currently available primitives:'' | |||
2x2<br> | |||
|} | |||
</div> | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
==Logo primitives== | |||
<div class="mw-collapsible"> | |||
This section comprises various primitives of LEGO and non-LEGO logos mostly used on patterns and stickers. These might be used as primitives or inlined code to see fit. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===LEGO logo=== | |||
|- | |||
|style="width: 200px;"|'''logo.dat''' || '''LEGO Logo for Studs - Non-3D Thin Lines''' | |||
|- | |||
|[[File:Logo.png|200px|alt=Logo]] | |||
|| | |||
|- | |||
| '''logo2.dat''' || '''LEGO Logo for Studs - Non-3D Outlined''' | |||
|- | |||
|[[File:Logo2.png|200px|alt=Logo2]] | |||
|| | |||
|- | |||
| '''logo3.dat''' || '''LEGO Logo for Studs - 3D with Sharp Top''' | |||
|- | |||
|[[File:Logo3.png|200px|alt=Logo3]] | |||
|| | |||
|- | |||
| '''logo4.dat''' || '''LEGO Logo for Studs - 3D with Rounded Top''' | |||
|- | |||
|[[File:Logo4.png|200px|alt=Logo4]] | |||
|| | |||
|- | |||
| '''logo5.dat''' || '''LEGO Logo for Studs - 3D Flattened''' | |||
|- | |||
|[[File:Logo5.png|200px|alt=Logo5]] | |||
|| | |||
|- | |||
| '''logo-lego-1.dat''' || '''Logo Lego (1973-1998)''' | |||
|- | |||
|[[File:Logo-lego-1.png|200px|alt=Logo-lego-1]] | |||
|| | |||
|- | |||
| '''logo-lego-2.dat''' || '''Logo Lego (since 1998)''' | |||
|- | |||
|[[File:Logo-lego-2.png|200px|alt=Logo-lego-2]] | |||
|| | |||
|- | |||
| '''logo-lego-4.dat''' || '''Logo LEGO System (1965-1972)''' | |||
|- | |||
|[[File:Logo-lego-4.png|200px|alt=Logo-lego-4]] | |||
|| | |||
|- | |||
| '''logo-lego-5.dat''' || '''Logo LEGO with Open "O", Thin Outline, Relief''' | |||
|- | |||
|[[File:Logo-lego-5.png|200px|alt=Logo-lego-5]] | |||
|| | |||
|- | |||
| '''logo-lego-6.dat''' || '''Logo LEGO with Open "O" and Crossbar, Relief''' | |||
|- | |||
|[[File:Logo-lego-6.png|200px|alt=Logo-lego-6]] | |||
||Exact dimensions X = 58; Z = 5.25 | |||
|} | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===General logos=== | |||
|- | |||
| '''logo-adidas.dat''' || '''Logo Adidas Stripes''' | |||
|- | |||
|[[File:Logo-adidas.png|200px|alt=Logo-adidas]] | |||
||Exact dimensions X = 19; Z = 11.3 | |||
|- | |||
| '''logo-adidas-box.dat''' || '''Logo Adidas Stripes - Outer Box''' | |||
|- | |||
|[[File:Logo-adidas-box.png|200px|alt=Logo-adidas-box]] | |||
||Exact dimensions X = 19; Z = 11.3 | |||
|- | |||
| '''logo-adidas-text.dat''' || '''Logo Adidas Text''' | |||
|- | |||
|[[File:Logo-adidas-text.png|200px|alt=Logo-adidas-text]] | |||
||Exact dimensions X = 25.5; Z = 5.9 | |||
|- | |||
| '''logo-adidas-text-box.dat''' || '''Logo Adidas Text - Outer Box''' | |||
|- | |||
|[[File:Logo-adidas-text-box.png|200px|alt=Logo-adidas-text-box]] | |||
||Exact dimensions X = 25.5; Z = 5.9 | |||
|- | |||
| '''logo-audi-text.dat''' || '''Logo Audi Text''' | |||
|- | |||
|[[File:Logo-audi-text.png|200px|alt=Logo-audi-text]] | |||
||Exact dimensions X = 29.703; Z = 7.906 | |||
|- | |||
| '''logo-audi-text-box.dat''' || '''Logo Audi Text Outer Box''' | |||
|- | |||
|[[File:Logo-audi-text-box.png|200px|alt=Logo-audi-text-box]] | |||
||Exact dimensions X = 29.703; Z = 7.906 | |||
|- | |||
| '''logo-camaro-script.dat''' || '''Logo Camaro Script''' | |||
|- | |||
|[[File:Logo-camaro-script.png|200px|alt=Logo-camaro-script]] | |||
||Exact dimensions X = 20; Z = 9.39 | |||
|- | |||
| '''logo-camaro-script-box.dat''' || '''Logo Camaro Script Box''' | |||
|- | |||
|[[File:Logo-camaro-script-box.png|200px|alt=Logo-camaro-script-box]] | |||
||Exact dimensions X = 20; Z = 9.39 | |||
|- | |||
| '''logo-chevrolet-icon.dat''' || '''Logo Chevrolet Icon''' | |||
|- | |||
|[[File:logo-chevrolet-icon.png|200px|alt=logo-chevrolet-icon]] | |||
||Exact dimensions X = 28.5; Z = 18.5 | |||
|- | |||
| '''logo-chevrolet-text-box''' || '''Logo Chevrolet Icon Outerbox''' | |||
|- | |||
|[[File:Logo-chevrolet-icon-box.png|200px|alt=Logo-chevrolet-icon-box]] | |||
||Exact dimensions X = 28.5; Z = 18.5 | |||
|- | |||
| '''logo-chevrolet-text.dat''' || '''Logo Chevrolet Text''' | |||
|- | |||
|[[File:Logo-chevrolet-text.png|200px|alt=Logo-chevrolet-text]] | |||
||Exact dimensions X = 58; Z = 5.25 | |||
|- | |||
| '''logo-chevrolet-text-box''' || '''Logo Chevrolet Text Outer Box''' | |||
|- | |||
|[[File:Logo-chevrolet-text-box.png|200px|alt=Logo-chevrolet-text-box]] | |||
||Exact dimensions X = 58; Z = 5.25 | |||
|- | |||
| '''logo-chopard-text.dat''' || '''Logo Chopard Text''' | |||
|- | |||
|[[File:Logo-chopard-text.png|200px|alt=Logo-chopard-text]] | |||
||Exact dimensions X = 94.8; Z = 10 | |||
|- | |||
| '''logo-chopard-box''' || '''Logo Chopard - Outer Box''' | |||
|- | |||
|[[File:Logo-chopard-box.png|200px|alt=Logo-chopard-box]] | |||
||Exact dimensions X = 94.8; Z = 10 | |||
|- | |||
| '''logo-dmg-mori-box''' || '''Logo Dmg Mori - Outer Box''' | |||
|- | |||
|[[File:Logo-dmg-mori-box.png|200px|alt=Logo-dmg-mori-box]] | |||
||Exact dimensions X = 94.2; Z = 10 | |||
|- | |||
| '''logo-dmg-mori-text''' || '''Logo Dmg Mori Text''' | |||
|- | |||
|[[File:Logo-dmg-mori-text.png|200px|alt=Logo-dmg-mori-text]] | |||
||Exact dimensions X = 94.2; Z = 10 | |||
|- | |||
| '''logo-exxon-text.dat''' || '''Logo Exxon Text''' | |||
|- | |||
|[[File:Logo-exxon-text.png|200px|alt=Logo-exxon-text]] | |||
||The height of characters "E", "O", "N" is 20LDU | |||
|- | |||
| '''logo-exxon-box.dat''' || '''Logo Exxon Outer Box''' | |||
|- | |||
|[[File:Logo-exxon-box.png|200px|alt=Logo-exxon-box]] | |||
|| | |||
|- | |||
| '''logo-fire-badge-big-flame.dat''' || '''Logo Fire Badge Big Flame''' | |||
|- | |||
|[[File:Logo-fire-badge-big-flame.png|200px|alt=Logo-fire-badge-big-flame]] | |||
|| | |||
|- | |||
| '''logo-fire-badge-small-flame.dat''' || '''Logo Fire Brand Small Flame''' | |||
|- | |||
|[[File:Logo-fire-badge-small-flame.png|200px|alt=Logo-fire-badge-small-flame]] | |||
|| | |||
|- | |||
| '''logo-fire-badge-shield-background.dat''' || '''Logo Fire Badge Shield Background''' | |||
|- | |||
|[[File:Logo-fire-badge-shield-background.png|200px|alt=Logo-fire-badge-shield-background]] | |||
|| | |||
|- | |||
| '''logo-ford-box-quarter.dat''' || '''Logo Ford Outer Box - Quarter''' | |||
|- | |||
|[[File:Logo-ford-box-quarter.png|200px|alt=Logo-ford-box-quarter]] | |||
|| | |||
|- | |||
| '''logo-ford-oval.dat''' || '''Logo Ford Oval''' | |||
|- | |||
|[[File:Logo-ford-oval.png|200px|alt=Logo-ford-oval]] | |||
|| | |||
|- | |||
| '''logo-ford-oval-text.dat''' || '''Logo Ford Oval - Text''' | |||
|- | |||
|[[File:Logo-ford-oval-text.png|200px|alt=Logo-ford-oval-text]] | |||
|| | |||
|- | |||
| '''logo-lamborghini-badge.dat''' || '''Logo Lamborghini Badge with Outer Box''' | |||
|- | |||
|[[File:Logo-lamborghini-badge.png|200px|alt=Logo-lamborghini-badge]] | |||
||Exact dimensions X = 5.44; Z = 6.2 | |||
|- | |||
| '''logo-lamborghini-bull-2.dat''' || '''Logo Lamborghini Bull Rectangular Outer Box''' | |||
|- | |||
|[[File:Logo-lamborghini-bull-2.png|200px|alt=Logo-lamborghini-bull-2]] | |||
||Exact dimensions X = 2.78; Z = 3.44 | |||
|- | |||
| '''logo-lamborghini-bull-3''' || '''Logo Lamborghini Bull - First Part''' | |||
|- | |||
|[[File:Logo-lamborghini-bull-3.png|200px|alt=Logo-lamborghini-bull-3]] | |||
||Exact dimensions X = 2.78; Z = 3.44 | |||
|- | |||
| '''logo-lamborghini-bull-4.dat''' || '''Logo Lamborghini Bull - Second Part''' | |||
|- | |||
|[[File:Logo-lamborghini-bull-4.png|200px|alt=Logo-lamborghini-bull-4]] | |||
||Exact dimensions X = 2.78; Z = 3.44 | |||
|- | |||
| '''logo-lamborghini-text.dat''' || '''Logo Lamborghini Text''' | |||
|- | |||
|[[File:Logo-lamborghini-text.png|200px|alt=Logo-lamborghini-text]] | |||
|| | |||
|- | |||
| '''logo-lamborghini-text-bkgd.dat''' || '''Logo Lamborghini Text Background''' | |||
|- | |||
|[[File:Logo-lamborghini-text-bkgd.png|200px|alt=Logo-lamborghini-text-bkgd]] | |||
|| | |||
|- | |||
| '''logo-landrover.dat''' || '''Logo Land Rover''' | |||
|- | |||
|[[File:Logo-landrover.png|200px|alt=Logo-landrover]] | |||
|| | |||
|- | |||
| '''logo-maersk-line-black.dat''' || '''Logo Maersk Black "LINE"''' | |||
|- | |||
|[[File:Logo-maersk-line-black.png|200px|alt=Logo-maersk-line-black]] | |||
|| | |||
|- | |||
| '''logo-maersk-star.dat''' || '''Logo Maersk Star''' | |||
|- | |||
|[[File:Logo-maersk-star.png|200px|alt=Logo-maersk-star]] | |||
|| | |||
|- | |||
| '''logo-maersk-star.dat''' || '''Logo Maersk Star Background''' | |||
|- | |||
|[[File:Logo-maersk-star-bg.png|200px|alt=Logo-maersk-star-bg]] | |||
|| | |||
|- | |||
| '''logo-maersk-a.dat''' || '''Logo Maersk White "A"''' | |||
|- | |||
|[[File:Logo-maersk-a.png|200px|alt=Logo-maersk-a]] | |||
|| | |||
|- | |||
| '''logo-maersk-e''' || '''Logo Maersk White "E"''' | |||
|- | |||
|[[File:Logo-maersk-e.png|200px|alt=Logo-maersk-e]] | |||
|| | |||
|- | |||
| '''logo-maersk-k''' || '''Logo Maersk White "K"''' | |||
|- | |||
|[[File:Logo-maersk-k.png|200px|alt=Logo-maersk-k]] | |||
|| | |||
|- | |||
| '''logo-maersk-l''' || '''Logo Maersk White "L"''' | |||
|- | |||
|[[File:Logo-maersk-l.png|200px|alt=Logo-maersk-l]] | |||
|| | |||
|- | |||
| '''logo-maersk-m''' || '''Logo Maersk White "M"''' | |||
|- | |||
|[[File:Logo-maersk-m.png|200px|alt=Logo-maersk-m]] | |||
|| | |||
|- | |||
| '''logo-maersk-n''' || '''Logo Maersk White "N"''' | |||
|- | |||
|[[File:Logo-maersk-n.png|200px|alt=Logo-maersk-n]] | |||
|| | |||
|- | |||
| '''logo-maersk-r''' || '''Logo Maersk White "R"''' | |||
|- | |||
|[[File:Logo-maersk-r.png|200px|alt=Logo-maersk-r]] | |||
|| | |||
|- | |||
| '''logo-maersk-s''' || '''Logo Maersk White "S"''' | |||
|- | |||
|[[File:Logo-maersk-s.png|200px|alt=Logo-maersk-s]] | |||
|| | |||
|- | |||
| '''logo-mdfoods.dat''' || '''Logo MD Foods''' | |||
|- | |||
|[[File:Logo-mdfoods.png|200px|alt=Logo-mdfoods]] | |||
|| | |||
|- | |||
| '''logo-mclaren-text''' || '''Logo McLaren Text''' | |||
|- | |||
|[[File:Logo-mclaren-text.png|200px|alt=Logo-mclaren-text]] | |||
||Exact dimensions X = 109; Z = 10 | |||
|- | |||
| '''logo-mclaren-text-box''' || '''Logo McLaren Text Outerbox''' | |||
|- | |||
|[[File:Logo-mclaren-text-box.png|200px|alt=Logo-mclaren-text-box]] | |||
||Exact dimensions X = 109; Z = 10 | |||
|- | |||
| '''Logo-nasa.dat''' || '''Logo NASA Worm Logo''' | |||
|- | |||
|[[File:Logo-nasa.png|200px|alt=Logo-nasa]] | |||
|| | |||
|- | |||
| '''Logo-nasa-bg.dat''' || '''Logo NASA Worm Logo Background''' | |||
|- | |||
|[[File:Logo-nasa-bg.png|200px|alt=Logo-nasa-bg]] | |||
|| | |||
|- | |||
| '''logo-nintendo-text.dat''' || '''Logo Nintendo Text''' | |||
|- | |||
|[[File:logo-nintendo-text.png|200px|alt=logo-nintendo-text]] | |||
|| | |||
|- | |||
| '''Logo-nintendo-box.dat''' || '''Logo Nintendo Box''' | |||
|- | |||
|[[File:logo-nintendo-box.png|200px|alt=logo-nintendo-box]] | |||
|| | |||
|- | |||
| '''Logo-octan.dat''' || '''Logo Octan''' | |||
|- | |||
|[[File:Logo-octan.png|200px|alt=Logo-octan]] | |||
|| | |||
|- | |||
| '''Logo-octan-1.dat''' || '''Logo Octan - Single Drop Frame''' | |||
|- | |||
|[[File:Logo-octan-1.png|200px|alt=Logo-octan-1]] | |||
|| | |||
|- | |||
| '''Logo-octan-2.dat''' || '''Logo Octan - Single Drop''' | |||
|- | |||
|[[File:Logo-octan-2.png|200px|alt=Logo-octan-2.dat]] | |||
|| | |||
|- | |||
| '''Logo-octan-3.dat''' || '''Logo Octan without Border''' | |||
|- | |||
|[[File:Logo-octan-3.png|200px|alt=Logo-octan-3]] | |||
|| | |||
|- | |||
| '''Logo-octantext.dat''' || '''Logo Octan Text Red/Green with Medium-Bold Black Borders''' | |||
|- | |||
|[[File:Logo-octantext.png|200px|alt=Logo-octantext]] | |||
|| | |||
|- | |||
| '''Logo-octantext2.dat''' || '''Logo Octan Red/Green Text without Borders''' | |||
|- | |||
|[[File:Logo-octantext2.png|200px|alt=Logo-octantext2]] | |||
|| | |||
|- | |||
| '''Logo-porsche-badge.dat''' || '''Logo Porsche Badge''' | |||
|- | |||
|[[File:Logo-porsche-badge.png|200px|alt=Logo-porsche-badge]] | |||
||Exact dimensions X = 13.88; Z = 18 | |||
|- | |||
| '''Logo-porsche-badge-box.dat''' || '''Logo Porsche Badge Rounded Outerbox''' | |||
|- | |||
|[[File:Logo-porsche-badge-box.png|200px|alt=Logo-porsche-badge-box]] | |||
||Exact dimensions X = 13.88; Z = 18 | |||
|- | |||
| '''Logo-porsche-text.dat''' || '''Logo Porsche''' | |||
|- | |||
|[[File:Logo-porsche-text.png|200px|alt=Logo-porsche-text]] | |||
||Exact dimensions X = 102; Z = 8 | |||
|- | |||
| '''Logo-porsche-box.dat''' || '''Logo Porsche - Outer box''' | |||
|- | |||
|[[File:Logo-porsche-box.png|200px|alt=Logo-porsche-box]] | |||
||Exact dimensions X = 102; Z = 8 | |||
|- | |||
| '''Logo-puma-image.dat''' || '''Logo Puma Image''' | |||
|- | |||
|[[File:Logo-puma-image.png|200px|alt=Logo-puma-image]] | |||
||Exact dimensions X = 17.0; Z = 13.24 | |||
|- | |||
| '''Logo-puma-image-box.dat''' || '''Logo Puma Image Outerbox''' | |||
|- | |||
|[[File:Logo-puma-image-box.png|200px|alt=Logo-puma-image-box]] | |||
||Exact dimensions X = 17.0; Z = 13.24 | |||
|- | |||
| '''Logo-rollsroyce.dat''' || '''Logo Rolls-Royce Foreground''' | |||
|- | |||
|[[File:Logo-rollsroyce.png|200px|alt=Logo-rollsroyce]] | |||
|| | |||
|- | |||
| '''Logo-rollsroyce-bg.dat''' || '''Logo Rolls-Royce Background''' | |||
|- | |||
|[[File:Logo-rollsroyce-bg.png|200px|alt=Logo-rollsroyce-bg]] | |||
|| | |||
|- | |||
| '''logo-shell-1971.dat''' || '''Logo Shell 1971''' | |||
|- | |||
|[[File:Logo-shell-1971.png|200px|alt=Logo-shell-1971]] | |||
|| | |||
|- | |||
| '''logo-shell-1971-outerbox.dat''' || '''Logo Shell 1971 Outerbox''' | |||
|- | |||
|[[File:Logo-shell-1971-outerbox.png|200px|alt=Logo-shell-1971-outerbox]] | |||
|| | |||
|- | |||
| '''logo-shell-e.dat''' || '''Logo Shell Red "e"''' | |||
|- | |||
|[[File:Logo-shell-e.png|200px|alt=Logo-shell-e]] | |||
|| | |||
|- | |||
| '''logo-shell-h.dat''' || '''Logo Shell Red "h"''' | |||
|- | |||
|[[File:Logo-shell-h.png|200px|alt=Logo-shell-h]] | |||
|| | |||
|- | |||
| '''logo-shell-s.dat''' || '''Logo Shell Red "S"''' | |||
|- | |||
|[[File:Logo-shell-s.png|200px|alt=Logo-shell-s]] | |||
|| | |||
|- | |||
| '''logo-shell-vpower-text.dat''' || '''Logo Shell "V-Power" Text''' | |||
|- | |||
|[[File:Logo-shell-vpower-text.png|200px|alt=Logo-shell-vpower-text]] | |||
||Exact dimensions X = 8.782; Z = 1.54 | |||
|- | |||
| '''logo-shell-vpower-text-box.dat''' || '''Logo Shell "V-Power" Outerbox''' | |||
|- | |||
|[[File:Logo-shell-vpower-text-box.png|200px|alt=Llogo-shell-vpower-text-box]] | |||
||Exact dimensions X = 8.782; Z = 1.54 | |||
|- | |||
| '''logo-sparco-01.dat''' || '''Logo Sparco Black Text and Line with Outer Box''' | |||
|- | |||
|[[File:Logo-sparco-01.png|200px|alt=Logo-sparco-01]] | |||
|| | |||
|- | |||
| '''logo-sparco-text.dat''' || '''Logo Sparco Text and Line''' | |||
|- | |||
|[[File:Logo-sparco-text.png|200px|alt=Logo-sparco-text]] | |||
|| | |||
|- | |||
| '''logo-sparco-text-outerbox.dat''' || '''Logo Sparco Outer Box''' | |||
|- | |||
|[[File:Logo-sparco-text-outerbox.png|200px|alt=Logo-sparco-text-outerbox]] | |||
|| | |||
|- | |||
| '''logo-star-wars.dat''' || '''Logo Star Wars''' | |||
|- | |||
|[[File:Logo-star-wars.png|200px|alt=logo-star-wars]] | |||
|| | |||
|- | |||
| '''logo-star-wars-box.dat''' || '''Logo Star Wars Box''' | |||
|- | |||
|[[File:Logo-star-wars-box.png|200px|alt=Logo-star-wars-box]] | |||
|| | |||
|- | |||
| '''logo-technic-1.dat''' || '''Logo "TECHNIC" - Foreground''' | |||
|- | |||
|[[File:Logo-technic-1.png|200px|alt=Logo-technic-1]] | |||
|| | |||
|- | |||
| '''logo-technic-2.dat''' || '''Logo "TECHNIC" Logo - Background''' | |||
|- | |||
|[[File:Logo-technic-2.png|200px|alt=Logo-technic-2]] | |||
|| | |||
|- | |||
| '''logo-train-2006.dat''' || '''Logo Train 2006''' | |||
|- | |||
|[[File:Logo-train-2006.png|200px|alt=Logo-train-2006]] | |||
|| | |||
|- | |||
| '''logo-train-2006-box.dat''' || '''Logo Train 2006 Outer Box''' | |||
|- | |||
|[[File:Logo-train-2006-box.png|200px|alt=Logo-train-2006-box]] | |||
|| | |||
|- | |||
| '''logo-train-2006-bold.dat''' || '''Logo Train 2006 Bold''' | |||
|- | |||
|[[File:Logo-train-2006-bold.png|200px|alt=Logo-train-2006-bold]] | |||
|| | |||
|- | |||
| '''logo-train-2006-bold-box.dat''' || '''Logo Train 2006 Bold Outer Box''' | |||
|- | |||
|[[File:Logo-train-2006-bold-box.png|200px|alt=Logo-train-2006-bold-box]] | |||
|| | |||
|- | |||
| '''logo-volkswagen-background''' || '''Logo Volkswagen "VW" Background Circular''' | |||
|- | |||
|[[File:Logo-volkswagen-background.png|200px|alt=Logo-volkswagen-background]] | |||
|| | |||
|- | |||
| '''logo-volkswagen-circle''' || '''Logo Volkswagen Circle''' | |||
|- | |||
|[[File:Logo-volkswagen-circle.png|200px|alt=Logo-volkswagen-circle]] | |||
|| | |||
|- | |||
| '''logo-volkswagen-text.dat''' || '''Logo Volkswagen "VW"''' | |||
|- | |||
|[[File:Logo-volkswagen-text.png|200px|alt=Logo-volkswagen-text]] | |||
|| | |||
|- | |||
| '''logo-wec-box.dat''' || '''Logo WEC - Outer Box''' | |||
|- | |||
|[[File:Logo-wec-box.png|200px|alt=Logo-wec-box]] | |||
||Exact dimensions X = 44.6; Z = 10 | |||
|- | |||
| '''logo-wec-text.dat''' || '''Logo WEC Text''' | |||
|- | |||
|[[File:Logo-wec-text.png|200px|alt=Logo-wec-text]] | |||
||Exact dimensions X = 44.6; Z = 10 | |||
|} | |||
</div> | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
==Miscellaneous primitives== | |||
<div class="mw-collapsible"> | |||
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Fillet primitives=== | |||
|- | |||
| '''filletr0n.dat''' || '''Fillet Reinforced 2 LDU Inter-Stud''' | |||
|- | |||
|style="width: 200px;"|[[File:Filletr0n.png|200px|alt=Filletr0n]] | |||
|| | |||
|- | |||
| '''filletr1n.dat''' || '''Fillet Reinforced 2 LDU to Side-Wall''' | |||
|- | |||
| [[File:Filletr1n.png|200px|alt=Filletr1n]] | |||
|| | |||
|- | |||
| '''filletr0s.dat''' || '''Fillet Reinforced 3 LDU Inter-Stud''' | |||
|- | |||
| [[File:Filletr0s.png|200px|alt=Filletr0s]] | |||
|| | |||
|- | |||
| '''filletr1s.dat''' || '''Fillet Reinforced 3 LDU to Side-Wall''' | |||
|- | |||
| [[File:Filletr1s.png|200px|alt=Filletr1s]] | |||
|| | |||
|- | |||
| '''filletr2s.dat''' || '''Fillet Reinforced 3 LDU to Corner-Walls''' | |||
|- | |||
| [[File:Filletr2s.png|200px|alt=Filletr2s]] | |||
|| | |||
|- | |||
| '''filletp0s.dat''' || '''Fillet Plain 3 LDU Inter-Stud''' | |||
|- | |||
| [[File:Filletp0s.png|200px|alt=Filletp0s]] | |||
|| | |||
|- | |||
| '''filletp1s.dat''' || '''Fillet Plain 3 LDU to Side-Wall''' | |||
|- | |||
| [[File:Filletp1s.png|200px|alt=Filletp1s]] | |||
|| | |||
|- | |||
| '''filletp2s.dat''' || '''Fillet Plain 3 LDU to Corner-Walls''' | |||
|- | |||
| [[File:Filletp2s.png|200px|alt=Filletp2s]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
'''Text primitves''' | |||
The section comprises reusable glyphs for constructing text patterns. These primitives may be re-sized. | |||
The naming convention for these primitives is typeffci, where ff is an arbitrary two-letter abbreviation for the typeface, c is the glyph class (u=upper case letter, l=lower case letter, n=number, s=symbol, a=accented letter) and i is the glyph identifier (a-z for the upper and lower case letters, 0-9 for the numbers). | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Text primitves=== | |||
|- | |||
| '''typestci.dat''' || '''Stencil typeface''' | |||
|- | |||
|style="width: 200px;"|[[File:Typestua.png|200px|alt=Typestci.dat]] | |||
||''Currently available primitives:'' | |||
ua, ub, ud, ue, uf, uh, ui, uk, ul, um, un, uo, ur, us, ut, uv, uw, uy, n0, n5, s4 (dollar symbol) | |||
|- | |||
| '''type-swiss721bt-bold-ci''' || '''Swiss721BT Bold typeface''' | |||
|- | |||
|[[File:Type-swiss721bt-bold-ua.png|200px|alt=Type-swiss721bt-bold-]] | |||
||''Currently available primitives:'' | |||
au, ub, uc, ud, ue, uf, ug, uh, ui, ul, um, um, uo, up, ur, us, ut, uu, uw, uz, lg, lk, lm, lt, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9 | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
'''Duplo primitives''' | |||
This section comprises primitives for Duplo parts, all of which have been modelled and released into the official library. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Duplo primitives=== | |||
|- | |||
| '''ddoorhinge.dat''' || '''Duplo Door Hinge Socket''' | |||
|- | |||
|style="width: 200px;"| [[File:Ddoorhinge.png|200px|alt=Ddoorhinge]] | |||
|| | |||
|- | |||
| '''dhingepin1.dat''' || '''Duplo Hinge Pin with Shallow Recess''' | |||
|- | |||
|[[File:Dhingepin1.png|200px|alt=Dhingepin1]] | |||
|| | |||
|- | |||
| '''dsnappin.dat''' || '''Duplo Snapping Pin for Turntables''' | |||
|- | |||
|[[File:Dsnappin.png|200px|alt=Dsnappin]] | |||
||Fits dsnapridge primitive (ridges inside Duplo tubes R14 internal) | |||
|- | |||
| '''dsnapridge.dat''' || '''Duplo Snapping Ridge''' | |||
|- | |||
|[[File:Dsnapridge.png|200px|alt=Dsnapridge]] | |||
||Fits dsnappin primitive (pin for turntables). To be placed in duplo tubes (stud8) at the same height as part base. | |||
|- | |||
| '''duplohol.dat''' || '''Duplo Train Track Connector Female''' | |||
|- | |||
|[[File:Duplohol.png|200px|alt=Duplohol]] | |||
|| | |||
|- | |||
| '''duplopin.dat''' || '''Duplo Train Track Connector Male''' | |||
|- | |||
|[[File:Duplopin.png|200px|alt=Duplopin]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
'''Joint-8 Ball primitives''' | |||
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Joint-8 Ball primitives=== | |||
|- | |||
| '''joint8ball.dat''' || '''Joint-8 Ball with Straight Bar''' | |||
|- | |||
|style="width: 200px;"| [[File:Joint8ball.png|200px|alt=Joint8ball]] | |||
|| | |||
|- | |||
| '''joint8socket1.dat''' || '''Joint-8 Socket with Friction''' | |||
|- | |||
|[[File:Joint8socket1.png|200px|alt=Joint8socket1]] | |||
|| | |||
|- | |||
| '''joint8socket2.dat''' || '''Joint-8 Socket Free Square''' | |||
|- | |||
|[[File:Joint8socket2.png|200px|alt=Joint8socket2]] | |||
|| | |||
|- | |||
| '''joint8socket3.dat''' || '''Joint-8 Socket Free Square''' | |||
|- | |||
|[[File:Joint8socket3.png|200px|alt=Joint8socket3]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
'''Minifig primitives''' | |||
This section comprises primitives for minifig parts. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Minifig primitives=== | |||
|- | |||
| style="width: 200px;"|'''knob1.dat''' || '''Minifig Arm Knob''' | |||
|- | |||
|[[File:Knob1.png|200px|alt=Knob1]] | |||
|| | |||
|- | |||
| '''hipstud.dat''' || '''Stud for Minifig Hips''' | |||
|- | |||
|[[File:Hipstud.png|200px|alt=Hipstud]] | |||
|| | |||
|- | |||
| '''hipstuda.dat''' || '''Stud for Minifig Hips without Base Edges''' | |||
|- | |||
|[[File:Hipstuda.png|200px|alt=Hipstuda]] | |||
|| | |||
|- | |||
| '''hipstudh.dat''' || '''Stud for Minifig Hips with Hole''' | |||
|- | |||
|[[File:Hipstudh.png|200px|alt=Hipstudh]] | |||
|| | |||
|} | |||
'''Arm primitives''' | |||
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Arm primitives=== | |||
|- | |||
| '''arm1.dat''' || '''Cylindrical arm two-fingered hinge''' | |||
|- | |||
|style="width: 200px;"| [[File:Arm1.png|200px|alt=Arm1]] | |||
||This primitive produces two-fingered hinge component of the cylindrical arm with a radius of 10LDu. | |||
|- | |||
| '''arm2.dat''' || '''Cylindrical arm three-fingered hinge''' | |||
|- | |||
|[[File:Arm2.png|200px|alt=Arm2]] | |||
||This primitive produces three-fingered hinge component of the cylindrical arm with a radius of 10LDu. | |||
|- | |||
| '''arm3.dat''' || '''Cylindrical arm three-fingered hinge with truncated middle finger''' | |||
|- | |||
|[[File:Arm3.png|200px|alt=Arm3]] | |||
||This primitive produces three-fingered hinge component of the cylindrical arm with a radius of 10LDu. | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
'''Click-lock primitives''' | |||
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Click-lock primitives=== | |||
|- | |||
| '''clh1.dat''' || '''Click-lock hinge single finger for bricks''' | |||
|- | |||
|style="width: 200px;"| [[File:Clh1.png|200px|alt=Clh1]] | |||
||This primitive produces the single finger of a click-lock hinge for use on bricks. To use on the side of bricks, rotate accordingly and place 10LDu below the top surface of the brick. To use on the top of bricks, rotate accordingly and place 4LDu below the top surface, centered on the stud location. | |||
|- | |||
| '''clh3.dat''' || '''Click-lock hinge single finger for arms''' | |||
|- | |||
|[[File:Clh3.png|200px|alt=Clh3]] | |||
||This primitive produces the single finger of a click-lock hinge for use on cylindrical arms. | |||
|- | |||
| '''clh3q.dat''' || '''Click Lock Hinge Single Finger - Quarter''' | |||
|- | |||
|[[File:Clh3q.png|200px|alt=Clh3q]] | |||
|| | |||
|- | |||
| '''clh6.dat''' || '''Click-lock hinge single finger for plate sides and ends''' | |||
|- | |||
|[[File:Clh6.png|200px|alt=Clh6]] | |||
||This primitive produces the single finger of a click-lock hinge for use on the sides or ends of plates. To use, rotate accordingly and place 2LDu below the top surface. | |||
|- | |||
| '''clh6d.dat''' || '''Click Lock Hinge Single Finger for Plate Ends - Opening Downwards''' | |||
|- | |||
|[[File:Clh6d.png|200px|alt=Clh6d]] | |||
|| | |||
|- | |||
| '''clh6u.dat''' || '''Click Lock Hinge Single Finger for Plate Ends - Opening Upwards''' | |||
|- | |||
|[[File:Clh6u.png|200px|alt=Clh6u]] | |||
|| | |||
|- | |||
| '''clh8.dat''' || '''Click-lock hinge single finger for crevices and ledges''' | |||
|- | |||
|[[File:Clh8.png|200px|alt=Clh8]] | |||
||This primitive produces the single finger of a click-lock hinge for use within crevices and on ledges. To use, rotate accordingly and place 1LDu below the top surface centred on a stud location. | |||
|- | |||
| '''clh2.dat''' || '''Click Lock Hinge Single Finger for Plate Top''' | |||
|- | |||
|[[File:Clh2.png|200px|alt=Clh2]] | |||
||This primitive produces the single finger of a click-lock hinge for use on the top of plates. To use, rotate accordingly and place 1LDu below the top surface, centered on the stud location. | |||
|- | |||
| '''clh2c.dat''' || '''Click Lock Hinge Single Finger - Common Geometry''' | |||
|- | |||
|[[File:Clh2c.png|200px|alt=Clh2c]] | |||
|| | |||
|- | |||
| '''clh8.dat''' || '''Click Lock Hinge Single Finger for Crevices and Ledges''' | |||
|- | |||
|[[File:Clh8.png|200px|alt=Clh8]] | |||
|| | |||
|- | |||
| '''clh9.dat''' || '''Click-lock hinge single finger for plate top with groove''' | |||
|- | |||
|[[File:Clh9.png|200px|alt=Clh9]] | |||
||This primitive produces the single finger of a click-lock hinge with a groove for use on the top of plates. To use, rotate accordingly and place 1LDu below the top surface, centered on stud location. | |||
|- | |||
| '''clh12.dat''' || '''Click Lock Hinge Single Finger Tall''' | |||
|- | |||
|[[File:Clh12.png|200px|alt=Clh12]] | |||
|| | |||
|- | |||
| '''clh13.dat''' || '''Click Lock Hinge Single Finger for Plate Top with Wide Groove 2L''' | |||
|- | |||
|[[File:Clh13.png|200px|alt=Clh13]] | |||
||To use place 1 Ldu below top surface centered on stud location | |||
|- | |||
| '''clh4.dat''' || '''Click-lock hinge half dual finger for bricks and plates''' | |||
|- | |||
|[[File:Clh4.png|200px|alt=Clh4]] | |||
||This primitive produces one of the pair of a two finger click-lock hinge. Parts typically require two of these primitives rotated 180 degrees on the {z} axis. To use on the side of bricks, rotate accordingly and place 10LDu below top surface and 6 LDu off side surface. To use on the side of plates and windscreens, rotate accordingly, place 2LDu below top surface and 6LDu off side surface. | |||
|- | |||
| '''clh5.dat''' || '''Click-lock hinge half dual finger for arms''' | |||
|- | |||
|[[File:Clh5.png|200px|alt=Clh5]] | |||
||This primitive produces one of the pair of a two finger click-lock hinge. Parts typically require two of these primitives rotated 180 degress on the {z} axis. | |||
|- | |||
| '''clh7.dat''' || '''Click Lock Hinge Half Dual Finger 3-Position Type 1''' | |||
|- | |||
|[[File:Clh7.png|200px|alt=Clh7]] | |||
||Requires 2 halves rotated 180 degrees apart on Z-axis. Placement on side of bricks; rotate pair accordingly, place 10 Ldu below top surface and 6 Ldu off side surface, fill as needed - box4o4a.dat's recommended. Placement off side of plates and windscreens; rotate pair accordingly, | |||
place center origin 2 Ldu below top surface and 6 Ldu off side surface, fill as needed. | |||
|- | |||
| '''clh10.dat''' || '''Click-lock hinge half dual finger - 7 position, missing clicks 4 and 6''' | |||
|- | |||
|[[File:Clh10.png|200px|alt=Clh10]] | |||
||This primitive produces one of the pair of a two finger click-lock hinge, with reduced positions. Parts typically require two of these primitives rotated 180 degrees on the {z} axis. To use on the side of bricks, rotate accordingly and place 10LDu below top surface and 6 LDu off side surface. To use on the side of plates and windscreens, rotate accordingly, place 2LDu below top surface and 6LDu off side surface. | |||
|- | |||
| '''clh11.dat''' || '''Click-lock hinge half dual finger - 7 position, missing clicks 2 and 4''' | |||
|- | |||
|[[File:Clh11.png|200px|alt=Clh11]] | |||
||This primitive produces one of the pair of a two finger click-lock hinge, with reduced positions. Parts typically require two of these primitives rotated 180 degrees on the {z} axis. To use on the side of bricks, rotate accordingly and place 10LDu below top surface and 6 LDu off side surface. To use on the side of plates and windscreens, rotate accordingly, place 2LDu below top surface and 6LDu off side surface. | |||
|- | |||
| '''4-4crh1.dat''' || '''Click rotation ring with stop ring''' | |||
|- | |||
|[[File:4-4crh1.png|200px|alt=4-4crh1]] | |||
|| | |||
|- | |||
| '''4-4crh2.dat''' || '''Click rotation ring without stop ring''' | |||
|- | |||
|[[File:4-4crh2.png|200px|alt=4-4crh2]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
'''Clip primitives''' | |||
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Clip primitives=== | |||
|- | |||
| '''clip1.dat''' || '''Vertical clip for Flags''' | |||
|- | |||
|style="width: 200px;"| [[File:Clip1.png|200px|alt=Clip1]] | |||
||This primitive produces a vertical clip designed to hold an 8LDu diameter pole or rod at be used for flag parts. | |||
|- | |||
| '''clip2.dat''' || '''Vertical clip for Bricks''' | |||
|- | |||
|[[File:Clip2.png|200px|alt=Clip2]] | |||
||This primitive produces a vertical clip designed to hold an 8LDu diameter pole or rod at be used for brick parts. | |||
|- | |||
| '''clip5.dat''' || '''Clip Symmetrical with Rounded Sides''' | |||
|- | |||
|[[File:Clip5.png|200px|alt=Clip5]] | |||
|| | |||
|- | |||
| '''clip9.dat''' || '''Clip Vertical (Thin C-Clip)''' | |||
|- | |||
|[[File:Clip9.png|200px|alt=Clip9]] | |||
|| | |||
|- | |||
| '''clip10.dat''' || '''Clip Vertical (Thin U-Clip)''' | |||
|- | |||
|[[File:Clip10.png|200px|alt=Clip10]] | |||
|| | |||
|- | |||
| '''clip4.dat''' || '''Vertical clip - three fingered''' | |||
|- | |||
|[[File:Clip4.png|200px|alt=Clip4]] | |||
||This primitive produces a three-fingered vertical clip designed to hold an 8LDu diameter pole or rod. | |||
|- | |||
| '''clip7.dat''' || '''Clip for Round Arm 4 LDU''' | |||
|- | |||
|[[File:Clip7.png|200px|alt=Clip7]] | |||
|| | |||
|- | |||
| '''clip12.dat''' || '''Thick 'C' clip''' | |||
|- | |||
|[[File:Clip12.png|200px|alt=Clip12]] | |||
||This primitive produces a thick 'C' clip for use with organic shape parts with a clip (claws, arms, weapons...). | |||
|- | |||
| '''clip13.dat''' || '''Thick 'C' clip minimal''' | |||
|- | |||
|[[File:Clip13.png|200px|alt=Clip13]] | |||
||This primitive produces a thick 'C' clip, with minimal surfaces. | |||
|- | |||
| '''clip16.dat''' || '''Vertical Thick Clip for Flags''' | |||
|- | |||
|[[File:Clip16.png|200px|alt=Clip16]] | |||
|| | |||
|- | |||
| '''clip3.dat''' || '''Horizontal clip''' | |||
|- | |||
|[[File:Clip3.png|200px|alt=Clip3]] | |||
||This primitive produces a horizontal clip designed to hold an 8LDu diameter pole or rod. | |||
|- | |||
| '''clip6.dat''' || '''Clip Horizontal with Rounded Sides''' | |||
|- | |||
|[[File:Clip6.png|200px|alt=Clip6]] | |||
|| | |||
|- | |||
| '''clip8.dat''' || '''Top Clip with Rounded Tips and Centre Notch''' | |||
|- | |||
|[[File:Clip8.png|200px|alt=Clip8]] | |||
|| | |||
|- | |||
| '''clip11.dat''' || '''Top Clip with Rounded Tips''' | |||
|- | |||
|[[File:Clip11.png|200px|alt=Clip11]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
'''Wheel holding pin primitives''' | |||
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Wheel holding pin primitives=== | |||
|- | |||
| '''wpin.dat''' || '''Wheel holding pin''' | |||
|- | |||
|style="width: 200px;"| [[File:Wpin.png|200px|alt=Wpin]] | |||
|| | |||
|- | |||
| '''wpin2.dat''' || '''Wheel holding pin with two fillets''' | |||
|- | |||
|[[File:Wpin2.png|200px|alt=Wpin2]] | |||
|| | |||
|- | |||
| '''wpin2a.dat''' || '''Wheel holding pin with two fillets missing bottom faces''' | |||
|- | |||
|[[File:Wpin2a.png|200px|alt=Wpin2a]] | |||
|| | |||
|- | |||
| '''wpin3.dat''' || '''Wheel holding pin with three fillets''' | |||
|- | |||
|[[File:Wpin3.png|200px|alt=Wpin3]] | |||
|| | |||
|- | |||
| '''wpin4.dat''' || '''Wheel holding pin with ridges''' | |||
|- | |||
|[[File:Wpin4.png|200px|alt=Wpin4]] | |||
|| | |||
|- | |||
| '''wpinhole.dat''' || '''Wheel Hole Notched Through''' | |||
|- | |||
|[[File:Wpinhole.png|200px|alt=Wpinhole]] | |||
|| | |||
|- | |||
| '''wpinhol2.dat''' || '''Wheel Hole Notched over Cylinder''' | |||
|- | |||
|[[File:Wpinhol2.png|200px|alt=Wpinhol2]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
'''Handle primitives''' | |||
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Handle primitives=== | |||
|- | |||
| '''handle.dat''' || '''Handle for Flat Shields''' | |||
|- | |||
|style="width: 200px;"| [[File:Handle.png|200px|alt=Handle]] | |||
|| | |||
|- | |||
| '''handle2.dat''' || '''Handle for Bent Shields''' | |||
|- | |||
|[[File:Handle2.png|200px|alt=Handle2]] | |||
|| | |||
|- | |||
| '''phandle1.dat''' || '''Bar Handle Attachment with Open Side''' | |||
|- | |||
|[[File:Phandle1.png|200px|alt=Phandle1]] | |||
|| | |||
|- | |||
| '''phandle2.dat''' || '''Bar Handle Attachment with 2 Open Sides''' | |||
|- | |||
|[[File:Phandle2.png|200px|alt=Phandle2]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
'''Hinge primitives''' | |||
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Hinge primitives=== | |||
|- | |||
| '''h1.dat''' || '''Two-fingered plate hinge''' | |||
|- | |||
|style="width: 200px;"| [[File:H1.png|200px|alt=H1]] | |||
||This primitive produces the standard two-fingered hinge with a depth of 8LDu - the thickness of a plate. | |||
|- | |||
| '''h2.dat''' || '''Three-fingered plate hinge''' | |||
|- | |||
|[[File:H2.png|200px|alt=H2]] | |||
||This primitive produces the standard three-fingered hinge with a depth of 8LDu - the thickness of a plate. | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
'''ZNAP parts primitives''' | |||
This section comprises primitives for the ZNAP parts, all of which have been modelled and released into the official library. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===ZNAP parts primitives=== | |||
|- | |||
| '''znap1.dat''' || '''Znap Between Pegholes 1''' | |||
|- | |||
|style="width: 200px;"| [[File:Znap1.png|200px|alt=Znap1]] | |||
|| | |||
|- | |||
| '''znap2.dat''' || '''Znap Between Pegholes 2 Half''' | |||
|- | |||
|[[File:Znap2.png|200px|alt=Znap2]] | |||
|| | |||
|- | |||
| '''znap2a.dat''' || '''Znap Peghole Spacer - Half, One-Sided Flange''' | |||
|- | |||
|[[File:Znap2a.png|200px|alt=Znap2a]] | |||
|| | |||
|- | |||
| '''znap3a.dat''' || '''Znap Between Pegholes 3a''' | |||
|- | |||
|[[File:Znap3a.png|200px|alt=Znap3a]] | |||
|| | |||
|- | |||
| '''znap3b.dat''' || '''Znap Between Pegholes 3b Half With Angle''' | |||
|- | |||
|[[File:Znap3b.png|200px|alt=Znap3b]] | |||
|| | |||
|- | |||
| '''znap3c.dat''' || '''Znap Peghole Spacer with Angle - Half''' | |||
|- | |||
|[[File:Znap3c.png|200px|alt=Znap3c]] | |||
|| | |||
|- | |||
| '''znap4.dat''' || '''Znap Between Pegholes 4''' | |||
|- | |||
|[[File:Znap4.png|200px|alt=Znap4]] | |||
|| | |||
|- | |||
| '''znap5.dat''' || '''Znap Between Pegholes 5''' | |||
|- | |||
|[[File:Znap5.png|200px|alt=Znap5]] | |||
|| | |||
|- | |||
| '''znap6.dat''' || '''Znap Beam End''' | |||
|- | |||
|[[File:Znap6.png|200px|alt=Znap6]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
'''Clikits primitives''' | |||
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===Clikits primitives=== | |||
|- | |||
| '''clikitsstud.dat''' || '''Clikits Stud''' | |||
|- | |||
|style="width: 200px;"| [[File:Clikitsstud.png|200px|alt=Clikitsstud]] | |||
|| | |||
|- | |||
| '''clikitshole.dat''' || '''Clikits Hole''' | |||
|- | |||
|[[File:Clikitshole.png|200px|alt=Clikitshole]] | |||
|| | |||
|} | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} | |||
'''The rest of development''' | |||
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized. | |||
{| class="wikitable" style="width: 100%;" | |||
|+ | |||
===The rest of development=== | |||
|- | |||
| '''bump5000.dat''' || '''Bump 1.0 x 0.5''' | |||
|- | |||
|style="width: 200px;"| [[File:Bump5000.png|200px|alt=Bump5000]] | |||
||This file creates a bump with radius= 1 and height= 0.5 LDU | |||
|- | |||
| '''conscala.dat''' || '''Scala Pin without Base Collar''' | |||
|- | |||
|[[File:Conscala.png|200px|alt=Conscala]] | |||
|| | |||
|- | |- | ||
| '''conscalaq.dat''' || '''Scala Pin without Base Collar - Quarter''' | |||
|- | |||
|[[File:Conscalaq.png|x200px|alt=Conscalaq]] | |||
|| | |||
|- | |||
| [[File: | | '''finger1.dat''' || '''Bottom Finger for Classic Windows Smooth''' | ||
|- | |||
|[[File:Finger1.png|200px|alt=Finger1]] | |||
|| | |||
|- | |||
| '''plug34.dat''' || '''Electric Plug Pin for Plug Type 3 and Type 4''' | |||
|- | |||
|[[File:Plug34.png|200px|alt=Plug34]] | |||
|| | |||
|- | |- | ||
| '''rail12v.dat''' || '''Train Track 12V Electric Connector''' | |||
|- | |||
|[[File:Rail12v.png|200px|alt=Rail12v]] | |||
|| | |||
|- | |||
| ''' | | '''slotm.dat''' || '''Mursten Brick Slot''' | ||
|- | |- | ||
| [[File: | |[[File:Slotm.png|200px|alt=Slotm]] | ||
|| | || | ||
| | |} | ||
</div> | |||
{| style="text-align:right; width: 100%;" | |||
|[[#top|Return to top]] | |||
|} |
Latest revision as of 12:34, 16 November 2024
LDraw Primitives Reference
Latest Update: 16.11.2024, added the LDraw 2024-09 primitives.
This page is a source of reference for the LDraw primitives in the \LDraw\p directory. Primitives are defined as highly re-usable components of LEGO parts modelled for LDraw. They serve several purposes :
- To speed up parts authoring by providing a library of components which can be incorporated into several parts
- To allow rendering software to make substitutions of curved components
Within this reference material the available primitives are categorised into:
Each section contains an overview of the characteristics common to all primitives within that category. Primitives are grouped into classes within each category - one class of primitive serving a similar purpose at different sizes or resolutions. For each class of primitive, a brief description of the purpose of the primitive is provided, with notes on its co-ordinate origin, default size and rules for scaling. A list of the available primitives is shown.
An understanding of the orientation of the co-ordinate axes is essential for authoring a part for LDraw. For reference within this page the axes and their direction is shown in this diagram.
Rectilinear primitives
Nomenclature
Boxes are named boxF, with F representing the number of faces a box has. The suffix E represents the number of edges removed.
F and E are may followed by an additional letter. The hyphen is removed if F is accompanied by a modifier.
Face modifiers:
- o - faces are opposite to each other
- t - faces are all touching each other (usually, it's implied, but box4t.dat is a thing)
- u - missing faces form a U-shape
Edge letters:
- p - groups of edges are parallel to each other
- a - some missing faces have no adjacent edges
Scaling and orientation
These rectilinear elements may be scaled in the {x}, {y} and {z} dimensions to make elements of any size. For example
1 16 0 0 0 40 0 0 0 1 0 0 0 20 rect.dat
would generate a 80LDu x 40LDu rectangle in the {x,z} plane.
Although the default orientation of the rect.dat primitive is in the {x,z} plane the LDraw language allows for this to be transformed
1 16 0 0 0 0 1 0 40 0 0 0 0 20 rect.dat
would generate a 80LDu x 40LDu rectangle in the {y,z} plane.
1 16 0 0 0 40 0 0 0 0 20 0 1 0 rect.dat
would generate a 80LDu x 40LDu rectangle in the {x,y} plane.
Do NOT rotate rect primitives outside of right angles: 90°, 180 ... on all axes.
Return to top |
Return to top |
Curved primitives
LDraw represents curved surfaces as polygons. For circular components two series of primitives are provided.
All the circular primitives are orientated in the {x,z} plane with their origin at the centre of the circle and a default radius of 1 LDu. Primitives are provided for complete circles and for commonly used fractions of a complete circle. Where the naming convention includes a prefix of the form n-f this indicates the fraction (n/f) of the circle drawn by the primitive. Where this fraction is less than an entire circle, the primitive starts at {+x,0} and progresses in a conterclockwise direction when viewed from above {-y}.
To avoid rounding errors, it is preferable to use existing fractional circular primitives, or create a new primitive, rather than rotate an existing primitive by anything other than 90 or 180 degrees. For example, use 3-16XXXX.dat rather than combining 1-8XXXX.dat with 1-16XXXX.dat rotated by 22.5 degreees.
To avoid matrix arithmetic problems in some renderers, the third dimension ({y} in the default orientation) of two-dimensional primitives must be given a non-zero scaling factor. LDraw circles are normally formed of 16-sided polygons (hexdecagons) - the regular resolution. For larger elements, where scaling-up of hexadecagons would give too angular an appearance, a series of high resolution primitives based on a 48-sided polygon are available. These may also be used for parts not well suited to a 16-fold symmetry.
These circular elements may be scaled by the same factor in both the {x} and {z} dimensions to make circular elements of greater or less than 1LDu radius. For example
1 16 0 0 0 3 0 0 0 1 0 0 0 3 4-4edge.dat
would generate a circle in the {x,z} plane with a radius of 3LDu.
They may also be scaled asymmetrically in the x and z dimension to make ellipses.
Although the default orientation is in the {x,z} plane the LDraw language allows for these to be transformed
1 16 0 0 0 0 1 0 3 0 0 0 0 3 4-4edge.dat would generate a circle in the {y,z} plane
1 16 0 0 0 3 0 0 0 0 3 0 1 0 4-4edge.dat would generate a circle in the {x,y} plane
Return to top |
Return to top |
Technic primitives
Return to top |
Return to top |
Return to top |
Return to top |
Return to top |
Return to top |
Return to top |
Return to top |
Return to top |
Return to top |
Return to top |
Return to top |
Stud primitives
Each studxxx primitive described below has a matching low resolution stu2xxx primitive, used by the fast-draw mode of renderers - these stu2xxx primitive must never be used in part files. An additional primitive (studline.dat) is used to substitute a single line for studs by the super fast-draw mode of LDraw.
All stud primitives are modelled with the solid disc uppermost, even if designed for the underside of parts (stud3, stud4, stud8, stud11). The origin is at the base of the stud and they extend for 4LDU in the {-y} dimension. To use for the underside, the primitives need to be inverted in the {y} dimension, viz.
1 16 x y z 1 0 0 0 -1 0 0 0 1 stud3.dat
These primitives must not be scaled in the {x} or {z} dimensions. Ideally they should not be scaled in the {y} dimension either, to allow the accurate substitution of chamfered studs by high-quality renderers [but this rule is flouted in the regular brick files, where stud4 is scaled by 5 to generate the underside tube].
Return to top |
Return to top |
Return to top |
Stud group primitives
Stud groups are provided to reduce the size of part files with many regularly spaced studs. The naming convention is stugN-XxZ.dat, where:
- N = type of stud (regular stud, hollow stud, underside stud, etc.)
- X = number of studs on the x axis
- Z = number of studs on the z axis
To prevent an overload of the library with excessive combinations, the numbers on the x and z axis are limited to:
- 1xZ stugs
- Xx1 stugs (Due to stud orientation you cannot rotate a 1xZ stud group by 90 degrees to get a Xx1 stud group)
- XxZ stugs where X = Z
These primitives must not be scaled.
Return to top |
Logo primitives
This section comprises various primitives of LEGO and non-LEGO logos mostly used on patterns and stickers. These might be used as primitives or inlined code to see fit.
Return to top |
Miscellaneous primitives
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized.
Return to top |
Text primitves
The section comprises reusable glyphs for constructing text patterns. These primitives may be re-sized.
The naming convention for these primitives is typeffci, where ff is an arbitrary two-letter abbreviation for the typeface, c is the glyph class (u=upper case letter, l=lower case letter, n=number, s=symbol, a=accented letter) and i is the glyph identifier (a-z for the upper and lower case letters, 0-9 for the numbers).
Return to top |
Duplo primitives
This section comprises primitives for Duplo parts, all of which have been modelled and released into the official library.
Return to top |
Joint-8 Ball primitives
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized.
Return to top |
Minifig primitives
This section comprises primitives for minifig parts. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized.
knob1.dat | Minifig Arm Knob |
hipstud.dat | Stud for Minifig Hips |
hipstuda.dat | Stud for Minifig Hips without Base Edges |
hipstudh.dat | Stud for Minifig Hips with Hole |
Arm primitives
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized.
Return to top |
Click-lock primitives
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized.
Return to top |
Clip primitives
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized.
Return to top |
Wheel holding pin primitives
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized.
Return to top |
Handle primitives
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized.
handle.dat | Handle for Flat Shields |
handle2.dat | Handle for Bent Shields |
phandle1.dat | Bar Handle Attachment with Open Side |
phandle2.dat | Bar Handle Attachment with 2 Open Sides |
Return to top |
Hinge primitives
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized.
Return to top |
ZNAP parts primitives
This section comprises primitives for the ZNAP parts, all of which have been modelled and released into the official library.
Return to top |
Clikits primitives
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized.
clikitsstud.dat | Clikits Stud |
clikitshole.dat | Clikits Hole |
Return to top |
The rest of development
This section comprises miscellaneous primitives that do not fit neatly into any of the other categories. All are highly specialised and represent components of parts which fit together with each other or other standard parts. As such these primitives are not intended to be re-sized.
Return to top |