Giter Club home page Giter Club logo

Comments (7)

kintel avatar kintel commented on July 18, 2024

Thanks for the report.
This is a problem in the OpenCSG Preview (F5) - I'll look into it.
In the meantime you can use Compile and Render (F6) instead, it should work.

from openscad.

donbright avatar donbright commented on July 18, 2024

Can you do the F6 compile instead of F5 compile? On my machine F6 goes
OK, but F5 appears to be suffering from 'normalization explosion'.

-DB

On Sun, Dec 18, 2011 at 3:06 AM, Eero af Heurlin
[email protected]
wrote:

I ran into weird bug when designing a lasercut enclosure, all the sides of the box are made with the 2D subsystem and for visualization extruded to 3D, this works fine. But when I try to compile just one of the 2D designs alone (for exporting to DXF) it will cause a seemingly infinite loop (I ran out of swapspace at ~20G of memory used by OpenSCAD...), and it's not even the most complex part that triggers this.

This is on Mac, using 2011.12.13 version but I'm fairly sure I ran into same issue with the stable version as well (I switched to devel for a reason).

Code at https://gist.github.com/1492786


Reply to this email directly or view it on GitHub:
#44

from openscad.

kintel avatar kintel commented on July 18, 2024

Another way to work around this is to use the render() statement in strategic locations to evaluate that into a single polyhedron (thus simplifying resulting normalized CSG tree).

from openscad.

rambo avatar rambo commented on July 18, 2024

F6 compile works but since there is no way to reload without doing the "normal" compile this get's a bit complicated.

Anyway, worked around the problem by doing a 2D projection from 3D extrusion (as can be seen from the .scad file), fits my usual workflow (external editor, automatic reload & compile) better :)

from openscad.

rambo avatar rambo commented on July 18, 2024

The render() call also works fine, thanks for that tip.

from openscad.

kintel avatar kintel commented on July 18, 2024

Just one comment: The rendering is still pretty slow. That's an optimization for later.

from openscad.

rambo avatar rambo commented on July 18, 2024

render was still faster (and definitely cleaner) than making extrusion and projection.

from openscad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.