forked from k4kfh/alibre-neutralizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-alibre-neutralizer-config.xml
More file actions
100 lines (87 loc) · 5.28 KB
/
example-alibre-neutralizer-config.xml
File metadata and controls
100 lines (87 loc) · 5.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0" encoding="UTF-8"?>
<AlibreNeutralizerConfig>
<!--The "Base" export path, relative to this config file's directory.
This is essentially an "offset" for all the RelativeExportPath tags below.-->
<BaseExportPath>./Neutral-Files</BaseExportPath>
<!-- EXPORT DIRECTIVES
Export Directives are like "jobs" or "rules" governing the export.
Each export directive defines the file type to be exported, which component types (parts/subassemblies/main assembly)
should be exported, and how the files should be organized and named.
-->
<ExportDirectiveList>
<ExportDirective>
<!-- SECTION 1 : EXPORT TYPE -->
<!--Select export file type. Options are:
- STEP203
- STEP214
- SAT
- STL
- IGES
- CSV_Properties : this one dumps all the Properties, like Comment, Cost Center, Stock Size, Supplier, etc to a CSV file.
- CSV_Parameters : this one dumps all the Parameters (the stuff you see in Equation Editor) to a CSV file.
This allows you to share critical design dimensions with non-Alibre users, even if the
dimensions aren't easy to measure from a neutral CAD file.
You can only export one type per export directive.
If you want to export multiple types of files, make another export directive.
-->
<type>STEP203</type>
<!-- SECTION 2 : EXPORT DIRECTORY/FILENAME CONVENTIONS -->
<!--Relative to BaseExportPath, define the output path/filenames of the files exported under this directive.
Use standard Python string formatting {Whatever} syntax, with the standard Alibre API properties, to set
file and folder names dynamically with Alibre properties.
For example, to name your files in PARTNUMBER_DESCRIPTION format, you could put {Number}_{Name}.stp here.
You can include additional folders in this path as well, which allows you to do things like group
exported files into folders by their Supplier property.
-->
<RelativeExportPath>./STEPs/{Number}_{Name}.stp</RelativeExportPath>
<!--Purge this path of the given export file type before exporting.
This is a path relative to basePath.
It will NOT purge all files, just the exported types under this directive.
For example, if you set type to STEP203, it will purge .STP and .STEP files,
nothing else.
You can also disable this and purge nothing before your export by simply removing this tag.-->
<PurgeDirectoryBeforeExporting>./STEPs</PurgeDirectoryBeforeExporting>
<!-- SECTION 3 : SKIP CERTAIN COMPONENT TYPES WHEN EXPORTING -->
<!--Set to false if you want this export directive to NOT export the root assembly
(this will not impact its constituent parts/subassemblies).-->
<EnableRootAssemblyExport>true</EnableRootAssemblyExport>
<!--Set to false if you want this export directive to NOT export any subassemblies
(this will not impact their constituent parts).-->
<EnableSubassemblyExport>true</EnableSubassemblyExport>
<!--Set to false if you want this export directive to NOT export parts.-->
<EnablePartExport>true</EnablePartExport>
</ExportDirective>
<ExportDirective>
<type>STL</type>
<RelativeExportPath>./STLs/{Number}_{Name}.stl</RelativeExportPath>
<PurgeDirectoryBeforeExporting>./STLs</PurgeDirectoryBeforeExporting>
<EnableRootAssemblyExport>false</EnableRootAssemblyExport>
<EnableSubassemblyExport>false</EnableSubassemblyExport>
<EnablePartExport>true</EnablePartExport>
</ExportDirective>
<ExportDirective>
<type>STEP214</type>
<RelativeExportPath>./Combined/{Supplier}/{Number}/{Name}.stp</RelativeExportPath>
<PurgeDirectoryBeforeExporting>./Combined</PurgeDirectoryBeforeExporting>
<EnableRootAssemblyExport>true</EnableRootAssemblyExport>
<EnableSubassemblyExport>true</EnableSubassemblyExport>
<EnablePartExport>true</EnablePartExport>
</ExportDirective>
<ExportDirective>
<type>SAT</type>
<RelativeExportPath>./Combined/{Supplier}/{Number}/{Name}.sat</RelativeExportPath>
<PurgeDirectoryBeforeExporting>./Combined</PurgeDirectoryBeforeExporting>
<EnableRootAssemblyExport>true</EnableRootAssemblyExport>
<EnableSubassemblyExport>true</EnableSubassemblyExport>
<EnablePartExport>true</EnablePartExport>
</ExportDirective>
<ExportDirective>
<type>STL</type>
<RelativeExportPath>./Combined/{Supplier}/{Number}/{Name}.stl</RelativeExportPath>
<PurgeDirectoryBeforeExporting>./Combined</PurgeDirectoryBeforeExporting>
<EnableRootAssemblyExport>true</EnableRootAssemblyExport>
<EnableSubassemblyExport>true</EnableSubassemblyExport>
<EnablePartExport>true</EnablePartExport>
</ExportDirective>
</ExportDirectiveList>
</AlibreNeutralizerConfig>