Skip to content

Commit

Permalink
Switched Skeinforge XX to Skeinforge 40.
Browse files Browse the repository at this point in the history
  • Loading branch information
giseburt committed Mar 30, 2011
1 parent 9d8753a commit 1e0e1c0
Show file tree
Hide file tree
Showing 758 changed files with 22,647 additions and 7,071 deletions.
46 changes: 46 additions & 0 deletions skein_engines/makerbot-skeinforge-40.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
diff -ru skeinforge-40-orig/fabmetheus_utilities/settings.py skeinforge-40/fabmetheus_utilities/settings.py
--- skeinforge-40-orig/fabmetheus_utilities/settings.py 2011-02-22 02:28:20.000000000 -0600
+++ skeinforge-40/fabmetheus_utilities/settings.py 2011-03-08 17:08:15.000000000 -0600
@@ -562,7 +562,7 @@
settingTable = {}
for setting in repository.preferences:
settingTable[ setting.name ] = setting
- for (name, value) in overrides[repository.baseName].items():
+ for (name, value) in globalTemporaryOverrides[repository.baseName].items():
if name in settingTable:
settingTable[name].setValueToString(value)
else:
diff -ru skeinforge-40-orig/skeinforge_application/skeinforge.py skeinforge-40/skeinforge_application/skeinforge.py
--- skeinforge-40-orig/skeinforge_application/skeinforge.py 2011-02-23 00:00:54.000000000 -0600
+++ skeinforge-40/skeinforge_application/skeinforge.py 2011-03-08 17:03:42.000000000 -0600
@@ -538,8 +538,7 @@
'Craft a file, display dialog.'
repository = getNewRepository()
repository.fileNameInput.value = fileName
- repository.execute()
- settings.startMainLoopFromConstructor(repository)
+ settings.startMainLoopFromWindow(repository.execute())


class SkeinforgeRepository:
@@ -567,8 +566,10 @@
def execute(self):
'Skeinforge button has been clicked.'
fileNames = skeinforge_polyfile.getFileOrDirectoryTypesUnmodifiedGcode(self.fileNameInput.value, fabmetheus_interpret.getImportPluginFileNames(), self.fileNameInput.wasCancelled)
+ window = None
for fileName in fileNames:
- skeinforge_craft.writeOutput(fileName)
+ window = skeinforge_craft.writeOutput(fileName)
+ return window

