# HG changeset patch # User Teemu Piippo # Date 1598380301 -10800 # Node ID 70f8049623eca2287954e0506edf371205616161 # Parent a3536e51f6bcc3d919f1ec7da780adc7b8f8bb31 move library-standards.ini to top directory diff -r a3536e51f6bc -r 70f8049623ec library-standards.ini --- /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 = diff -r a3536e51f6bc -r 70f8049623ec librarystandards.py --- 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: diff -r a3536e51f6bc -r 70f8049623ec tests/library-standards.ini --- 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 =