Retrieves the number of component definitions that define groups. SUModelGetNumGroupDefinitions ( SUModelRef model, size_t *count) Retrieves the component definitions that define component instances but not groups. SUModelGetComponentDefinitions ( SUModelRef model, size_t len, SUComponentDefinitionRef definitions, size_t *count) Retrieves the number of components associated with a model. SUModelGetNumComponentDefinitions ( SUModelRef model, size_t *count) Note that the materials cannot be already owned. SUModelAddMaterials ( SUModelRef model, size_t len, const SUMaterialRef materials)Īdds materials to a model object. Retrieves all the materials associated with a model object.
SUModelGetMaterials ( SUModelRef model, size_t len, SUMaterialRef materials, size_t *count) Retrieves the number of materials in a model object. SUModelGetNumMaterials ( SUModelRef model, size_t *count) Retrieves the instance path of the active context (open group or component). SUModelGetActivePath ( SUModelRef model, SUInstancePathRef *instance_path) Retrieves the model entities of the active context (open group or component). SUModelGetActiveEntities ( SUModelRef model, SUEntitiesRef *entities) SUModelGetEntities ( SUModelRef model, SUEntitiesRef *entities) The root component of the model object and all its child objects must not be released explicitly. Releases a model object and its associated resources. SUModelCreateFromBufferWithStatus ( SUModelRef *model, const unsigned char *buffer, size_t buffer_size, enum SUModelLoadStatus *status) This model object must be released with SUModelRelease(). SUModelCreateFromBuffer ( SUModelRef *model, const unsigned char *buffer, size_t buffer_size)Ĭreates a model from a SketchUp skp file buffer. SUModelCreateFromFileWithStatus ( SUModelRef *model, const char *file_path, enum SUModelLoadStatus *status) SUModelCreateFromFile ( SUModelRef *model, const char *file_path)Ĭreates a model from a SketchUp file on local disk. Therefore, you can be certain that the details that fall within the tolerance will be preserved.(Note that these are not member functions.)Ĭreates an empty model object for the purposes of writing a SketchUp document. With Skimp, you can specify an error tolerance distance for simplifying your SketchUp model. Accurate Polygon Reduction in SketchUpģD Printing and CAD / CAM applications cannot sacrifice accuracy when reducing the polygons of a model. This means that components and nested objects are maintained. Skimp also preserves your model hierarchy. It couldn’t be simpler! Just drag a slider until you are satisfied! Simplification should be Simple, right? Select any number of groups and components in your SketchUp model, and Skimp can optimize them in seconds. This model was imported from the 3D Warehouse and the file size was reduced from 33 MB to 9MB with no significant change in appearance Selective Simplification With Skimp, you don’t need a supercomputer just to use a high-quality sofa or bed model from the 3D Warehouse. Unfortunately, SketchUp was not built to handle millions of polygons. Skimp can reduce the amount of faces, drastically reduce SketchUp file size, and simplify your SketchUp model while maintaining the visual appearance.