package kiapi.common.types

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Angle

base_types.proto:215

Corresponds to EDA_ANGLE, where the underlying storage is degrees

Used in: board.types.FootprintInstance, board.types.HatchFillSettings, board.types.PadStack, board.types.ThermalSpokeSettings, TextAttributes

message ArcStartMidEnd

base_types.proto:237

The formulation of arc that is used in KiCad core geometry code. Start, midpoint (on the arc) and end are stored. Angle, center point, etc are calculated.

Used in: PolyLineNode

enum AxisAlignment

base_types.proto:438

Used in: board.types.OrthogonalDimensionAttributes

message Box2

base_types.proto:202

Used in: commands.GetBoundingBoxResponse

message Color

base_types.proto:227

Corresponds to COLOR4D. Each color channel is a double from 0.0 to 1.0.

Used in: board.BoardStackupLayer, project.NetClassBoardSettings, project.NetClassSchematicSettings, GraphicFillAttributes, StrokeAttributes

enum CommandStatus

base_types.proto:32

Used in: CommandStatusResponse

message CommandStatusResponse

base_types.proto:39

message CompoundShape

base_types.proto:412

A SHAPE_COMPOUND in KiCad

Used in: commands.TextWithShapes

message Distance

base_types.proto:209

Describes a quantity of distance (size, length, etc). All coordinates are in nanometers.

Used in: board.BoardLayerGraphicsDefaults, board.BoardStackupDielectricProperties, board.BoardStackupLayer, board.types.AlignedDimensionAttributes, board.types.Arc, board.types.CopperZoneSettings, board.types.Dimension, board.types.FootprintDesignRuleOverrides, board.types.HatchFillSettings, board.types.OrthogonalDimensionAttributes, board.types.Pad, board.types.RadialDimensionAttributes, board.types.SolderMaskOverrides, board.types.SolderPasteOverrides, board.types.ThermalSpokeSettings, board.types.Track, board.types.ZoneBorderSettings, project.NetClassBoardSettings, project.NetClassSchematicSettings, StrokeAttributes, TextAttributes

message DocumentSpecifier

base_types.proto:134

* Describes a document that will be the target of a request

Used in: board.commands.GetActiveLayer, board.commands.GetBoardOrigin, board.commands.GetBoardStackup, board.commands.GetGraphicsDefaults, board.commands.GetNets, board.commands.GetPadShapeAsPolygon, board.commands.GetVisibleLayers, board.commands.InteractiveMoveItems, board.commands.RefillZones, board.commands.SetActiveLayer, board.commands.SetBoardOrigin, board.commands.SetVisibleLayers, board.commands.UpdateBoardStackup, commands.ExpandTextVariables, commands.GetOpenDocumentsResponse, commands.GetTextVariables, commands.GetTitleBlockInfo, commands.ParseAndCreateItemsFromString, commands.RevertDocument, commands.SaveCopyOfDocument, commands.SaveDocument, commands.SaveDocumentToString, commands.SavedDocumentResponse, commands.SetTextVariables, ItemHeader

enum DocumentType

base_types.proto:84

* Identifier for the type of document being targeted by a request

Used in: commands.GetOpenDocuments, DocumentSpecifier

enum FrameType

base_types.proto:60

* Some commands are specific to a KiCad window (frame). This list contains all addressable frames.

Used in: commands.RefreshEditor

message GraphicArcAttributes

base_types.proto:370

Used in: GraphicShape

message GraphicAttributes

base_types.proto:352

Used in: GraphicShape

message GraphicBezierAttributes

base_types.proto:386

Used in: GraphicShape

message GraphicCircleAttributes

base_types.proto:377

Used in: GraphicShape

message GraphicFillAttributes

base_types.proto:344

Used in: GraphicAttributes

enum GraphicFillType

base_types.proto:337

Used in: GraphicFillAttributes

message GraphicRectangleAttributes

base_types.proto:364

Used in: GraphicShape

message GraphicSegmentAttributes

base_types.proto:358

Used in: GraphicShape

message GraphicShape

base_types.proto:394

Used in: board.types.BoardGraphicShape, CompoundShape

enum HorizontalAlignment

enums.proto:92

Mapped to GR_TEXT_H_ALIGN_T

Used in: TextAttributes

message ItemHeader

base_types.proto:156

* This header is included in requests and responses about item(s) in a document

Used in: board.commands.GetItemsByNet, board.commands.GetItemsByNetClass, commands.AddToSelection, commands.ClearSelection, commands.CreateItems, commands.CreateItemsResponse, commands.DeleteItems, commands.DeleteItemsResponse, commands.GetBoundingBox, commands.GetItems, commands.GetItemsResponse, commands.GetSelection, commands.HitTest, commands.RemoveFromSelection, commands.UpdateItems, commands.UpdateItemsResponse

enum ItemRequestStatus

base_types.proto:172

* Status of a request that included an ItemHeader

Used in: commands.CreateItemsResponse, commands.DeleteItemsResponse, commands.GetItemsResponse, commands.UpdateItemsResponse

message KIID

base_types.proto:75

* Describes a KIID, or UUID of an object in a KiCad editor model.

