Index: 07_io/3_2_export_xy/index.html =================================================================== --- 07_io/3_2_export_xy/index.html (revision 35807) +++ 07_io/3_2_export_xy/index.html (revision 35808) @@ -87,3 +87,28 @@

Cleaned means any character that is non-alphanumeric, not "." and not "-" and not "+" is replaced with "_". + +

7.3.2.3. Vendor specific rotation and translation

+

+Some vendors (pick-and-place fabs) require the XY match their idea of the +footprint with the same name. This especially affects rotation. A way to +work this around is using xy::translate and xy::rotate attributes in a +subcircuit. Values should be set on a per footprint name basis to +compensate the mismatch between vendor's footprint orientation/origin and +the subcircuit's. +

+When xy::rotate is present, it is specified in degrees and it is added to +the original rotation of the subcircuit. +

+When xy::translate is present, it is specified as a pair of coordinates with +units, for x and y offset. The pair is separated with whitespace or comma +or semicolon. There must not be whitespace between the number and unit +suffix in the coordinates. The x and y values are added to the origin of +the subcircuit. +

+Different vendors may require different translations. To overcome this +problem xy_export offers an optional --vendor argument. When specified, +it is inserted in the attribute name, e.g. for --vendor foo the +attribute names xy::foo::translate and xy::foo::rotate are used instead +of the plain xy::translate and xy::rotate. +