def save(self):
'Profile has been saved and profile menu should be updated.'
@@ -598,7 +599,7 @@
for prefSpec in options.preferences:
(moduleName, prefSpec) = prefSpec.split(':', 1)
(prefName, valueName) = prefSpec.split('=', 1)
- settings.addPreferenceOverride(moduleName, prefName, valueName)
+ settings.temporaryAddPreferenceOverride(moduleName, prefName, valueName)
sys.argv = [sys.argv[0]] + args
if len( args ) > 0:
writeOutput( ' '.join(args) )
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="skeinforge_application.skeinforge_plugins.craft_plugins.preface.html">Preface</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="skeinforge_application.skeinforge_plugins.craft_plugins.raft.html">Raft</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="skeinforge_application.skeinforge_plugins.craft_plugins.scale.html">Scale</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="skeinforge_application.skeinforge_plugins.craft_plugins.skirt.html">Skirt</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="skeinforge_application.skeinforge_plugins.craft_plugins.speed.html">Speed</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="skeinforge_application.skeinforge_plugins.craft_plugins.splodge.html">Splodge</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="skeinforge_application.skeinforge_plugins.craft_plugins.stretch.html">Stretch</a><br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<dl><dt><a name="-getFilePaths"><strong>getFilePaths</strong></a>(fileInDirectory<font color="#909090">=''</font>)</dt><dd><tt>Get&nbsp;the&nbsp;file&nbsp;paths&nbsp;in&nbsp;the&nbsp;directory&nbsp;of&nbsp;the&nbsp;file&nbsp;in&nbsp;directory.</tt></dd></dl>
<dl><dt><a name="-getFilePathsByDirectory"><strong>getFilePathsByDirectory</strong></a>(directoryName)</dt><dd><tt>Get&nbsp;the&nbsp;file&nbsp;paths&nbsp;in&nbsp;the&nbsp;directory&nbsp;of&nbsp;the&nbsp;file&nbsp;in&nbsp;directory.</tt></dd></dl>
<dl><dt><a name="-getFilePathsRecursively"><strong>getFilePathsRecursively</strong></a>(fileInDirectory<font color="#909090">=''</font>)</dt><dd><tt>Get&nbsp;the&nbsp;file&nbsp;paths&nbsp;in&nbsp;the&nbsp;directory&nbsp;of&nbsp;the&nbsp;file&nbsp;in&nbsp;directory.</tt></dd></dl>
<dl><dt><a name="-getFileText"><strong>getFileText</strong></a>(fileName, readMode<font color="#909090">='r'</font>, printWarning<font color="#909090">=True</font>)</dt><dd><tt>Get&nbsp;the&nbsp;entire&nbsp;text&nbsp;of&nbsp;a&nbsp;file.</tt></dd></dl>
<dl><dt><a name="-getFileText"><strong>getFileText</strong></a>(fileName, printWarning<font color="#909090">=True</font>, readMode<font color="#909090">='r'</font>)</dt><dd><tt>Get&nbsp;the&nbsp;entire&nbsp;text&nbsp;of&nbsp;a&nbsp;file.</tt></dd></dl>
<dl><dt><a name="-getFileTextInFileDirectory"><strong>getFileTextInFileDirectory</strong></a>(fileInDirectory, fileName, readMode<font color="#909090">='r'</font>)</dt><dd><tt>Get&nbsp;the&nbsp;entire&nbsp;text&nbsp;of&nbsp;a&nbsp;file&nbsp;in&nbsp;the&nbsp;directory&nbsp;of&nbsp;the&nbsp;file&nbsp;in&nbsp;directory.</tt></dd></dl>
<dl><dt><a name="-getFilesWithFileTypeWithoutWords"><strong>getFilesWithFileTypeWithoutWords</strong></a>(fileType, words<font color="#909090">=[]</font>, fileInDirectory<font color="#909090">=''</font>)</dt><dd><tt>Get&nbsp;files&nbsp;which&nbsp;have&nbsp;a&nbsp;given&nbsp;file&nbsp;type,&nbsp;but&nbsp;with&nbsp;do&nbsp;not&nbsp;contain&nbsp;a&nbsp;word&nbsp;in&nbsp;a&nbsp;list.</tt></dd></dl>
<dl><dt><a name="-getFilesWithFileTypesWithoutWords"><strong>getFilesWithFileTypesWithoutWords</strong></a>(fileTypes, words<font color="#909090">=[]</font>, fileInDirectory<font color="#909090">=''</font>)</dt><dd><tt>Get&nbsp;files&nbsp;which&nbsp;have&nbsp;a&nbsp;given&nbsp;file&nbsp;type,&nbsp;but&nbsp;with&nbsp;do&nbsp;not&nbsp;contain&nbsp;a&nbsp;word&nbsp;in&nbsp;a&nbsp;list.</tt></dd></dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,12 @@
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>

