![[Image: face_selection2.png]](https://lh3.googleusercontent.com/-5Zw3EyLUMa8/U_Jk41rZQEI/AAAAAAAAAGc/69srgNAq_-w/w582-h440-no/face_selection2.png)
![[Image: line_selection.png]](https://lh6.googleusercontent.com/-aJRSC4Ez40o/U_Jk7oz10eI/AAAAAAAAAHI/pMGfKOaCITU/w582-h440-no/line_selection.png)
Another visualisation of selected faces:
![[Image: face_selection.png]](https://lh5.googleusercontent.com/-v7CAH_x7YbE/U_Jk4Y7FMcI/AAAAAAAAALU/Oo94V9ZZixs/w582-h440-no/face_selection.png)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project LDPartEditor_linux">
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<target name="create_run_jar">
<jar destfile="/home/nils/workspace/LDPartEditor/LDPartEditor_linux_x86/LDPartEditor.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="org.nschmidt.ldparteditor.main.LDPartEditor"/>
<!-- Modified Classpath -->
<attribute name="Class-Path" value=". plugin/"/>
</manifest>
<fileset dir="/home/nils/workspace/LDPartEditor_linux/bin"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/workspace/LDPartEditor_linux/lib/lwjgl_util.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/workspace/LDPartEditor_linux/lib/lwjgl.jar"/>
<fileset dir="/home/nils/workspace/org.eclipse.swt_linux"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/workspace/org.eclipse.swt_linux/swt.jar"/>
<fileset dir="/home/nils/workspace/org.eclipse.jface/bin"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/workspace/jface/org.eclipse.core.commands_3.6.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/workspace/jface/org.eclipse.equinox.common_3.6.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/workspace/jface/org.eclipse.jface_3.5.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/workspace/jface/org.eclipse.osgi_3.6.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/workspace/jface/org.eclipse.ui.workbench_3.1.0.jar"/>
<fileset dir="/home/nils/workspace/com.sun.tools/bin"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/workspace/runtime_compiler/tools.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/workspace/LDPartEditor_linux/swt-grouplayout.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/workspace/LDPartEditor_linux/swing2swt.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/eclipse/plugins/org.eclipse.core.databinding_1.4.1.v20130515-1857.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/eclipse/plugins/org.eclipse.core.databinding.beans_1.2.200.v20130515-1857.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/eclipse/plugins/org.eclipse.core.databinding.observable_1.4.1.v20130515-1857.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/eclipse/plugins/org.eclipse.core.databinding.property_1.4.200.v20130515-1857.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/eclipse/plugins/org.eclipse.jface.databinding_1.6.200.v20130515-1857.jar"/>
<zipfileset excludes="META-INF/*.SF" src="/home/nils/eclipse/plugins/com.ibm.icu_50.1.1.v201304230130.jar"/>
</jar>
</target>
</project>
0 // CSG commands can be used in subfiles, too
0 // The identifiers are non-global and bound to the file / subfile
0 // It is possible to inline CSG commands from subfiles
0 BFC CERTIFY CCW
0 // SYNTAX 1 0 !LPE [CSG FORM] [ID] [COLOUR] [MATRIX]
0 !LPE CSG_CUBOID a 4 0 0 0 1 0 0 0 1 0 0 0 1
0 !LPE CSG_ELLIPSOID b 1 0 0 0 1.35 0 0 0 1.35 0 0 0 1.35
0 !LPE CSG_CYLINDER c 2 0 -1 0 .7 0 0 0 2 0 0 0 .7
0 !LPE CSG_CYLINDER d 2 -1 0 0 0 2 0 .7 0 0 0 0 .7
0 !LPE CSG_CYLINDER e 2 0 0 -1 .7 0 0 0 0 .7 0 2 0
0 // SYNTAX 2 0 !LPE [CSG FUNCTION] [ID] [ID2] [ID3]
0 !LPE CSG_UNION c d d
0 !LPE CSG_UNION d e d
0 !LPE CSG_INTERSECTION a b f
0 !LPE CSG_DIFFERENCE f d f
0 // SYNTAX 3 0 !LPE CSG_COMPILE [ID]
0 // The COMPILE command displays the CSG volume on the screen
0 // Inlining the following line will generate triangles of the CSG volume
0 !LPE CSG_COMPILE f
0 // E.g.
0 // Inlined: !LPE CSG_COMPILE f
3 4 -10 1.5752766 7.3133416 -10 1.5752766 8.313231 -10 3.3930404 7.6749177
3 4 -10 1.5752766 7.3133416 -10 -2.6084895 6.481139 -10 -2.6084895 7.9504156
3 4 -10 1.5752766 7.3133416 -10 -2.6084895 7.9504156 -10 9.094947E-16 8.866396
...
0 !TEXMAP START PLANAR 0 0 0 10 0 0 0 10 0 checker.png
0 !: 4 16 0 0 0 10 0 0 10 10 0 0 10 0
0 !TEXMAP FALLBACK
4 16 0 0 0 10 0 0 10 10 0 0 10 0
0 !TEXMAP END
0 !TEXMAP START CYLINDRICAL 15 10 0 15 0 0 15 10 -5 3.14 checker.png
0 !: 1 16 15 0 0 5 0 0 0 10 0 0 0 5 4-4cyli.dat
0 !TEXMAP FALLBACK
1 16 15 0 0 5 0 0 0 10 0 0 0 5 4-4cyli.dat
0 !TEXMAP END
0 !TEXMAP START SPHERICAL 25 5 0 25 5 -5 30 5 0 3.14 3.14 checker.png
0 !: 1 16 25 5 0 5 0 0 0 5 0 0 0 5 8-8sphe.dat
0 !TEXMAP FALLBACK
1 16 25 5 0 5 0 0 0 5 0 0 0 5 8-8sphe.dat
0 !TEXMAP END
0 // btw: I changed the unit to degrees instead of radians
0 !TEXMAP START CYLINDRICAL 15 10 0 15 0 0 15 10 -5 180 checker.png
0 !: 1 16 15 0 0 5 0 0 0 10 0 0 0 5 4-4cyli.dat
0 !TEXMAP FALLBACK
1 16 15 0 0 5 0 0 0 10 0 0 0 5 4-4cyli.dat
0 !TEXMAP END
Roland Melkert Wrote:On the other hand I'm wondering if the spec was ment to be used on enclosed objects, it being projection orientated and all.
Roland Melkert Wrote:I'm also curious... how does it look when you map a texture on something when the outer edges of the texture don't align with ldraw points? e.g. a -60..60 deg on a 16 facet cylinder (texture should starts and end in the ~middle of a segment?)
Travis Cobbs Wrote:One of the few places off the top of my head that I can see a use for spherical mapping would be to put texture onto a LEGO ball (like the Hero Factory mixed color shooter balls).
Travis Cobbs Wrote:The angle that the part author puts into the file is expected to match the angle covered by the textured geometry, so your question seems moot.
Ben Supnik Wrote:I'm not a fan of using projection for part textures at all - the rest of the modeling world uses UV mapping, which makes the projection of parts, management of discontinuities, and other complex issues not the problem of the file format and every client that reads it.
0 // SYNTAX:
0 // 0 !LPE PNG [color=#FF0000][pos X] [pos Y] [pos Z][/color] [color=#00CCDD][X axis rotation angle in degree] [Y axis rot.] [Z axis rot.][/color] [color=#FF9933][scale X] [scale Y][/color] [path]
0 !LPE PNG [color=#FF0000]0 0 10[/color] [color=#00CCDD]90 0 0[/color] [color=#FF9933]1 1[/color] \..\image.png