Tue, 25 Aug 2020 21:31:41 +0300
move library-standards.ini to top directory
library-standards.ini | file | annotate | diff | comparison | revisions | |
librarystandards.py | file | annotate | diff | comparison | revisions | |
tests/library-standards.ini | file | annotate | diff | comparison | revisions |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/library-standards.ini Tue Aug 25 21:31:41 2020 +0300 @@ -0,0 +1,134 @@ +[scaling restrictions] +axle.dat = y-scaling only +axleend.dat = y-scaling only +axl?hol?.dat = y-scaling only +axlesphe.dat = no scaling +bushloc?.dat = no scaling +steerend.dat = no scaling +connect.dat = no scaling +connect?.dat = no scaling +confric?.dat = no scaling +connhol?.dat = no scaling +beamhole.dat = no scaling +peghole.dat = y-scaling only +peghole?.dat = y-scaling only +npeghol?.dat = y-scaling only +tooth*.dat = no scaling +daxle.dat = y-scaling only +daxlehole.dat = y-scaling only +daxlehub.dat = y-scaling only +dtoothc.dat = no scaling +stug?*.dat = no scaling +arm?.dat = no scaling +clh?*.dat = no scaling +4-4crh?.dat = no scaling +clip?.dat = no scaling +clip??.dat = no scaling +finger1.dat = no scaling +h[12].dat = no scaling +plug34.dat = no scaling +wpin*.dat = no scaling +bump5000.dat = no scaling +slotm.dat = no scaling +handle*.dat = no scaling +rail12v.dat = no scaling +primotop.dat = no scaling +primobot.dat = no scaling +zstud.dat = no scaling +# no scaling on studs +stud*.dat = no scaling +# allow y-scaling only on stud4 for historical reasons +stud4.dat = y-scaling only +# allow -1 y-scaling only on some stud primitives for historical reasons +stud3.dat = stud3-like scaling +stud4s.dat = stud3-like scaling +stud4s2.dat = stud3-like scaling +stud16.dat = stud3-like scaling +stud21a.dat = stud3-like scaling +stud22a.dat = stud3-like scaling + +[categories] +Animal = +Antenna = +Arch = +Arm = +Bar = +Baseplate = +Belville = +Boat = +Bracket = +Brick = +Car = +Clikits = +Cockpit = +Cone = +Constraction = +Constraction Accessory = +Container = +Conveyor = +Crane = +Cylinder = +Dish = +Door = +Electric = +Exhaust = +Fence = +Figure = +Figure Accessory = +Flag = +Forklift = +Freestyle = +Garage = +Glass = +Grab = +Hinge = +Homemaker = +Hose = +Ladder = +Lever = +Magnet = +Minifig = +Minifig Accessory = +Minifig Footwear = +Minifig Headwear = +Minifig Hipwear = +Minifig Neckwear = +Monorail = +Obsolete = +Panel = +Plane = +Plant = +Plate = +Platform = +Propellor = +Rack = +Roadsign = +Rock = +Scala = +Screw = +Sheet Cardboard = +Sheet Fabric = +Sheet Plastic = +Slope = +Sphere = +Staircase = +Sticker = +Support = +Tail = +Tap = +Technic = +Tile = +Tipper = +Tractor = +Trailer = +Train = +Turntable = +Tyre = +Vehicle = +Wedge = +Wheel = +Winch = +Window = +Windscreen = +Wing = +Znap =
--- a/librarystandards.py Mon Jun 24 19:21:49 2019 +0300 +++ b/librarystandards.py Tue Aug 25 21:31:41 2020 +0300 @@ -2,7 +2,7 @@ from pathlib import Path from os.path import dirname -ini_path = Path(dirname(__file__)) / 'tests' / 'library-standards.ini' +ini_path = Path(dirname(__file__)) / 'library-standards.ini' library_standards = ConfigParser() with ini_path.open() as file:
--- a/tests/library-standards.ini Mon Jun 24 19:21:49 2019 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,134 +0,0 @@ -[scaling restrictions] -axle.dat = y-scaling only -axleend.dat = y-scaling only -axl?hol?.dat = y-scaling only -axlesphe.dat = no scaling -bushloc?.dat = no scaling -steerend.dat = no scaling -connect.dat = no scaling -connect?.dat = no scaling -confric?.dat = no scaling -connhol?.dat = no scaling -beamhole.dat = no scaling -peghole.dat = y-scaling only -peghole?.dat = y-scaling only -npeghol?.dat = y-scaling only -tooth*.dat = no scaling -daxle.dat = y-scaling only -daxlehole.dat = y-scaling only -daxlehub.dat = y-scaling only -dtoothc.dat = no scaling -stug?*.dat = no scaling -arm?.dat = no scaling -clh?*.dat = no scaling -4-4crh?.dat = no scaling -clip?.dat = no scaling -clip??.dat = no scaling -finger1.dat = no scaling -h[12].dat = no scaling -plug34.dat = no scaling -wpin*.dat = no scaling -bump5000.dat = no scaling -slotm.dat = no scaling -handle*.dat = no scaling -rail12v.dat = no scaling -primotop.dat = no scaling -primobot.dat = no scaling -zstud.dat = no scaling -# no scaling on studs -stud*.dat = no scaling -# allow y-scaling only on stud4 for historical reasons -stud4.dat = y-scaling only -# allow -1 y-scaling only on some stud primitives for historical reasons -stud3.dat = stud3-like scaling -stud4s.dat = stud3-like scaling -stud4s2.dat = stud3-like scaling -stud16.dat = stud3-like scaling -stud21a.dat = stud3-like scaling -stud22a.dat = stud3-like scaling - -[categories] -Animal = -Antenna = -Arch = -Arm = -Bar = -Baseplate = -Belville = -Boat = -Bracket = -Brick = -Car = -Clikits = -Cockpit = -Cone = -Constraction = -Constraction Accessory = -Container = -Conveyor = -Crane = -Cylinder = -Dish = -Door = -Electric = -Exhaust = -Fence = -Figure = -Figure Accessory = -Flag = -Forklift = -Freestyle = -Garage = -Glass = -Grab = -Hinge = -Homemaker = -Hose = -Ladder = -Lever = -Magnet = -Minifig = -Minifig Accessory = -Minifig Footwear = -Minifig Headwear = -Minifig Hipwear = -Minifig Neckwear = -Monorail = -Obsolete = -Panel = -Plane = -Plant = -Plate = -Platform = -Propellor = -Rack = -Roadsign = -Rock = -Scala = -Screw = -Sheet Cardboard = -Sheet Fabric = -Sheet Plastic = -Slope = -Sphere = -Staircase = -Sticker = -Support = -Tail = -Tap = -Technic = -Tile = -Tipper = -Tractor = -Trailer = -Train = -Turntable = -Tyre = -Vehicle = -Wedge = -Wheel = -Winch = -Window = -Windscreen = -Wing = -Znap =