• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Create manufacturing data

Stats

  • Replies 12
  • Subscribers 161
  • Views 17106
  • Members are here 0
More Content

Create manufacturing data

philE
philE over 15 years ago
I am trying to write a skill program that will create all of the files required when a layout is completed and ready to go to fab or assembly.  I just want to issue a command like “CreateMFG” and have it create:
1.       Gerber artworks
2.       Drill data
3.       Fabrication PDF
4.       Assembly PDF
5.       Pick and Place info
6.       ODBC++ info

Does anybody have anything like this that I could use as a starting point?  Writing a skill program to create a pdf of the drawings is the one I really need an example of.

Thanks, Phil
 
  • Sign in to reply
  • Cancel
  • philE
    philE over 15 years ago

    OK, how about this instead....can anybody give me an example of skill code which can create a pdf file from a comand line comand.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 15 years ago

    It is possible - but not at all trivial.

    Take a look at Apache FOP (http://xmlgraphics.apache.org/fop/).

    I can give you some more hints if you're prepared to embark on this path.

    At this stage I'm not exactly sure what you are wanting as an answer. Having a one-button output generation utility requires a reasonably intelligent engine. I have done something similar - for outputting ODB++. Here are the the command lines:

    sprintf(cmd, "brd2odb -dgr -a2l -c a -d -jn %s -v14_thermals -s all -sf %s-xu mm -ssfs u -read_sqa no %s\\%s.brd",
        lowerCase(axlCurrentDesign()), if(suppressUnconnectedPads, "-sp ", ""), getWorkingDir(), axlCurrentDesign())
    axlRunBatchDBProgram("brd2odb", cmd, ?noUnload t)

    This is a small subset of the overall utility. 

    Cheers, Dave

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • philE
    philE over 15 years ago
    Thanks for the reply.

    All I want to do is to have a program which turns on 4 layers of the PCB design layout, figure out the extent of the data which is now visible and make a PDF of that data.

    Does my explanation make sense?

    Thanks,

    Phil
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ejlersen
    Ejlersen over 15 years ago

    Hi

    If you have Adobe PDF installed (Acrobat, not reader) then you can use the attached compiled skill program to create pdf files.

    Version 7 and 8 are implemented, if you use version 6 set it to 7 and if you use 9 then set it to 8.

    It basically plots your film setup inside manufacturing.

    There are some glitches - no spaces allowed in directory and board file names.

    After loading the skill program, use "ns_pdf" to run.

    Best regards

    Ole

    ns_pdf.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 15 years ago

    Hi Phil,

    This can be achieved relatively easily (and freely) by using ghostscript and a free Acrobat distiller.

    Let us know which way you decide to go.

    Dave

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information