<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-addElementToListTable"><strong>addElementToListTable</strong></a>(element, key, listTable)</dt><dd><tt>Add&nbsp;an&nbsp;element&nbsp;to&nbsp;the&nbsp;list&nbsp;table.</tt></dd></dl>
<dl><dt><a name="-addElementToListTableIfNotThere"><strong>addElementToListTableIfNotThere</strong></a>(element, key, listTable)</dt><dd><tt>Add&nbsp;the&nbsp;value&nbsp;to&nbsp;the&nbsp;lists.</tt></dd></dl>
<td width="100%"><dl><dt><a name="-addElementToListDictionary"><strong>addElementToListDictionary</strong></a>(element, key, listDictionary)</dt><dd><tt>Add&nbsp;an&nbsp;element&nbsp;to&nbsp;the&nbsp;list&nbsp;table.</tt></dd></dl>
<dl><dt><a name="-addElementToListDictionaryIfNotThere"><strong>addElementToListDictionaryIfNotThere</strong></a>(element, key, listDictionary)</dt><dd><tt>Add&nbsp;the&nbsp;value&nbsp;to&nbsp;the&nbsp;lists.</tt></dd></dl>
<dl><dt><a name="-addElementToPixelList"><strong>addElementToPixelList</strong></a>(element, pixelDictionary, x, y)</dt><dd><tt>Add&nbsp;an&nbsp;element&nbsp;to&nbsp;the&nbsp;pixel&nbsp;list.</tt></dd></dl>
<dl><dt><a name="-addElementToPixelListFromPoint"><strong>addElementToPixelListFromPoint</strong></a>(element, pixelDictionary, point)</dt><dd><tt>Add&nbsp;an&nbsp;element&nbsp;to&nbsp;the&nbsp;pixel&nbsp;list.</tt></dd></dl>
<dl><dt><a name="-addHorizontallyBoundedPoint"><strong>addHorizontallyBoundedPoint</strong></a>(begin, center, end, horizontalBegin, horizontalEnd, path)</dt><dd><tt>Add&nbsp;point&nbsp;if&nbsp;it&nbsp;is&nbsp;within&nbsp;the&nbsp;horizontal&nbsp;bounds.</tt></dd></dl>
<dl><dt><a name="-addListToListTable"><strong>addListToListTable</strong></a>(elementList, key, listTable)</dt><dd><tt>Add&nbsp;a&nbsp;list&nbsp;to&nbsp;the&nbsp;list&nbsp;table.</tt></dd></dl>
<dl><dt><a name="-addListToListTable"><strong>addListToListTable</strong></a>(elementList, key, listDictionary)</dt><dd><tt>Add&nbsp;a&nbsp;list&nbsp;to&nbsp;the&nbsp;list&nbsp;table.</tt></dd></dl>
<dl><dt><a name="-addLoopToPixelTable"><strong>addLoopToPixelTable</strong></a>(loop, pixelDictionary, width)</dt><dd><tt>Add&nbsp;loop&nbsp;to&nbsp;the&nbsp;pixel&nbsp;table.</tt></dd></dl>
<dl><dt><a name="-addPathToPixelTable"><strong>addPathToPixelTable</strong></a>(path, pixelDictionary, value, width)</dt><dd><tt>Add&nbsp;path&nbsp;to&nbsp;the&nbsp;pixel&nbsp;table.</tt></dd></dl>
<dl><dt><a name="-addPixelTableToPixelTable"><strong>addPixelTableToPixelTable</strong></a>(fromPixelTable, intoPixelTable)</dt><dd><tt>Add&nbsp;from&nbsp;pixel&nbsp;table&nbsp;to&nbsp;the&nbsp;into&nbsp;pixel&nbsp;table.</tt></dd></dl>
Expand Down Expand Up @@ -376,7 +376,7 @@
<dl><dt><a name="-getLargestLoop"><strong>getLargestLoop</strong></a>(loops)</dt><dd><tt>Get&nbsp;largest&nbsp;loop&nbsp;from&nbsp;loops.</tt></dd></dl>
<dl><dt><a name="-getLeftPoint"><strong>getLeftPoint</strong></a>(points)</dt><dd><tt>Get&nbsp;the&nbsp;leftmost&nbsp;complex&nbsp;point&nbsp;in&nbsp;the&nbsp;points.</tt></dd></dl>
<dl><dt><a name="-getLeftPointIndex"><strong>getLeftPointIndex</strong></a>(points)</dt><dd><tt>Get&nbsp;the&nbsp;index&nbsp;of&nbsp;the&nbsp;leftmost&nbsp;complex&nbsp;point&nbsp;in&nbsp;the&nbsp;points.</tt></dd></dl>
<dl><dt><a name="-getListTableElements"><strong>getListTableElements</strong></a>(listTable)</dt><dd><tt>Get&nbsp;all&nbsp;the&nbsp;element&nbsp;in&nbsp;a&nbsp;list&nbsp;table.</tt></dd></dl>
<dl><dt><a name="-getListTableElements"><strong>getListTableElements</strong></a>(listDictionary)</dt><dd><tt>Get&nbsp;all&nbsp;the&nbsp;element&nbsp;in&nbsp;a&nbsp;list&nbsp;table.</tt></dd></dl>
<dl><dt><a name="-getLoopCentroid"><strong>getLoopCentroid</strong></a>(polygonComplex)</dt><dd><tt>Get&nbsp;the&nbsp;area&nbsp;of&nbsp;a&nbsp;complex&nbsp;polygon&nbsp;using&nbsp;<a href="http://en.wikipedia.org/wiki/Centroid">http://en.wikipedia.org/wiki/Centroid</a>.</tt></dd></dl>
<dl><dt><a name="-getLoopConvex"><strong>getLoopConvex</strong></a>(polygonComplex)</dt><dd><tt>Get&nbsp;convex&nbsp;hull&nbsp;of&nbsp;a&nbsp;complex&nbsp;polygon&nbsp;using&nbsp;gift&nbsp;wrap&nbsp;algorithm.</tt></dd></dl>
<dl><dt><a name="-getLoopConvexAddedIndex"><strong>getLoopConvexAddedIndex</strong></a>(around, lastAddedIndex, lastPoint, segment)</dt><dd><tt>Get&nbsp;polygon&nbsp;convex&nbsp;added&nbsp;index.</tt></dd></dl>
Expand Down Expand Up @@ -413,6 +413,8 @@
<dl><dt><a name="-getPlaneDot"><strong>getPlaneDot</strong></a>(vec3First, vec3Second)</dt><dd><tt>Get&nbsp;the&nbsp;dot&nbsp;product&nbsp;of&nbsp;the&nbsp;x&nbsp;and&nbsp;y&nbsp;components&nbsp;of&nbsp;a&nbsp;pair&nbsp;of&nbsp;Vector3s.</tt></dd></dl>
<dl><dt><a name="-getPluralString"><strong>getPluralString</strong></a>(number, suffix)</dt><dd><tt>Get&nbsp;the&nbsp;plural&nbsp;string.</tt></dd></dl>
<dl><dt><a name="-getPointPlusSegmentWithLength"><strong>getPointPlusSegmentWithLength</strong></a>(length, point, segment)</dt><dd><tt>Get&nbsp;point&nbsp;plus&nbsp;a&nbsp;segment&nbsp;scaled&nbsp;to&nbsp;a&nbsp;given&nbsp;length.</tt></dd></dl>
<dl><dt><a name="-getPointsByHorizontalDictionary"><strong>getPointsByHorizontalDictionary</strong></a>(width, xIntersectionsDictionary)</dt><dd><tt>Get&nbsp;points&nbsp;from&nbsp;the&nbsp;horizontalXIntersectionsDictionary.</tt></dd></dl>
<dl><dt><a name="-getPointsByVerticalDictionary"><strong>getPointsByVerticalDictionary</strong></a>(width, xIntersectionsDictionary)</dt><dd><tt>Get&nbsp;points&nbsp;from&nbsp;the&nbsp;verticalXIntersectionsDictionary.</tt></dd></dl>
<dl><dt><a name="-getPointsRoundZAxis"><strong>getPointsRoundZAxis</strong></a>(planeAngle, points)</dt><dd><tt>Get&nbsp;points&nbsp;rotated&nbsp;by&nbsp;the&nbsp;plane&nbsp;angle</tt></dd></dl>
<dl><dt><a name="-getRandomComplex"><strong>getRandomComplex</strong></a>(begin, end)</dt><dd><tt>Get&nbsp;random&nbsp;complex.</tt></dd></dl>
<dl><dt><a name="-getRank"><strong>getRank</strong></a>(width)</dt><dd><tt>Get&nbsp;the&nbsp;rank&nbsp;which&nbsp;is&nbsp;0&nbsp;at&nbsp;1&nbsp;and&nbsp;increases&nbsp;by&nbsp;three&nbsp;every&nbsp;power&nbsp;of&nbsp;ten.</tt></dd></dl>
Expand Down Expand Up @@ -474,7 +476,7 @@
<dl><dt><a name="-joinXIntersectionsTables"><strong>joinXIntersectionsTables</strong></a>(fromTable, intoTable)</dt><dd><tt>Join&nbsp;both&nbsp;XIntersections&nbsp;tables&nbsp;and&nbsp;put&nbsp;the&nbsp;join&nbsp;into&nbsp;the&nbsp;intoTable.</tt></dd></dl>
<dl><dt><a name="-overwriteDictionary"><strong>overwriteDictionary</strong></a>(fromDictionary, keys, toDictionary)</dt><dd><tt>Overwrite&nbsp;the&nbsp;dictionary.</tt></dd></dl>
<dl><dt><a name="-removeElementFromDictionary"><strong>removeElementFromDictionary</strong></a>(dictionary, key)</dt><dd><tt>Remove&nbsp;element&nbsp;from&nbsp;the&nbsp;dictionary.</tt></dd></dl>
<dl><dt><a name="-removeElementFromListTable"><strong>removeElementFromListTable</strong></a>(element, key, listTable)</dt><dd><tt>Remove&nbsp;an&nbsp;element&nbsp;from&nbsp;the&nbsp;list&nbsp;table.</tt></dd></dl>
<dl><dt><a name="-removeElementFromListTable"><strong>removeElementFromListTable</strong></a>(element, key, listDictionary)</dt><dd><tt>Remove&nbsp;an&nbsp;element&nbsp;from&nbsp;the&nbsp;list&nbsp;table.</tt></dd></dl>
<dl><dt><a name="-removeElementFromPixelListFromPoint"><strong>removeElementFromPixelListFromPoint</strong></a>(element, pixelDictionary, point)</dt><dd><tt>Remove&nbsp;an&nbsp;element&nbsp;from&nbsp;the&nbsp;pixel&nbsp;list.</tt></dd></dl>
<dl><dt><a name="-removeElementsFromDictionary"><strong>removeElementsFromDictionary</strong></a>(dictionary, keys)</dt><dd><tt>Remove&nbsp;list&nbsp;from&nbsp;the&nbsp;dictionary.</tt></dd></dl>
<dl><dt><a name="-removePixelTableFromPixelTable"><strong>removePixelTableFromPixelTable</strong></a>(pixelDictionaryToBeRemoved, pixelDictionaryToBeRemovedFrom)</dt><dd><tt>Remove&nbsp;pixel&nbsp;from&nbsp;the&nbsp;pixel&nbsp;table.</tt></dd></dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,7 @@
<br>
An import plugin is a script in the interpret_plugins folder which has the function getCarving. It is meant to be run from the interpret tool. To ensure that the plugin works on platforms which do not handle file capitalization properly, give the plugin a lower case name.<br>
<br>
The getCarving function takes the file name of an csv file and returns the carving.<br>
<br>
This example gets a triangle mesh for the csv file boolean.csv. This example is run in a terminal in the folder which contains boolean.csv and csv.py.<br>
<br>
<br>
&gt; python<br>
Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)<br>
[GCC 4.2.1 (SUSE Linux)] on linux2<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
&gt;&gt;&gt; import csv<br>
&gt;&gt;&gt; csv.<a href="#-getCarving">getCarving</a>().getCarveRotatedBoundaryLayers()<br>
[-1.159765625, None, [[(-18.925000000000001-2.4550000000000001j), (-18.754999999999981-2.4550000000000001j)<br>
..<br>
many more lines of the carving<br>
..<br>
<br>
<br>
An example of an csv boolean geometry format file follows below.</tt>
The getCarving function takes the file name of an csv file and returns the carving.</tt>
<br />
<br />
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,7 @@
<br>
Follows nv lines containing the x, y and z coordinates of the vertexes. Follows ne lines containing the two indices (starting from one) of the vertexes of each edge. Follows nf lines containing the three ordered indices (also starting from one) of the edges of each face.<br>
<br>
The format described above is the least common denominator to all GTS files. Consistent with an object-oriented approach, the GTS file format is extensible. Each of the lines of the file can be extended with user-specific attributes accessible through the read() and write() virtual methods of each of the objects written (surface, vertexes, edges or faces). When read with different object classes, these extra attributes are just ignored."<br>
<br>
This example gets a carving for the gts file Screw Holder Bottom.gts. This example is run in a terminal in the folder which contains Screw Holder Bottom.gts and gts.py.<br>
<br>
<br>
&gt; python<br>
Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)<br>
[GCC 4.2.1 (SUSE Linux)] on linux2<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
&gt;&gt;&gt; import gts<br>
&gt;&gt;&gt; gts.<a href="#-getCarving">getCarving</a>()<br>
[11.6000003815, 10.6837882996, 7.80209827423<br>
..<br>
many more lines of the carving<br>
..</tt>
The format described above is the least common denominator to all GTS files. Consistent with an object-oriented approach, the GTS file format is extensible. Each of the lines of the file can be extended with user-specific attributes accessible through the read() and write() virtual methods of each of the objects written (surface, vertexes, edges or faces). When read with different object classes, these extra attributes are just ignored."</tt>
<br />
<br />
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,7 @@
<a href="http://local.wasp.uwa.edu.au/~pbourke/dataformats/obj/">http://local.wasp.uwa.edu.au/~pbourke/dataformats/obj/</a><br>
<br>
An excellent link page about obj files is at:<br>
<a href="http://people.sc.fsu.edu/~burkardt/data/obj/obj.html">http://people.sc.fsu.edu/~burkardt/data/obj/obj.html</a><br>
<br>
This example gets a carving for the obj file box.obj. This example is run in a terminal in the folder which contains box.obj and obj.py.<br>
<br>
<br>
&gt; python<br>
Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)<br>
[GCC 4.2.1 (SUSE Linux)] on linux2<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
&gt;&gt;&gt; import obj<br>
&gt;&gt;&gt; obj.<a href="#-getCarving">getCarving</a>()<br>
[-62.0579, -41.4791, 0.0, 58.8424, -41.4791, 0.0, -62.0579, 22.1865, 0.0, 58.8424, 22.1865, 0.0,<br>
-62.0579, -41.4791, 39.8714, 58.8424, -41.4791, 39.8714, -62.0579, 22.1865, 39.8714, 58.8424, 22.1865, 39.8714]<br>
[0 [0, 10] [0, 2], 1 [0, 1] [0, 3], 2 [0, 8] [2, 3], 3 [1, 6] [1, 3], 4 [1, 4] [0, 1], 5 [2, 5] [4, 5], 6 [2, 3] [4, 7], 7 [2, 7] [5, 7],<br>
8 [3, 9] [6, 7], 9 [3, 11] [4, 6], 10 [4, 5] [0, 5], 11 [4, 7] [1, 5], 12 [5, 10] [0, 4], 13 [6, 7] [1, 7], 14 [6, 9] [3, 7],<br>
15 [8, 9] [3, 6], 16 [8, 11] [2, 6], 17 [10, 11] [2, 4]]<br>
[0 [0, 1, 2] [0, 2, 3], 1 [3, 1, 4] [3, 1, 0], 2 [5, 6, 7] [4, 5, 7], 3 [8, 6, 9] [7, 6, 4], 4 [4, 10, 11] [0, 1, 5], 5 [5, 10, 12] [5, 4, 0],<br>
6 [3, 13, 14] [1, 3, 7], 7 [7, 13, 11] [7, 5, 1], 8 [2, 15, 16] [3, 2, 6], 9 [8, 15, 14] [6, 7, 3], 10 [0, 17, 12] [2, 0, 4],<br>
11 [9, 17, 16] [4, 6, 2]][11.6000003815, 10.6837882996, 7.80209827423</tt>
<a href="http://people.sc.fsu.edu/~burkardt/data/obj/obj.html">http://people.sc.fsu.edu/~burkardt/data/obj/obj.html</a></tt>
<br />
<br />
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,6 @@
<br>
The getCarving function takes the file name of an slc file and returns the carving.<br>
<br>
This example gets a triangle mesh for the slc file rotor.slc. This example is run in a terminal in the folder which contains rotor.slc and slc.py.<br>
<br>
<br>
&gt; python<br>
Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)<br>
[GCC 4.2.1 (SUSE Linux)] on linux2<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
&gt;&gt;&gt; import slc<br>
&gt;&gt;&gt; slc.<a href="#-getCarving">getCarving</a>()<br>
0.20000000298, 987654321.0, -987654321.0, [8.72782748851e-17, None<br>
..<br>
many more lines of the carving<br>
..<br>
<br>
<br>
An explanation of the SLC format can be found at:<br>
<a href="http://rapid.lpt.fi/archives/rp-ml-1999/0713.html">http://rapid.lpt.fi/archives/rp-ml-1999/0713.html</a></tt>
<br />
Expand Down
Loading

0 comments on commit 1e0e1c0

Please sign in to comment.