MCPcopy
hub / github.com/scottbez1/splitflap / apply_laser_etch_style

Method apply_laser_etch_style

3d/scripts/svg_processor.py:81–87  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79 })
80
81 def apply_laser_etch_style(self):
82 # Set fill and stroke for laser etching
83 for path in self.svg_node.getElementsByTagName('path'):
84 SvgProcessor._apply_attributes(path, {
85 'fill': '#000000',
86 'stroke': 'none',
87 })
88
89 def apply_raster_render_style(self):
90 # Set fill and stroke for rasterized rendering

Callers 1

_render_componentMethod · 0.95

Calls 1

_apply_attributesMethod · 0.80

Tested by

no test coverage detected