l0b0 / paths2openscad

No longer maintained SVG paths to OpenSCAD converter
GNU General Public License v2.0
71 stars 46 forks source link

Auto-Height functionality (v2) #3

Closed jskladan closed 10 years ago

jskladan commented 10 years ago

Thanks for the input on the first pull request, hopefully, this time it's better.

The auto height option sets the extruded height for a specific polygon based on its ID. If the polygon's ID is in either name_NNN_mm or name_NNN_NNNmm format, the NNN(NNN_)mm part of the name is translated into height in milimeters.

Otherwise, the height parameter is used

Examples: rect543_1_mm -> 1 mm height poly456_12_5_mm -> 12.05 mm height circle2345_3 -> according to the height parameter

l0b0 commented 10 years ago

Merged with some minor changes. Thank you very much!