summaryrefslogtreecommitdiff
path: root/cad/openscad
diff options
context:
space:
mode:
authorreinoud <reinoud>2012-02-28 11:03:48 +0000
committerreinoud <reinoud>2012-02-28 11:03:48 +0000
commit4ec5fcc7ff3459323f7d9d6efd3d7803102ddcd4 (patch)
tree0136e1b0918695799942dc6b86b1cbfd15d56a48 /cad/openscad
parente52f252d3f516a6f6107929cd5fec639dee9208a (diff)
downloadpkgsrc-4ec5fcc7ff3459323f7d9d6efd3d7803102ddcd4.tar.gz
Add hint for users of this package when encountering slow rendering or missing
objects.
Diffstat (limited to 'cad/openscad')
-rw-r--r--cad/openscad/MESSAGE18
1 files changed, 18 insertions, 0 deletions
diff --git a/cad/openscad/MESSAGE b/cad/openscad/MESSAGE
new file mode 100644
index 00000000000..24f87cc3c01
--- /dev/null
+++ b/cad/openscad/MESSAGE
@@ -0,0 +1,18 @@
+Hints and tips for OpenSCAD:
+
+openscad-2011.12: Sometimes it doesn't seem to render all objects when
+rendering with the fast OpenCSG. It is not yet clear if this is a problem with
+OpenSCAD or with OpenCSG. The solution is to add the render() primitive to the
+function. This will then use CGAL to create a primitive even when rendering
+with OpenCSG. It also speeds up rendering significantly since it creates them
+as primitives! So transform
+
+ func(l) {
+ ....
+ }
+to
+ func(l) render() {
+ ....
+ }
+
+if you encounter render problems or when rendering a primitive is very slow.