Sample SheetMetal Lisp
As an industrial example of
using the LISP API, we provide SmAssemblyExport.lsp, which
implements both working with Mechanical and Sheet Metal.
A basic user scenario is like this
:
The script traverses the
assembly structure and tries to recognize every solid in
every component as sheet metal parts. The ones which are
recognized, are unfolded to DXF, classified by thickness and saved
to a corresponding folder.
Parts which generate warnings and errors are
saved to dedicated folders. Finally an evident HTML report with
preview pictures is generated.
The script allows more complex applications,
like running the scenario from an external application, selecting
the output folder, bend table, etc.;
but the base is still very efficient and
useful.
We soberly understand that this script has a
high complexity, but there will be no detailed annotation neither
in this help, nor in script: it is constantly improved, since it
has industrial clients, and its basic complexity is that even with
comments it requires time to get into it.
So if you are really interested in complex
batch scenarios, you can either learn the script by yourself and
modify it or contact the developers with some suggestions or do
both.
Good luck in LISP programming and don't hesitate to share your feedback !
© Bricsys NV. All rights reserved. |