Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data PcbnewExpr
- data PcbnewModule = PcbnewModule {}
- data PcbnewItem
- = PcbnewFpText { }
- | PcbnewFpLine { }
- | PcbnewFpCircle { }
- | PcbnewFpArc { }
- | PcbnewFpPoly { }
- | PcbnewPad {
- padNumber :: String
- padType :: PcbnewPadTypeT
- padShape :: PcbnewPadShapeT
- itemAt :: PcbnewAtT
- itemSize :: (Double, Double)
- padLayers :: [PcbnewLayerT]
- padAttributes_ :: [PcbnewAttribute]
- data PcbnewAttribute
- = PcbnewLayer PcbnewLayerT
- | PcbnewAt PcbnewAtT
- | PcbnewFpTextType PcbnewFpTextTypeT
- | PcbnewSize (Double, Double)
- | PcbnewThickness Double
- | PcbnewTedit String
- | PcbnewItalic
- | PcbnewHide
- | PcbnewLocked
- | PcbnewStart (Double, Double)
- | PcbnewEnd (Double, Double)
- | PcbnewWidth Double
- | PcbnewDescr String
- | PcbnewTags String
- | PcbnewAttr String
- | PcbnewLayers [PcbnewLayerT]
- | PcbnewDrill PcbnewDrillT
- | PcbnewRectDelta (Double, Double)
- | PcbnewFpTextEffects PcbnewAttribute
- | PcbnewFont { }
- | PcbnewAngle Double
- | PcbnewXy (Double, Double)
- | PcbnewPts [(Double, Double)]
- | PcbnewModel { }
- | PcbnewModelAt PcbnewAttribute
- | PcbnewModelScale PcbnewAttribute
- | PcbnewModelRotate PcbnewAttribute
- | PcbnewXyz PcbnewXyzT
- | PcbnewCenter (Double, Double)
- | PcbnewClearance Double
- | PcbnewMaskMargin Double
- | PcbnewPasteMargin Double
- | PcbnewPasteMarginRatio Double
- | PcbnewOffset (Double, Double)
- | PcbnewAutoplaceCost90 Int
- | PcbnewAutoplaceCost180 Int
- | PcbnewZoneConnect Int
- | PcbnewThermalWidth Double
- | PcbnewThermalGap Double
- data PcbnewDrillT = PcbnewDrillT {
- pcbnewDrillSize :: Maybe (Double, Double)
- pcbnewDrillOval :: Bool
- pcbnewDrillOffset :: Maybe (Double, Double)
- data PcbnewAtT = PcbnewAtT {}
- data PcbnewLayerT
- = FSilkS
- | FCu
- | FPaste
- | FMask
- | BSilkS
- | BCu
- | BPaste
- | BMask
- | DwgsUser
- | CmtsUser
- | FAdhes
- | AllSilk
- | FandBCu
- | AllCu
- | AllMask
- | EdgeCuts
- | FCrtYd
- | BCrtYd
- | Inner1Cu
- | Inner2Cu
- | Inner3Cu
- | Inner4Cu
- | Inner5Cu
- | Inner6Cu
- | Inner7Cu
- | Inner8Cu
- | Inner9Cu
- | Inner10Cu
- | Inner11Cu
- | Inner12Cu
- | Inner13Cu
- | Inner14Cu
- | Inner15Cu
- | Inner16Cu
- | Inner17Cu
- | Inner18Cu
- | Inner19Cu
- | Inner20Cu
- | Inner21Cu
- | Inner22Cu
- | Inner23Cu
- | Inner24Cu
- | Inner25Cu
- | Inner26Cu
- | Inner27Cu
- | Inner28Cu
- | Inner29Cu
- | Inner30Cu
- | Inner31Cu
- | Inner32Cu
- data PcbnewPadShapeT
- data PcbnewPadTypeT
- = ThruHole
- | SMD
- | Connect
- | NPThruHole
- data PcbnewFpTextTypeT
- type PcbnewXyzT = (Double, Double, Double)
- moduleItems :: Functor f => LensLike' f PcbnewModule [PcbnewItem]
- moduleAttrs :: Functor f => LensLike' f PcbnewModule [PcbnewAttribute]
- itemLayers :: Functor f => LensLike' f PcbnewItem [PcbnewLayerT]
- padAttributes :: Functor f => LensLike' f PcbnewItem [PcbnewAttribute]
- atX :: Functor f => LensLike' f PcbnewAtT Double
- atY :: Functor f => LensLike' f PcbnewAtT Double
- itemsOn :: [PcbnewLayerT] -> [PcbnewItem] -> [PcbnewItem]
- strToLayer :: String -> Maybe PcbnewLayerT
- layerToStr :: PcbnewLayerT -> String
- strToPadType :: String -> Maybe PcbnewPadTypeT
- fpPadTypeToStr :: PcbnewPadTypeT -> String
- strToPadShape :: String -> Maybe PcbnewPadShapeT
- fpPadShapeToStr :: PcbnewPadShapeT -> String
- strToFpTextType :: String -> Maybe PcbnewFpTextTypeT
- fpTextTypeToStr :: PcbnewFpTextTypeT -> String
- defaultPcbnewModule :: PcbnewModule
- defaultPcbnewFpText :: PcbnewItem
- defaultPcbnewFpLine :: PcbnewItem
- defaultPcbnewFpCircle :: PcbnewItem
- defaultPcbnewFpArc :: PcbnewItem
- defaultPcbnewFpPoly :: PcbnewItem
- defaultPcbnewPad :: PcbnewItem
- defaultPcbnewDrillT :: PcbnewDrillT
- defaultPcbnewFont :: PcbnewAttribute
- defaultPcbnewModel :: PcbnewAttribute
- defaultPcbnewAtT :: PcbnewAtT
Types
data PcbnewExpr Source
data PcbnewItem Source
PcbnewFpText | |
| |
PcbnewFpLine | |
PcbnewFpCircle | |
PcbnewFpArc | |
PcbnewFpPoly | |
PcbnewPad | |
|
data PcbnewAttribute Source
Attribute types
data PcbnewDrillT Source
PcbnewDrillT | |
|
data PcbnewLayerT Source
data PcbnewPadShapeT Source
data PcbnewPadTypeT Source
data PcbnewFpTextTypeT Source
type PcbnewXyzT = (Double, Double, Double) Source
Lenses and other getters/setters
moduleItems :: Functor f => LensLike' f PcbnewModule [PcbnewItem] Source
moduleAttrs :: Functor f => LensLike' f PcbnewModule [PcbnewAttribute] Source
itemLayers :: Functor f => LensLike' f PcbnewItem [PcbnewLayerT] Source
padAttributes :: Functor f => LensLike' f PcbnewItem [PcbnewAttribute] Source
itemsOn :: [PcbnewLayerT] -> [PcbnewItem] -> [PcbnewItem] Source
String conversion
strToLayer :: String -> Maybe PcbnewLayerT Source
layerToStr :: PcbnewLayerT -> String Source