Comments (7)
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.
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.
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.
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.
The render() call also works fine, thanks for that tip.
from openscad.
Just one comment: The rendering is still pretty slow. That's an optimization for later.
from openscad.
render was still faster (and definitely cleaner) than making extrusion and projection.
from openscad.
Related Issues (20)
- Document vector swizzling HOT 1
- Setting to do full Renders in place of Preview on AutoReload HOT 4
- path_extrudes() not loved by Manifold (or even CGAL, maybe...) HOT 10
- Add / change Metadata for 3mf export HOT 9
- Sadly, we can't add .scad files to the issues in the openSCAD repository HOT 9
- Wikibooks search fails to find minkowski HOT 15
- HEAD Build issues on Gentoo with EXPERIMENTAL=OFF HOT 15
- OpenScad will not load on Mac HOT 2
- cmake aborts with no quickhull/QuickHull.cpp HOT 1
- Calculation of number of sides based on $fs is slightly incorrect HOT 2
- OpenSCAD launch is not working if executable differs from openscad.exe HOT 1
- Release Policy HOT 2
- Viewport-Control widget can be made too narrow; tab order broken. HOT 6
- simple helper (add one button) to reset time HOT 7
- slicer integration and parameters HOT 11
- OpenScad as library HOT 3
- macOS: Dependencies don't build on Xcode 15.2
- Named groups, or other ways to identify components.
- macOS: Improve deployment target management for universal binaries
- Character "degrees" not rendering HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openscad.