guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solid modeling in Guile


From: Ralf Mattes
Subject: Re: Solid modeling in Guile
Date: Sat, 20 Aug 2016 15:23:37 +0200
User-agent: Mutt/1.6.2-neo (2016-07-23)

On Thu, Aug 18, 2016 at 05:44:46PM -0400, Matthew Keeter wrote:
> Hi Guile-folks,
> 
> I wrote a computer-aided design (CAD) tool that you may find interesting.
> 
> It’s a solid modeling tool that uses Guile scripts to define objects (and
> constructive solid geometry + functional representations under the hood).
> 
> Project page:  http://www.mattkeeter.com/projects/ao/
> Source:  https://github.com/mkeeter/ao
> 
> I’d love feedback – Scheme is relatively new to me, so I’m sure there are
> more elegant ways to accomplish a lot of what the code implements.


Build fails over here: 

 ../kernel/src/eval/evaluator.cpp: In function ‘Interval clause(Opcode, const 
Interval&, const Interval&)’:
../kernel/src/eval/evaluator.cpp:805:36: error: ‘isnan’ was not declared in 
this scope
             return (isnan(a.lower()) || isnan(a.upper())) ? b : a;
                                    ^

This is with:

 /usr/bin/c++ --version
 g++-5.real (Debian 5.4.0-6) 5.4.0 20160609

and /usr/include/c++/5/cmath from the package libstdc++-5-dev:amd64
on a Debian Testing system.

But it looks very nice 


 Cheers, Ralf Mattes

> -Matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]