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
commit4a394424a3ee329baa8fd7f06feef2f668c29208 (patch)
tree0136e1b0918695799942dc6b86b1cbfd15d56a48 /cad/openscad
parent43ee62d6025df84eb4e0c7a4c5b70794a1e8755d (diff)
downloadpkgsrc-4a394424a3ee329baa8fd7f06feef2f668c29208.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.