jscad-electronics 0.0.166 → 0.0.168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -215,7 +215,7 @@ declare const QFN: ({ num_pins, bodyWidth, bodyLength, bodyThickness, thermalPad
215
215
  thermalPadThickness?: number;
216
216
  }) => react_jsx_runtime.JSX.Element;
217
217
 
218
- declare const DFN: ({ num_pins, bodyWidth, bodyLength, bodyThickness, thermalPadSize, padWidth, padLength, pitch, thermalPadThickness, }: {
218
+ declare const DFN: ({ num_pins, bodyWidth, bodyLength, bodyThickness, thermalPadSize, padWidth, padLength, pitch, thermalPadThickness, bodyStyle, standoff, terminalInset, terminalThickness, pin1TerminalChamfer, pin1MarkWidth, }: {
219
219
  num_pins: number;
220
220
  bodyWidth?: number;
221
221
  bodyLength?: number;
@@ -228,6 +228,18 @@ declare const DFN: ({ num_pins, bodyWidth, bodyLength, bodyThickness, thermalPad
228
228
  padLength?: number;
229
229
  pitch?: number;
230
230
  thermalPadThickness?: number;
231
+ /** Rectangular bodies support small no-lead variants; legacy outline is the default. */
232
+ bodyStyle?: "chamfered" | "rectangular";
233
+ /** For rectangular bodies: mold bottom above the seating plane, mm. Body thickness excludes this gap. */
234
+ standoff?: number;
235
+ /** Setback of terminal outer edges from the mold edges, mm. */
236
+ terminalInset?: number;
237
+ /** Leadframe thickness, independent of the optional exposed pad, mm. */
238
+ terminalThickness?: number;
239
+ /** Two outside corner cuts on terminal 1, mm. */
240
+ pin1TerminalChamfer?: number;
241
+ /** For rectangular bodies: optional top pin-1 stripe width in mm; zero omits it. */
242
+ pin1MarkWidth?: number;
231
243
  }) => react_jsx_runtime.JSX.Element;
232
244
 
233
245
  declare const QFP: ({ pinCount, pitch, leadWidth, padContactLength, bodyWidth, }: {
@@ -361,6 +373,37 @@ declare const SOD323F: () => react_jsx_runtime.JSX.Element;
361
373
 
362
374
  declare const SOD323FL: () => react_jsx_runtime.JSX.Element;
363
375
 
376
+ /** Physical outline dimensions in mm, independent of a PCB land pattern. */
377
+ interface FlatLeadDiodeDimensions {
378
+ bodyLength: number;
379
+ bodyWidth: number;
380
+ /** Overall height from the seating plane, including standoff. */
381
+ bodyHeight: number;
382
+ /** Outer tip-to-tip span of the two terminals. */
383
+ leadSpan: number;
384
+ cathodeLength: number;
385
+ cathodeWidth: number;
386
+ anodeLength: number;
387
+ anodeWidth: number;
388
+ terminalThickness: number;
389
+ standoff: number;
390
+ /** Inset of each top edge relative to the mold base. */
391
+ taperInset: number;
392
+ /** Top cathode band width; zero omits the band. */
393
+ markingWidth: number;
394
+ }
395
+
396
+ /** SOD-323HE flat-lead outline with symmetric contacts by default.
397
+ * Dimensional reference: https://www.es.co.th/Schemetic/PDF/RFU02VSM6S.PDF
398
+ * Defaults use nominal 2.0 x 1.4 mm mold, 2.5 mm lead span and 0.6 mm height.
399
+ * Buried terminal length, taper and marking dimensions are visual approximations.
400
+ * https://www.rohm.de/products/diodes/fast-recovery-diodes/standard/rfu02vsm6s-product
401
+ * Dimension overrides represent variants of this standard outline. They are
402
+ * geometry parameters, not new Footprinter tokens or manufacturer selectors.
403
+ */
404
+ type SOD323HEProps = Partial<FlatLeadDiodeDimensions>;
405
+ declare const SOD323HE: (props: SOD323HEProps) => react_jsx_runtime.JSX.Element;
406
+
364
407
  declare const SOD923: () => react_jsx_runtime.JSX.Element;
365
408
 
366
409
  interface SOT223Props {
@@ -1067,4 +1110,4 @@ declare const MelfResistor: ({ size, footprint, }: {
1067
1110
  footprint?: string;
1068
1111
  }) => react_jsx_runtime.JSX.Element;
1069
1112
 
1070
- export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, AxialCapacitor, BGA, CeramicChipAntenna, ChipBody, type ChipBodyProps, Crystal, type CrystalProps, DFN, DPAK, type DPAKProps, Display, ElectrolyticCapacitor, type ElectrolyticCapacitorProps, ExtrudedPads, FPC, type FPCProps, FemaleHeader, FemaleHeaderRow, FlexScreen, type FlexScreenAspectRatio, type FlexScreenOrientation, type FlexScreenProps, FootprintPad, FootprintPlatedHole, Footprinter3d, GullWingBody, type GullWingBodyProps, HC49, type HC49Props, JSTPH2_0mm, JSTXH2_5mm, type JSTXH2_5mmProps, JSTZH1_5mm, JstSh, LQFP, Led2835, type Led2835Props, Led5050, type Led5050Props, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MS013, MSOP, MelfResistor, type MelfResistorSize, MicroMELF, type MicroMELFProps, MountedPcbModule, PinHeader, PinRow, Potentiometer, type PotentiometerLead, type PotentiometerProps, QFN, QFP, RJ45, type RJ45Props, type ResolvedFlexScreenSize, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, type SOD123Props, SOD123W, type SOD123WProps, SOD128, SOD323, SOD323F, SOD323FL, SOD523, SOD723, SOD882, SOD923, SOT143, SOT223, type SOT223Props, SOT233P, SOT23W, SOT323, SOT363, SOT457, SOT563, SOT723, SOT886, SOT963, Screen, type ScreenProps, SmdChipLead, type SmdChipLeadProps, type SmdLeadPad, SmdPinHeader, type SmdPinHeaderProps, SmdPushButton, type SmdPushButtonProps, SmdSlideSwitch, StampBoard, TO220, type TO220Lead, type TO220Props, TO92, type TO92Lead, type TO92Props, TQFP, TantalumCapacitor, type TantalumCase, Tssop, TwoPadCrystal, type TwoPadCrystalPackage, UsbCMidmount, VSSOP, isJstShFootprint, melfResistorSizes, resolveFlexScreenSize, tantalumCases, twoPadCrystalPackages };
1113
+ export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, AxialCapacitor, BGA, CeramicChipAntenna, ChipBody, type ChipBodyProps, Crystal, type CrystalProps, DFN, DPAK, type DPAKProps, Display, ElectrolyticCapacitor, type ElectrolyticCapacitorProps, ExtrudedPads, FPC, type FPCProps, FemaleHeader, FemaleHeaderRow, FlexScreen, type FlexScreenAspectRatio, type FlexScreenOrientation, type FlexScreenProps, FootprintPad, FootprintPlatedHole, Footprinter3d, GullWingBody, type GullWingBodyProps, HC49, type HC49Props, JSTPH2_0mm, JSTXH2_5mm, type JSTXH2_5mmProps, JSTZH1_5mm, JstSh, LQFP, Led2835, type Led2835Props, Led5050, type Led5050Props, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MS013, MSOP, MelfResistor, type MelfResistorSize, MicroMELF, type MicroMELFProps, MountedPcbModule, PinHeader, PinRow, Potentiometer, type PotentiometerLead, type PotentiometerProps, QFN, QFP, RJ45, type RJ45Props, type ResolvedFlexScreenSize, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, type SOD123Props, SOD123W, type SOD123WProps, SOD128, SOD323, SOD323F, SOD323FL, SOD323HE, type SOD323HEProps, SOD523, SOD723, SOD882, SOD923, SOT143, SOT223, type SOT223Props, SOT233P, SOT23W, SOT323, SOT363, SOT457, SOT563, SOT723, SOT886, SOT963, Screen, type ScreenProps, SmdChipLead, type SmdChipLeadProps, type SmdLeadPad, SmdPinHeader, type SmdPinHeaderProps, SmdPushButton, type SmdPushButtonProps, SmdSlideSwitch, StampBoard, TO220, type TO220Lead, type TO220Props, TO92, type TO92Lead, type TO92Props, TQFP, TantalumCapacitor, type TantalumCase, Tssop, TwoPadCrystal, type TwoPadCrystalPackage, UsbCMidmount, VSSOP, isJstShFootprint, melfResistorSizes, resolveFlexScreenSize, tantalumCases, twoPadCrystalPackages };