Index: trunk/doc/user/09_appendix/action_details.html =================================================================== --- trunk/doc/user/09_appendix/action_details.html (revision 33220) +++ trunk/doc/user/09_appendix/action_details.html (revision 33221) @@ -3674,14 +3674,15 @@ Syntax summary: SetThermal(Object|SelectedPins|SelectedVias|Selected, Style) Help text: -Set the thermal (on the current layer) of padstacks to the given style. -Style = 0 means no thermal. -Style = 1 horizontal/vertical, round. -Style = 2 horizontal/vertical, sharp. -Style = 3 is a solid connection to the polygon. -Style = 4 (invalid). -Style = 5 diagonal, round. -Style = 6 diagonal, sharp. +Set the thermal (on the current layer) of padstacks to the given style. Style is one of: +0: means no thermal. +1: horizontal/vertical, round. +2: horizontal/vertical, sharp. +3: is a solid connection to the polygon. +4: (invalid). +5: diagonal, round. +6: diagonal, sharp. +noshape: no copper shape on layer Registered by:n/a

@@ -3733,7 +3734,13 @@ 6 - 45 degree fingers with sharp edges, + 45 degree fingers with sharp edges, + + + +noshape + + remove copper shape on layer

Index: trunk/doc/user/09_appendix/action_reference.html =================================================================== --- trunk/doc/user/09_appendix/action_reference.html (revision 33220) +++ trunk/doc/user/09_appendix/action_reference.html (revision 33221) @@ -13,7 +13,7 @@ @@ -366,7 +366,7 @@ - + Index: trunk/doc/user/09_appendix/action_src/setthermal.html =================================================================== --- trunk/doc/user/09_appendix/action_src/setthermal.html (revision 33220) +++ trunk/doc/user/09_appendix/action_src/setthermal.html (revision 33221) @@ -27,6 +27,9 @@
-This is pcb-rnd 2.2.4 (svn r33161) an interactive printed circuit board editor , Revision: 33219 +This is pcb-rnd 2.2.4 (svn r33161) an interactive printed circuit board editor , Revision: 33220
Action Description Syntax Plugin
AboutPresent the about boxAbout()dialogs plugin
SetOctagonoldactions plugin
SetSameSets current layer and sizes to match indicated item.SetSame()
SetSquareoldactions plugin
SetThermalSet the thermal (on the current layer) of padstacks to the given style.
Style = 0 means no thermal.
Style = 1 horizontal/vertical, round.
Style = 2 horizontal/vertical, sharp.
Style = 3 is a solid connection to the polygon.
Style = 4 (invalid).
Style = 5 diagonal, round.
Style = 6 diagonal, sharp.
SetThermal(Object|SelectedPins|SelectedVias|Selected, Style)
SetThermalSet the thermal (on the current layer) of padstacks to the given style. Style is one of:
0: means no thermal.
1: horizontal/vertical, round.
2: horizontal/vertical, sharp.
3: is a solid connection to the polygon.
4: (invalid).
5: diagonal, round.
6: diagonal, sharp.
noshape: no copper shape on layer
SetThermal(Object|SelectedPins|SelectedVias|Selected, Style)
SetUnitsSet the default measurement units.SetUnits(mm|mil)
SetValueChange various board-wide values and sizes.SetValue(Grid|Line|LineSize|Text|TextScale, delta)
shapeInteractive shape generator.shape()shape plugin
6 45 degree fingers with sharp edges, +
noshape + remove copper shape on layer +

Index: trunk/src/change_act.c =================================================================== --- trunk/src/change_act.c (revision 33220) +++ trunk/src/change_act.c (revision 33221) @@ -654,14 +654,15 @@ static const char pcb_acts_SetThermal[] = "SetThermal(Object|SelectedPins|SelectedVias|Selected, Style)"; static const char pcb_acth_SetThermal[] = - "Set the thermal (on the current layer) of padstacks to the given style.\n" - "Style = 0 means no thermal.\n" - "Style = 1 horizontal/vertical, round.\n" - "Style = 2 horizontal/vertical, sharp.\n" - "Style = 3 is a solid connection to the polygon.\n" - "Style = 4 (invalid).\n" - "Style = 5 diagonal, round.\n" - "Style = 6 diagonal, sharp.\n"; + "Set the thermal (on the current layer) of padstacks to the given style. Style is one of:\n" + "0: means no thermal.\n" + "1: horizontal/vertical, round.\n" + "2: horizontal/vertical, sharp.\n" + "3: is a solid connection to the polygon.\n" + "4: (invalid).\n" + "5: diagonal, round.\n" + "6: diagonal, sharp.\n" + "noshape: no copper shape on layer\n"; /* DOC: setthermal.html */ static fgw_error_t pcb_act_SetThermal(fgw_arg_t *res, int argc, fgw_arg_t *argv) { @@ -668,7 +669,7 @@ const char *function; const char *style; void *ptr1, *ptr2, *ptr3; - int type, kind; + int type, kind = 0; int err = 0; rnd_coord_t gx, gy; @@ -678,8 +679,11 @@ if (function && *function && style && *style) { rnd_bool absolute; - kind = rnd_get_value_ex(style, NULL, &absolute, NULL, NULL, NULL); - if (absolute && (kind <= 6)) { + if (rnd_strcasecmp(style, "noshape") == 0) + kind = PCB_THERMAL_NOSHAPE | PCB_THERMAL_ON; + else + kind = rnd_get_value_ex(style, NULL, &absolute, NULL, NULL, NULL); + if ((absolute && (kind <= 6)) || (kind & PCB_THERMAL_ON)) { if (kind != 0) kind |= PCB_THERMAL_ON; switch (rnd_funchash_get(function, NULL)) {