Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.scad
*.scad
*.pyc
2 changes: 1 addition & 1 deletion examples/basic_scad_include.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/python
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
import sys, os

# Make sure we have access to pyopenscad
Expand Down
2 changes: 1 addition & 1 deletion examples/bom_scad.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/python
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-

# Basic shape with several repeated parts, demonstrating the use of
# sp_utils.bill_of_materials()
Expand Down
2 changes: 1 addition & 1 deletion examples/koch.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/python
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
import os, sys, re

sys.path.append(os.path.join( os.getenv('HOME'), 'Desktop', 'SolidPython'))
Expand Down
2 changes: 1 addition & 1 deletion examples/sierpinski.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/python
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
import os, sys

# Make sure we have access to pyopenscad
Expand Down
2 changes: 1 addition & 1 deletion finger_joint.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/python
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
from __future__ import division
import os, sys, re

Expand Down
4 changes: 2 additions & 2 deletions pyopenscad.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/python
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-

# Simple Python OpenSCAD Code Generator
# Copyright (C) 2009 Philipp Tiefenbacher <[email protected]>
Expand Down Expand Up @@ -31,7 +31,7 @@

# Transforms
{'name': 'translate', 'args': [], 'kwargs': ['v']} ,
{'name': 'scale', 'args': [], 'kwargs': ['s']} ,
{'name': 'scale', 'args': [], 'kwargs': ['v']} ,
{'name': 'rotate', 'args': [], 'kwargs': ['a', 'v']} ,
{'name': 'mirror', 'args': ['normal'], 'kwargs': []},
{'name': 'multmatrix', 'args': ['n'], 'kwargs': []},
Expand Down
2 changes: 1 addition & 1 deletion screw_thread.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/python
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
import os, sys, re

# Make sure we have access to pyopenscad
Expand Down
2 changes: 1 addition & 1 deletion sp_utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/python2.5
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
import os, sys, re

from pyopenscad import *
Expand Down
2 changes: 1 addition & 1 deletion t_slots.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/python
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
import os, sys, re

# Assumes SolidPython is in site-packages or elsewhwere in sys.path
Expand Down