On Jan 29, 2015, at 01:01 AM, adrian adrianh.bsc@gmail.com wrote:
And where do I get that? I have the 2015.01.23. Isn't that development?
Yes, you also need to install the scad-utils library as described in the README: https://github.com/openscad/list-comprehension-demos#list-comprehension-demos
-Marius
Will the points have the same z coordinate?
:)
--
View this message in context: http://forum.openscad.org/How-to-create-an-cylindrical-arc-tp11257p11295.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Bananapeel wrote
Will the points have the same z coordinate?
:)
No, I'll probably have to be doing some transforms to get it to the right
location. Would be nice to just say arc(begin, middle, end, diameter) or
something of that nature and just have it done, but there's nothing out
there now. I'll probably programme its API that way.
A
--
View this message in context: http://forum.openscad.org/How-to-create-an-cylindrical-arc-tp11257p11314.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On 01/28/2015 08:48 PM, Marius Kintel wrote:
module rotate_extrude_angle(angle, size) {
module pie(a) {
r=sqrt(2);
hull() polyhedron(points=[[0,0,-r], [r,0,-r], [rcos(a),rsin(a),-r],[0,0,r], [r,0,r], [rcos(a),rsin(a),r]], faces=[[0,1,2,3,4,5]]);
}
intersection() {
scale(size) pie(angle);
rotate_extrude() children();
}
}
rotate_extrude_angle(45, 13) translate([8,0]) circle(5);
just for sh*ts and grins i keyed this in and got this error:
Saved backup file:
/home/yvette/.local/share/OpenSCAD/backups/unsaved-backup-XMTJ7295.scad
Compiling design (CSG Tree generation)...
Rendering Polygon Mesh using CGAL...
PolySet has nonplanar faces. Attempting alternate construction
CGAL error in dxftess triangulate_polygon: CGAL ERROR: precondition
violation!
Expr: is_simple_2(first, last, traits)
File: ../openscad_deps/include/CGAL/Polygon_2/Polygon_2_algorithms_impl.h
Line: 421
(snippage)
hth
yvette
On Jan 30, 2015, at 13:56 PM, Yvette S. Hirth, CCP, CDP yvette@dbtgroup.com wrote:
just for sh*ts and grins i keyed this in and got this error:
[…]
You need a development snapshot for that to work. Sounds like you’re on 2014.03 or earlier.
-Marius