Copyright | (c) Robert Savu and Uni Bremen 2011 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Robert.Savu@dfki.de |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Declaration of the abstract datatypes of FreeCAD terms
Synopsis
- data Vector3 = Vector3 {}
- data Matrix33 = Matrix33 {}
- data Vector4 = Vector4 {}
- data Placement = Placement {}
- data BaseObject
- data Object
- data ExtendedObject
- = Placed PlacedObject
- | Ref String
- data PlacedObject = PlacedObject {}
- data NamedObject
- = NamedObject {
- name :: String
- object :: PlacedObject
- | EmptyObject
- = NamedObject {
- type Document = [NamedObject]
- data Sign = Sign {
- objects :: Set NamedObject
Documentation
Instances
Eq Vector3 Source # | |
Data Vector3 Source # | |
Defined in FreeCAD.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Vector3 -> c Vector3 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Vector3 dataTypeOf :: Vector3 -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Vector3) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Vector3) gmapT :: (forall b. Data b => b -> b) -> Vector3 -> Vector3 gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Vector3 -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Vector3 -> r gmapQ :: (forall d. Data d => d -> u) -> Vector3 -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Vector3 -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Vector3 -> m Vector3 gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Vector3 -> m Vector3 gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Vector3 -> m Vector3 | |
Ord Vector3 Source # | |
Show Vector3 Source # | |
Generic Vector3 | |
FromJSON Vector3 | |
Defined in FreeCAD.ATC_FreeCAD parseJSON :: Value -> Parser Vector3 parseJSONList :: Value -> Parser [Vector3] | |
ToJSON Vector3 | |
Defined in FreeCAD.ATC_FreeCAD toEncoding :: Vector3 -> Encoding toJSONList :: [Vector3] -> Value toEncodingList :: [Vector3] -> Encoding | |
ShATermConvertible Vector3 | |
Defined in FreeCAD.ATC_FreeCAD toShATermAux :: ATermTable -> Vector3 -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Vector3] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Vector3) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Vector3]) | |
Pretty Vector3 Source # | |
type Rep Vector3 | |
Defined in FreeCAD.ATC_FreeCAD type Rep Vector3 = D1 ('MetaData "Vector3" "FreeCAD.As" "main" 'False) (C1 ('MetaCons "Vector3" 'PrefixI 'True) (S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "z") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))) |
Instances
Eq Matrix33 Source # | |
Data Matrix33 Source # | |
Defined in FreeCAD.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Matrix33 -> c Matrix33 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Matrix33 toConstr :: Matrix33 -> Constr dataTypeOf :: Matrix33 -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Matrix33) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Matrix33) gmapT :: (forall b. Data b => b -> b) -> Matrix33 -> Matrix33 gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Matrix33 -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Matrix33 -> r gmapQ :: (forall d. Data d => d -> u) -> Matrix33 -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Matrix33 -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Matrix33 -> m Matrix33 gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Matrix33 -> m Matrix33 gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Matrix33 -> m Matrix33 | |
Ord Matrix33 Source # | |
Show Matrix33 Source # | |
Generic Matrix33 | |
FromJSON Matrix33 | |
Defined in FreeCAD.ATC_FreeCAD parseJSON :: Value -> Parser Matrix33 parseJSONList :: Value -> Parser [Matrix33] | |
ToJSON Matrix33 | |
Defined in FreeCAD.ATC_FreeCAD toEncoding :: Matrix33 -> Encoding toJSONList :: [Matrix33] -> Value toEncodingList :: [Matrix33] -> Encoding | |
ShATermConvertible Matrix33 | |
Defined in FreeCAD.ATC_FreeCAD toShATermAux :: ATermTable -> Matrix33 -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Matrix33] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Matrix33) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Matrix33]) | |
Pretty Matrix33 Source # | |
type Rep Matrix33 | |
Defined in FreeCAD.ATC_FreeCAD type Rep Matrix33 = D1 ('MetaData "Matrix33" "FreeCAD.As" "main" 'False) (C1 ('MetaCons "Matrix33" 'PrefixI 'True) (((S1 ('MetaSel ('Just "a11") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "a12") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "a13") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "a21") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))) :*: ((S1 ('MetaSel ('Just "a22") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "a23") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "a31") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Just "a32") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "a33") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))))) |
Instances
Eq Vector4 Source # | |
Data Vector4 Source # | |
Defined in FreeCAD.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Vector4 -> c Vector4 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Vector4 dataTypeOf :: Vector4 -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Vector4) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Vector4) gmapT :: (forall b. Data b => b -> b) -> Vector4 -> Vector4 gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Vector4 -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Vector4 -> r gmapQ :: (forall d. Data d => d -> u) -> Vector4 -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Vector4 -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Vector4 -> m Vector4 gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Vector4 -> m Vector4 gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Vector4 -> m Vector4 | |
Ord Vector4 Source # | |
Show Vector4 Source # | |
Generic Vector4 | |
FromJSON Vector4 | |
Defined in FreeCAD.ATC_FreeCAD parseJSON :: Value -> Parser Vector4 parseJSONList :: Value -> Parser [Vector4] | |
ToJSON Vector4 | |
Defined in FreeCAD.ATC_FreeCAD toEncoding :: Vector4 -> Encoding toJSONList :: [Vector4] -> Value toEncodingList :: [Vector4] -> Encoding | |
ShATermConvertible Vector4 | |
Defined in FreeCAD.ATC_FreeCAD toShATermAux :: ATermTable -> Vector4 -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Vector4] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Vector4) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Vector4]) | |
Pretty Vector4 Source # | |
type Rep Vector4 | |
Defined in FreeCAD.ATC_FreeCAD type Rep Vector4 = D1 ('MetaData "Vector4" "FreeCAD.As" "main" 'False) (C1 ('MetaCons "Vector4" 'PrefixI 'True) ((S1 ('MetaSel ('Just "q0") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "q1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "q2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "q3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))) |
Instances
Eq Placement Source # | |
Data Placement Source # | |
Defined in FreeCAD.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Placement -> c Placement gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Placement toConstr :: Placement -> Constr dataTypeOf :: Placement -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Placement) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Placement) gmapT :: (forall b. Data b => b -> b) -> Placement -> Placement gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Placement -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Placement -> r gmapQ :: (forall d. Data d => d -> u) -> Placement -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Placement -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Placement -> m Placement gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Placement -> m Placement gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Placement -> m Placement | |
Ord Placement Source # | |
Defined in FreeCAD.As | |
Show Placement Source # | |
Generic Placement | |
FromJSON Placement | |
Defined in FreeCAD.ATC_FreeCAD parseJSON :: Value -> Parser Placement parseJSONList :: Value -> Parser [Placement] | |
ToJSON Placement | |
Defined in FreeCAD.ATC_FreeCAD toEncoding :: Placement -> Encoding toJSONList :: [Placement] -> Value toEncodingList :: [Placement] -> Encoding | |
ShATermConvertible Placement | |
Defined in FreeCAD.ATC_FreeCAD toShATermAux :: ATermTable -> Placement -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Placement] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Placement) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Placement]) | |
Pretty Placement Source # | |
type Rep Placement | |
Defined in FreeCAD.ATC_FreeCAD type Rep Placement = D1 ('MetaData "Placement" "FreeCAD.As" "main" 'False) (C1 ('MetaCons "Placement" 'PrefixI 'True) (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Vector3) :*: S1 ('MetaSel ('Just "orientation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Vector4))) |
data BaseObject Source #
Box Double Double Double | |
Cylinder Double Double Double | |
Sphere Double Double Double Double | |
Cone Double Double Double Double | |
Torus Double Double Double Double Double | |
Line Double | |
Circle Double Double Double | |
Rectangle Double Double |
Instances
Eq BaseObject Source # | |
Defined in FreeCAD.As (==) :: BaseObject -> BaseObject -> Bool (/=) :: BaseObject -> BaseObject -> Bool | |
Data BaseObject Source # | |
Defined in FreeCAD.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BaseObject -> c BaseObject gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BaseObject toConstr :: BaseObject -> Constr dataTypeOf :: BaseObject -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BaseObject) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BaseObject) gmapT :: (forall b. Data b => b -> b) -> BaseObject -> BaseObject gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BaseObject -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BaseObject -> r gmapQ :: (forall d. Data d => d -> u) -> BaseObject -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> BaseObject -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> BaseObject -> m BaseObject gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BaseObject -> m BaseObject gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BaseObject -> m BaseObject | |
Ord BaseObject Source # | |
Defined in FreeCAD.As compare :: BaseObject -> BaseObject -> Ordering (<) :: BaseObject -> BaseObject -> Bool (<=) :: BaseObject -> BaseObject -> Bool (>) :: BaseObject -> BaseObject -> Bool (>=) :: BaseObject -> BaseObject -> Bool max :: BaseObject -> BaseObject -> BaseObject min :: BaseObject -> BaseObject -> BaseObject | |
Show BaseObject Source # | |
Defined in FreeCAD.As showsPrec :: Int -> BaseObject -> ShowS show :: BaseObject -> String showList :: [BaseObject] -> ShowS | |
Generic BaseObject | |
Defined in FreeCAD.ATC_FreeCAD type Rep BaseObject :: Type -> Type from :: BaseObject -> Rep BaseObject x to :: Rep BaseObject x -> BaseObject | |
FromJSON BaseObject | |
Defined in FreeCAD.ATC_FreeCAD parseJSON :: Value -> Parser BaseObject parseJSONList :: Value -> Parser [BaseObject] | |
ToJSON BaseObject | |
Defined in FreeCAD.ATC_FreeCAD toJSON :: BaseObject -> Value toEncoding :: BaseObject -> Encoding toJSONList :: [BaseObject] -> Value toEncodingList :: [BaseObject] -> Encoding | |
ShATermConvertible BaseObject | |
Defined in FreeCAD.ATC_FreeCAD toShATermAux :: ATermTable -> BaseObject -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [BaseObject] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, BaseObject) fromShATermList' :: Int -> ATermTable -> (ATermTable, [BaseObject]) | |
Pretty BaseObject Source # | |
Defined in FreeCAD.PrintAs pretty :: BaseObject -> Doc Source # pretties :: [BaseObject] -> Doc Source # | |
type Rep BaseObject | |
Defined in FreeCAD.ATC_FreeCAD type Rep BaseObject = D1 ('MetaData "BaseObject" "FreeCAD.As" "main" 'False) (((C1 ('MetaCons "Box" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))) :+: C1 ('MetaCons "Cylinder" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))) :+: (C1 ('MetaCons "Sphere" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))) :+: C1 ('MetaCons "Cone" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))))) :+: ((C1 ('MetaCons "Torus" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))) :+: C1 ('MetaCons "Line" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))) :+: (C1 ('MetaCons "Circle" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))) :+: C1 ('MetaCons "Rectangle" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))))) |
Instances
Eq Object Source # | |
Data Object Source # | |
Defined in FreeCAD.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Object -> c Object gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Object dataTypeOf :: Object -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Object) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Object) gmapT :: (forall b. Data b => b -> b) -> Object -> Object gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Object -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Object -> r gmapQ :: (forall d. Data d => d -> u) -> Object -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Object -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Object -> m Object gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Object -> m Object gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Object -> m Object | |
Ord Object Source # | |
Show Object Source # | |
Generic Object | |
FromJSON Object | |
Defined in FreeCAD.ATC_FreeCAD parseJSON :: Value -> Parser Object parseJSONList :: Value -> Parser [Object] | |
ToJSON Object | |
Defined in FreeCAD.ATC_FreeCAD toEncoding :: Object -> Encoding toJSONList :: [Object] -> Value toEncodingList :: [Object] -> Encoding | |
ShATermConvertible Object | |
Defined in FreeCAD.ATC_FreeCAD toShATermAux :: ATermTable -> Object -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Object] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Object) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Object]) | |
Pretty Object Source # | |
type Rep Object | |
Defined in FreeCAD.ATC_FreeCAD type Rep Object = D1 ('MetaData "Object" "FreeCAD.As" "main" 'False) ((C1 ('MetaCons "BaseObject" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BaseObject)) :+: (C1 ('MetaCons "Cut" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtendedObject) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtendedObject)) :+: C1 ('MetaCons "Common" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtendedObject) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtendedObject)))) :+: (C1 ('MetaCons "Fusion" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtendedObject) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtendedObject)) :+: (C1 ('MetaCons "Extrusion" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtendedObject) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Vector3)) :+: C1 ('MetaCons "Section" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtendedObject) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtendedObject))))) |
data ExtendedObject Source #
Placed PlacedObject | |
Ref String |
Instances
Eq ExtendedObject Source # | |
Defined in FreeCAD.As (==) :: ExtendedObject -> ExtendedObject -> Bool (/=) :: ExtendedObject -> ExtendedObject -> Bool | |
Data ExtendedObject Source # | |
Defined in FreeCAD.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExtendedObject -> c ExtendedObject gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExtendedObject toConstr :: ExtendedObject -> Constr dataTypeOf :: ExtendedObject -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExtendedObject) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExtendedObject) gmapT :: (forall b. Data b => b -> b) -> ExtendedObject -> ExtendedObject gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedObject -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExtendedObject -> r gmapQ :: (forall d. Data d => d -> u) -> ExtendedObject -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ExtendedObject -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExtendedObject -> m ExtendedObject gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedObject -> m ExtendedObject gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExtendedObject -> m ExtendedObject | |
Ord ExtendedObject Source # | |
Defined in FreeCAD.As compare :: ExtendedObject -> ExtendedObject -> Ordering (<) :: ExtendedObject -> ExtendedObject -> Bool (<=) :: ExtendedObject -> ExtendedObject -> Bool (>) :: ExtendedObject -> ExtendedObject -> Bool (>=) :: ExtendedObject -> ExtendedObject -> Bool max :: ExtendedObject -> ExtendedObject -> ExtendedObject min :: ExtendedObject -> ExtendedObject -> ExtendedObject | |
Show ExtendedObject Source # | |
Defined in FreeCAD.As showsPrec :: Int -> ExtendedObject -> ShowS show :: ExtendedObject -> String showList :: [ExtendedObject] -> ShowS | |
Generic ExtendedObject | |
Defined in FreeCAD.ATC_FreeCAD type Rep ExtendedObject :: Type -> Type from :: ExtendedObject -> Rep ExtendedObject x to :: Rep ExtendedObject x -> ExtendedObject | |
FromJSON ExtendedObject | |
Defined in FreeCAD.ATC_FreeCAD parseJSON :: Value -> Parser ExtendedObject parseJSONList :: Value -> Parser [ExtendedObject] | |
ToJSON ExtendedObject | |
Defined in FreeCAD.ATC_FreeCAD toJSON :: ExtendedObject -> Value toEncoding :: ExtendedObject -> Encoding toJSONList :: [ExtendedObject] -> Value toEncodingList :: [ExtendedObject] -> Encoding | |
ShATermConvertible ExtendedObject | |
Defined in FreeCAD.ATC_FreeCAD toShATermAux :: ATermTable -> ExtendedObject -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ExtendedObject] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ExtendedObject) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ExtendedObject]) | |
Pretty ExtendedObject Source # | |
Defined in FreeCAD.PrintAs pretty :: ExtendedObject -> Doc Source # pretties :: [ExtendedObject] -> Doc Source # | |
type Rep ExtendedObject | |
Defined in FreeCAD.ATC_FreeCAD type Rep ExtendedObject = D1 ('MetaData "ExtendedObject" "FreeCAD.As" "main" 'False) (C1 ('MetaCons "Placed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PlacedObject)) :+: C1 ('MetaCons "Ref" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) |
data PlacedObject Source #
Instances
Eq PlacedObject Source # | |
Defined in FreeCAD.As (==) :: PlacedObject -> PlacedObject -> Bool (/=) :: PlacedObject -> PlacedObject -> Bool | |
Data PlacedObject Source # | |
Defined in FreeCAD.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PlacedObject -> c PlacedObject gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PlacedObject toConstr :: PlacedObject -> Constr dataTypeOf :: PlacedObject -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PlacedObject) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PlacedObject) gmapT :: (forall b. Data b => b -> b) -> PlacedObject -> PlacedObject gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PlacedObject -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PlacedObject -> r gmapQ :: (forall d. Data d => d -> u) -> PlacedObject -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> PlacedObject -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> PlacedObject -> m PlacedObject gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PlacedObject -> m PlacedObject gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PlacedObject -> m PlacedObject | |
Ord PlacedObject Source # | |
Defined in FreeCAD.As compare :: PlacedObject -> PlacedObject -> Ordering (<) :: PlacedObject -> PlacedObject -> Bool (<=) :: PlacedObject -> PlacedObject -> Bool (>) :: PlacedObject -> PlacedObject -> Bool (>=) :: PlacedObject -> PlacedObject -> Bool max :: PlacedObject -> PlacedObject -> PlacedObject min :: PlacedObject -> PlacedObject -> PlacedObject | |
Show PlacedObject Source # | |
Defined in FreeCAD.As showsPrec :: Int -> PlacedObject -> ShowS show :: PlacedObject -> String showList :: [PlacedObject] -> ShowS | |
Generic PlacedObject | |
Defined in FreeCAD.ATC_FreeCAD type Rep PlacedObject :: Type -> Type from :: PlacedObject -> Rep PlacedObject x to :: Rep PlacedObject x -> PlacedObject | |
FromJSON PlacedObject | |
Defined in FreeCAD.ATC_FreeCAD parseJSON :: Value -> Parser PlacedObject parseJSONList :: Value -> Parser [PlacedObject] | |
ToJSON PlacedObject | |
Defined in FreeCAD.ATC_FreeCAD toJSON :: PlacedObject -> Value toEncoding :: PlacedObject -> Encoding toJSONList :: [PlacedObject] -> Value toEncodingList :: [PlacedObject] -> Encoding | |
ShATermConvertible PlacedObject | |
Defined in FreeCAD.ATC_FreeCAD toShATermAux :: ATermTable -> PlacedObject -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [PlacedObject] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, PlacedObject) fromShATermList' :: Int -> ATermTable -> (ATermTable, [PlacedObject]) | |
Pretty PlacedObject Source # | |
Defined in FreeCAD.PrintAs pretty :: PlacedObject -> Doc Source # pretties :: [PlacedObject] -> Doc Source # | |
type Rep PlacedObject | |
Defined in FreeCAD.ATC_FreeCAD type Rep PlacedObject = D1 ('MetaData "PlacedObject" "FreeCAD.As" "main" 'False) (C1 ('MetaCons "PlacedObject" 'PrefixI 'True) (S1 ('MetaSel ('Just "p") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Placement) :*: S1 ('MetaSel ('Just "o") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Object))) |
data NamedObject Source #
NamedObject | |
| |
EmptyObject |
Instances
type Document = [NamedObject] Source #
Datatype for FreeCAD Signatures Signatures are just sets of named objects
Sign | |
|