API Reference

skppy.loader

Load a SketchUp .skp file and return a fully parsed Model.

skppy.material_loader

Load standalone SketchUp material packages.

skppy.exceptions

Custom exceptions for skppy.

skppy.utils

Utility helpers for working with parsed SketchUp models.

skppy.triangulation

Polygon triangulation with hole support for skppy.

skppy.data_structure.document

Document metadata data classes.

skppy.data_structure.annotations

Text, leader, and dimension entities shared by both SKP parsers.

skppy.data_structure.construction

Construction geometry, camera, and georeferenced shadow settings.

skppy.data_structure.entities

Geometry, topology, components, and scoped entity builder methods.

skppy.data_structure.header

Binary file header data class.

skppy.data_structure.images

Image texture data class.

skppy.data_structure.layers

Layer and LayerFolder data classes.

skppy.data_structure.materials

Material and texture data classes.

skppy.data_structure.meta

Parsed model metadata (model_meta section).

skppy.data_structure.model

Top-level SketchUp document model and its high-level builder API.

skppy.data_structure.model_metadata

Model-level metadata data structures for skppy.

skppy.data_structure.primitives

Vector and transformation primitives used throughout the public model.

skppy.data_structure.scene

Scene output data structures.

skppy.data_structure.scene_data

Scene (named page / saved view) data class.

skppy.parser.definitions

Decode component definitions and their independent entity scopes.

skppy.parser.camera_parser

Decode modern TLV camera records shared by models and saved scenes.

skppy.parser.entities

Parser for the entities section (tag 0x1388) of model.dat.

skppy.parser.header_parser

Parser for the SketchUp file header.

skppy.parser.layers

Parser for the layers section (TlvTag.LAYERS_CONTAINER = 0x3A98) of model.dat.

skppy.parser.material_parser

Parser for the materials section (tag 0x01F7) of model.dat.

skppy.parser.meta_parser

Parser for the meta/meta.dat entry inside a SketchUp ZIP archive.

skppy.parser.model_parser

Full model.dat -> Model pipeline.

skppy.parser.rendering_options

Decode modern TLV display settings into shared rendering options.

skppy.parser.scenes_parser

Parser for the scenes block (TlvTag.SCENES_BLOCK = 0x0207) of model.dat.

skppy.parser.tlv

Core TLV primitives for SketchUp model.dat binary encoding.

skppy.parser.zip_entries

ZIP entry reader.

skppy.parser_legacy.binary

Read little-endian primitives and MFC-style object tags from legacy SKP.

skppy.parser_legacy.diagnostics

Inspect parser support and failures for pre-ZIP SketchUp files.

skppy.parser_legacy.envelope

Parse the legacy file envelope and its authoritative class-version map.

skppy.parser_legacy.parser

Build the shared public model from a pre-ZIP SketchUp object graph.

skppy.parser_legacy.rendering_options

Decode version-gated pre-ZIP rendering options in strict wire order.

skppy.parser_legacy.schema

Represent product versions and per-file class schemas for legacy SKP.