mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 10:43:15 +02:00
very minor change.
This commit is contained in:
parent
1a464ab8c8
commit
8e11d9b628
@ -2,7 +2,7 @@
|
|||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012 NBEE Embedded Systems, Miguel Angel Ajo <miguelangel@nbee.es>
|
* Copyright (C) 2012 NBEE Embedded Systems, Miguel Angel Ajo <miguelangel@nbee.es>
|
||||||
* Copyright (C) 1992-2012 KiCad Developers, see AUTHORS.txt for contributors.
|
* Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
@ -198,15 +198,15 @@ class FilePlugin(KiCadPlugin):
|
|||||||
|
|
||||||
from math import ceil, floor, sqrt
|
from math import ceil, floor, sqrt
|
||||||
|
|
||||||
uMM = "mm" # Millimetres
|
uMM = "mm" # Millimetres
|
||||||
uMils = "mils" # Mils
|
uMils = "mils" # Mils
|
||||||
uFloat = "float" # Natural number units (dimensionless)
|
uFloat = "float" # Natural number units (dimensionless)
|
||||||
uInteger = "integer" # Integer (no decimals, numeric, dimensionless)
|
uInteger = "integer" # Integer (no decimals, numeric, dimensionless)
|
||||||
uBool = "bool" # Boolean value
|
uBool = "bool" # Boolean value
|
||||||
uRadians = "radians" # Angular units (radians)
|
uRadians = "radians" # Angular units (radians)
|
||||||
uDegrees = "degrees" # Angular units (degrees)
|
uDegrees = "degrees" # Angular units (degrees)
|
||||||
uPercent = "%" # Percent (0% -> 100%)
|
uPercent = "%" # Percent (0% -> 100%)
|
||||||
uString = "string" # Raw string
|
uString = "string" # Raw string
|
||||||
|
|
||||||
uNumeric = [uMM, uMils, uFloat, uInteger, uDegrees, uRadians, uPercent] # List of numeric types
|
uNumeric = [uMM, uMils, uFloat, uInteger, uDegrees, uRadians, uPercent] # List of numeric types
|
||||||
uUnits = [uMM, uMils, uFloat, uInteger, uBool, uDegrees, uRadians, uPercent, uString] # List of allowable types
|
uUnits = [uMM, uMils, uFloat, uInteger, uBool, uDegrees, uRadians, uPercent, uString] # List of allowable types
|
||||||
|
Loading…
x
Reference in New Issue
Block a user