discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

rotate_extrude() preview question

M
Mekko
Sun, Mar 15, 2015 7:44 PM

Maybe this is an old issue but this code previews incorrectly in Version
2015.03:

intersection() {
cube(size=[100, 100, 100]);
rotate_extrude(convexity=10) translate(v=[40,0,0]) circle(d=10);
}

But changing convexity to 1 previews just fine (and 1 seems to be the only
value that works). Am I doing something wrong?

Thanks!

http://forum.openscad.org/file/n12028/incorrect.png
http://forum.openscad.org/file/n12028/correct.png

--
View this message in context: http://forum.openscad.org/rotate-extrude-preview-question-tp12028.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Maybe this is an old issue but this code previews incorrectly in Version 2015.03: intersection() { cube(size=[100, 100, 100]); rotate_extrude(convexity=10) translate(v=[40,0,0]) circle(d=10); } But changing convexity to 1 previews just fine (and 1 seems to be the only value that works). Am I doing something wrong? Thanks! <http://forum.openscad.org/file/n12028/incorrect.png> <http://forum.openscad.org/file/n12028/correct.png> -- View this message in context: http://forum.openscad.org/rotate-extrude-preview-question-tp12028.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sun, Mar 15, 2015 7:50 PM

On 03/15/2015 08:44 PM, Mekko wrote:

Maybe this is an old issue but this code previews incorrectly in Version
2015.03:

intersection() {
cube(size=[100, 100, 100]);
rotate_extrude(convexity=10) translate(v=[40,0,0]) circle(d=10);
}

But changing convexity to 1 previews just fine (and 1 seems to be the only
value that works). Am I doing something wrong?

That could be some problem with the graphics driver. I'm not seeing any
problems here (Linux / NVidia / nouveau driver).

With convexity = 1, there's some small places where it does not draw
correctly, with > 3 it's without any display errors.

Can you post the output from the Help->Library Info dialog?

ciao,
Torsten.

On 03/15/2015 08:44 PM, Mekko wrote: > Maybe this is an old issue but this code previews incorrectly in Version > 2015.03: > > intersection() { > cube(size=[100, 100, 100]); > rotate_extrude(convexity=10) translate(v=[40,0,0]) circle(d=10); > } > > But changing convexity to 1 previews just fine (and 1 seems to be the only > value that works). Am I doing something wrong? > That could be some problem with the graphics driver. I'm not seeing any problems here (Linux / NVidia / nouveau driver). With convexity = 1, there's some small places where it does not draw correctly, with > 3 it's without any display errors. Can you post the output from the Help->Library Info dialog? ciao, Torsten.
M
Mekko
Sun, Mar 15, 2015 8:00 PM

I'm running the 32-bit Windows release on an older Windows 7 SP1 machine
(Intel dual core E7500 at 2.93GHz with 3GB of RAM).

Here's the output from Help->Library Info:
OpenSCAD Version: 2015.03
System information: Windows 7 SP1 (v6.1.1.0) 2 CPUs 2.97 GB RAM
Compiler, build date: GCC "4.9.2" 32bit, Mar 10 2015
Boost version: 1_57
Eigen version: 3.2.2
CGAL version, kernels: 4.5, Cartesian, Extended_cartesian, Epeck
OpenCSG version: OpenCSG 1.3.2
Qt version: 5.4.0
QScintilla version: 2.8.4
MingW build: MingW32
GLib version: 2.42.1
...

OPENSCAD_FONT_PATH:
OpenSCAD font path:
GLEW version: 1.11.0
OpenGL Version: 2.1.0 - Build 8.15.10.2302
GL Renderer: Intel(R) G45/G43 Express Chipset
GL Vendor: Intel
RGBA(8888), depth(24), stencil(8)
GL_ARB_framebuffer_object: no
GL_EXT_framebuffer_object: yes
GL_EXT_packed_depth_stencil: yes

Using QGLWidget

