1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-04 14:37:24 +02:00

Changed the default printed part colour, pp1_colour to RepRap logo green.

This commit is contained in:
Chris Palmer
2020-02-29 10:30:15 +00:00
parent f0b4d767e9
commit 9b104e4fe7
35 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ def render(target, type):
if mtime(part_file) > mtime(png_name):
png_maker_name = "png.scad"
with open(png_maker_name, "w") as f:
f.write('color("lime") import("%s");\n' % part_file)
f.write('color([0, 146/255, 0]) import("%s");\n' % part_file)
cam = "--camera=0,0,0,70,0,315,500" if type == 'stl' else "--camera=0,0,0,0,0,0,500"
render = "--preview" if type == 'stl' else "--render"
tmp_name = 'tmp.png'