Used in: board.commands.GetPadShapeAsPolygon, board.commands.InteractiveMoveItems, board.commands.PadShapeAsPolygonResponse, board.commands.RefillZones, board.types.Arc, board.types.BoardGraphicShape, board.types.BoardText, board.types.BoardTextBox, board.types.Dimension, board.types.FootprintInstance, board.types.Pad, board.types.Track, board.types.Via, board.types.Zone, commands.AddToSelection, commands.BeginCommitResponse, commands.CreateItems, commands.DeleteItems, commands.EndCommit, commands.GetBoundingBox, commands.GetBoundingBoxResponse, commands.HitTest, commands.ItemDeletionResult, commands.RemoveFromSelection, commands.SavedSelectionResponse, ItemHeader, SheetPath, schematic.types.DirectiveLabel, schematic.types.GlobalLabel, schematic.types.HierarchicalLabel, schematic.types.Line, schematic.types.LocalLabel

enum KiCadObjectType

enums.proto:30

The set of object types (from KICAD_T) that are exposed to the API.

Used in: board.commands.GetItemsByNet, board.commands.GetItemsByNetClass, commands.GetItems, commands.GetSelection

message KiCadVersion

base_types.proto:47

* Describes a particular version of KiCad

Used in: commands.GetVersionResponse

message LibraryIdentifier

base_types.proto:98

* Describes a KiCad LIB_ID; a unique identifier for a loaded symbol or footprint

Used in: board.types.Footprint, DocumentSpecifier

enum LockedState

base_types.proto:276

Describes whether or not an item is locked for editing or movement

Used in: board.types.Arc, board.types.BoardGraphicShape, board.types.BoardText, board.types.BoardTextBox, board.types.Dimension, board.types.FootprintInstance, board.types.Pad, board.types.Track, board.types.Via, board.types.Zone

enum MapMergeMode

base_types.proto:445

Used in: commands.SetNetClasses, commands.SetTextVariables

message PolyLine

base_types.proto:257

Corresponds to class SHAPE_LINE_CHAIN: A closed or open polyline that can include arcs. For non-arc cases, each node is a point along the line. An implicit line segment exists between the last and first node if closed is true. When arcs are present, the arc start and end points are not duplicated by point nodes (meaning, for example, a rectangle with rounded corners could be represented with four arc nodes and no point nodes).

Used in: PolygonWithHoles

message PolyLineNode

base_types.proto:244

Used in: PolyLine

message PolySet

base_types.proto:270

Corresponds to SHAPE_POLY_SET: a set of polygons or polylines

Used in: board.types.Zone, board.types.ZoneFilledPolygons, GraphicShape

message PolygonWithHoles

base_types.proto:263

Used in: board.commands.PadShapeAsPolygonResponse, PolySet

message ProjectSpecifier

base_types.proto:122

* Describes a KiCad project

Used in: DocumentSpecifier

message Ratio

base_types.proto:221

Represents a value from 0.0 to 1.0

Used in: board.types.SolderPasteOverrides

message SheetPath

base_types.proto:110

* Describes a unique sheet in a schematic

Used in: board.types.FootprintInstance, DocumentSpecifier

message StrokeAttributes

base_types.proto:330

Used in: GraphicAttributes

enum StrokeLineStyle

enums.proto:112

Mapped to LINE_STYLE

Used in: project.NetClassSchematicSettings, StrokeAttributes

message Text

base_types.proto:304

Used in: board.types.BoardText, board.types.Dimension, commands.GetTextExtents, commands.TextOrTextBox, schematic.types.Text

message TextAttributes

base_types.proto:283

Used in: board.BoardLayerGraphicsDefaults, Text, TextBox

message TextBox

base_types.proto:318

Used in: board.types.BoardTextBox, commands.TextOrTextBox

message TitleBlockInfo

base_types.proto:418

The text strings that can be set in a drawing sheet for the title block

message Vector2

base_types.proto:181

Describes a point or distance in 2D space. All coordinates are in nanometers.

Used in: board.commands.SetBoardOrigin, board.types.AlignedDimensionAttributes, board.types.Arc, board.types.CenterDimensionAttributes, board.types.DrillProperties, board.types.Footprint, board.types.FootprintInstance, board.types.LeaderDimensionAttributes, board.types.OrthogonalDimensionAttributes, board.types.Pad, board.types.PadStackLayer, board.types.RadialDimensionAttributes, board.types.Track, board.types.Via, board.types.ZoneLayerProperties, commands.HitTest, ArcStartMidEnd, Box2, GraphicArcAttributes, GraphicBezierAttributes, GraphicCircleAttributes, GraphicRectangleAttributes, GraphicSegmentAttributes, PolyLineNode, Text, TextAttributes, TextBox, schematic.types.DirectiveLabel, schematic.types.GlobalLabel, schematic.types.HierarchicalLabel, schematic.types.Line, schematic.types.LocalLabel

message Vector3

base_types.proto:188

Describes a point or distance in 3D space. All coordinates are in nanometers.

message Vector3D

base_types.proto:195

Used in: board.types.Footprint3DModel

enum VerticalAlignment

enums.proto:102

Mapped to GR_TEXT_V_ALIGN_T

Used in: TextAttributes