GL Extensions:
GL_3DFX_texture_compression_FXT1
GL_ARB_color_buffer_float
GL_ARB_depth_buffer_float
GL_ARB_depth_texture
GL_ARB_draw_buffers
GL_ARB_draw_instanced
GL_ARB_fragment_program
GL_ARB_fragment_shader
GL_ARB_framebuffer_sRGB
GL_ARB_half_float_pixel
GL_ARB_half_float_vertex
GL_ARB_multitexture
GL_ARB_occlusion_query
GL_ARB_pixel_buffer_object
GL_ARB_point_parameters
GL_ARB_point_sprite
GL_ARB_shader_objects
GL_ARB_shading_language_100
GL_ARB_shadow
GL_ARB_texture_border_clamp
GL_ARB_texture_compression
GL_ARB_texture_compression_rgtc
GL_ARB_texture_cube_map
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_crossbar
GL_ARB_texture_env_dot3
GL_ARB_texture_float
GL_ARB_texture_non_power_of_two
GL_ARB_texture_rectangle
GL_ARB_texture_rg
GL_ARB_transpose_matrix
GL_ARB_vertex_array_object
GL_ARB_vertex_buffer_object
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ARB_window_pos
GL_ATI_separate_stencil
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_color
GL_EXT_blend_equation_separate
GL_EXT_blend_func_separate
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_clip_volume_hint
GL_EXT_compiled_vertex_array
GL_EXT_draw_buffers2
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_EXT_framebuffer_blit
GL_EXT_framebuffer_object
GL_EXT_multi_draw_arrays
GL_EXT_packed_depth_stencil
GL_EXT_packed_float
GL_EXT_packed_pixels
GL_EXT_rescale_normal
GL_EXT_secondary_color
GL_EXT_separate_specular_color
GL_EXT_shadow_funcs
GL_EXT_stencil_two_side
GL_EXT_stencil_wrap
GL_EXT_texture3D
GL_EXT_texture_compression_s3tc
GL_EXT_texture_edge_clamp
GL_EXT_texture_env_add
GL_EXT_texture_env_combine
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_lod_bias
GL_EXT_texture_rectangle
GL_EXT_texture_sRGB
GL_EXT_texture_shared_exponent
GL_EXT_texture_swizzle
GL_EXT_transform_feedback
GL_IBM_texture_mirrored_repeat
GL_NV_blend_square
GL_NV_conditional_render
GL_NV_texgen_reflection
GL_SGIS_generate_mipmap
GL_SGIS_texture_edge_clamp
GL_SGIS_texture_lod
GL_WIN_swap_hint

--
View this message in context: http://forum.openscad.org/rotate-extrude-preview-question-tp12028p12030.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I'm running the 32-bit Windows release on an older Windows 7 SP1 machine (Intel dual core E7500 at 2.93GHz with 3GB of RAM). Here's the output from Help->Library Info: OpenSCAD Version: 2015.03 System information: Windows 7 SP1 (v6.1.1.0) 2 CPUs 2.97 GB RAM Compiler, build date: GCC "4.9.2" 32bit, Mar 10 2015 Boost version: 1_57 Eigen version: 3.2.2 CGAL version, kernels: 4.5, Cartesian, Extended_cartesian, Epeck OpenCSG version: OpenCSG 1.3.2 Qt version: 5.4.0 QScintilla version: 2.8.4 MingW build: MingW32 GLib version: 2.42.1 ... OPENSCAD_FONT_PATH: OpenSCAD font path: GLEW version: 1.11.0 OpenGL Version: 2.1.0 - Build 8.15.10.2302 GL Renderer: Intel(R) G45/G43 Express Chipset GL Vendor: Intel RGBA(8888), depth(24), stencil(8) GL_ARB_framebuffer_object: no GL_EXT_framebuffer_object: yes GL_EXT_packed_depth_stencil: yes Using QGLWidget GL Extensions: GL_3DFX_texture_compression_FXT1 GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_framebuffer_sRGB GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_separate_stencil GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_EXT_texture_swizzle GL_EXT_transform_feedback GL_IBM_texture_mirrored_repeat GL_NV_blend_square GL_NV_conditional_render GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_WIN_swap_hint -- View this message in context: http://forum.openscad.org/rotate-extrude-preview-question-tp12028p12030.html Sent from the OpenSCAD mailing list archive at Nabble.com.