Hugh,

I'm pretty sure there is a Cairo binding for Factor in the Factor  
distribution somewhere.

Matthew Willis

On Aug 25, 2009, at 6:49 AM, Hugh Aguilar wrote:

> I've given some more thought to the subject of slide-rule  
> construction.
> LaTeX would work but is overly complicated as I am just working with  
> the
> vector graphics aspect. A simpler solution would be to write a Factor
> program to generate an SVG file. I found an SVG library called Cairo
> (http://cairographics.org/) that has bindings for a variety of  
> languages
> (Python, Common Lisp, Haskell, etc.), but not for Factor. Maybe in the
> future I will take a stab at writing Cairo bindings for Factor.  
> Right now
> though, I can write a Factor program that generates SVG directly. My
> slide-rule just uses straight lines, so it is pretty simple; Cairo  
> would be
> an overkill.
>
> On a related note, do any of you know of any software that converts  
> SVG into
> g-code suitable for a CNC milling machine or laser-etcher? I wrote a  
> program
> once (in Forth) to convert AutoCad dxf files into g-code; an SVG to  
> g-code
> program would be similar.
>
> Right now my slide rule is going to be made with adhesive labels  
> printed out
> on a laser printer. Avery Office Products has weatherproof labels that
> should be resistant to smudging. Eventually I would like to try to  
> build my
> slide-rule in a more professional manner. One idea that I had is to  
> make it
> out of aluminum and then anodize it blue. I could then use a CNC  
> milling
> machine to make shiny marks by scratching off the anodization.  
> Another idea
> would be to make it out of some kind of material that chars (rather  
> than
> melts), and then use a laser-etcher to burn the marks onto it. It  
> might be
> possible to make it out of aluminum and then spray some kind of  
> coating over
> it, and then use the laser-etcher to burn through the coating to  
> reveal the
> aluminum underneath. The blue-anodized aluminum would be the coolest
> aesthetically, but also the slowest to make (the milling machine is  
> going to
> take forever to scratch out hundreds of tiny little marks). Thoughts?
>
> This isn't a machinists' mailing list, so I'm getting off the  
> subject of
> Factor somewhat by talking about slide-rule construction. I will let  
> you
> know how the Factor/SVG program comes out. I noticed that you have  
> an XML
> library, so I'll likely be asking some questions about that as I  
> write the
> program.
>
> BTW, how is the Berkely DB bindings project going?
>
>> Message: 5
>> Date: Sun, 23 Aug 2009 20:22:25 -0700
>> From: Adam <[email protected]>
>> Subject: Re: [Factor-talk] LaTeX
>> To: [email protected]
>> Message-ID:
>> <[email protected]>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> I don't think any one has worked on LaTeX support at this point.   
>> Nothing
>> in
>> the library that I can see anyway.
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to