POV-Ray : Newsgroups : povray.binaries.utilities : Lightweight DXF to SDL converter Server Time
19 Jul 2024 23:23:07 EDT (-0400)
  Lightweight DXF to SDL converter (Message 1 to 7 of 7)  
From: yesbird
Subject: Lightweight DXF to SDL converter
Date: 12 May 2024 15:39:44
Message: <66411b00$1@news.povray.org>
Hi, folks !

While working on Gems factory:
https://github.com/syanenko/povgems
and Gems viewer:
https://gemview.povlab.online/demo.html

I was need a tool to convert geometry data (DXF), produced by:
https://www.gemcad.com
to SDL 'on the fly' under Ubuntu.

I've put it to repository for those, who will need it:
https://github.com/syanenko/dxf2pov

Happy poving :)
-- 
YB.


Post a reply to this message

From: Paolo Gibellini
Subject: Re: Lightweight DXF to SDL converter
Date: 28 May 2024 16:09:44
Message: <66563a08$1@news.povray.org>
Il 12/05/2024 21:39, yesbird ha scritto:
> Hi, folks !
> 
> While working on Gems factory:
> https://github.com/syanenko/povgems
> and Gems viewer:
> https://gemview.povlab.online/demo.html
> 
> I was need a tool to convert geometry data (DXF), produced by:
> https://www.gemcad.com
> to SDL 'on the fly' under Ubuntu.
> 
> I've put it to repository for those, who will need it:
> https://github.com/syanenko/dxf2pov
> 
> Happy poving :)

A _brilliant_ work, indeed!
And - btw - Gems viewer site is well done.

Thank you,
    Paolo


Post a reply to this message

From: yesbird
Subject: Re: Lightweight DXF to SDL converter
Date: 29 May 2024 08:57:14
Message: <6657262a$1@news.povray.org>
On 28/05/2024 23:09, Paolo Gibellini wrote:
> A _brilliant_ work, indeed!

Hi, Paolo.

I'm glad that you found it useful.
Always welcome :)
--
YB


Post a reply to this message

From: Ilya Razmanov
Subject: Re: Lightweight DXF to SDL converter
Date: 5 Jun 2024 01:38:04
Message: <665ff9bc@news.povray.org>
On 12.05.2024 22:39, yesbird wrote:

> While working on Gems factory:
> https://github.com/syanenko/povgems
Hmm, I missed that one before. I'm just trying to turn my old POVMosaic 
into something reasonably structured (already compressed most of them in 
two programs, most of others will be cancelled) with human-editable POV 
output. So far it seems like your gem shapes are rather plugguble into 
it as mosaic elements. Not going to copy your files, but, assuming I 
will be strong enough with the Force to build a preview webpage for my 
stuff to replace the old messy one, I'll definitely add a link. It would 
be against my creed to leave good stuff unborrowed :-)

-- 
Ilyich the Toad
https://dnyarri.github.io/


Post a reply to this message

From: yesbird
Subject: Re: Lightweight DXF to SDL converter
Date: 5 Jun 2024 16:11:19
Message: <6660c667@news.povray.org>
On 05/06/2024 08:38, Ilya Razmanov wrote:
> So far it seems like your gem shapes are rather plugguble into 
> it as mosaic elements

Really interesting ! I've seen your mosaic works and like an idea to
play with orientation of elements. May be now it's a time to play with
geometry and materials also ?

>  Not going to copy your files ...
Why not ? You are welcome :)

> It would be against my creed to leave good stuff unborrowed :-)
Thanks, I've note it ).
--
YB.


Post a reply to this message

From: Ilya Razmanov
Subject: Re: Lightweight DXF to SDL converter
Date: 6 Jun 2024 01:34:59
Message: <66614a83@news.povray.org>
On 05.06.2024 23:11, yesbird wrote:

> Really interesting ! I've seen your mosaic works and like an idea to
> play with orientation of elements.

If you wish, you may take a look at "develop" branch at
https://github.com/Dnyarri/POVmosaic
Well be merged to "main" as soon (or as long?) as I finish writing more 
or less useful preview page for a site.


> May be now it's a time to play with
> geometry and materials also ?

Can't resist - attached is an example of one of presets. Main idea of 
this general rewrite is condensing most of controls I put at the first 
time here and there into compact set of #define, supposedly easy to 
understand (yeah, help file is still a bit smaller than a program 
itself! great achievement for me!) and definitely easier to edit, 
including the possibility to just link some preset.inc (the one for 
attached image includes, beside dice thingie rotate instructions, dice 
CSG itself) written in some more or less standard form.

There are also some predefined finishes and normals (the latter may be 
modified on a per thingie basis to avoid getting perfect Empire clones).

Surely, predefined finishes are basic, but it may be changed.

I didn't try to use fully blown texture template since it will make 
things overly complicated, but one can change my simple Python programs 
any way he/she want.

>>  Not going to copy your files ...
> Why not ? You are welcome :)

But it will make your part of the whole pack bigger than mine, rising 
questions who is actual author here :-)

-- 
Ilyich the Toad
https://dnyarri.github.io/


Post a reply to this message


Attachments:
Download '4pre2.png' (199 KB)

Preview of image '4pre2.png'
4pre2.png


 

From: yesbird
Subject: Re: Lightweight DXF to SDL converter
Date: 6 Jun 2024 12:53:38
Message: <6661e992@news.povray.org>
On 06/06/2024 08:34, Ilya Razmanov wrote:
> On 05.06.2024 23:11, yesbird wrote:
> 
> If you wish, you may take a look at "develop" branch at
> https://github.com/Dnyarri/POVmosaic
> Well be merged to "main" as soon (or as long?) as I finish writing more 
> or less useful preview page for a site.

Yes, it looks promising, I like an idea in general and examples you
provided in particular. Using dices is a very good finding !

> But it will make your part of the whole pack bigger than mine, rising 
> questions who is actual author here :-)

Nevermind - you can use it as you want. If this question is really
important for you - just rename variables and change the logic a little
and you will have your own code :).

Good luck,
--
YB.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.