@typecad/typecad
Version:
🤖programmatically 💥create 🛰️hardware
59 lines (58 loc) • 1.71 kB
TypeScript
import { IOutline } from './pcb_interfaces';
export declare function zone(pcb: any, options: {
pin?: any;
net?: string;
layers: string[];
x: number;
y: number;
width: number;
height: number;
fillMode?: 'solid' | 'hatched';
filled?: boolean;
priority?: number;
locked?: boolean;
name?: string;
minThickness?: number;
hatchStyle?: 'none' | 'edge' | 'full';
hatchPitch?: number;
clearance?: number;
connectPads?: 'thru_hole_only' | 'full' | 'no';
thermalGap?: number;
thermalBridgeWidth?: number;
smoothing?: 'chamfer' | 'fillet' | 'none';
smoothingRadius?: number;
islandRemovalMode?: number;
islandAreaMin?: number;
hatchThickness?: number;
hatchGap?: number;
hatchOrientation?: number;
hatchSmoothingLevel?: number;
hatchSmoothingValue?: number;
hatchBorderAlgorithm?: 'hatch_thickness' | 'min_thickness';
hatchMinHoleArea?: number;
fillArcSegments?: number;
filledAreasThickness?: boolean;
}): void;
export declare function keepout(pcb: any, options: {
layers: string[];
x: number;
y: number;
width: number;
height: number;
restrictions?: {
tracks?: boolean;
vias?: boolean;
pads?: boolean;
copperpour?: boolean;
footprints?: boolean;
};
priority?: number;
locked?: boolean;
name?: string;
hatchStyle?: 'none' | 'edge' | 'full';
hatchPitch?: number;
smoothing?: 'chamfer' | 'fillet' | 'none';
smoothingRadius?: number;
}): void;
export declare function _getStagedOutlines(pcb: any): IOutline[];
export declare function _removeStagedOutlinesByUuid(pcb: any, uuids: string[]): void;