Skip to content

Allow plotting without a config file? #2

Open
@kasbah

Description

@kasbah

Hey, this is pretty neat. I've kind of always felt this kind of thing should be built into KiCad. I suggested it be added to Xess's list.

How would you feel about using some default plot options instead of requiring a config (the config could still be used if needed)? Aditionally, the gerber config for instance could also be read from the kicad_pcb file. Here is an example of the relevant section:

    (pcbplotparams
      (layerselection 0x014f0_ffffffff)
      (usegerberextensions false)
      (usegerberattributes false)
      (usegerberadvancedattributes false)
      (creategerberjobfile false)
      (gerberprecision 5)
      (excludeedgelayer true)
      (linewidth 0.150000)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15.000000)
      (psnegative false)
      (psa4output false)
      (plotreference false)
      (plotvalue true)
      (plotinvisibletext false)
      (padsonsilk false)
      (subtractmaskfromsilk true)
      (outputformat 1)
      (mirror false)
      (drillshape 0)
      (scaleselection 1)
      (outputdirectory "gerbers/"))
  )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions