[OpenSCAD] FW: Rendering problem about importing dxf file

OzAtMichael oz.at.michael at gmail.com
Thu Jan 11 19:37:44 EST 2018


This bounced. Resending to list.

> -----Original Message-----
> From: ericlau [mailto:cylaumail at gmail.com]
> Sent: Fri, 12 Jan 2018 10:21
> To: discuss at lists.openscad.org
> Subject: Rendering problem about importing dxf file
> 
> I'm a new user of OpenSCAD and just met a rendering problem. Could you help
> to solve it?
> 
> Rendering success:
> - Use linear_extrude() for a dxf file and display a sphere.
> - Only use rotate_extrude() for a dxf file.
> 
> Rendering fail:
> - Use rotate_extrude() for a dxf file and display a
> sphere.
> 
> Here is the error message:
> ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion
> violation! Expr: e->incident_sface() != SFace_const_handle() File:
> /Users/kintel/code/OpenSCAD/openscad/../libraries/install/include/CGAL/Nef_S2/SM_const_decorator.
> h
> Line: 329
> 
> Here is my source code:
> /**************
> **************/
> module loadFile() {
>     rotate_extrude()
>         import("import_exercise.dxf");
> }
> 
> module loadSphere() {
>     translate([0,0,-30])
>         sphere(10);
> }
> 
> loadFile();
> loadSphere();
> /**************
> **************/
> 
> Here is the scad file:
> https://drive.google.com/file/d/1dT84jAzTGn-FxavEXamVivUwODelRqLS/view?usp=sharing
> <https://drive.google.com/file/d/1dT84jAzTGn-FxavEXamVivUwODelRqLS/view?usp=sharing>
> 
> Here is the dxf file:
> https://drive.google.com/file/d/1XhjWkydDVEnrn-vYcJOT5-yIjSRtdQaT/view?usp=sharing
> <https://drive.google.com/file/d/1XhjWkydDVEnrn-vYcJOT5-yIjSRtdQaT/view?usp=sharing>
> 
> <http://forum.openscad.org/file/t2130/screenshot_preview.png>
> 
> <http://forum.openscad.org/file/t2130/screenshot_render.png>
> 
> <http://forum.openscad.org/file/t2130/screenshot_render_success.png>
> 
> Thank you!
> 
> 
> 
> --
> Sent from: http://forum.openscad.org/






More information about the Discuss mailing list