data/primitive-categories.cfg

Sun, 16 Jun 2013 00:48:09 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sun, 16 Jun 2013 00:48:09 +0300
changeset 294
2892deee4c1b
parent 293
a0ed563e14b2
child 559
5a31f6c14451
permissions
-rw-r--r--

Better categorized Technic primitives

# This file determines the rules based on which primitives are grouped into
# categories.
#
# Categories are defined as lines with their names, followed by lines
# containing rules. Rules are regular expressions prefixed with either:
#   - f: for filename matching, or
#   - t: for file title matching.
#
# Primitives are matched by the regular expressions in order as they are
# defined, the first category whose regex matches the primitive's filename
# gets the primitive.
#
# Any primitive which does not match any of the regexes default into an
# "Other" category. Do not define this category explicitly!
#
# All lines starting with # are comments and are ignored.

Rings
f:[0-9]+\-[0-9]+ring[0-9]\.dat
f:[0-9]+\-[0-9]+rin[0-9]+\.dat
f:[0-9]+\-[0-9]+ri[0-9]+\.dat

Cones
f:[0-9]+\-[0-9]+cone[0-9]\.dat
f:[0-9]+\-[0-9]+con[0-9]+\.dat
f:[0-9]+\-[0-9]+ri[0-9]+\.dat

Circles
f:[0-9]+\-[0-9]+edge\.dat

Cylinders
f:[0-9]+\-[0-9]+cyli[0-9]*\.dat

Discs
f:[0-9]+\-[0-9]+disc\.dat

Disc Negatives
f:[0-9]+\-[0-9]+ndis\.dat

Open/Closed Cylinders
f:[0-9]+\-[0-9]+cylo\.dat
f:[0-9]+\-[0-9]+cylc\.dat
f:[0-9]+\-[0-9]+cylc2\.dat

Sloped Cylinders
f:[0-9]+\-[0-9]+cyls\.dat
f:[0-9]+\-[0-9]+cys2\.dat
f:[0-9]+\-[0-9]+cylse\.dat

Chords
f:[0-9]+\-[0-9]+chrd\.dat
f:[0-9]+\-[0-9]+chr\.dat

Spheres
f:[0-9]+\-[0-9]+sphe\.dat

Torii (Inside)
f:t[0-9]+i[0-9]+\.dat

Torii (Outside)
f:r[0-9]+o[0-9]+\.dat
f:t[0-9]+o[0-9]+\.dat

Torii (Tube)
f:t[0-9]+q[0-9]+\.dat

Rings (48)
f:48\\[0-9]+\-[0-9]+ring[0-9]\.dat
f:48\\[0-9]+\-[0-9]+rin[0-9]+\.dat
f:48\\[0-9]+\-[0-9]+ri[0-9]+\.dat

Cones (48)
f:48\\[0-9]+\-[0-9]+cone[0-9]\.dat
f:48\\[0-9]+\-[0-9]+con[0-9]+\.dat
f:48\\[0-9]+\-[0-9]+ri[0-9]+\.dat

Other (48)
f:48\\.*\.dat

Rectangles
f:rect.*\.dat

Boxes
f:box.*\.dat

Studs
f:stud.*\.dat

Studs (Fast-Draw)
f:stu2.*\.dat

Stud Groups
f:stug.*\.dat

Technic Axles / Axleholes
f:axle.*\.dat
f:axl[0-9e]ho[le0-9]+\.dat

Technic Pins
f:connect[0-9]*\.dat
f:confric[0-9]*\.dat

Technic Pinholes
f:peghole[0-9]*\.dat
f:npegho[le0-9]+\.dat
f:connhol[0-9e]\.dat
f:beamhol[0-9e]\.dat

Technic Other
f:tooth.*\.dat
f:tootb.*\.dat
t:Technic .*

mercurial