HPS::Parasolid::Factory
- class HPS.Parasolid.Factory : public HPS.Sprocket
The Factory class is used to create Parasolid objects which inherit from HPS.Component or one of its subclasses.
Public Static Functions
- HPS.Parasolid.CADModel CreateCADModel ()
Creates a new Parasolid.CADModel.
- HPS.Parasolid.CADModel CreateCADModel (HPS.Model in_model)
Creates a new Parasolid.CADModel.
- Param in_model
The Model associated with the Parasolid.CADModel.
- HPS.Parasolid.Component CreateComponent (HPS.Component in_owner, HPS.Component.ComponentType in_type)
Creates a new Parasolid.Component as a subcomponent of a given Component.
- Param in_owner
The HPS.Component which owns the newly created Parasolid.Component.
- Param in_type
The type of Parasolid.Component to create.
- HPS.Parasolid.Component CreateComponent (HPS.Component in_owner, HPS.Component.ComponentType in_type, int in_entity)
Creates a new Parasolid.Component as a subcomponent of a given Component.
- Param in_owner
The HPS.Component which owns the newly created Parasolid.Component.
- Param in_type
The type of Parasolid.Component to create.
- Param in_entity
The Parasolid entity associated with the newly created Parasolid.Component.
- HPS.Parasolid.Component DeInstanceComponent (HPS.ComponentPath in_component_path)
Returns the component at whose level changes can be made without influencing other instances of the same component. For Parasolid components this function is only meaningful when in_component_path contains at least one component of type ParasolidInstance or ParasolidTopoBody. If none of these types are present in in_component_path a warning will be logged and an empty component will be returned.
- Param in_component_path
The ComponentPath to operate on.
- Return
The newly de-instanced Component.