Package: openscad Version: 2014.03+dfsg-1 Severity: normal Tags: upstream -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi, the attached file cannot be exported to STL after rendering; changing the sign on the "twist" parameter of the first "linear_extrude" makes the problem go away (but obviously the threading is turning in the wrong direction now). Simon - -- Package-specific info: Output of /usr/share/bug/openscad: $ glxinfo |grep 'OpenGL .* string:' OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GTX 560 Ti/PCIe/SSE2 OpenGL core profile version string: 4.4.0 NVIDIA 340.65 OpenGL core profile shading language version string: 4.40 NVIDIA via Cg compiler OpenGL version string: 4.4.0 NVIDIA 340.65 OpenGL shading language version string: 4.40 NVIDIA via Cg compiler OpenGL ES profile version string: OpenGL ES 3.1 NVIDIA 340.65 340.65 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 - -- System Information: Debian Release: 8.2 APT prefers stable APT policy: (990, 'stable'), (500, 'oldoldstable'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages openscad depends on: ii libboost-filesystem1.55.0 1.55.0+dfsg-3 ii libboost-program-options1.55.0 1.55.0+dfsg-3 ii libboost-regex1.55.0 1.55.0+dfsg-3 ii libboost-system1.55.0 1.55.0+dfsg-3 ii libboost-thread1.55.0 1.55.0+dfsg-3 ii libc6 2.19-18+deb8u1 ii libcgal10 4.5-2 ii libgcc1 1:4.9.2-10 ii libgl1-mesa-glx [libgl1] 10.3.2-1+deb8u1 ii libglew1.10 1.10.0-3 ii libglib2.0-0 2.42.1-1 ii libglu1-mesa [libglu1] 9.0.0-2 ii libgmp10 2:6.0.0+dfsg-6 ii libmpfr4 3.1.2-2 ii libopencsg1 1.3.2-2+b1 ii libqt4-opengl 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 ii libqtcore4 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 ii libqtgui4 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 ii libstdc++6 4.9.2-10 ii libx11-6 2:1.6.2-3 Versions of packages openscad recommends: ii openscad-mcad 2014.03-1 Versions of packages openscad suggests: pn geomview <none> pn librecad <none> pn meshlab <none> pn openscad-testing <none> - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWK+QpAAoJEH69OHuwmQgR3ksH/i+7vv7e69DeUx8xiKvmL4+L d3ffBhw3FXy89mrAj2EVeL8PJ5YWhIDy4Hv0FaYsNdQy3+jZf/Jdk0RrGoFu4AvA 9io46p3Awzxu+rsYH6B55rVVrftEabgR8UEsuoOLVBIKUkBJy1hr6gSuhqATrK6y E0g1h446VWvW+Gschcm7UImduyJCY7H80wxAuBSnjxqWNrB+7bqkOcliYfJZMqua RFIsbXP40QAWFrMhYEwTV5ISnkf3Ra+8HufC9w/EL1ClJNc1FTRmI9JJfZW6++ll sVoDL0oiWjhKHoL4Md4E0RH+YAWzS3bymgpe3tXIskH6MYUSKypcWGI1CQD2+fo= =AZ36 -----END PGP SIGNATURE-----
intersection() { linear_extrude(height=80,center=true,twist=-1800,slices=1000) { union() { circle(r=5); difference() { circle(r=8); square(10); translate([-10,-10]) square(10); } } } linear_extrude(height=80,center=true,slices=1000) { union() { circle(r=5); for(ang=[0:36:360]) { rotate(a=ang) { polygon(points=[[0,0],[7,0],[8*cos(8),8*sin(8)],[7*cos(16),7*sin(16)]]); } } } } } translate([0,0,-45]) { cylinder(h=10,r=7.5,center=true); linear_extrude(height=10,center=true,slices=1000) { for(ang=[0:24:360]) { rotate(a=ang) { polygon(points=[[6,0],[9,0],[10*cos(6),10*sin(6)],[9*cos(12),9*sin(12)],[6*cos(12),6*sin(12)]]); } } } }