From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matthew Keeter Newsgroups: gmane.lisp.guile.user Subject: Re: Solid modeling in Guile Date: Sat, 20 Aug 2016 10:26:53 -0400 Message-ID: References: <20160820132337.ithrhyc4s53nrdmh@seid-online.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1471703251 1181 195.159.176.226 (20 Aug 2016 14:27:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 Aug 2016 14:27:31 +0000 (UTC) Cc: guile-user@gnu.org To: Ralf Mattes Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Aug 20 16:27:27 2016 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bb7F7-0008P5-3A for guile-user@m.gmane.org; Sat, 20 Aug 2016 16:27:25 +0200 Original-Received: from localhost ([::1]:33362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb7F4-00078w-E5 for guile-user@m.gmane.org; Sat, 20 Aug 2016 10:27:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb7Ek-00078c-Cw for guile-user@gnu.org; Sat, 20 Aug 2016 10:27:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bb7Eg-00048z-5h for guile-user@gnu.org; Sat, 20 Aug 2016 10:27:01 -0400 Original-Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]:35262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb7Ef-00048v-VX for guile-user@gnu.org; Sat, 20 Aug 2016 10:26:58 -0400 Original-Received: by mail-qk0-x22d.google.com with SMTP id v123so61964085qkh.2 for ; Sat, 20 Aug 2016 07:26:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=dzauC+Yw1p3mOiK0Fvt8Skkpq+puUTxvRwPGveAHxA0=; b=jz9YlogK2SiB8dspbL/GzcYztwoM5dFMwoyo0Odyi9tM8N8Rxd1VAZbvVT7y1D2iNh gkq4u9PYh/jDAzchfAGqLcx5wmXjK4QwbmmhTbezj4t3DpGU/qWUJC2mRmVG6EH11o7b STA4/6YicI5dGJ6MW6dpAN9LMaHxtfeGze1Ol6GBpxz5y0z1dpZrhCEnaVoVJQhaWyPr rd70F7NHJGYUApNilIdYAmJrmmnh7l80fzOn/+GjQkuZglZO1CKM7Wvn5d79JH3JVF0O dd4w4fRLf2Ljx9pJw2Nvow9mFEvR+Gz3Bra/02gayBpH31rrlRBMnhUURszqSrtxioM7 Ssjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=dzauC+Yw1p3mOiK0Fvt8Skkpq+puUTxvRwPGveAHxA0=; b=Q1rcYuBuH7PBJPU5F6u1SPSQkSahJVGwdQwnq6/IF6V+ON+XO77AfqvDJWYVfev+L4 GFmxXqYWE/blwq67yejyPTIUJxiQUx+QH3MvqeX2Zc7fU7SxR+uYBiTixxHTJZ/SK7GO xZMgX4gKveTpOTe1e2UiZNZdq7kEkeNncQcwrjIjy9UuJHPWQgNAy/dDxl48iDt2HwG1 r6yKB6uUBv6xhQdC3VeraVzQfTF2NZgj02tiubB07DKYiRKK7ZsJcllq8LIcb84mFOx9 V1DJqfqnNUIx5v8wAfaFYhwtBnlrkMp36aV+pxRi/CwQ1qOeX7/Bgdhr+eiCgoZAlh2Y A26A== X-Gm-Message-State: AE9vXwN576DxGBh7IHw4ycEVVkQKCC7zzhlrL2wh32TowrT8SV2tr1x6c0zXL7YjWh/EqQ== X-Received: by 10.55.120.195 with SMTP id t186mr7213786qkc.118.1471703216824; Sat, 20 Aug 2016 07:26:56 -0700 (PDT) Original-Received: from [192.168.1.6] (209-6-50-175.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com. [209.6.50.175]) by smtp.gmail.com with ESMTPSA id i13sm4936538qte.42.2016.08.20.07.26.55 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 20 Aug 2016 07:26:55 -0700 (PDT) In-Reply-To: <20160820132337.ithrhyc4s53nrdmh@seid-online.de> X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::22d X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:12849 Archived-At: I added a cmath include and qualified isnan with std::, try it out now and see if that fixes it (commit 61ce8e1). -Matt On Aug 20, 2016, at 9:23 AM, Ralf Mattes wrote: > On Thu, Aug 18, 2016 at 05:44:46PM -0400, Matthew Keeter wrote: >> Hi Guile-folks, >>=20 >> I wrote a computer-aided design (CAD) tool that you may find = interesting. >>=20 >> It=92s a solid modeling tool that uses Guile scripts to define = objects (and >> constructive solid geometry + functional representations under the = hood). >>=20 >> Project page: http://www.mattkeeter.com/projects/ao/ >> Source: https://github.com/mkeeter/ao >>=20 >> I=92d love feedback =96 Scheme is relatively new to me, so I=92m sure = there are >> more elegant ways to accomplish a lot of what the code implements. >=20 >=20 > Build fails over here:=20 >=20 > ../kernel/src/eval/evaluator.cpp: In function =91Interval = clause(Opcode, const Interval&, const Interval&)=92: > ../kernel/src/eval/evaluator.cpp:805:36: error: =91isnan=92 was not = declared in this scope > return (isnan(a.lower()) || isnan(a.upper())) ? b : a; > ^ >=20 > This is with: >=20 > /usr/bin/c++ --version > g++-5.real (Debian 5.4.0-6) 5.4.0 20160609 >=20 > and /usr/include/c++/5/cmath from the package libstdc++-5-dev:amd64 > on a Debian Testing system. >=20 > But it looks very nice=20 >=20 >=20 > Cheers, Ralf Mattes >=20 >> -Matt